.mmf-forum-hero {
    position: relative;
    z-index: 1;
    width: min(100%, var(--mmfh-width, 100%));
    margin: 0 auto;
    padding: var(--mmfh-outer-padding-top, 0px) clamp(16px, 2.4vw, 42px) var(--mmfh-outer-padding-bottom, 0px);
    color: var(--mmfh-text, #ffffff);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mmf-forum-hero,
.mmf-forum-hero * {
    box-sizing: border-box;
}

.mmf-forum-hero.mmfh-full-width {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.mmf-forum-hero.mmfh-contained-width {
    max-width: 100%;
}

.mmf-forum-hero a {
    text-decoration: none !important;
}

.mmfh-visual {
    position: relative;
    min-height: var(--mmfh-min-height, clamp(390px, 39vw, 600px));
    overflow: hidden;
    border-radius: 0 0 var(--mmfh-radius, 30px) var(--mmfh-radius, 30px);
    background:
        radial-gradient(circle at 63% 32%, rgba(255, 255, 255, 0.12), transparent 15%),
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--mmfh-accent, #d9283a) 35%, transparent), transparent 34%),
        radial-gradient(circle at 0% 18%, color-mix(in srgb, var(--mmfh-primary, #1d72ff) 30%, transparent), transparent 34%),
        linear-gradient(120deg, var(--mmfh-navy, #061733) 0%, #092a58 43%, #361027 100%);
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 28px 90px rgba(3, 9, 20, 0.22);
    isolation: isolate;
}

.mmfh-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg,
            rgba(3, 9, 20, calc(var(--mmfh-overlay, 0.72) + 0.12)) 0%,
            rgba(3, 9, 20, var(--mmfh-overlay, 0.72)) 38%,
            rgba(3, 9, 20, 0.28) 65%,
            rgba(217, 40, 58, 0.20) 100%),
        linear-gradient(180deg, rgba(3, 9, 20, 0.10), rgba(3, 9, 20, 0.46));
    pointer-events: none;
}

.mmfh-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 72% 50%, rgba(255, 255, 255, 0.10), transparent 15%),
        linear-gradient(115deg, transparent 0 56%, rgba(255, 255, 255, 0.08) 56% 58%, rgba(255, 255, 255, 0.03) 58% 74%, transparent 74%);
    mix-blend-mode: screen;
    opacity: 0.78;
}

.mmfh-grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.10;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.75), transparent 78%);
}

.mmfh-inner {
    position: relative;
    z-index: 5;
    width: min(100%, var(--mmfh-content-max, 1420px));
    min-height: inherit;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: clamp(28px, 5vw, 84px);
    align-items: center;
    padding: var(--mmfh-inner-padding-top, 72px) 28px var(--mmfh-inner-padding-bottom, 104px);
}

.mmfh-copy {
    max-width: 780px;
}

.mmfh-eyebrow {
    margin: 0 0 6px;
    color: var(--mmfh-text, #ffffff);
    font-size: clamp(19px, 2.3vw, 34px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 22px rgba(0, 0, 0, 0.38);
}

.mmfh-copy h1 {
    margin: 0;
    max-width: 820px;
    color: var(--mmfh-text, #ffffff) !important;
    font-size: clamp(42px, 5.8vw, 82px);
    line-height: 0.95;
    letter-spacing: -0.065em;
    font-weight: 950;
    text-wrap: balance;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.42);
}

.mmfh-copy p {
    max-width: 690px;
    margin: 18px 0 0;
    color: var(--mmfh-muted, #d5deec) !important;
    font-size: clamp(16px, 1.5vw, 21px);
    line-height: 1.45;
    font-weight: 650;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.36);
}

.mmfh-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.mmfh-btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.mmfh-btn .mmfh-icon {
    width: 20px;
    height: 20px;
}

.mmfh-btn-primary {
    color: #ffffff !important;
    border: 1px solid color-mix(in srgb, var(--mmfh-primary, #1d72ff) 88%, #ffffff);
    background:
        radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.22), transparent 30%),
        linear-gradient(135deg, var(--mmfh-primary, #1d72ff), color-mix(in srgb, var(--mmfh-primary, #1d72ff) 55%, var(--mmfh-navy, #061733)));
    box-shadow: 0 16px 40px rgba(13, 87, 210, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.mmfh-btn-secondary {
    color: var(--mmfh-navy, #061733) !important;
    border: 1px solid rgba(255, 255, 255, 0.70);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.20);
}

.mmfh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 52px rgba(3, 9, 20, 0.28);
}

.mmfh-icon {
    display: block;
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.mmfh-stats {
    display: grid;
    gap: 14px;
    width: min(100%, 320px);
    justify-self: end;
}

.mmfh-stat {
    min-height: 86px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 13px;
    color: var(--mmfh-navy, #061733) !important;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.48);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.mmfh-stat:hover {
    transform: translateX(-4px);
    box-shadow: 0 24px 66px rgba(0, 0, 0, 0.30);
}

.mmfh-stat-one {
    color: #ffffff !important;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.16), transparent 30%),
        linear-gradient(135deg, color-mix(in srgb, var(--mmfh-primary, #1d72ff) 60%, var(--mmfh-navy, #061733)), var(--mmfh-deep, #030914));
}

.mmfh-stat-three {
    color: var(--mmfh-accent, #d9283a) !important;
}

.mmfh-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    color: var(--mmfh-primary, #1d72ff);
    background: color-mix(in srgb, var(--mmfh-primary, #1d72ff) 13%, white);
}

.mmfh-stat-one .mmfh-stat-icon {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

.mmfh-stat-three .mmfh-stat-icon {
    color: var(--mmfh-accent, #d9283a);
    background: color-mix(in srgb, var(--mmfh-accent, #d9283a) 12%, white);
}

.mmfh-stat-copy strong,
.mmfh-stat-copy em {
    display: block;
    font-style: normal;
}

.mmfh-stat-copy strong {
    margin-bottom: 3px;
    color: currentColor;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.1;
}

.mmfh-stat-copy em {
    color: currentColor;
    font-size: 28px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.04em;
}

.mmfh-stat-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    color: currentColor;
    background: rgba(29, 114, 255, 0.10);
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.mmfh-stat-one .mmfh-stat-link {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.mmfh-stat-three .mmfh-stat-link {
    background: color-mix(in srgb, var(--mmfh-accent, #d9283a) 10%, white);
}

.mmfh-quicknav {
    position: relative;
    z-index: 8;
    width: min(100%, var(--mmfh-content-max, 1420px));
    margin: -52px auto 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    min-height: 110px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.70);
    box-shadow: 0 22px 70px rgba(3, 9, 20, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden;
}

.mmfh-quick {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px clamp(14px, 1.6vw, 28px);
    color: var(--mmfh-navy, #061733) !important;
    border-right: 1px solid rgba(15, 23, 42, 0.10);
    transition: background 180ms ease, transform 180ms ease;
}

.mmfh-quick:last-child {
    border-right: 0;
}

.mmfh-quick::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 180ms ease;
    opacity: 0.78;
}

.mmfh-quick:hover {
    background: rgba(29, 114, 255, 0.045);
    transform: translateY(-2px);
}

.mmfh-quick:hover::after {
    transform: scaleX(1);
}

.mmfh-quick-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: currentColor;
    background: color-mix(in srgb, currentColor 12%, white);
    box-shadow: 0 13px 26px color-mix(in srgb, currentColor 15%, transparent);
}

.mmfh-quick-copy strong,
.mmfh-quick-copy em {
    display: block;
    font-style: normal;
}

.mmfh-quick-copy strong {
    color: var(--mmfh-navy, #061733);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 950;
}

.mmfh-quick-copy em {
    margin-top: 4px;
    color: #475569;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
}

.mmfh-tone-blue { color: var(--mmfh-primary, #1d72ff) !important; }
.mmfh-tone-green { color: #0b9b5b !important; }
.mmfh-tone-orange { color: #f97316 !important; }
.mmfh-tone-purple { color: #9333ea !important; }
.mmfh-tone-red { color: var(--mmfh-accent, #d9283a) !important; }

@media (max-width: 1180px) {
    .mmfh-inner {
        grid-template-columns: minmax(0, 1fr);
        padding-bottom: max(78px, calc(var(--mmfh-inner-padding-bottom, 104px) * 0.88));
    }

    .mmfh-stats {
        width: 100%;
        max-width: none;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-self: stretch;
    }

    .mmfh-stat {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .mmfh-stat-link {
        grid-column: 2;
        justify-self: start;
    }

    .mmfh-quicknav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mmfh-quick:nth-child(3) {
        border-right: 0;
    }

    .mmfh-quick:nth-child(n+4) {
        border-top: 1px solid rgba(15, 23, 42, 0.10);
    }
}

@media (max-width: 760px) {
    .mmf-forum-hero {
        padding-left: 12px;
        padding-right: 12px;
        padding-top: var(--mmfh-outer-padding-top, 0px);
        padding-bottom: var(--mmfh-outer-padding-bottom, 0px);
    }

    .mmf-forum-hero.mmfh-full-width {
        padding-left: 0;
        padding-right: 0;
    }

    .mmfh-visual {
        border-radius: 0 0 22px 22px;
    }

    .mmfh-inner {
        padding: max(34px, calc(var(--mmfh-inner-padding-top, 72px) * 0.58)) 18px max(76px, calc(var(--mmfh-inner-padding-bottom, 104px) * 0.73));
    }

    .mmfh-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .mmfh-btn {
        width: 100%;
    }

    .mmfh-stats {
        grid-template-columns: 1fr;
    }

    .mmfh-stat {
        min-height: 78px;
        grid-template-columns: 50px minmax(0, 1fr) auto;
    }

    .mmfh-stat-link {
        grid-column: auto;
    }

    .mmfh-quicknav {
        margin-top: -42px;
        grid-template-columns: 1fr;
        min-height: 0;
        border-radius: 16px;
    }

    .mmfh-quick,
    .mmfh-quick:nth-child(3),
    .mmfh-quick:nth-child(n+4) {
        min-height: 82px;
        border-right: 0;
        border-top: 1px solid rgba(15, 23, 42, 0.09);
    }

    .mmfh-quick:first-child {
        border-top: 0;
    }

    .mmfh-quick-icon {
        width: 48px;
        height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mmfh-btn,
    .mmfh-stat,
    .mmfh-quick,
    .mmfh-quick::after {
        transition: none;
    }
}
