.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(520px, 75vh, 860px);
    overflow: hidden;
    color: var(--white);
    background: var(--black);
}

.hero--height-medium {
    min-height: clamp(640px, 85vh, 1100px);
}

.hero--height-full {
    min-height: calc(100vh - var(--site-header-height, var(--header-desktop-height)));
}

.hero--align-top {
    align-items: flex-start;
}

.hero--align-middle {
    align-items: center;
}

.hero--align-bottom {
    align-items: flex-end;
}

.hero__media,
.hero__media picture {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.hero__media picture {
    position: absolute;
}

.hero--parallax .hero__media,
.hero--parallax .hero__media picture {
    top: -12%;
    height: 124%;
}

.hero__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.hero__mask {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    height: 75%;
    background: linear-gradient(to bottom, rgb(0 0 0 / 55%), rgba(0, 0, 0, 0));
    pointer-events: none;
}

.hero__mask--radial {
    inset: 0;
    height: auto;
    background: radial-gradient(ellipse at center, rgb(0 0 0 / 75%) 0%, rgb(0 0 0 / 50%) 40%, rgb(0 0 0 / 0%) 70%);
}

.hero__content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: var(--section-padding-y) 0;
    text-align: center;
}

.hero__pre-title {
    margin: 0 0 0.85rem;
    color: var(--gold);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero__title {
    margin: 0;
    color: var(--white);
    font-size: clamp(2rem, 4.2vw, 3.25rem);
    font-weight: 400;
    line-height: 1.15;
}

.hero__text {
    margin-top: 1rem;
    color: var(--white);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.5;
}

.hero__text > :first-child {
    margin-top: 0;
}

.hero__text > :last-child {
    margin-bottom: 0;
}

.hero__button {
    margin-top: 1.75rem;
}

.hero--height-default {
    min-height: clamp(360px, 70vh, 620px);
}

.hero--height-default .container{
    max-width: 740px;
}

@media (max-width: 767px) {
    .hero--height-default {
        min-height: clamp(520px, 70vh, 860px);
    }

    .hero__mask:not(.hero__mask--radial) {
        background: linear-gradient(to bottom, rgb(0 0 0 / 63%), rgba(0, 0, 0, 0));
    }

    .container.mbm-section-container--default.hero__content,
    .mbm-section-container.hero__content {
        max-width: 80%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero--parallax .hero__media,
    .hero--parallax .hero__media picture {
        top: 0;
        height: 100%;
        transform: none !important;
    }
}
