/* Exact current WMRN /archive/ hero rules, scoped to this archive only. */

html body.wmrn-exact-archive-layout:not(.wmrn-restored-museum-hero) #content .page-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    min-height: clamp(300px, 31vw, 420px) !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: stretch !important;
    padding: clamp(8.25rem, 12vw, 9.75rem) 0 clamp(2.55rem, 5vw, 3.85rem) !important;
    color: #fff !important;
    background: var(--wmrn-chrome-bg, linear-gradient(180deg, #0d2b63, #0a1d47 62%, #061431)) !important;
    background-color: var(--wmrn-site-blue, #0d2b63) !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body.wmrn-exact-archive-layout:not(.wmrn-restored-museum-hero) #content .page-hero::before {
    content: "" !important;
    position: absolute !important;
    z-index: 1 !important;
    inset: 0 !important;
    pointer-events: none !important;
    opacity: 0.16 !important;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px) !important;
    background-size: 56px 56px !important;
    mask-image: linear-gradient(to bottom, #000, transparent 96%) !important;
}

html body.wmrn-exact-archive-layout:not(.wmrn-restored-museum-hero) #content .page-hero::after {
    content: "" !important;
    position: absolute !important;
    z-index: 4 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 4px !important;
    background: linear-gradient(
        90deg,
        transparent,
        var(--wmrn-site-gold, #d8a846),
        var(--wmrn-site-gold-light, #f1d998),
        var(--wmrn-site-gold, #d8a846),
        transparent
    ) !important;
}

html body.wmrn-exact-archive-layout:not(.wmrn-restored-museum-hero) #content .page-hero-bg {
    position: absolute !important;
    z-index: -2 !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    opacity: 0.42 !important;
    filter: grayscale(0.42) saturate(0.62) contrast(0.92) !important;
    transform: none !important;
}

html body.wmrn-exact-archive-layout:not(.wmrn-restored-museum-hero) #content .page-hero-overlay {
    position: absolute !important;
    z-index: -1 !important;
    inset: 0 !important;
    background:
        linear-gradient(90deg, rgba(6,20,49,0.97) 0%, rgba(13,43,99,0.91) 56%, rgba(6,20,49,0.78) 100%),
        linear-gradient(180deg, rgba(13,43,99,0.18), rgba(6,20,49,0.45)) !important;
}

html body.wmrn-exact-archive-layout:not(.wmrn-restored-museum-hero) #content .page-hero-content {
    position: relative !important;
    z-index: 3 !important;
    width: min(1180px, calc(100% - 2rem)) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: left !important;
}

html body.wmrn-exact-archive-layout:not(.wmrn-restored-museum-hero) #content .page-hero-eyebrow {
    display: block !important;
    width: fit-content !important;
    margin: 0 0 0.7rem !important;
    padding: 0 0 0.28rem !important;
    color: var(--wmrn-site-gold-light, #f1d998) !important;
    border-bottom: 1px solid rgba(241,217,152,0.55) !important;
    font-family: "Libre Baskerville", "EB Garamond", Georgia, serif !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.16em !important;
    line-height: 1.5 !important;
    text-transform: uppercase !important;
}

html body.wmrn-exact-archive-layout:not(.wmrn-restored-museum-hero) #content .page-hero-title {
    max-width: 930px !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-indent: 0 !important;
    transform: none !important;
    color: #fff !important;
    font-family: "Libre Baskerville", "EB Garamond", Georgia, serif !important;
    font-size: clamp(2.45rem, 5.25vw, 4.7rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.04em !important;
    line-height: 1.04 !important;
    text-wrap: balance !important;
}

html body.wmrn-exact-archive-layout:not(.wmrn-restored-museum-hero) #content .page-hero-subtitle {
    max-width: 760px !important;
    margin: 0.9rem 0 0 !important;
    color: rgba(255,255,255,0.86) !important;
    font-family: "EB Garamond", Georgia, serif !important;
    font-size: clamp(1.05rem, 1.75vw, 1.28rem) !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    line-height: 1.58 !important;
    text-align: left !important;
    text-wrap: pretty !important;
}

@media (max-width: 620px) {
    html body.wmrn-exact-archive-layout:not(.wmrn-restored-museum-hero) #content .page-hero {
        min-height: 300px !important;
    }

    html body.wmrn-exact-archive-layout:not(.wmrn-restored-museum-hero) #content .page-hero-content {
        width: min(100% - 1.25rem, 1180px) !important;
    }
}
