.zh-banner-hero {
    --zh-banner-hero-text-color: #ffffff;
    --zh-banner-hero-button-bg: #000000;
    --zh-banner-hero-button-text-color: #ffffff;
    position: relative;
    overflow: hidden;
    display: flex;
    width: 100%;
    min-height: 630px;
    background-color: #4a7c83;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.zh-banner-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.18);
    opacity: 0.35;
    pointer-events: none;
}

.zh-banner-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    margin: 0 auto;
    padding: 36px;
}

.zh-banner-hero__heading,
.zh-banner-hero__eyebrow,
.zh-banner-hero__description {
    color: var(--zh-banner-hero-text-color);
}

.zh-banner-hero__heading {
    margin: 0;
    font-size: clamp(3.5rem, 6vw, 5.2rem);
    line-height: 0.9;
    font-weight: 400;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.zh-banner-hero__eyebrow {
    margin-bottom: 12px;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.3;
}

.zh-banner-hero__description {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    text-wrap: pretty;
}

.zh-banner-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    min-width: 112px;
    min-height: 52px;
    padding: 14px 24px;
    border-radius: 999px;
    background: var(--zh-banner-hero-button-bg);
    color: var(--zh-banner-hero-button-text-color);
    text-decoration: none;
    transition: transform 180ms ease, opacity 180ms ease;
    cursor: pointer;
}

.zh-banner-hero__button:hover,
.zh-banner-hero__button:focus {
    transform: translateY(-1px);
    opacity: 0.92;
    color: var(--zh-banner-hero-button-text-color);
}

.zh-banner-hero--centered-cta {
    --zh-banner-hero-text-color: #111111;
    align-items: center;
    justify-content: center;
}

.zh-banner-hero--centered-cta .zh-banner-hero__inner {
    max-width: none;
    align-items: center;
    justify-content: center;
}

.zh-banner-hero__content--centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.zh-banner-hero--centered-cta .zh-banner-hero__heading {
    max-width: 12ch;
    font-size: clamp(4.4rem, 6vw, 4.8rem);
}

.zh-banner-hero--centered-cta .zh-banner-hero__description {
    max-width: 28ch;
}

.zh-banner-hero--split-bottom {
    --zh-banner-hero-text-color: #ffffff;
    align-items: flex-end;
}

.zh-banner-hero--split-bottom .zh-banner-hero__inner {
    max-width: none;
    align-items: flex-end;
}

.zh-banner-hero__content--split {
    display: flex;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    justify-content: space-between;
    width: 100%;
}

.zh-banner-hero__primary,
.zh-banner-hero__secondary {
    display: flex;
    flex-direction: column;
}

.zh-banner-hero__primary {
    max-width: 420px;
    justify-self: start;
}

.zh-banner-hero__secondary {
    justify-self: end;
    align-self: end;
    max-width: 360px;
}

.zh-banner-hero--split-bottom .zh-banner-hero__heading {
    max-width: 5.2ch;
    font-size: clamp(4.4rem, 7vw, 5.8rem);
}

@media (max-width: 767px) {
    .zh-banner-hero {
        min-height: 480px;
    }

    .zh-banner-hero__inner {
        padding: 24px;
    }

    .zh-banner-hero__content--split {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .zh-banner-hero__primary,
    .zh-banner-hero__secondary {
        max-width: none;
        justify-self: stretch;
    }

    .zh-banner-hero__heading {
        font-size: clamp(2.9rem, 12vw, 4rem);
    }

    .zh-banner-hero--split-bottom .zh-banner-hero__heading {
        max-width: 5.8ch;
    }

    .zh-banner-hero--centered-cta .zh-banner-hero__heading,
    .zh-banner-hero--centered-cta .zh-banner-hero__description {
        max-width: none;
    }

    .zh-banner-hero__content--split {
        display: flex;
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        justify-content: space-between;
        width: 100%;
        flex-direction: column;
    }
}
