.slider {
    position: relative;
}

.slider-wrapper {
    margin: 0 40px;
}

.slider__container {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    inline-size: 100%;
}

.slider__load-bar {
    position: absolute;
    top: -8px;
    right: 0;
    left: 0;
    block-size: 32px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    background: rgba(226, 177, 255, 0.40);
    overflow: hidden;
}

.slider__load-bar_loaded {
    background: var(--Brand-Pink, #E2B1FF);
    height: 100%;
    inline-size: 0;
    transition: width 0.3s ease;
}

.slider__list {
    display: flex;
    inline-size: 100%;
    list-style: none;
    transition: transform 0.5s ease;
}

.slide {
    flex: 0 0 auto;
    position: relative;
    height: clamp(33.75rem, 29.56rem + 17.64vw, 45.438rem);
    border-radius: 24px;
    inline-size: 100%;
    padding: 72px 58px 0 58px;
    background: linear-gradient(180deg, #DBCCFF 0%, #FAE4F1 49.52%, #FFEAE0 100%);
    ;
}

.slide__title {
    color: var(--Brand-Dark-blue, #1E1753);
    font-family: "Inter Variable";
    font-size: clamp(2.5rem, 1.783rem + 3.02vw, 4.5rem);
    font-style: normal;
    font-weight: 400;
    line-height: clamp(2.625rem, 1.904rem + 2.75vw, 4.375rem);
    letter-spacing: var(--Font-Letter-spacing-whale, -2.16px);
    white-space: pre-line;
    margin-block-end: clamp(1.5rem, 0.749rem + 3.06vw, 3.5rem);
}

.slide__buttons {
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.slide__button {
    display: flex;
    min-height: 52px;
    padding: 16px 23px;
    justify-content: center;
    align-items: center;
    border-radius: var(--button-large, 18px);
    border: none;
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: var(--Font-family, "ALS Hauss VF");
    font-size: var(--Font-Size-action, 17px);
    font-style: normal;
    font-weight: 550;
    line-height: var(--Font-Line-height-action, 20px);
    cursor: pointer;
}

.slide__button_dark {
    color: var(--text-icon-whitePrimaryConst, #FFF);
    background: var(--Brand-Blue, #3A18B5);
}

.slide__button_light {
    padding: 16px;
    color: var(--controls-text-icon-primary-default, #242429);
    background: transparent;
}

.slide__info {
    position: absolute;
    top: 62px;
    right: 58px;
    display: inline-flex;
    padding: 24px;
    align-items: flex-start;
    border-radius: 16px;
    background: #fff;
    min-width: clamp(15.688rem, 8.422rem + 14.53vw, 21.5rem);
    background: #fff;
    min-width: clamp(15.688rem, 8.422rem + 14.53vw, 21.5rem);
    display: none;
}

.slide__info_mobile {
    display: none;
}

.slide__info_text {
    white-space: pre-line;
    color: var(--text-icon-primaryInverted, #1E1753);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: var(--Font-family, "ALS Hauss VF");
    font-size: clamp(0.813rem, 0.719rem + 0.38vw, 1.063rem);
    font-style: normal;
    font-weight: 550;
    line-height: var(--Font-Line-height-action, 20px);
    /* 117.647% */
}

.slide__info_per {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    padding: clamp(0.625rem, 0.297rem + 1.34vw, 1.5rem);
    border-radius: 16px;
    background: var(--Brand-Sunset-gardient, linear-gradient(180deg, #3A18B5 0%, #3B47B7 50%, #8072FF 100%));
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide__info_per>span {
    color: var(--text-icon-primaryInverted, #F6F6F9);
    font-family: var(--Font-family, "ALS Hauss VF");
    font-size: clamp(1.5rem, 0.436rem + 2.43vw, 2.625rem);
    font-style: normal;
    font-weight: 550;
    line-height: 42px;
    /* 100% */
    letter-spacing: var(--Font-Letter-spacing-whale, -2.16px);
}

.slide__img-container {
    position: absolute;
    right: clamp(0rem, -0.962rem + 3.92vw, 2.563rem);
    bottom: -4px;
    width: clamp(21.5rem, 5.782rem + 63.99vw, 63.375rem);
}

.slide__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.slide__img_tablet {
    display: none;
}

.slide__img_mobile {
    display: none;
}

.slider__control {
    position: absolute;
    border-radius: var(--button-large, 18px);
    background-color: var(--controls-bg-neutralLight-default, #F6F6F9);
    border: none;
    cursor: pointer;
    width: 52px;
    height: 52px;
    padding: 14px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.2s ease;
}

.slider-control-prev {
    opacity: 0;
}

.slider-control-prev>svg {
    transform: rotate(180deg);
}

.slider-control-next {
    opacity: 0;
}

.slider__dots {
    display: flex;
    gap: 8px;
    position: absolute;
    bottom: 62px;
    left: 58px;
}

.slider__dots_active>svg>circle {
    fill: var(--Brand-Blue, #3A18B5);
}

@media screen and (max-width: 1024px) and (orientation: portrait) {
    .slide {
        padding: 32px clamp(1.25rem, 0.359rem + 3.63vw, 3.625rem) 0 32px;
    }

    .slide__img_desktop {
        display: none;
    }

    .slide__img_tablet {
        display: block;
    }

    .slide__info {
        top: 52%;
        right: 26px;
        padding: 12px 16px;
    }

    .slider__dots {
        bottom: 30%;
        left: 32px;
    }

    .slider-wrapper {
        margin: 0 30px;
    }
}

@media screen and (max-width: 850px) {
    .slider-wrapper {
        margin: 0 20px;
    }

    .slider__control {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .slider-wrapper {
        margin: 0;
    }

    .slide {
        padding: 32px 20px 0 20px;
        display: flex;
        flex-direction: column;

    }

    .slider__dots {
        display: none;
    }

    .slide__title {
        hyphens: auto;
        word-break: break-word;
    }

    .slide__info {
        padding: 16px;
        right: 20px;
        left: 20px;
        bottom: 20px;
        z-index: 10;
        top: auto;
    }

    .slide__info_text {
        white-space: nowrap;
    }

    .slide__img_desktop {
        display: none;
    }

    .slide__img_tablet {
        display: none;
    }

    .slide__img_mobile {
        position: relative;
        display: block;
        width: 100%;
        left: -20px;
    }

    .slide__img-container {
        position: unset;
        right: unset;
        margin: auto auto 0;
    }

    .slider__dots {
        inset: auto;
        left: 20px;
        bottom: 40%;
        top: auto;
    }

    .slide__buttons .btn-primary {
        flex: 1 1 auto
    }
}

@media screen and (max-width: 375px) {
    .slide__info_text {
        white-space: wrap;
    }
}

@media screen and (max-width: 375px) {
    .slide__info_text {
        white-space: wrap;
    }
}