.slider-info-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-info {
    display: flex;
    transition: all 0.4s ease;
    gap: 30px;
}

.slide-info-wrapper::before {
    content: "";
    width: calc(100% + 50px);
    height: 265px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 70%, #000000 100%);
    position: absolute;
    left: -50px;
    bottom: 0;
}




.header-info-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    align-items: center;
}

.slide-info {
    height: 440px;
    border-radius: 10px;
    font-size: 32px;
    font-weight: bold;
    color: white;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    flex: 1 1 0;
    border-radius: 30px;
}

.slide-info.active {
    flex: 0 0 49%;  /* не растет, не сжимается, ширина 50% */
}

.slide-info:not(.active) {
    flex: 1 0 15%; /* растет (1), не сжимается (0), базовая ширина 15% */
    min-width: 15%;
}

.slide-info.active .slide-info-desc {
    display: block;
}

.slide-info.active .slide-info-title {
    font-size: 32px;
}

.slide-info-title {
    margin-top: auto;
    font-family: Manrope;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 26px;
    margin-bottom: 10px;
    line-height: 137%;
    position: relative;
}

.slide-info-desc {
    display: none;
    font-family: Manrope;
    font-weight: 200;
    font-style: Medium;
    font-size: 22px;
    line-height: 137%;
    position: relative;
}

.slide-info-wrapper {
    overflow: hidden;
    position: relative;
    padding: 25px;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    --nb-r: 30px;
    --nb-w: 10px;
    --nb-h: 10px;
    border-radius: 30px;
}



.scroll-info-wrapper {
    width: 100%;
    margin-top: 20px;
    padding: 0 5px;
}

.scroll-info-container {
    width: 100%;
    height: 16px;
    background: #e9e9e9;
    border-radius: 20px;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    padding: 0 4px;
    position: relative;
}

.scroll-info-thumb {
    width: 25%;
    height: 12px;
    background: #888;
    border-radius: 20px;
    cursor: grab;
    transition: background 0.2s, width 0.3s ease, left 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    position: absolute;
    left: 4px;
}

.scroll-info-container:hover .scroll-info-thumb {
    background: #667eea;
}

.scroll-info-thumb:active {
    cursor: grabbing;
    background: #5a67d8;
}

.slider-info {
    position: relative;
    overflow: hidden;
    padding-bottom: 35px;
}

/* === Горизонтальная дорожка === */
.slider-info.ps .ps__rail-x {
    height: 2px !important;
    background: #46464633 !important;
    /* border-radius: 20px !important; */
    bottom: 0 !important;
    opacity: 1 !important; /* Показываем всегда, а не только при ховере */
    position: absolute;

}

/* === Ползунок === */
.slider-info.ps .ps__thumb-x {
    height: 4px !important;
    position: absolute;
    background-color: #31B785 !important;
    border-radius: 20px !important;
    bottom: 0px !important;
    transition: background-color 0.2s ease !important;
    cursor: pointer;
}

/* === Ховер на ползунок === */
.slider-info.ps .ps__rail-x:hover .ps__thumb-x,
.slider-info.ps .ps__thumb-x:hover,
.slider-info.ps .ps__thumb-x:focus {
    background-color: #31B785 !important;
    height: 4px !important;
    bottom: 0px !important;
}

.slider-info-mobile-container {
    display: none;
}

/* === Скрываем вертикальный скролл полностью === */
.slider-info.ps .ps__rail-y {
    display: none !important;
    opacity: 0 !important;
}

/* === Опционально: скрываем скролл на мобильных === */
@media (max-width: 768px) {
    .slider-info.ps .ps__rail-x {
        display: none !important;
    }
}



@media (max-width: 768px) {
    .slider-info {
        flex-wrap: wrap;
    }
    .slide-info.active {
        /* flex: 0 0 100%; */
    }
    .slide-info:not(.active) {
        /* flex: 1 1 50%; */
    }
}

.mobile-hide {
    display: flex;
}

.mobile-show {
    display: none;
}

.slider-info-mobile {
    --nb-r: 30px;
    --nb-w: 70px;
    --nb-h: 10px;
}

.slider-info-mobile.swiper-pagination.swiper-pagination-fraction,
.slider-info-mobile.swiper-pagination {
    /* display: block !important; */
    display: none !important;
    bottom: -40px;
    right: 0;
    height: 35px;
    font-size: 18px;
    font-family: SourceSerif-;
}

.swiper-pagination-current {
    font-size: 28px;
}

@media (max-width: 1600px) {
    .mobile-show {
        display: flex;
    }

    .mobile-hide {
        display: none;
    }

    .slider-info-mobile {
        height: 550px;
    }

    .slide-info-desc {
        display: block;
        color: white;
        font-size: 28px;
    }

    .slide-info-title {
        color: white;
        font-size: 53px;
    }

    .slider-info-mobile-container {
        margin-bottom: 40px;
        display: block;
    }
}

@media (max-width: 768px) {
    .slider-info-mobile {
        height: 323px;
        --nb-w: 40px;
        --nb-h: -5px;
    }

    .header-info-container {
        margin-bottom: 10px;
    }

    .slide-info-wrapper {
        padding: 66px 20px 20px;
    }

    .slide-info-desc {
        font-size: 12px;
    }

    .slide-info-title {
        font-size: 18px;
    }

    .slider-info-mobile.swiper-pagination.swiper-pagination-fraction,
    .slider-info-mobile.swiper-pagination {
        display: block !important;
    }
}