.banner .slide {
    position: relative;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: var(--banner-desktop-image);
}

.banner .slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
    z-index: 1;
}

.banner .slide.overlay-light::before { background: rgba(0, 0, 0, 0.25); }
.banner .slide.overlay-medium::before { background: rgba(0, 0, 0, 0.5); }
.banner .slide.overlay-dark::before { background: rgba(0, 0, 0, 0.7); }

.banner .slide-content {
    position: absolute;
    z-index: 2;
    width: min(680px, calc(100% - 40px));
    padding: 24px;
    color: #fff;
}

.banner .slide-content.position-left-top { top: 70px; left: 60px; }
.banner .slide-content.position-left-center { top: 50%; left: 60px; transform: translateY(-50%); }
.banner .slide-content.position-left-bottom { bottom: 70px; left: 60px; }
.banner .slide-content.position-center { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.banner .slide-content.position-right-top { top: 70px; right: 60px; }
.banner .slide-content.position-right-center { top: 50%; right: 60px; transform: translateY(-50%); }
.banner .slide-content.position-right-bottom { right: 60px; bottom: 70px; }

.banner .slide-content.text-left { text-align: left; }
.banner .slide-content.text-center { text-align: center; }
.banner .slide-content.text-right { text-align: right; }

.banner .slide-content h2,
.banner .slide-content h3,
.banner .slide-content .banner-title {
    margin: 0 0 12px;
    color: inherit;
}

.banner .banner-eyebrow {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.banner .slide-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.banner .banner-title-block,
.banner .banner-text-block {
    width: 100%;
    box-sizing: border-box;
    background: rgba(35, 35, 35, 0.88);
    color: #fff;
    text-align: inherit;
}

.banner .banner-title-block {
    padding: 18px 20px 14px;
}

.banner .banner-text-block {
    padding: 16px 20px 18px;
}

.banner .banner-title-block .banner-eyebrow {
    margin-bottom: 6px;
}

.banner .banner-title-block h2,
.banner .banner-title-block h3,
.banner .banner-title-block .banner-title {
    margin: 0;
}

.banner .banner-text-block p {
    margin: 0 0 18px;
}

.banner .banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.banner .banner-actions.layout-vertical { flex-direction: column; }
.banner .banner-actions.buttons-left { justify-content: flex-start; }
.banner .banner-actions.buttons-center { justify-content: center; }
.banner .banner-actions.buttons-right { justify-content: flex-end; }
.banner .banner-actions.layout-vertical.buttons-left { align-items: flex-start; }
.banner .banner-actions.layout-vertical.buttons-center { align-items: center; }
.banner .banner-actions.layout-vertical.buttons-right { align-items: flex-end; }
.banner .banner-button { display: inline-block; }
.banner .slide-legacy-link { display: block; color: inherit; text-decoration: none; }

@media (max-width: 991.98px) {
    .banner .slide { background-image: var(--banner-mobile-image, var(--banner-desktop-image)); }
    .banner .slide-content,
    .banner .slide-content.position-left-top,
    .banner .slide-content.position-left-center,
    .banner .slide-content.position-left-bottom,
    .banner .slide-content.position-center,
    .banner .slide-content.position-right-top,
    .banner .slide-content.position-right-center,
    .banner .slide-content.position-right-bottom {
        top: auto;
        right: 20px;
        bottom: 40px;
        left: 20px;
        width: auto;
        transform: none;
        padding: 0;
        gap: 8px;
    }

    .banner .banner-title-block,
    .banner .banner-text-block {
        width: 100%;
    }

    .banner .banner-title-block {
        padding: 14px 16px 12px;
    }

    .banner .banner-text-block {
        padding: 14px 16px 16px;
    }
}