/* СТРАНИЦА СОДЕРЖАНИЯ */
.content-page {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.content-main-title {
    font-size: clamp(1.6em, 3.5vw, 2.6em);
    font-weight: bold;
    color: #1d3d66;
    text-align: center;
    margin: 0;
}

/* АЛҒЫ СӨЗ */
.intro-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 860px;
    background: rgba(255, 255, 255, 0.32);
    border: 2px solid rgba(255, 255, 255, 0.75);
    border-radius: 14px;
    padding: 14px 22px;
    text-decoration: none;
    color: #1d3d66;
    font-weight: bold;
    font-size: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.25s, transform 0.2s;
}

.intro-row:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.row-arrow {
    color: #E06E37;
    font-size: 20px;
    font-weight: bold;
}

/* СЕТКА ИЗ ДВУХ КОЛОНОК */
.sections-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

/* КОЛОНКА РАЗДЕЛА */
.section-col {
    background: rgba(255, 255, 255, 0.28);
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 22px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

/* ШАПКА РАЗДЕЛА */
.section-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.section-num {
    font-size: 2em;
    font-weight: bold;
    line-height: 1;
    flex-shrink: 0;
}

.s1 .section-num { color: #6c5ce7; }
.s2 .section-num { color: #E06E37; }

.section-title {
    font-size: 12px;
    font-weight: bold;
    color: #1d3d66;
    line-height: 1.5;
    padding-top: 4px;
}

/* ПУНКТЫ */
.section-items {
    display: flex;
    flex-direction: column;
    padding: 10px 12px 14px;
    gap: 4px;
    flex: 1;
}

.section-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 12px;
    color: #1d3d66;
    line-height: 1.4;
    transition: background 0.2s, transform 0.15s;
    border: 1px solid transparent;
}

.section-item::after {
    content: '›';
    color: rgba(29, 61, 102, 0.3);
    font-size: 16px;
    flex-shrink: 0;
    margin-left: 8px;
    transition: color 0.2s;
}

.section-item:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateX(3px);
}

.section-item:hover::after {
    color: #E06E37;
}

/* ТЕСТ — выделен */
.test-item {
    margin-top: 6px;
    background: rgba(224, 110, 55, 0.12);
    border-color: rgba(224, 110, 55, 0.3) !important;
    font-weight: bold;
    color: #E06E37 !important;
}

.test-item::after {
    color: #E06E37 !important;
}

.test-item:hover {
    background: rgba(224, 110, 55, 0.22) !important;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 768px) {
    .content-page {
        padding: 70px 0 30px;
        gap: 16px;
    }

    .sections-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .section-header {
        padding: 16px 16px 12px;
    }

    .section-num {
        font-size: 1.6em;
    }

    .section-title {
        font-size: 11px;
    }

    .section-item {
        font-size: 11px;
        padding: 8px 10px;
    }

    .intro-row {
        font-size: 14px;
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .content-page {
        width: 95%;
        padding: 60px 0 24px;
    }

    .section-col {
        border-radius: 16px;
    }
}

/* КНОПКА НАЗАД */
.back-button-link {
    display: inline-block;
    text-decoration: none;
    color: #1d3d66;
    font-size: 1em;
    font-weight: bold;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s ease;
    box-shadow: 0 2px 12px rgba(29, 61, 102, 0.15);
}

.back-button-link:hover {
    background: rgba(255, 255, 255, 0.65);
    transform: scale(1.04);
    box-shadow: 0 4px 18px rgba(29, 61, 102, 0.2);
}