 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

       

        .magazine-spread {
            max-width: 1400px;
            margin: 0 auto;
            background: white;
            display: grid;
            grid-template-columns: 1fr;
            gap: 0;
            box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
            overflow: hidden;
            position: relative;
        }

        /* Розовая рамка по краям */
        .magazine-spread::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border: 8px solid #e91e63;
            pointer-events: none;
            z-index: 10;
        }

        /* Левая страница */
        .left-page {
            background: white;
            padding: 50px 40px;
            position: relative;
            display: flex;
            flex-direction: column;
        }

        /* Правая страница */
        .right-page {
            background: white;
            position: relative;
            overflow: hidden;
        }

        /* Большой заголовок */
        .main-title {
            margin-bottom: 10px;
        }

        .title-number {
            font-size: 140px;
            font-weight: 900;
            color: #880e4f;
            line-height: 0.85;
            display: inline-block;
            font-family: 'Arial Black', sans-serif;
            letter-spacing: -5px;
        }

        .title-text {
            display: inline-block;
            vertical-align: top;
            padding-top: 10px;
        }

        .title-text .months {
            font-size: 72px;
            font-weight: 900;
            color: #f06292;
            text-transform: uppercase;
            letter-spacing: 2px;
            line-height: 1;
            display: block;
            font-family: 'Arial Black', sans-serif;
        }

        .title-text .to-figure {
            font-size: 72px;
            font-weight: 900;
            color: #e91e63;
            text-transform: uppercase;
            letter-spacing: 2px;
            line-height: 1;
            display: block;
            font-family: 'Arial Black', sans-serif;
        }

        /* Подзаголовок с именем */
        .featuring {
            font-size: 14px;
            color: #555;
            font-style: italic;
            margin-bottom: -10px;
            font-family: 'Georgia', serif;
        }

        .athlete-name {
            font-size: 96px;
            font-weight: 400;
            color: #1a1a1a;
            line-height: 0.95;
            font-style: italic;
            margin-bottom: 20px;
            font-family: 'Georgia', serif;
            letter-spacing: -2px;
        }

        .athlete-name .last-name {
            display: block;
        }

        /* Подпись автора */
        .byline {
            font-size: 11px;
            color: #e91e63;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 25px;
            font-family: 'Arial', sans-serif;
            font-weight: bold;
        }

        .byline::before {
            content: '/// ';
        }

        .byline .photographer {
            display: block;
            margin-top: 3px;
            color: #888;
        }

        .byline .photographer::before {
            content: '/// ';
        }

        /* Фото слева */
        .photo-block {
            background: #2c2c2c;
            margin-bottom: 25px;
            border-radius: 4px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            border: 4px solid #e91e63;
        }

        .photo-placeholder {
            width: 100%;
            height: 350px;
            background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #7f8c8d;
            font-size: 14px;
            text-align: center;
            padding: 20px;
        }

        /* Основной текст */
        .intro-text {
            font-size: 15px;
            line-height: 1.8;
            color: #333;
            text-align: justify;
            flex: 1;
        }

        .intro-text .highlight {
            font-weight: bold;
            color: #e91e63;
        }

        .intro-text .drop-cap {
            font-size: 50px;
            font-weight: 900;
            float: left;
            line-height: 0.8;
            margin-right: 8px;
            margin-top: 5px;
            color: #e91e63;
            font-family: 'Arial Black', sans-serif;
        }

        /* Правая страница — большое фото */
        .main-photo {
            width: 100%;
            height: 100%;
            min-height: 800px;
            background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #7f8c8d;
            font-size: 16px;
            text-align: center;
            padding: 40px;
            position: relative;
        }

        .main-photo::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 50% 30%, rgba(233, 30, 99, 0.1) 0%, transparent 60%);
        }

        /* Номера страниц */
        .page-number {
            position: absolute;
            bottom: 20px;
            font-size: 11px;
            color: #888;
            font-family: 'Arial', sans-serif;
            letter-spacing: 1px;
            font-weight: bold;
        }

        .left-page .page-number {
            left: 40px;
        }

        .right-page .page-number {
            right: 40px;
        }

        .page-number .flex-logo {
            color: #e91e63;
            font-weight: 900;
        }

        /* Адаптивность */
        @media (max-width: 1024px) {
            .magazine-spread {
                grid-template-columns: 1fr;
            }

            .title-number {
                font-size: 100px;
            }

            .title-text .months,
            .title-text .to-figure {
                font-size: 52px;
            }

            .athlete-name {
                font-size: 64px;
            }

            .main-photo {
                min-height: 600px;
            }
        }

        @media (max-width: 768px) {
            .left-page,
            .right-page {
                padding: 30px 25px;
            }

            .title-number {
                font-size: 80px;
            }

            .title-text .months,
            .title-text .to-figure {
                font-size: 40px;
            }

            .athlete-name {
                font-size: 48px;
            }

            .main-photo {
                min-height: 500px;
            }

            .photo-placeholder {
                height: 280px;
            }
        }

        @media (max-width: 480px) {
            .title-number {
                font-size: 60px;
            }

            .title-text .months,
            .title-text .to-figure {
                font-size: 32px;
            }

            .athlete-name {
                font-size: 36px;
            }

            .intro-text {
                font-size: 14px;
            }
        }

        /* Декоративные элементы */
        .pink-accent {
            width: 80px;
            height: 4px;
            background: #e91e63;
            margin: 15px 0;
        }

 .workouts-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
        }

        /* Карточка тренировки */
        .workout-card {
            padding: 25px;
            border-bottom: 4px solid #e91e63;
            border-right: 2px solid #f5f5f5;
        }

        .workout-card:nth-child(even) {
            border-right: none;
        }

        .workout-card:last-child,
        .workout-card:nth-last-child(2):nth-child(odd) {
            border-bottom: none;
        }

        /* Заголовок тренировки */
        .workout-title {
            font-size: 22px;
            font-weight: 900;
            color: #880e4f;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 3px solid #e91e63;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .workout-title .number {
            background: #e91e63;
            color: white;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            font-size: 18px;
            flex-shrink: 0;
        }

        /* Таблица упражнений */
        .exercise-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 13px;
        }

        .exercise-table thead {
            background: #880e4f;
            color: white;
        }

        .exercise-table th {
            padding: 10px 12px;
            text-align: left;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 700;
        }

        .exercise-table th:last-child,
        .exercise-table td:last-child {
            text-align: center;
        }

        .exercise-table th:nth-child(2),
        .exercise-table td:nth-child(2) {
            text-align: center;
        }

        .exercise-table tbody tr {
            border-bottom: 1px solid #f5f5f5;
            transition: background 0.3s;
        }

        .exercise-table tbody tr:hover {
            background: #fce4ec;
        }

        .exercise-table tbody tr:nth-child(even) {
            background: #fafafa;
        }

        .exercise-table tbody tr:nth-child(even):hover {
            background: #fce4ec;
        }

        .exercise-table td {
            padding: 10px 12px;
            color: #333;
        }

        .exercise-table td:first-child {
            font-weight: 600;
            color: #1a1a1a;
        }

        .exercise-table td:nth-child(2) {
            color: #e91e63;
            font-weight: 700;
        }

        .exercise-table td:last-child {
            color: #880e4f;
            font-weight: 700;
        }

        /* Специальные стили для разных тренировок */
        .workout-card.session-a .workout-title { border-bottom-color: #e91e63; }
        .workout-card.session-b .workout-title { border-bottom-color: #f06292; }
        .workout-card.session-c .workout-title { border-bottom-color: #ec407a; }
        .workout-card.session-d .workout-title { border-bottom-color: #d81b60; }
        .workout-card.session-3 .workout-title { border-bottom-color: #ad1457; }

        /* Примечания */
        .note {
            font-size: 11px;
            color: #888;
            font-style: italic;
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px dashed #e0e0e0;
        }

        .note::before {
            content: ' ';
        }
 .page-header {
            background: linear-gradient(135deg, #e91e63 0%, #f06292 100%);
            padding: 30px 40px;
            text-align: center;
        }

        .page-header h1 {
            font-size: 36px;
            font-weight: 900;
            color: white;
            text-transform: uppercase;
            letter-spacing: 3px;
        }

        .page-header .subtitle {
            font-size: 16px;
            color: rgba(255, 255, 255, 0.9);
            margin-top: 5px;
            font-style: italic;
        }
 @media (max-width: 1024px) {
            .workouts-grid {
                grid-template-columns: 1fr;
            }

            .workout-card {
                border-right: none !important;
            }

            .page-header h1 {
                font-size: 28px;
            }
        }

        @media (max-width: 768px) {
            .workout-card {
                padding: 20px 15px;
            }

            .workout-title {
                font-size: 18px;
            }

            .exercise-table {
                font-size: 12px;
            }

            .exercise-table th,
            .exercise-table td {
                padding: 8px 6px;
            }

            .page-header {
                padding: 20px;
            }

            .page-header h1 {
                font-size: 22px;
            }
        }

        @media (max-width: 480px) {
            .workout-title {
                font-size: 16px;
            }

            .workout-title .number {
                width: 32px;
                height: 32px;
                font-size: 14px;
            }

            .exercise-table {
                font-size: 11px;
            }

            .exercise-table th {
                font-size: 10px;
            }
        }

        /* Декоративные элементы */
        .highlight-row {
            background: #fce4ec !important;
        }

        .failure-text {
            color: #e91e63 !important;
            font-weight: 900 !important;
        }

 /* Таблица периодизации */
        .periodisation-table {
           
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            max-width: 600px;
        }

        .periodisation-title {
            background: #880e4f;
            color: white;
            padding: 12px 20px;
            font-size: 18px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .periodisation-table table {
            width: 100%;
            border-collapse: collapse;
            font-size: 13px;
        }

        .periodisation-table thead {
            background: #e91e63;
            color: white;
        }

        .periodisation-table th {
            padding: 10px 12px;
            text-align: center;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 700;
        }

        .periodisation-table tbody tr {
            border-bottom: 1px solid #f5f5f5;
            transition: background 0.3s;
        }

        .periodisation-table tbody tr:hover {
            background: #fce4ec;
        }

        .periodisation-table tbody tr:nth-child(even) {
            background: #fafafa;
        }

        .periodisation-table tbody tr:nth-child(even):hover {
            background: #fce4ec;
        }

        .periodisation-table td {
            padding: 10px 12px;
            text-align: center;
            color: #333;
            font-weight: 600;
        }

        .periodisation-table td.cardio {
            background: #f06292;
            color: white;
            font-weight: 700;
        }

        .periodisation-table td.session-a { color: #e91e63; }
        .periodisation-table td.session-b { color: #f06292; }
        .periodisation-table td.session-c { color: #880e4f; }
        .periodisation-table td.session-d { color: #ad1457; }
        .periodisation-table td.session-e { color: #c2185b; }
.full-photo {
            width: 100%;
           
            background: #fff;
           
            align-items: center;
            justify-content: center;
            color: #7f8c8d;
            font-size: 16px;
            text-align: center;
            padding: 40px;
            position: relative;
        }
.legend {
            
            background: rgba(255, 255, 255, 0.95);
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            max-width: 250px;
        }

        .legend-title {
            font-size: 14px;
            font-weight: 900;
            color: #880e4f;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 12px;
            padding-bottom: 8px;
            border-bottom: 2px solid #e91e63;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 8px;
            font-size: 12px;
            color: #333;
        }

        .legend-color {
            width: 20px;
            height: 20px;
            border-radius: 4px;
            flex-shrink: 0;
        }

        .legend-color.a { background: #e91e63; }
        .legend-color.b { background: #f06292; }
        .legend-color.c { background: #880e4f; }
        .legend-color.d { background: #ad1457; }
        .legend-color.e { background: #c2185b; }
        .legend-color.cardio { background: linear-gradient(135deg, #ff6b6b, #ee5a6f); }


 @media (max-width: 768px) {
            .full-photo {
                grid-template-columns: 1fr;

            }


            .periodisation-table table {
                font-size: 11px;
            }

            .periodisation-table th,
            .periodisation-table td {
                padding: 8px 6px;
            }

            .periodisation-title {
                font-size: 14px;
                padding: 10px 15px;
            }
        }