.hero {
    position: relative;
    min-height: 450px;
    max-height: 450px;
    overflow: hidden;
    isolation: isolate;
    display: grid;
    place-items: center;
    padding: 0 var(--lre-gutter);
    margin-bottom: 55px;
    background: #6f7d82;
    color: #ffffff;
}

.hero--tall {
    min-height: calc(85vh - var(--lre-header-h));
    max-height: none;
}

.hero__media,
.hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__media {
    object-fit: cover;
    z-index: -2;
}

.hero__overlay {
    z-index: -1;
    background: rgba(17, 23, 26, 0.28);
}

.hero__content {
    width: min(100%, 760px);
    margin-top: clamp(42px, 7vh, 96px);
    text-align: center;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}

.hero__title {
    margin: 0;
    font-family: var(--lre-font-serif);
    font-size: clamp(42px, 3.35vw, 64px);
    font-weight: 500;
    line-height: 0.98;
}

.hero__subtitle {
    max-width: 680px;
    margin: 22px auto 0;
    font-family: var(--lre-font-serif);
    font-size: clamp(18px, 1.25vw, 23px);
    font-weight: 600;
    line-height: 1.2;
}

.hero__actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 42px;
}

.hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 55px;
    padding: 15px 28px;
    border: 1px solid currentColor;
    background: transparent;
    color: #ffffff;
    font-family: var(--lre-font-sans);
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    text-shadow: none;
    appearance: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero__button:hover,
.hero__button:focus-visible {
    background: #ffffff;
    color: var(--lre-color-ink);
    border-color: #ffffff;
    outline: none;
}

@media (max-width: 960px) {
    .hero {
        min-height: 380px;
        max-height: 450px;
        margin-bottom: 40px;
    }

    .hero--tall {
        min-height: calc(85vh - var(--lre-header-h));
        max-height: none;
    }

    .hero__content {
        margin-top: 0;
    }

    .hero__title {
        font-size: clamp(36px, 9vw, 52px);
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 320px;
        max-height: 400px;
    }

    .hero--tall {
        min-height: calc(85vh - var(--lre-header-h));
        max-height: none;
    }

    .hero__subtitle {
        margin-top: 18px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
        width: min(100%, 310px);
        margin: 34px auto 0;
    }

    .hero__button {
        width: 100%;
        min-width: 0;
    }
}
