/* Базовые стили и сброс отступов */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body2 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  padding: 20px;
}

/* Контейнер статьи */
.bodybuilding-article {
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Заголовок статьи */
.article-header {
  text-align: center;
  margin-bottom: 25px;
}

.article-header h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
}

.magazine-info {
  font-size: 1.2rem;
  color: #666;
  font-weight: 600;
}

/* Изображение статьи */
.article-image {
  position: relative;
  width: 100%;
  margin: 25px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.article-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.article-image img:hover {
  transform: scale(1.02);
}

.image-caption {
  background: #f5f7fa;
  padding: 20px;
  border-left: 5px solid #007bff;
  margin-top: 20px;
  border-radius: 0 6px 6px 0;
}

.image-caption p {
  margin-bottom: 12px;
  font-size: 1.15rem;
  color: #444;
}

.author-credit, .photo-credit {
  font-weight: 700;
  color: #007bff;
  font-size: 1.1rem;
}

/* Основной текст статьи */
.article-content {
  font-size: 1.25rem;
  line-height: 1.9;
  margin: 35px 0;
  color: #444;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.article-content p {
  margin-bottom: 22px;
  text-align: justify;
}

/* Футер статьи */
.article-footer {
  text-align: right;
  color: #777;
  font-size: 1.1rem;
  border-top: 1px solid #eee;
  padding-top: 18px;
  margin-top: 30px;
  font-weight: 600;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .bodybuilding-article {
    padding: 20px 15px;
  }

  .article-header h1 {
    font-size: 2rem;
  }

  .magazine-info, .article-footer {
    font-size: 1rem;
  }

  .image-caption p {
    font-size: 1.05rem;
  }

  .article-content {
    font-size: 1.1rem;
  }
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
  .article-header h1 {
    font-size: 2.8rem;
  }

  .article-content {
    font-size: 1.15rem;
  }
}

/* Дополнительная адаптация для больших экранов */
@media (min-width: 1200px) {
  .bodybuilding-article {
    padding: 40px;
  }

  .article-header h1 {
    font-size: 3.8rem;
  }

  .article-content {
    font-size: 1.3rem;
  }
}

.highlight-box {
  background: #007bff;
  color: white;
  border-radius: 12px;
  padding: 30px;
  margin: 30px 0;
  position: relative;
  overflow: hidden;
}


.highlight-box p {
  font-size: 1.4rem;
  line-height: 1.8;
  font-weight: 500;
  z-index: 2;
  position: relative;
}

/* Секции упражнений */
.exercise-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 40px 0;
  align-items: center;
}

.exercise-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.exercise-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.exercise-image img:hover {
  transform: scale(1.03);
}

.exercise-details {
  flex: 1;
  min-width: 300px;
}

.exercise-title {
  font-size: 2.2rem;
  color: #0056b3;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.exercise-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: #007bff;
  border-radius: 2px;
}

.exercise-instructions {
  font-size: 1.25rem;
  line-height: 1.9;
  color: #444;
  margin: 20px 0;
}

/* Цитата тренера */
.trainer-quote {
  background: #f8f9fc;
  border-left: 5px solid #007bff;
  padding: 25px;
  border-radius: 0 8px 8px 0;
  margin: 35px 0;
  font-size: 1.3rem;
  line-height: 1.85;
  color: #2d3748;
  font-style: italic;
}

.trainer-quote p {
  margin-bottom: 15px;
}

.trainer-info {
  font-weight: 700;
  color: #0056b3;
  font-size: 1.25rem;
  margin-top: 10px;
}

/* Футер статьи */
.article-footer {
  text-align: right;
  color: #777;
  font-size: 1.15rem;
  border-top: 1px solid #eee;
  padding-top: 20px;
  margin-top: 35px;
  font-weight: 600;
}

/* Адаптивность */
@media (max-width: 768px) {
  .bodybuilding-article {
    padding: 25px 18px;
  }

  .article-header h1 {
    font-size: 1.4rem;
  }
.article-header {
    font-size: 1.4rem;
  }



  .highlight-box p {
    font-size: 1.2rem;
  }

  .exercise-section {
    flex-direction: column;
  }

  .exercise-title {
    font-size: 1.9rem;
  }

  .trainer-quote {
    font-size: 1.15rem;
  }
 .exercise-table {
    font-size: 0.95rem;
  }

  .exercise-table td, .exercise-table th {
    padding: 12px 8px;
  }
}
.exercise-table {
  width: 100%;
  margin: 35px 0;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.exercise-table th {
  background: linear-gradient(to bottom, #007bff, #0056b3);
  color: white;
  padding: 16px 12px;
  text-align: left;
  font-size: 1.3rem;
  font-weight: 600;
}

.exercise-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #eee;
  font-size: 1.2rem;
}

.exercise-table tr:last-child td {
  border-bottom: none;
}

.exercise-table tr:nth-child(even) {
  background-color: #f8f9fc;
}

.exercise-table tr:hover {
  background-color: #eef5ff;
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

.exercise-table td:first-child {
  font-weight: 600;
  color: #0056b3;
  width: 40%;
}

.exercise-table .note {
  font-style: italic;
  color: #666;
  font-size: 0.95rem;
}
.article-header {
  text-align: center;
  margin-bottom: 40px;
}

.article-header h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 800;
  position: relative;
}

.article-header h1::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #0066ff, #00ccff);
  border-radius: 2px;
}