/* ========= Блок 50/50 (Family Highlights) ========= */
.section-halfpane {
    max-width: 1236px;
    margin: 40px auto;
}

.section__container {
    display: flex;
    background-color: #f0f8ff; /* (Светло-голубой фон) */
}

.section__aside {
    width: 50%;
    position: relative;
}

.section__content {
    width: 50%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article__head {
    margin-bottom: 20px;
}

.article__title {
    font-family: "Raleway", sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #333;
    text-transform: uppercase;
}

.article__entry p,
.article__entry li {
    font-family: "EB Garamond", serif;
    font-size: 17px;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.article__entry ul {
    list-style: none;
    padding-left: 20px;
    margin: 15px 0;
}

.article__entry li::before {
    content: "•";
    color: #00498D;
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* Стили для слайдера картинок (Правая колонка) */
.slider-images {
    width: 100%;
    height: 100%;
}

.slider-images .slick-list,
.slider-images .slick-track,
.slider-images .slick-slide,
.slider-images .slick-slide > div {
    height: 100%;
}

.slider-images .ratio-container {
    height: 100%;
}

.slider-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-images .paging {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.slider-images .slick-dots {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.slider-images .slick-dots button {
    font-size: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    padding: 0;
}

.slider-images .slick-dots .slick-active button {
    background: rgba(0, 0, 0, 0.8);
}

/* --- Стили для стрелок слайдера Family --- */
.js-family-slider {
    position: relative;
}

.js-family-slider .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: transparent;
    border: none;
    cursor: pointer;
    color: transparent;
    width: 50px;
    height: 50px;
}

.js-family-slider .slick-arrow::before {
    content: '‹';
    font-family: serif;
    font-size: 60px;
    line-height: 1;
    color: white;
    opacity: 0.75;
    transition: opacity 0.2s ease;
    display: block;
    width: 100%;
    text-align: center;
}

.js-family-slider .slick-next::before {
    content: '›';
}

.js-family-slider .slick-prev {
    left: 25px;
}

.js-family-slider .slick-next {
    right: 25px;
}

.js-family-slider .slick-arrow:hover::before {
    opacity: 1;
}

/* Убираем старые стрелки из HTML */
.paging__arrows {
    display: none;
}

/* =====================================
 * (НОВЫЙ БЛОК) АДАПТАЦИЯ ДЛЯ FAMILY & KIDS
 * =====================================
 */

@media (max-width: 992px) {
    
    .section-halfpane {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    /* Ставим блоки друг под друга */
    .section__container {
        flex-direction: column;
    }

    /* Блок "Even more adventures" (Текст-Картинка) */
    .text-image-gallery .section__container {
        flex-direction: column-reverse; /* Сначала картинка, потом текст */
    }

    /* Растягиваем на 100% ширины */
    .section__aside,
    .section__content {
        width: 100%;
    }

    /* Уменьшаем отступы */
    .section__content {
        padding: 30px;
    }

    .article__title {
        font-size: 28px;
    }
}