.cards {
    background: radial-gradient(187.88% 117.43% at 50% 170%, #fff 0%, #1276cd 70%);
}

.cards .breadcrumbs {
    margin-bottom: 2px;
}

.cards__row {
    display: flex;
    gap: 40px;
}

.cards .cards__heading {
    line-height: 1;
    letter-spacing: -2px;
    color: white;
}

.cards__text {
    color: white;
}

.cards__slider {
    max-width: 515px;
    position: relative;
}

.cards__swiper {
    margin-bottom: 20px;
}

.cards__slide {
    border-radius: 13px;
    display: flex;
}

.cards__slide img{
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 13px;
    border: 4px solid #f0ebe6;
}

.cards__slider-text {
    font-weight: 700;
    text-align: center;
    color: white;
    max-width: 352px;
    margin-left: auto;
    margin-right: auto;
    z-index: 3;
    position: relative;
}

.cards__slider-button {
    font-weight: 700;
    color: white;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    gap: 2px;
    display: flex;
    align-items: center;
    z-index: 3;
    position: relative;
}

.cards__slider-line-decor {
    position: absolute;
    left: -51px;
    top: 22px;

}

.cards_slider-star-decor {
    position: absolute;
    right: -16px;
    top: 60px;

}

.cards__slide img {
    min-height: 382px;
}

@media screen and (min-width: 1024px) {

    .cards {
        margin-top: -111px;
        padding-top: 173px;
        padding-bottom: 152px;
    }

    .cards__body {
        flex-basis: 700px;
    }

    .cards__slider {
        flex-basis: 515px;
    }

    .cards__row {
        align-items: center;
        justify-content: space-between;
    }

    .cards .cards__heading {
        margin-bottom: 28px;
    }

    .cards__text {
        font-size: 20px;
        margin-bottom: 28px;
    }

    .cards__slider-text {
        font-size: 24px;
        margin-bottom: 10px;
    }


}

@media screen and (max-width: 1023.98px) {
    .cards {
        padding-bottom: 42px;
        margin-top: -120px;
        padding-top: 140px;
    }

    .cards .cards__heading {
        margin-bottom: 10px;
    }

    .cards__text {
        font-size: 17px;
        margin-bottom: 20px;
    }

    .cards__slider-text {
        font-size: 20px;
        margin-bottom: 7px;
    }

    .cards__row {
        flex-direction: column;
    }

    .cards__slider {
        margin-left: auto;
        margin-right: auto;
    }

    .cards__slider-line-decor {
        position: absolute;
        left: -34px;
        top: 15px;
        max-height: 65px;
    }

    .cards_slider-star-decor {
        position: absolute;
        right: -45px;
        top: 40px;
        max-height: 210px;
    }
}

@media screen and (max-width: 500px) {
    .cards__slider {
        max-width: 345px;
    }

    .cards__slide img {
        min-height: 255px;
    }
}
