.home-slider-top {
    background: #013A73;
    padding-top: 145px;
}
.home-slider-top .slider-wrapp {
    padding: 47px 48px 104px;
}
.home-slider-top .slick-prev {
    left: 9px;
}
.home-slider-top .slick-next {
    right: 9px;
}

.home-slider__item {
    justify-content: space-between;
    border-radius: 15px;
    display: flex;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.35);
    font-family: "Nevermind", "Futura New", Arial, sans-serif;
    height: 100%;
}

.home-slider__item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.home-slider-top .slider-wrapp>div:not(:first-of-type) {
    display: none;
}
.home-slider-top .slick-next:before,
.home-slider-top .slick-prev:before {
    content: none;
}
.home-slider-top .slick-next,
.home-slider-top .slick-prev {
    height: 36px;
    width: 19px;
    top: calc(50% - 47px);
}

.home-slider__aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    padding: 55px 50px 55px 57px;
}
.home-slider__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}
.home-slider__title {
    font-family: "Nevermind", "Futura New", Arial, sans-serif;
    color: #fff;
    font-size: 35px;
    line-height: 44px;
    margin-bottom: 25px;
    font-weight: 700;
}
.home-slider__text {
    font-family: "Geologica", "Futura New", Arial, sans-serif;
    color: #fff;
    font-size: 16px;
    line-height: 19px;
}
.home-slider__img {
    flex: 0 0 527px;
    overflow: hidden;
    position: relative;
}
.home-slider__btns .btn::before {
    content: none;
}
.home-slider__btns .btn,
.home-slider__more {
    height: auto;
    background: #2BACEF;
    text-align: center;
    line-height: 28px;
    display: block;
    color: #fff;
    font-size: 18px;
    font-family: "Nevermind", "Futura New", Arial, sans-serif;
    text-transform: uppercase;
    padding: 15px 24px;
    font-weight: 700;
}
.home-slider__more {
    background: #FF7A45;
    order: 1;
}
.home-slider__more:hover {
    background:#ff5b1a;
}
.home-slider__btns {
    display: flex;
    row-gap: 20px;
    margin-top: 50px;
    column-gap: 11px;
}
.home-slider__btns.both-buttons {

}
.home-slider-top .slick-next:not(:hover),
.home-slider-top .slick-prev:not(:hover) {
    opacity: 0.5;
}
.home-slider-top .slick-dots {
    bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0;
}
.home-slider-top .slick-dots li button:before {
    position: absolute;
    color: #D9D9D9;
    opacity: 0.5;
    top: 0;
    left: 0;
    content: "•";
    width: 14px;
    height: 14px;
    font-family: slick;
    font-size: 40px;
    line-height: 14px;
}
.home-slider-top .slick-dots li {
    position: relative;
    display: inline-block;
    height: 14px;
    width: 14px;
    margin: 0 7px;
}
.home-slider-top .slick-dots li button {
    border: 0;
    background: 0 0;
    display: block;
    height: 14px;
    width: 14px;
}
.home-slider-top .slick-dots li.slick-active button:before {
    opacity: 1;
    width: 18px;
    height: 18px;
    color: #D9D9D9;
    font-size: 48px;
    line-height: 18px;
}
.home-slider-top .slick-dots li.slick-active button,
.home-slider-top .slick-dots li.slick-active {
    width: 18px;
    height: 18px;
}
.home-slider-top .slick-dotted.slick-slider {
    margin-bottom: 0;
}
main .rbz-banner+.section-padding {
    padding-top: 30px;
}
.home-slider-top .slick-track {
    display: flex;
}
.home-slider-top .slick-track .slick-slide {
    height: auto;
}
@media screen and (max-width: 1199px) {
    .home-slider__title {
        font-size: 30px;
        line-height: 35px;
        margin-bottom: 30px;
    }
    .home-slider__text {
        font-size: 16px;
        line-height: 18px;
    }
    .home-slider__btns .btn, .home-slider__more {
        font-size: 15px;
    }
    .home-slider__aside {
        padding: 25px 40px;
    }
    .home-slider__img {
        flex: 0 0 50%;
    }
    .home-slider-top .slider-wrapp {
        padding: 47px 98px 86px;
    }
    .home-slider-top .slick-prev {
        left: 59px;
    }
    .home-slider-top .slick-next {
        right: 59px;
    }
    .home-slider__btns {
        row-gap: 10px;
        margin-top: 40px;
    }
    .home-slider__btns.both-buttons {
        margin-top: 30px;
    }
    .home-slider-top .slick-dots {
        bottom: 37px;
    }
}

@media screen and (max-width: 1150px) {
    .home-slider__btns .btn, .home-slider__more {
        max-width: 180px;
        font-size: 14px;
        line-height: 20px;
        padding: 10px 28px;
        align-content: center;
    }
    .home-slider__btns {
        justify-content: center;
    }
}

@media screen and (max-width: 1024px) {
    .home-slider-top {
        padding-top: 75px;
    }
}

/* Мобильный баннер по макету (≤900px), десктоп без изменений выше */
@media screen and (max-width: 900px) {
    .home-slider__title {
        font-size: 22px;
        line-height: 28px;
        margin-bottom: 0;
        font-weight: 700;
    }

    .home-slider__title br {
        display: none;
    }


    .home-slider__text {
        display: none;
    }
    /* Высота списка = активный слайд (Slick adaptiveHeight + без растягивания соседей) */
    .home-slider-top .slick-track {
        align-items: flex-start;
    }
    .home-slider-top .slick-slide {
        height: auto;
    }
    .home-slider-top .slick-slide > div {
        height: auto;
    }
    .home-slider__item {
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
        max-width: none;
        margin: 0 auto;
        width: 100%;
        height: auto;
        background: #5d7ea1;
        border-radius: 0;
        overflow: hidden;
        padding: 24px 20px;
        box-sizing: border-box;
    }
    .home-slider__aside {
        display: contents;
    }
    .home-slider__info {
        order: 1;
        padding: 0;
        margin: 0;
        margin-bottom: 24px;
        justify-content: flex-start;
    }
    .home-slider__img {
        position: relative;
        order: 2;
        flex: none;
        width: 100%;
        border-radius: 16px;
        aspect-ratio: 335/286;
        overflow: hidden;
        margin: 0 0 24px;
    }
    .home-slider__img img {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .home-slider__btns {
        order: 3;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        margin-top: 0;
        row-gap: 10px;
        column-gap: 0;
        width: 100%;
        justify-content: flex-start;
        padding-bottom: 4px;
        padding-right: 92px;
        box-sizing: border-box;
    }
    .home-slider__btns .btn,
    .home-slider__more {
        max-width: none;
        width: 100%;
        height: auto;
        min-height: 40px;
        padding: 9px 16px;
        font-size: 15px;
        line-height: 22px;
        text-transform: none;
        font-weight: 500;
        border-radius: 8px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: "Inter", sans-serif;
    }
    html body .home-slider-top .home-slider__btns .btn,
    html body .home-slider-top .home-slider__btns .home-slider__more {
        border-radius: 8px;
    }
    .home-slider__btns .btn {
        background: #34ace0;
        order: -1;
    }
    .home-slider__more {
        background: #ff8247;
        order: 1;
    }

    .home-slider-top{
        position: relative;
        padding-top: 100px;
    }

    .home-slider-top:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 16px;
        background: #fff;
       border-top-right-radius: 16px;
       border-top-left-radius: 16px;
    }

    
    /* Две кнопки: как в макете — колонка слева (~как 1-й скрин), справа место под круги */
    .home-slider__btns.both-buttons {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 80px;
        grid-template-rows: auto auto;
        column-gap: 24px;
        row-gap: 8px;
        padding-right: 0;
        align-items: stretch;
        margin-top: 0;
    }
    .home-slider__btns.both-buttons .btn {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        order: 0;
    }
    .home-slider__btns.both-buttons .home-slider__more {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        order: 0;
    }
    
    body .home-slider-top .slider-wrapp {
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
        max-width: none;
        width: 100%;
        padding-top: 0;
        padding-bottom: 16px;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
        background: #5d7ea1;
        border-top-right-radius: 16px;
        border-top-left-radius: 16px;
        overflow: hidden;
    }
    body main .home-slider-top .slider-wrapp.slick-slider .slick-dots {
        display: none;
    }
    
    .home-slider-top .slick-prev,
    .home-slider-top .slick-next {
        top: auto;
        /* Нижний край кругов ≈ нижний край оранжевой кнопки (см. padding слайдера + карточки) */
        bottom: 44px;
        transform: none;
        width: 36px;
        height: 36px;
        margin: 0;
        padding: 0;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #fff;
        opacity: 1;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    }
    .home-slider-top:has(.slick-active .home-slider__item.both-buttons) .slick-prev,
    .home-slider-top:has(.slick-active .home-slider__item.both-buttons) .slick-next {
        bottom: 44px;
    }
    .home-slider-top .slick-prev:not(:hover),
    .home-slider-top .slick-next:not(:hover) {
        opacity: 1;
    }
    .home-slider-top .slick-next {
        right: 20px;
        left: auto;
    }
    .home-slider-top .slick-prev {
        right: 66px;
        left: auto;
    }
    .home-slider-top .slick-prev svg,
    .home-slider-top .slick-next svg {
        width: 6px;
        height: 10px;
        flex-shrink: 0;
    }
    /* slick.css сбрасывает фон/цвет на hover — на мобильных оставляем круги как в покое */
    .home-slider-top .slick-next:hover,
    .home-slider-top .slick-next:focus,
    .home-slider-top .slick-prev:hover,
    .home-slider-top .slick-prev:focus {
        outline: 0;
        background: #fff;
        color: inherit;
    }
}

@media screen and (max-width: 480px) {
  
}
