html, body, .header {
    background: #FCFBF7 !important;
}

.slider-comfort__content,
.button.button--infrastructure-block.button--news{
    z-index: 10;
}

.review-card--main-new .review-card__descr:before,
.title--info-video_span{
    color: var(--color-primary);
}
.button--arrow-color{
    background: var(--color-primary);
}


.title--info-video_span{
    color: var(--color-primary) !important;
    font-size: 36px;
    line-height: 45px;
    font-family: Inter-Bold !important;
    font-weight: 700;
}
.info-video .title--h2{
    font-size: 36px;
    color: var(--color-text);
}
@media (min-width: 768px) {
    .the-rest.second .title-title--h2 {
        margin-bottom: 60px;
    }
}
.popup .swiper-button-next,
.popup .swiper-button-prev {
    color: var(--accent-light);
    top: 43%;
    background-color: var(--color-primary);
    width: 68px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.popup .icon.icon--arrow-prev,
.popup .icon--arrow-next {
    padding: 0;
}

.slider-comfort .button--arrow-prev,
.slider-comfort .button--arrow-next {
    width: 74px;
    background-color: #5D766B;
}

.slider-comfort--programs-detail-new .slider-comfort__top {
    border-bottom: 1px solid var(--cl-rebel-03);
}

.slider-comfort--programs-detail-new {
    padding-bottom: 0;
}

@media (max-width: 768px) {
    .review-card--main-new{
        padding: 20px;
    }
    .reviews-block-new__nav{
        display: none;
    }
    .reviews-block-new{
        margin-bottom: 0;
    }
    .info-video .title--h2,
    .title--info-video_span {
        font-size: 22px;
    }
    .info-video .title--h2{
        margin-bottom: 50px;
    }
    .popup .swiper-button-next, .popup .swiper-button-prev {
        display: none;
    }

    .slider-comfort--programs-detail-new .slider-comfort__top {
        border-bottom: transparent;
    }
}

.second .tab__content.js-filter-content{
    overflow: hidden;
}

.button-hover:hover {
    background: var(--color-primary-hover) !important;
}

.the-rest.first .slider-comfort__person img {
    margin-right: 10px;
}

.the-rest.first .slider-comfort__slider {
    overflow: hidden;
}

.the-rest.first .slider-comfort--programs-detail-new .slider-comfort__top .title {
    margin-bottom: 0;
}

.the-rest.first .slider-comfort--programs-detail-new .slider-comfort__slider {
    padding: 0;
    margin: 0;
}

.the-rest.first .slider-comfort .button--arrow-prev,
.the-rest.first .slider-comfort .button--arrow-next {
    top: var(--swiper-navigation-top-offset, 42%);
}

.the-rest.first .title--first-block-new {
    font-size: 36px;
    line-height: 45px;
    margin-bottom: 56px;
    margin-top: 0;
    padding-bottom: 0;
    color: var(--cl-rebel);
}



/* стрелки для second не трогаем — оставляем как есть */
.the-rest.second .button--arrow-prev {
    left: 2%;
    top: 164px!important;
    width: 74px;
}

.the-rest.second .button--arrow-next {
    right: 2%;
    top: 164px!important;
    width: 74px;
}

/* 2) Слайды не растягиваются по высоте контента */
.the-rest.first .slider-comfort__item,
.the-rest.first .swiper-slide {
    align-self: flex-start !important;
    height: auto !important;
}

/* 3) Картинка не создаёт дополнительной высоты */
.the-rest.first .slider-comfort__picture img {
    display: block;
    width: 100%;
    max-width: 100%;
}

/* 4) Внутренний контент слайда всегда вертикальный стек */
.the-rest.first .slider-comfort__wrapper {
    height: auto !important;
    min-height: 0 !important;
    display: flex;
    flex-direction: column;
}

.the-rest.first .slider-multi--main-new .button--arrow {
    width: 54px;
    top: 43%;
}

.the-rest.first .button--arrow-next {
    margin-right: 0;
    right: 17.5%;
    top: 50% !important;
    background-color: var(--color-primary);
}

.the-rest.first .button--arrow-prev {
    margin-left: 0;
    left: 17.5%;
    top: 50% !important;
    background-color: var(--color-primary);
}

.the-rest.first .icon--arrow-prev:before {
    content: "\f104";
    color: var(--accent-light);
}

.the-rest.first .icon--arrow-next:before {
    content: "\f103";
    color: var(--accent-light);
}
.the-rest.first .icon--arrow-prev {
    padding-left: 0;
}

.the-rest.first .icon--arrow-next {
    padding-left: 4px;
}
@media (min-width: 768px) {
    .title-title--h2 {
        margin-bottom: 60px;
    }
    .diseases-block__title{
        font-size: 18px;
        font-style: normal;
        font-weight: 600;
        line-height: 150%;
    }
}

