*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    color: #222;
    line-height: 1.7;
    padding: 16px;
  }

  .container2 {
    max-width: 1300px;
    margin: 0 auto;
    background: #fff;
    padding: 32px 28px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    position: relative;
  }

  /* ===== ВЕРХНЯЯ ПОЛОСА ===== */
  .top-bar2 {
    background: #1a6fb5;
    padding: 12px 20px;
    margin: -12px -18px 14px -18px;
    border-radius: 8px 8px 0 0;
  }

  .top-bar2 h2 {
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
 .sub {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 4px;
    opacity: .9;
 color: #17f5fc;

  }


  /* ===== ЗАГОЛОВОК ===== */
  .program-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 8px;
  }

  .main-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: #1a6fb5;
    text-transform: uppercase;
    text-align: center;
    line-height: 0.95;
    letter-spacing: -2px;
    margin-bottom: 12px;
  }

  .subtitle {
    font-size: 1.1rem;
    color: #444;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
  }

  .author {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 3px solid #1a6fb5;
  }

  .author strong {
    color: #1a6fb5;
    font-style: normal;
  }

  /* ===== СЕКЦИИ ===== */
  .section {
    margin-bottom: 24px;
  }

  .section p {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 14px;
    text-align: justify;
    hyphens: auto;
  }

  .section p::first-letter {
    font-size: 3rem;
    font-weight: 900;
    color: #1a6fb5;
    float: left;
    line-height: 0.9;
    margin-right: 8px;
    margin-top: 4px;
    font-family: Georgia, serif;
  }

  .section strong {
    color: #111;
  }

  .section .highlight {
    background: #ffcc00;
    padding: 2px 6px;
    font-weight: 700;
  }

  .section em {
    color: #1a6fb5;
    font-style: italic;
    font-weight: 600;
  }

  /* ===== ЗАГОЛОВКИ СЕКЦИЙ ===== */
  .section-title2 {
    font-size: 1.2rem;
    font-weight: 900;
    color: #1a6fb5;
    text-transform: uppercase;
    margin: 24px 0 12px 0;
    letter-spacing: 0.5px;
    border-bottom: 3px solid #1a6fb5;
    padding-bottom: 6px;
  }

  /* ===== БЛОК ЦИФР ===== */
  .stat-box {
    background: #f0f7ff;
    border-left: 5px solid #1a6fb5;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
  }

  .stat-box .number {
    font-size: 2rem;
    font-weight: 900;
    color: #1a6fb5;
    display: block;
    line-height: 1;
    margin-bottom: 4px;
  }

  .stat-box .label {
    font-size: 0.88rem;
    color: #444;
    font-weight: 600;
  }

  /* ===== ФУТЕР ===== */
  .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 14px;
    border-top: 1px solid #ddd;
    font-size: 0.78rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .footer .website {
    color: #1a6fb5;
    text-decoration: none;
    font-weight: 600;
  }

  /* ===== АДАПТИВНОСТЬ ===== */
  @media (max-width: 600px) {
    
    .container2 { padding: 20px 16px; }
    .top-bar2 {padding: 10px 16px; }
    .top-bar2 h2 { font-size: 0.95rem; }
    .program-label { font-size: 0.95rem; }
    .main-title { font-size: 2.8rem; letter-spacing: -1px; }
    .subtitle { font-size: 1rem; }
    .section p { font-size: 0.9rem; }
    .section p::first-letter { font-size: 2.2rem; }
    .section-title { font-size: 1.05rem; }
    .stat-box .number { font-size: 1.6rem; }
    .footer { flex-direction: column; gap: 4px; text-align: center; }
  }


  /* ===== ЗАГОЛОВОК ДНЯ ===== */
  .day-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: #1a6fb5;
    text-transform: uppercase;
    margin: 28px 0 14px 0;
    letter-spacing: 0.5px;
    border-bottom: 3px solid #1a6fb5;
    padding-bottom: 8px;
  }

  .day-title:first-of-type {
    margin-top: 0;
  }

  /* ===== ТАБЛИЦА УПРАЖНЕНИЙ ===== */
  .workout-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 12px;
    font-size: 0.88rem;
  }

  .workout-table thead th {
    background: #1a6fb5;
    color: #fff;
    padding: 8px 10px;
    text-align: left;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .workout-table tbody td {
    padding: 7px 10px;
    border-bottom: 1px solid #e5e5e5;
    color: #333;
  }

  .workout-table tbody tr:nth-child(even) {
    background: #f8f9fa;
  }

  .workout-table .exercise-name {
    font-weight: 600;
    color: #111;
  }

  .workout-table .superset {
    background: #fff3cd;
    font-style: italic;
    font-weight: 600;
    color: #856404;
  }

  .workout-table .superset td {
    border-bottom: 1px solid #ffc107;
  }

  .workout-table .note {
    font-size: 0.78rem;
    color: #666;
    font-style: italic;
  }

  /* ===== ЛЕГЕНДА ===== */
  .legend {
    background: #f0f7ff;
    border-left: 4px solid #1a6fb5;
    padding: 12px 16px;
    margin: 16px 0 24px 0;
    border-radius: 0 6px 6px 0;
    font-size: 0.88rem;
    color: #444;
  }

  .legend strong {
    color: #1a6fb5;
  }

 @media (max-width: 600px) {
       .day-title { font-size: 1.15rem; }
    .workout-table { font-size: 0.8rem; }
    .workout-table thead th,
    .workout-table tbody td { padding: 6px 5px; }
    .section h3 { font-size: 1.05rem; }
    .section p { font-size: 0.88rem; }
      }

  .photo-caption {
    background: #f8f8f8;
    border-left: 5px solid #1a6fb5;
    padding: 18px 22px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
  }

  .photo-caption p {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 0;
  }

  .photo-caption .label {
    display: inline-block;
    background: #1a6fb5;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-style: normal;
  }

 .numbered-list {
    counter-reset: item;
    list-style: none;
    padding: 0;
    margin: 24px 0;
  }

  .numbered-list li {
    counter-increment: item;
    position: relative;
    padding-left: 50px;
    margin-bottom: 20px;
    font-size: 0.93rem;
    color: #333;
  }

  .numbered-list li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    background: #1a6fb5;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
  }

  .numbered-list li strong {
    color: #111;
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
  }

  .numbered-list li em {
    color: #1a6fb5;
    font-style: italic;
    font-weight: 600;
  }

  .numbered-list li .highlight {
    background: #ffcc00;
    padding: 2px 6px;
    font-weight: 700;
  }

 .references {
    background: #f8f9fa;
    border-left: 4px solid #1a6fb5;
    padding: 18px 22px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
  }

  .references h3 {
    font-size: 1.1rem;
    color: #1a6fb5;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 1px;
  }

  .references ol {
    padding-left: 20px;
    font-size: 0.85rem;
    color: #555;
  }

  .references ol li {
    margin-bottom: 8px;
    line-height: 1.5;
  }

  .references ol li em {
    color: #1a6fb5;
    font-style: italic;
  }

 @media (max-width: 480px) {
        .numbered-list li { padding-left: 44px; font-size: 0.88rem; }
    .numbered-list li::before { width: 32px; height: 32px; font-size: 1rem; }
    .numbered-list li strong { font-size: 0.95rem; }
        .references { padding: 14px 16px; }
    .references h3 { font-size: 1rem; }
    .references ol { font-size: 0.8rem; }
      }
