.advanced-banner-section {
    background-color: rgb(var(--color-background));
}

cloned-block-images {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.advanced-banner-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 70px;
    --layout-gutter: 2.4rem;
    inline-size: 100%;
    margin-inline: auto;
    max-inline-size: 1440px;
    padding-inline: var(--layout-gutter);
    margin-block: auto 0;
    position: static;
    padding-bottom: 50px;
    z-index: 22222;
}

.advanced-banner-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advanced-banner-section .cloned-block-images-wrapper .block-image {
    inline-size: 100%;
    inset-block-start: 0;
    inset-inline-start: 0;
    opacity: 0;
    position: absolute;
    transition: opacity .5s;
    z-index: 1;
    block-size: 100%;
    flex: none;
}

.advanced-banner-section .cloned-block-images-wrapper .block-image.active {
    opacity: 1;
}

advanced-banner {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0px 30px;
    width: 100%;
}

advanced-banner .block-image {
    display: none;
}

.advanced-banner-section {
    flex: 1 1 auto;
    inline-size: 100%;
    display: flex;
    position: relative;
    margin: 0 auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    overflow: hidden;
}

.advanced-banner-content {
    position: relative;
    z-index: 2;
}

.advanced-banner-items-wrapper.active .block-image {
    opacity: 1;
}

.advanced-banner-content .button:after {
    content: unset !important;
}

.advanced-banner-content .button {
    box-shadow: none;
    background: transparent;
    text-align: left;
    padding: 0;
    text-decoration: underline;
    opacity: 0;
    display: inline-block;
}

.advanced-banner-items-wrapper.active .button {
    color: #000;
    opacity: 1;
}

.advanced-banner-items-wrapper .advanced-banner-content {
    padding: 32px 18px;
    background: #ffffff5e;
    border-radius: 20px;
}

.advanced-banner-items-wrapper:not(.active) .advanced-banner-content {
    /* border-top: 1.5px solid #fff; */
}

.advanced-banner-items-wrapper.active .advanced-banner-content {
    background-color: #ffffffd4;
    color: #000;
    border-radius: 20px;
}

.advanced-banner-content .block-heading.title5 {
    font-weight: 600;
    letter-spacing: -0.6px;
    text-transform: initial;
    line-height: normal;
}

.advanced-banner-section .block__image--desktop img,
.advanced-banner-section .block__image--mobile img {
    height: 100%;
}

.advanced-banner-items-wrapper {
    width: 100%;
    height: 100%;
}

.advanced-banner-content {
    width: 100%;
    height: 100%;
}

.advanced-banner-section .block__image--mobile,
.advanced-banner-section .block__image--desktop {
    width: 100%;
    height: 100%;
}

.advanced-banner-content-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.advanced-banner-content .button {
    margin-top: auto;
}

.advanced-banner-section .block-image {
    width: 100%;
    height: 100%;
}

@media (min-width: 1024px) {
    .advanced-banner-section {
        height: calc(100vh - 100px);
    }
}

@media (max-width: 1023px) {
    .advanced-banner-content .block-heading.title5 span {
        font-size: 28px !important;
    }

    .advanced-banner-content .rte span {
        font-size: 16px !important;
    }

    .advanced-banner-section {
        block-size: 70svh;
        min-height: 600px;
        height: 100%;
    }

    .advanced-banner-inner {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 279px;
        gap: 40px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding: 0 16px;
        margin: 0;
        grid-template-columns: none;
        scrollbar-width: none;
        margin-bottom: 30px;

    }

    .advanced-banner-items-wrapper .advanced-banner-content {
        color: #000;
        border-radius: 20px;
    }

    .advanced-banner-content .button {
        opacity: 1;
    }

    .advanced-banner-items-wrapper {
        scroll-snap-align: start;
    }
}

.advanced-banner-content-wrapper  .block-heading {
    display: flex;
    flex-direction: column;
}
.advanced-banner-content-wrapper .text-center .block-heading {
    align-items: center;
}
.advanced-banner-content-wrapper .text-left .block-heading {
    align-items: flex-start;
}
.advanced-banner-content-wrapper .text-right .block-heading {
    align-items: flex-end;
}
