:root {
    --mm-page-hero-gold: #EDC540;
    --mm-page-hero-gold-hover: #D9AF2F;
    --mm-page-hero-dark: #070A10;
    --mm-page-hero-white: #FFFFFF;
}

.mm-page-hero {
    position: relative;
    margin-top: 0;
    min-height: 400px;
    display: grid;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    background: var(--mm-page-hero-dark);
    color: var(--mm-page-hero-white);
    border-bottom: 4px solid var(--mm-page-hero-gold);
}

.mm-page-hero--compact {
    min-height: 380px;
}

.mm-page-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.mm-page-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 10, 16, .98) 0%, rgba(7, 10, 16, .92) 42%, rgba(7, 10, 16, .65) 68%, rgba(7, 10, 16, .35) 100%);
}

.mm-page-hero__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.mm-page-hero__shell {
    width: min(1240px, calc(100% - 48px));
    margin-inline: auto;
}

.mm-page-hero__content {
    width: min(100%, 800px);
    padding: 30px 0;
}

.mm-page-hero__breadcrumb {
    margin: 0 0 15px;
}

.mm-page-hero__breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, .68);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    line-height: 1.5;
    text-transform: uppercase;
}

.mm-page-hero__breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mm-page-hero__breadcrumb li:not(:last-child)::after {
    content: "/";
    color: rgba(255, 255, 255, .38);
}

.mm-page-hero__breadcrumb a {
    color: var(--mm-page-hero-gold);
    text-decoration: none;
    transition: color .2s ease;
}

.mm-page-hero__breadcrumb a:hover,
.mm-page-hero__breadcrumb a:focus-visible {
    color: var(--mm-page-hero-white);
}

.mm-page-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 10px;
    color: var(--mm-page-hero-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    line-height: 1.4;
    text-transform: uppercase;
}

.mm-page-hero__eyebrow::before {
    content: "";
    flex: 0 0 34px;
    height: 2px;
    background: var(--mm-page-hero-gold);
}

.mm-page-hero__title {
    max-width: 780px;
    margin: 0;
    color: var(--mm-page-hero-white);
    font-size: clamp(48px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.02;
    text-wrap: balance;
}

.mm-page-hero__highlight {
    color: var(--mm-page-hero-gold);
}

.mm-page-hero__subtitle {
    max-width: 690px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .79);
    font-size: 16px;
    line-height: 1.7;
}

.mm-page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 20px;
}

.mm-page-hero__btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.mm-page-hero__btn:hover {
    transform: translateY(-2px);
}

.mm-page-hero__btn--primary {
    background: var(--mm-page-hero-gold);
    border-color: var(--mm-page-hero-gold);
    color: var(--mm-page-hero-dark);
}

.mm-page-hero__btn--primary:hover,
.mm-page-hero__btn--primary:focus-visible {
    background: var(--mm-page-hero-gold-hover);
    border-color: var(--mm-page-hero-gold-hover);
    color: var(--mm-page-hero-dark);
}

.mm-page-hero__btn--secondary {
    background: rgba(7, 10, 16, .28);
    border-color: rgba(255, 255, 255, .34);
    color: var(--mm-page-hero-white);
}

.mm-page-hero__btn--secondary:hover,
.mm-page-hero__btn--secondary:focus-visible {
    background: var(--mm-page-hero-white);
    border-color: var(--mm-page-hero-white);
    color: var(--mm-page-hero-dark);
}

.mm-page-hero__breadcrumb a:focus-visible,
.mm-page-hero__btn:focus-visible {
    outline: 3px solid rgba(237, 197, 64, .45);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .mm-page-hero,
    .mm-page-hero--compact {
        min-height: 350px;
    }

    .mm-page-hero__media::after {
        background: linear-gradient(90deg, rgba(7, 10, 16, .97) 0%, rgba(7, 10, 16, .9) 58%, rgba(7, 10, 16, .64) 100%);
    }

    .mm-page-hero__content {
        padding: 28px 0;
    }

    .mm-page-hero__title {
        font-size: clamp(40px, 7vw, 50px);
    }
}

@media (max-width: 620px) {
    .mm-page-hero,
    .mm-page-hero--compact {
        min-height: 340px;
    }

    .mm-page-hero__media::after {
        background: rgba(7, 10, 16, .87);
    }

    .mm-page-hero__shell {
        width: calc(100% - 32px);
    }

    .mm-page-hero__content {
        padding: 22px 0;
    }

    .mm-page-hero__breadcrumb {
        margin-bottom: 12px;
    }

    .mm-page-hero__breadcrumb ol {
        font-size: 10px;
    }

    .mm-page-hero__eyebrow {
        margin-bottom: 8px;
        font-size: 11px;
    }

    .mm-page-hero__title {
        font-size: clamp(34px, 10.5vw, 42px);
        line-height: 1.04;
        overflow-wrap: anywhere;
    }

    .mm-page-hero__subtitle {
        margin-top: 10px;
        font-size: 15px;
        line-height: 1.6;
    }

    .mm-page-hero__actions {
        display: grid;
        margin-top: 14px;
    }

    .mm-page-hero__btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mm-page-hero__breadcrumb a,
    .mm-page-hero__btn {
        scroll-behavior: auto;
        transition: none;
    }

    .mm-page-hero__btn:hover {
        transform: none;
    }
}
