 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body2 {
    background-color: #2b2b2b;
    color: #ffffff;
    font-family: 'Arial Black', 'Impact', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
  }

  .container2 {
background-color: #2b2b2b;
padding: 20px;

    max-width: 1400px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .credits {
    font-family: Arial, sans-serif;
    font-size: 0.75rem;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .title-block {
    background: linear-gradient(180deg, #c41e24 0%, #8b0000 100%);
    border: 4px solid #f5d020;
    border-radius: 12px;
    padding: 30px 20px;
    position: relative;
    box-shadow: 0 0 20px rgba(196, 30, 36, 0.5);
  }

  .title-block::before,
  .title-block::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: #f5d020;
  }

  .title-block::before { top: 8px; }
  .title-block::after  { bottom: 8px; }

  .title-the {
    font-size: 2rem;
    color: #f5d020;
    text-transform: uppercase;
    letter-spacing: 6px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  }

  .title-flex {
    font-size: 5rem;
    color: #f5d020;
    text-transform: uppercase;
    letter-spacing: 8px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    line-height: 1;
    margin: 5px 0;
  }

  .title-doctrine {
    font-size: 3.2rem;
    color: #f5d020;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
  }

  .subtitle {
    font-family: Arial, sans-serif;
    font-size: 1.3rem;
    color: #ffffff;
    line-height: 1.5;
    font-weight: bold;
  }

  .subtitle span {
    color: #f5d020;
  }

  .footer {
    display: flex;
    justify-content: space-between;
    font-family: Arial, sans-serif;
    font-size: 0.8rem;
    color: #999999;
    border-top: 1px solid #444;
    padding-top: 10px;
  }

  /* Адаптивность */
  @media (max-width: 480px) {
    .title-flex {
      font-size: 3.5rem;
    }
    .title-doctrine {
      font-size: 2.2rem;
    }
    .title-the {
      font-size: 1.5rem;
    }
    .subtitle {
      font-size: 1.05rem;
    }
    .title-block {
      padding: 20px 15px;
    }
  }

  @media (max-width: 320px) {
    .title-flex {
      font-size: 2.8rem;
    }
    .title-doctrine {
      font-size: 1.8rem;
    }
  }

 .container3 {
    max-width: 1400px;
    margin: 0 auto;
   padding: 10px;

  }

 .main-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .main-title .number {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 7rem;
    color: #c41e24;
    line-height: 0.85;
    text-shadow: 3px 3px 0 #000;
  }

  .main-title .of-the {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 3rem;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 4px;
  }

  .main-title .best {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 5rem;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 4px 4px 0 #ccc;
  }

  /* ===== ВСТУПЛЕНИЕ ===== */
  .intro {
    font-size: 0.95rem;
    color: #000000;
    line-height: 1.7;
    border-left: 4px solid #c41e24;
    padding-left: 15px;
  }

  /* ===== СЕКЦИИ ===== */
  .section {
    background: #2a2a2a;
    border-radius: 10px;
    padding: 25px;
    border-top: 5px solid #c41e24;
  }

  .section-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
  }

  .section-number {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 4rem;
    color: #f5d020;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  }

  .section-title {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 2rem;
    color: #f5d020;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
hyphens: auto;
  }

  .section-text {
    font-size: 0.95rem;
    color: #dddddd;
    line-height: 1.7;
  }

  .section-text strong {
    color: #f5d020;
  }

  /* ===== ПЛАН ПИТАНИЯ ===== */
  .meal-plan {
    background: linear-gradient(180deg, #c41e24 0%, #8b0000 100%);
    border: 3px solid #f5d020;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 0 20px rgba(196, 30, 36, 0.4);
  }

  .meal-plan-title {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 2.2rem;
    color: #f5d020;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    margin-bottom: 20px;
    border-bottom: 2px solid #f5d020;
    padding-bottom: 10px;
  }

  .meals-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .meal {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 15px;
    border-left: 4px solid #f5d020;
  }

  .meal-name {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 1.3rem;
    color: #f5d020;
    text-transform: uppercase;
    margin-bottom: 8px;
  }

  .meal-items {
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.6;
    list-style: none;
  }

  .meal-items li {
    padding: 2px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .meal-items li:last-child {
    border-bottom: none;
  }

  /* ===== АДАПТИВНОСТЬ ===== */
  @media (max-width: 600px) {
    .main-title .number {
      font-size: 5rem;
    }
    .main-title .of-the {
      font-size: 2rem;
    }
    .main-title .best {
      font-size: 3.5rem;
    }
    .section-number {
      font-size: 3rem;
    }
    .section-title {
      font-size: 1.5rem;
    }
    .meal-plan-title {
      font-size: 1.6rem;
    }
    .section {
      padding: 18px;
    }
  }
.section {
    background: #2a2a2a;
    border-radius: 10px;
    padding: 25px;
    border-top: 5px solid #c41e24;
    position: relative;
  }

  .section-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
  }

  .section-number {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 4.5rem;
    color: #f5d020;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  }

  .section-title {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 2.2rem;
    color: #c41e24;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
  }

  .section-text {
    font-size: 0.95rem;
    color: #dddddd;
    line-height: 1.75;
  }

  .section-text strong {
    color: #f5d020;
  }

  .section-text em {
    color: #f5d020;
    font-style: normal;
  }

  /* ===== ЦИТАТА ===== */
  .quote {
    background: rgba(196, 30, 36, 0.15);
    border-left: 4px solid #c41e24;
    padding: 12px 8px;
    margin: 12px 0;
    border-radius: 0 8px 8px 0;
    font-style: normal;
    color: #eeeeee;
  }

 .training-table-wrapper {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 0px solid #c41e24;
  }

  .training-table-title {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 2rem;
    color: #c41e24;
    text-transform: uppercase;
    text-align: center;
    padding: 15px;
    letter-spacing: 3px;
    border-bottom: 0px solid #c41e24;
  }

  .training-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    color: #1a1a1a;
  }

  .training-table thead th {
    background: #c41e24;
    color: #ffffff;
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    padding: 10px 8px;
    letter-spacing: 1px;
    border: 1px solid #8b0000;
  }

  .training-table tbody td {
    padding: 8px;
    border: 1px solid #dddddd;
    text-align: center;
    vertical-align: middle;
  }

  .training-table tbody td:first-child,
  .training-table tbody td:nth-child(3),
  .training-table tbody td:nth-child(5) {
    text-align: left;
    font-weight: 600;
  }

  .training-table tbody tr:nth-child(even) {
    background: #f5f5f5;
  }

  .rotation-label {
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: #c41e24;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
.final-note {
    background: linear-gradient(180deg, #c41e24 0%, #8b0000 100%);
    border: 3px solid #f5d020;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 20px rgba(196, 30, 36, 0.4);
  }

  .final-note p {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 1.1rem;
    color: #f5d020;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  .final-note .flex-brand {
    font-size: 1.5rem;
    color: #ffffff;
    margin-top: 8px;
    display: block;
  }
 @media (max-width: 600px) {
    .training-table-title {
      font-size: 1.4rem;
    }
    .training-table {
      font-size: 0.75rem;
    }
    .training-table thead th {
      font-size: 0.65rem;
      padding: 8px 4px;
    }
    .training-table tbody td {
      padding: 6px 4px;
    }
    
  }

 @media (max-width: 600px) {
    .training-table-title {
      font-size: 1.5rem;
    }

    /* Превращаем таблицу в карточный вид */
    .training-table,
    .training-table thead,
    .training-table tbody,
    .training-table th,
    .training-table td,
    .training-table tr {
      display: block;
    }

    /* Скрываем заголовки thead */
    .training-table thead {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      border: 0;
    }

    .training-table tbody tr {
      margin-bottom: 12px;
      border: 2px solid #c41e24;
      border-radius: 0px;
      overflow: hidden;
      background: #ffffff;
    }

    .training-table tbody tr.rotation-header {
      background: #c41e24;
      border: none;
      border-radius: 8px 8px 0 0;
      margin-bottom: 0;
    }

    .training-table tbody tr.rotation-header td {
      color: #f5d020;
      font-size: 1.2rem;
      padding: 12px;
      border: none;
      background: #c41e24;
    }

    .training-table tbody td {
      text-align: right;
      padding: 10px 12px;
      border: none;
      border-bottom: 1px solid #eeeeee;
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .training-table tbody td:last-child {
      border-bottom: none;
    }

    /* Показываем label через data-атрибут */
    .training-table tbody td::before {
      content: attr(data-label);
      font-weight: 700;
      color: #c41e24;
      text-transform: uppercase;
      font-size: 0.75rem;
      letter-spacing: 1px;
      text-align: left;
      flex: 1;
    }

    .training-table tbody td.exercise-cell {
      flex-direction: column;
      align-items: flex-start;
      gap: 4px;
      padding: 12px;
      background: #fafafa;
    }

    .training-table tbody td.exercise-cell::before {
      font-size: 0.7rem;
      color: #888888;
    }

    .training-table tbody td.exercise-cell .exercise-name {
      font-size: 1rem;
      color: #1a1a1a;
      font-weight: 700;
    }

    .training-table tbody td.exercise-cell .exercise-reps {
      font-size: 1.1rem;
      color: #c41e24;
      font-family: 'Impact', 'Arial Black', sans-serif;
      letter-spacing: 1px;
    }

    /* Скрываем обычный текст в exercise-cell, показываем через span */
    .training-table tbody td.exercise-cell {
      text-align: left;
    }
  }

.workout-container {
            background-color: #fff;
            border: 4px solid #555;
            border-radius: 4px;
            padding: 20px;
            max-width: 1400px;
            width: 100%;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

        .main-title {
            color: #d92323;
            text-align: center;
            text-transform: uppercase;
            font-size: 28px;
            font-weight: 900;
            margin-top: 0;
            margin-bottom: 20px;
            letter-spacing: 1px;
        }

        /* Сетка для трех колонок */
        .grid-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
        }

        .workout-column {
            width: 100%;
        }

        /* Стили таблицы */
        table {
            width: 100%;
            border-collapse: collapse;
        }

        th, td {
            padding: 8px 10px;
            font-size: 13px;
            border-bottom: 1px solid #ccc;
            text-align: left;
            vertical-align: middle;
        }

        th {
            font-weight: bold;
            text-transform: uppercase;
            font-size: 12px;
            background-color: #fff;
            border-bottom: 2px solid #555;
        }

        /* Серый фон для заголовков блоков */
        .block-header {
            background-color: #e0e0e0;
            font-weight: bold;
            text-transform: uppercase;
        }

        .block-header td {
            border-bottom: 2px solid #555;
        }

        /* Выравнивание повторов по правому краю */
        .reps-col {
            text-align: right;
            width: 60px;
        }

        th.reps-col {
            text-align: right;
        }

        /* --- АДАПТИВНОСТЬ --- */
        
        /* Планшеты */
        @media (max-width: 850px) {
            .grid-container {
                grid-template-columns: 1fr 1fr; /* 2 колонки */
            }
            .workout-column:last-child {
                grid-column: span 2; /* Третий блок на всю ширину */
            }
        }

        /* Смартфоны */
        @media (max-width: 600px) {
            .grid-container {
                grid-template-columns: 1fr; /* 1 колонка */
            }
            .workout-column:last-child {
                grid-column: span 1;
            }
            .main-title {
                font-size: 22px;
            }
            th, td {
                font-size: 14px; /* Увеличиваем шрифт для мобильных */
            }
            .workout-container {
                padding: 15px;
                border-width: 2px;
            }
        }
