.banner {
    width: var(--width);
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    column-gap: 15px;
}

.swiper {
    flex: 1;
    --swiper-theme-color: rgb(59 33 20);
    --swiper-navigation-size: 20px;
}

.swiper .img-box {
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.swiper .img-box::before {
    padding-top: 62%;
}

.swiper-slide {
    position: relative;
}

.swiper-slide::before {
    content: '';
    background: linear-gradient(160deg, rgba(203, 93, 255, 0) 40%, rgba(29, 65, 190, .988)), linear-gradient(1turn, #cb5dff 21%, rgba(29, 65, 190, 0) 66%);
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: .8;
    border-radius: 10px;
}

.swiper-slide .text-box {
    position: absolute;
    z-index: 2;
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 0 15px 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.swiper-button-next,
.swiper-button-prev {
    background-color: #fff;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50%;
    position: absolute;
    top: auto !important;
    bottom: 15px !important;
}

.swiper-button-prev {
    left: auto !important;
    right: 55px !important;
}


@media screen and (max-width:769px) {
    .banner {
        flex-direction: column;
        padding: 0 5px;
        row-gap: 15px;
    }

    .swiper {
        width: 100%;
    }

    .swiper-slide .text-box {
        font-size: 1.024rem;
    }
}