/* Maido Stage 4Y: editable homepage image banners */
.maido-home-banner {
    position: relative;
    width: 100%;
    min-height: var(--maido-home-banner-height, 300px);
    height: var(--maido-home-banner-height, 300px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: var(--maido-home-banner-desktop);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    isolation: isolate;
}

.maido-home-banner__shade {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, var(--maido-home-banner-shade, .35));
    z-index: 0;
    pointer-events: none;
}

.maido-home-banner__inner {
    position: relative;
    z-index: 1;
    width: min(100% - 48px, 1400px);
    margin: 0 auto;
    display: flex;
}

.maido-home-banner__content {
    width: min(720px, 100%);
    color: #fff;
    text-shadow: 0 2px 14px rgba(0,0,0,.35);
}

.maido-home-banner--align-left .maido-home-banner__inner {
    justify-content: flex-start;
    text-align: left;
}

.maido-home-banner--align-center .maido-home-banner__inner {
    justify-content: center;
    text-align: center;
}

.maido-home-banner--align-right .maido-home-banner__inner {
    justify-content: flex-end;
    text-align: right;
}

.maido-home-banner__eyebrow {
    margin: 0 0 10px;
    font-family: var(--font-menu, Impact, Haettenschweiler, 'Arial Narrow', sans-serif);
    font-size: clamp(17px, 1.4vw, 24px);
    letter-spacing: .16em;
    text-transform: uppercase;
}

.maido-home-banner h2 {
    margin: 0;
    color: #fff;
    font-family: var(--font-menu, Impact, Haettenschweiler, 'Arial Narrow', sans-serif);
    font-size: clamp(42px, 6.2vw, 98px);
    line-height: .92;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.maido-home-banner__text {
    margin: 16px auto 0;
    max-width: 740px;
    font-size: clamp(16px, 1.55vw, 22px);
    font-weight: 750;
    line-height: 1.35;
}

.maido-home-banner--align-left .maido-home-banner__text {
    margin-left: 0;
}

.maido-home-banner--align-right .maido-home-banner__text {
    margin-right: 0;
}

.maido-home-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 22px;
    padding: 12px 24px;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .05em;
    background: rgba(0,0,0,.18);
    backdrop-filter: blur(4px);
}

.maido-home-banner__button:hover,
.maido-home-banner__button:focus {
    background: #fff;
    color: #111;
}

.maido-home-banner--image-only .maido-home-banner__shade {
    display: none;
}

@media (max-width: 760px) {
    .maido-home-banner {
        min-height: var(--maido-home-banner-mobile-height, 230px);
        height: var(--maido-home-banner-mobile-height, 230px);
        background-image: var(--maido-home-banner-mobile);
    }

    .maido-home-banner__inner {
        width: min(100% - 28px, 520px);
    }

    .maido-home-banner h2 {
        font-size: clamp(34px, 12vw, 58px);
    }

    .maido-home-banner__eyebrow {
        font-size: 14px;
    }

    .maido-home-banner__text {
        font-size: 15px;
        line-height: 1.4;
    }

    .maido-home-banner__button {
        min-height: 42px;
        padding: 10px 19px;
        font-size: 13px;
    }
}
