/* === ОБЩИЕ НАСТРОЙКИ === */
:root {
      --primary-color: #2c3e50;
      --secondary-color: #3498db;
      --accent-color: #e74c3c;
      --light-bg: #f9f9f9;
      --font-main: 'Georgia', 'Times New Roman', serif;
      --font-head: 'Playfair Display', Georgia, serif;
      --yellow: #f7de57;
      --red: #e74c3c;
      --black: #222;
      --gray-bg: #f0f0f0;
      --white: #fff;
    }


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.body-t {
  font-family: var(--font-main);
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--light-bg);
  padding: 0;
  margin: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* === ЗАГОЛОВКИ === */
h1 {
  font-family: var(--font-head);
  font-size: 3.2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
  text-align: center;
}

h22 {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 400;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.8rem;
}

h3 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--primary-color);
  margin: 2.5rem 0 1.2rem;
  border-left: 4px solid var(--secondary-color);
  padding-left: 1rem;
}

h4 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 2rem 0 1rem;
  font-weight: 600;
}

/* === ТЕКСТ === */
p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

em {
  font-style: italic;
  color: #666;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 2rem;
  text-align: center;
}

ul, ol {
  margin: 1.5rem 0;
  padding-left: 1.8rem;
}

li {
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
}

/* === БЛОКИ === */
blockquote {
  font-style: italic;
  color: #555;
  border-left: 4px solid var(--secondary-color);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-size: 1.2rem;
}

/* === ПРОВЕРКА НА МОБИЛЬНЫЕ УСТРОЙСТВА === */
@media (max-width: 768px) {
  

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  h3 {
    font-size: 1.6rem;
  }

  h4 {
    font-size: 1.4rem;
  }

  p {
    font-size: 1rem;
  }

  ul, ol {
    padding-left: 1.2rem;
  }
.exercise-card {
        padding: 1.5rem;
      }

      .exercise-card h4 {
        font-size: 1.3rem;
      }

      .exercise-card p {
        font-size: 1rem;
      }

}

/* === ПРИМЕЧАНИЕ: ЖУРНАЛЬНЫЙ СТИЛЬ === */
article {
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
}


/* Улучшение читаемости */
section {
  margin-bottom: 3rem;
}

/* Убираем отступы в начале и конце */
article > *:first-child {
  margin-top: 0;
}

article > *:last-child {
  margin-bottom: 0;
}

/* Подпись к упражнениям */
h4 {
  counter-increment: exercise;
}


/* Кнопка/призыв к действию (можно добавить позже) */
.cta {
  display: block;
  text-align: center;
  margin: 3rem 0;
  padding: 1rem 2rem;
  background: var(--secondary-color);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s;
}

.cta:hover {
  background: #2980b9;
}
 /* === КАРТОЧКИ УПРАЖНЕНИЙ === */
    .exercise-card {
      background: #f5f7fa;
      border-radius: 12px;
      padding: 2rem;
      margin: 2.5rem 0;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
      transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      border-left: 3px solid var(--secondary-color);
      position: relative;
      overflow: hidden;
    }

    .exercise-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
      border-left-color: var(--accent-color);
    }

    .exercise-card h4 {
      margin-bottom: 1.2rem;
      color: var(--primary-color);
      font-size: 1.5rem;
      font-weight: 600;
      position: relative;
      padding-bottom: 0.5rem;
    }

    .exercise-card h4::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 50px;
      height: 2px;
      background: var(--secondary-color);
    }

    .exercise-card p {
      font-size: 1.1rem;
      line-height: 1.8;
      color: #444;
      margin-bottom: 0;
    }

    .exercise-card::before {
      content: '';
      position: absolute;
      top: -5px;
      right: -5px;
      width: 60px;
      height: 60px;
      background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
      pointer-events: none;
    }

    .exercise-card:hover::before {
      width: 80px;
      height: 80px;
      top: -10px;
      right: -10px;
    }

    .exercise-number {
      display: inline-block;
      width: 28px;
      height: 28px;
      background: var(--secondary-color);
      color: white;
      border-radius: 50%;
      text-align: center;
      line-height: 28px;
      font-size: 1.1rem;
      font-weight: bold;
      margin-right: 1rem;
      vertical-align: middle;
    }
 .exercise-table {
      background: var(--gray-bg);
      padding: 1.5rem;
      border-radius: 8px;
      margin-top: 1.5rem;
    }

    .table-header {
      background: var(--red);
      color: white;
      padding: 0.8rem 1rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      display: flex;
      justify-content: space-between;
      margin-bottom: 1rem;
      border-radius: 6px;
    }

    .table-row {
      display: flex;
      justify-content: space-between;
      padding: 0.8rem 1rem;
      border-bottom: 1px solid #ddd;
      font-size: 0.95rem;
    }

    .table-row:last-child {
      border-bottom: none;
    }

    .table-col {
      flex: 1;
      text-align: center;
    }

    .time-col {
      background: var(--yellow);
      color: var(--black);
      font-weight: 600;
      padding: 0.3rem 0.6rem;
      border-radius: 4px;
    }
.main-title {
      font-family: var(--font-head);
      font-size: 2.8rem;
      color: var(--black);
      line-height: 1.1;
      margin-bottom: 0.5rem;
      font-weight: 700;
      text-transform: uppercase;
    }

    .author {
      color: var(--red);
      font-weight: 600;
      font-size: 0.9rem;
      margin-bottom: 1rem;
      text-transform: uppercase;
    }

    .intro-text {
      font-size: 1.1rem;
      line-height: 1.6;
      margin-bottom: 1.5rem;
      color: var(--black);
    }

    .warning-box {
      background: var(--yellow);
      padding: 1rem;
      border-radius: 8px;
      margin: 1.5rem 0;
      border-left: 4px solid var(--red);
    }

    .warning-title {
      font-weight: 700;
      color: var(--red);
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
    }

    .warning-text {
      font-size: 0.95rem;
      color: var(--black);
    }
 @media (max-width: 768px) {
      .workout-container {
        flex-direction: column;
      }

      .main-workout {
        flex: 1;
      }

      .main-title {
        font-size: 2.2rem;
      }

      .table-header {
        font-size: 0.9rem;
        padding: 0.5rem;
      }

      .table-row {
        padding: 0.5rem;
        font-size: 0.85rem;
      }

      .tip-circle {
        width: 160px;
        height: 160px;
        padding: 0.8rem;
      }

      .tip-title {
        font-size: 1rem;
      }

      .tip-text {
        font-size: 0.85rem;
        max-width: 120px;
      }
.info-box {
        padding: 1rem;
      }

      .info-title {
        font-size: 1.3rem;
      }

      .info-section {
        flex-direction: column;
      }

      .info-card {
        min-width: 100%;
      }

      .info-card-title {
        font-size: 1rem;
      }

      .info-card-text {
        font-size: 0.9rem;
      }
    }

.how-to-box {
      background: var(--red);
      color: white;
      padding: 1.5rem;
      border-radius: 8px;
      margin: 1.5rem 0;
      position: relative;
    }

    .how-to-title {
      font-family: var(--font-head);
      font-size: 1.3rem;
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 1rem;
      letter-spacing: 0.5px;
    }

    .step {
      margin-bottom: 1.2rem;
      padding-left: 2rem;
      position: relative;
    }

    .step::before {
      content: attr(data-step);
      position: absolute;
      left: 0;
      top: 0;
      background: white;
      color: var(--red);
      width: 24px;
      height: 24px;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-weight: 700;
      font-size: 0.9rem;
    }

    .step p {
      font-size: 1rem;
      line-height: 1.5;
    }

.article-text {
      font-size: 1.1rem;
      line-height: 1.6;
      color: var(--black);
      margin-bottom: 1.5rem;
    }

    .article-text strong {
      font-weight: 700;
      color: var(--black);
    }

    .highlight {
      background: var(--yellow);
      padding: 0.2rem 0.5rem;
      border-radius: 4px;
      font-weight: 600;
    }
.info-box {
      background: var(--gray-bg);
      padding: 1.5rem;
      border-radius: 8px;
      margin: 1.5rem 0;
      position: relative;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
      transition: transform 0.3s ease;
    }

    .info-box:hover {
      transform: translateY(-4px);
    }

    .info-title {
      font-family: var(--font-head);
      font-size: 1.5rem;
      color: var(--black);
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 1rem;
      padding-bottom: 0.5rem;
      border-bottom: 2px solid var(--red);
    }

    .info-section {
      display: flex;
      gap: 1rem;
      margin-bottom: 1rem;
      flex-wrap: wrap;
    }

    .info-card {
      flex: 1;
      min-width: 200px;
      background: white;
      padding: 1rem;
      border-radius: 8px;
      box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
    }

    .info-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    }

    .info-card-title {
      font-weight: 700;
      color: var(--red);
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
      display: flex;
      align-items: center;
    }

    .info-card-title::before {
      content: '';
      width: 8px;
      height: 8px;
      background: var(--red);
      border-radius: 50%;
      margin-right: 0.5rem;
    }

    .info-card-text {
      font-size: 0.95rem;
      color: #555;
      line-height: 1.5;
    }
.section-title2 {
      font-family: var(--font-head);
      font-size: 1.3rem;
      color: var(--red);
      font-weight: 700;
      text-transform: uppercase;
      margin: 1.5rem 0 0.8rem;
      position: relative;
    }
.article-text {
      font-size: 1.1rem;
      line-height: 1.6;
      color: var(--black);
      margin-bottom: 1.5rem;
    }
 .do-it-box {
      background: var(--red);
      color: white;
      padding: 1.5rem;
      border-radius: 8px;
      margin: 1.5rem 0;
      position: relative;
    }

    .do-it-title {
      font-family: var(--font-head);
      font-size: 1.3rem;
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 1rem;
      letter-spacing: 0.5px;
    }

    .step {
      margin-bottom: 1.2rem;
      padding-left: 2rem;
      position: relative;
    }

    .step::before {
      content: attr(data-step);
      position: absolute;
      left: 0;
      top: 0;
      background: white;
      color: var(--red);
      width: 24px;
      height: 24px;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-weight: 700;
      font-size: 0.9rem;
    }

    .step p {
      font-size: 1rem;
      line-height: 1.5;
    }
.drill-box {
      background: var(--gray-bg);
      padding: 1.5rem;
      border-radius: 8px;
      margin: 1rem 0;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
      transition: transform 0.3s ease;
    }

    .drill-box:hover {
      transform: translateY(-4px);
    }

    .drill-title {
      font-weight: 700;
      color: var(--black);
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
      display: flex;
      align-items: center;
    }

    .drill-title::before {
      content: '';
      width: 8px;
      height: 8px;
      background: var(--red);
      border-radius: 50%;
      margin-right: 0.5rem;
    }

    .drill-text {
      font-size: 0.95rem;
      color: #555;
      line-height: 1.5;
    }
@media (max-width: 768px) {
      

      .do-it-box {
        padding: 1rem;
      }

      .do-it-title {
        font-size: 1.1rem;
      }

      .step {
        padding-left: 2rem;
        font-size: 0.95rem;
      }

      .step::before {
        width: 22px;
        height: 22px;
        font-size: 0.8rem;
      }

      .drill-box {
        padding: 1rem;
      }

      .drill-title {
        font-size: 1rem;
      }

      .drill-text {
        font-size: 0.9rem;
      }
    }

.section-text {
      font-size: 1.1rem;
      line-height: 1.6;
      color: var(--black);
      margin-bottom: 1.5rem;
    }
.workout-box {
      background: var(--red);
      color: white;
      padding: 1.5rem;
      border-radius: 8px;
      margin: 1.5rem 0;
      position: relative;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
      transition: transform 0.3s ease;
    }

    .workout-box:hover {
      transform: translateY(-4px);
    }

    .workout-title {
      font-family: var(--font-head);
      font-size: 1.3rem;
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 1rem;
      letter-spacing: 0.5px;
    }

    .workout-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.workout-header,
.workout-col {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.workout-header {
  background-color: #2c3e50;
  color: white;
  font-weight: 600;
}

.workout-row:nth-child(even) {
  background-color: #f8f9fa;
}

.workout-row:hover {
  background-color: #e3f2fd;
}
@media screen and (max-width: 768px) {
  .workout-table {
    font-size: 12px;
  }
  
  .workout-header,
  .workout-col {
    padding: 8px 10px;
  }
  
  .workout-table {
    overflow-x: auto;
    display: block;
  }
.snafus-box {
        padding: 1rem;
      }

      .snafus-title {
        font-size: 1.1rem;
      }

      .snafus-item {
        padding-left: 2rem;
        font-size: 0.95rem;
      }
}
 .snafus-box {
      background: var(--red);
      color: white;
      padding: 1.5rem;
      border-radius: 8px;
      margin: 1.5rem 0;
      position: relative;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
      transition: transform 0.3s ease;
    }

    .snafus-box:hover {
      transform: translateY(-4px);
    }

    .snafus-title {
      font-family: var(--font-head);
      font-size: 1.3rem;
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 1rem;
      letter-spacing: 0.5px;
    }

    .snafus-item {
      margin-bottom: 1.2rem;
      padding-left: 2rem;
      position: relative;
    }