/* ========== PAGES.CSS - СТИЛИ ДЛЯ ВСЕХ СТРАНИЦ ========== */

.page-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
}

/* Заголовок страницы */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-family: 'Century Schoolbook', 'DengXian', 'Yu Gothic UI', serif;
    font-size: 22px;
    color: #000000;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #9F0505;  /* Красный для акцентов */
    border-radius: 2px;
}

.page-header p {
    font-family: 'Calibri', 'DengXian', 'Yu Gothic UI', sans-serif;
    font-size: 18px;
    color: #000000;
    margin-top: 1rem;
}

/* Секция контента */
.content-section {
    background: #fafaf5;  /* Светлые буквы как фон */
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid #d4d4cf;
}

/* Информационный блок */
.info-block {
    margin-bottom: 2rem;
}

.info-block h2 {
    font-family: 'Century Schoolbook', 'DengXian', 'Yu Gothic UI', serif;
    font-size: 22px;
    color: #11366a;  /* Синяя заливка */
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #d4d4cf;
}

.info-block h3 {
    font-family: 'Century Schoolbook', 'DengXian', 'Yu Gothic UI', serif;
    font-size: 20px;
    color: #11366a;
    margin: 1.5rem 0 1rem;
}

.info-block p {
    font-family: 'Calibri', 'DengXian', 'Yu Gothic UI', sans-serif;
    font-size: 18px;
    color: #000000;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.intro-text {
    background: #e6e6e1;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border-left: 4px solid #9F0505;  /* Красный для акцентов */
}

.intro-text p {
    font-family: 'Calibri', 'DengXian', 'Yu Gothic UI', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #000000;
}

/* Сетка преимуществ */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.advantage-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #d4d4cf;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    border-color: #11366a;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    font-family: 'Century Schoolbook', 'DengXian', 'Yu Gothic UI', serif;
    font-size: 20px;
    color: #11366a;
    margin-bottom: 1rem;
}

.advantage-card p {
    font-family: 'Calibri', 'DengXian', 'Yu Gothic UI', sans-serif;
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
}

/* Списки направлений и документов */
.direction-list, .documents-list {
    list-style: none;
    padding: 0;
}

.direction-list li, .documents-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-family: 'Calibri', 'DengXian', 'Yu Gothic UI', sans-serif;
    font-size: 18px;
    color: #000000;
    line-height: 1.5;
    border-bottom: 1px solid #d4d4cf;
}

.direction-list li:last-child, .documents-list li:last-child {
    border-bottom: none;
}

.direction-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #9F0505;  /* Красный для акцентов */
}

.documents-list li::before {
    content: '📄';
    position: absolute;
    left: 0;
}

.documents-list li {
    padding-left: 2rem;
}

/* Заглушка для пустых страниц */
.coming-soon {
    text-align: center;
    font-family: 'Calibri', 'DengXian', 'Yu Gothic UI', sans-serif;
    font-size: 18px;
    color: #000000;
    padding: 3rem;
    background: #e6e6e1;
    border-radius: 16px;
}

/* Рейтинги */
.ranking-highlight {
    background: #e6e6e1;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    text-align: center;
}

.ranking-text {
    font-family: 'Century Schoolbook', 'DengXian', 'Yu Gothic UI', serif;
    font-size: 20px;
    font-weight: 600;
    color: #11366a;
}

.ranking-award {
    background: #e6e6e1;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border-left: 4px solid #9F0505;
}

.ranking-award p {
    font-family: 'Calibri', 'DengXian', 'Yu Gothic UI', sans-serif;
    font-size: 18px;
    color: #000000;
}

.ranking-links {
    margin-bottom: 2rem;
}

.ranking-links h3 {
    font-family: 'Century Schoolbook', 'DengXian', 'Yu Gothic UI', serif;
    font-size: 20px;
    color: #11366a;
    margin-bottom: 1rem;
}

.links-list {
    list-style: none;
    padding: 0;
}

.links-list li {
    margin-bottom: 0.5rem;
}

.links-list a {
    font-family: 'Calibri', 'DengXian', 'Yu Gothic UI', sans-serif;
    font-size: 18px;
    color: #11366a;
    text-decoration: none;
}

.links-list a:hover {
    color: #9F0505;
    text-decoration: underline;
}

.ranking-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.image-placeholder {
    background: #e6e6e1;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    border: 1px solid #d4d4cf;
}

.image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

/* Цифры */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.number-card {
    text-align: center;
    padding: 2rem;
    background: #e6e6e1;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.number-card:hover {
    transform: translateY(-5px);
    background: #11366a;
}

.number-card:hover .number,
.number-card:hover p {
    color: #fafaf5;
}

.number {
    font-family: 'Century Schoolbook', 'DengXian', 'Yu Gothic UI', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #11366a;
    margin-bottom: 0.5rem;
}

.number-card p {
    font-family: 'Calibri', 'DengXian', 'Yu Gothic UI', sans-serif;
    font-size: 16px;
    color: #000000;
}

/* Образовательные программы */
.programs-list {
    list-style: none;
    padding: 0;
}

.programs-list li {
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: #e6e6e1;
    border-radius: 12px;
    border-left: 4px solid #9F0505;
    font-family: 'Calibri', 'DengXian', 'Yu Gothic UI', sans-serif;
    font-size: 18px;
    color: #000000;
}

.programs-list li strong {
    color: #11366a;
}

/* Досуг */
.leisure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.leisure-card {
    text-align: center;
    padding: 1.5rem;
    background: #e6e6e1;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.leisure-card:hover {
    transform: translateY(-5px);
    background: #11366a;
}

.leisure-card:hover h3,
.leisure-card:hover p {
    color: #fafaf5;
}

.leisure-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.leisure-card h3 {
    font-family: 'Century Schoolbook', 'DengXian', 'Yu Gothic UI', serif;
    font-size: 18px;
    color: #11366a;
    margin-bottom: 0.75rem;
}

.leisure-card p {
    font-family: 'Calibri', 'DengXian', 'Yu Gothic UI', sans-serif;
    font-size: 16px;
    color: #000000;
}

/* Городская галерея */
.city-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-placeholder {
    background: #e6e6e1;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    border: 1px solid #d4d4cf;
}

.gallery-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

/* Адаптивность */
@media (max-width: 768px) {
    .page-container {
        padding: 1rem;
    }

    .page-header h1 {
        font-size: 20px;
    }

    .page-header p {
        font-size: 16px;
    }

    .content-section {
        padding: 1rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .info-block h2 {
        font-size: 20px;
    }

    .info-block h3 {
        font-size: 18px;
    }

    .info-block p {
        font-size: 16px;
    }

    .intro-text p {
        font-size: 16px;
    }

    .numbers-grid {
        grid-template-columns: 1fr;
    }

    .ranking-images {
        grid-template-columns: 1fr;
    }

    .leisure-grid {
        grid-template-columns: 1fr;
    }

    .city-gallery {
        grid-template-columns: 1fr;
    }

    .number {
        font-size: 2rem;
    }

    .programs-list li {
        font-size: 16px;
    }
}