.banner {
    background: linear-gradient(to bottom,  rgba(226,234,255,1) 0%,rgba(242,246,255,1) 100%);
}

.banner__inner {
    gap: 5rem;
}

.banner__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8rem;
    border: 0.1rem solid #fff;
    border-radius: 1.6rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.banner__content::after {
    content: "";
    display: block;
    width: 60%;
    height: 100%;/*
    background: linear-gradient(to right,  rgba(248,250,255,0.25) 50%,rgba(248,250,255,1) 90%,rgba(248,250,255,0) 100%);*/
    background: linear-gradient(to right,  rgba(248,250,255,0.5) 50%,rgba(248,250,255,1) 90%,rgba(248,250,255,0) 100%);

    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.banner__text {
    padding: 6.6rem 3.5rem;
    position: relative;
    font-weight: 400;
    font-size: 2.4rem;
    z-index: 2;
}

.banner__image {
    flex: 0 0 auto;
    aspect-ratio: 2/1;
    width: 45%;
    overflow: hidden;
    position: relative;
}

@media screen and (max-width: 1024.9px) {
    .banner__inner {
        align-items: center;
    }

    .banner__content {
        flex-direction: column;
        align-items: center;
        padding-block: 2rem;
        gap: 2.4rem;
    }

    .banner__content::after {
        display: none;
    }

    .banner__image {
        max-width: 100%;
        width: 45rem;
        aspect-ratio: unset;
        border-radius: 1.6rem;
        overflow: visible;
    }

    .banner__image::before {
        content: "";
        background: linear-gradient(to bottom, rgba(248, 250, 255, 0) 0%, rgba(248, 250, 255, 1) 40%, rgba(248, 250, 255, 1) 60%, rgba(248, 250, 255, 0) 100%);
        position: absolute;
        width: 100%;
        height: 14rem;
        top: 0;
        translate: 0 -50%;
        opacity: 1;
    }

    .banner__text {
        text-align: center;
        padding: 0;
    }
}

@media screen and (max-width: 575.9px) {
    .banner__inner {
        gap: 2rem;
    }

    .banner__content {
        padding-bottom: 0;
    }

    .banner__text {
        padding-inline: 2rem;
    }

    .banner__image {
        width: 100%;
    }
}