
/* =========================================================
   MEKATILILI UNIVERSE — HISTORICAL ARCHIVES
   File: historical-archives.css

   Design identity:
   Documentary · Editorial · Historical Research

   Root scope:
   .historical-archives-page

   Dependencies:
   style.css
   site.css
   universe.css
   ========================================================= */


/* =========================================================
   01. DESIGN TOKENS
========================================================= */

.historical-archives-page {

    --archive-bg: #0b1020;
    --archive-bg-deep: #080d18;
    --archive-surface: #111a2c;
    --archive-surface-light: #172338;

    --archive-gold: #c6a66b;
    --archive-gold-light: #e0c28a;
    --archive-gold-muted: rgba(198, 166, 107, .15);

    --archive-ivory: #f1eee5;
    --archive-text: #d7dce5;
    --archive-muted: #a0aabb;

    --archive-blue: #93b8dc;

    --archive-border: rgba(255, 255, 255, .09);
    --archive-border-gold: rgba(198, 166, 107, .32);

    --archive-radius: 18px;
    --archive-radius-small: 10px;

    --archive-container: 1180px;

    background: var(--archive-bg);
    color: var(--archive-text);

}


/* =========================================================
   02. GENERAL LAYOUT
========================================================= */

.historical-archives-page *,
.historical-archives-page *::before,
.historical-archives-page *::after {

    box-sizing: border-box;

}


.historical-archives-page main {

    overflow: hidden;

}


.historical-archives-page a {

    text-decoration: none;

}


.historical-archives-page .archive-container {

    width: min(
        var(--archive-container),
        calc(100% - 3rem)
    );

    margin-inline: auto;

}


.historical-archives-page section {

    position: relative;

}


.historical-archives-page h1,
.historical-archives-page h2,
.historical-archives-page h3,
.historical-archives-page h4 {

    color: var(--archive-ivory);

    line-height: 1.2;

}


.historical-archives-page p {

    line-height: 1.8;

}


.historical-archives-page a:focus-visible {

    outline: 2px solid var(--archive-gold-light);

    outline-offset: 4px;

}


/* =========================================================
   03. BREADCRUMB NAVIGATION
========================================================= */

.historical-archives-page .archive-breadcrumb {

    padding: 17px 0;

    background: #090e19;

    border-bottom: 1px solid var(--archive-border);

}


.historical-archives-page .archive-breadcrumb ol {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    list-style: none;

    margin: 0;

    padding: 0;

}


.historical-archives-page .archive-breadcrumb li {

    color: var(--archive-muted);

    font-size: .82rem;

}


.historical-archives-page .archive-breadcrumb li:not(:last-child)::after {

    content: "/";

    margin-left: 10px;

    color: var(--archive-gold);

    opacity: .65;

}


.historical-archives-page .archive-breadcrumb a {

    color: var(--archive-muted);

    transition: color .2s ease;

}


.historical-archives-page .archive-breadcrumb a:hover {

    color: var(--archive-gold-light);

}


.historical-archives-page .archive-breadcrumb [aria-current="page"] {

    color: var(--archive-ivory);

    font-weight: 600;

}


/* =========================================================
   04. DOCUMENTARY HERO
========================================================= */

.historical-archives-page .archive-hero {

    position: relative;

    min-height: 590px;

    aspect-ratio: auto;

    background:
        radial-gradient(
            ellipse at 78% 45%,
            rgba(113, 91, 57, .18),
            transparent 48%
        ),
        linear-gradient(
            120deg,
            #080d18 0%,
            #111b2c 55%,
            #0b1020 100%
        );

    border-bottom: 1px solid var(--archive-border);

}


/* Optional archival image treatment */

.historical-archives-page .archive-hero .child-page-hero__banner {

    overflow: hidden;

}


.historical-archives-page .archive-hero .child-page-hero__slide img {

    object-fit: cover;

    object-position: center;

    opacity: .65;

    filter: saturate(.65) contrast(1.08);

}


/* Hero overlay */

.historical-archives-page .archive-hero .child-page-hero__overlay {

    background:

        linear-gradient(
            90deg,
            rgba(5, 9, 17, .96) 0%,
            rgba(5, 9, 17, .86) 38%,
            rgba(5, 9, 17, .48) 72%,
            rgba(5, 9, 17, .65) 100%
        );

}


/* Hero content */

.historical-archives-page .archive-hero__content {

    width: min(
        var(--archive-container),
        calc(100% - 3rem)
    );

    min-height: 590px;

    padding: 90px 0;

}


.historical-archives-page .archive-hero__content .eyebrow {

    color: var(--archive-gold-light);

    background: rgba(198, 166, 107, .10);

    border: 1px solid var(--archive-border-gold);

    box-shadow: none;

    font-size: .73rem;

    letter-spacing: .13em;

}


.historical-archives-page .archive-hero__overline {

    margin: 0 0 16px;

    color: var(--archive-gold);

    font-size: .76rem;

    font-weight: 700;

    letter-spacing: .19em;

    text-transform: uppercase;

}


.historical-archives-page .archive-hero h1 {

    max-width: 850px;

    margin: 0 0 18px;

    color: var(--archive-ivory);

    font-size: clamp(2.8rem, 6vw, 5rem);

    font-weight: 800;

    letter-spacing: -.045em;

}


.historical-archives-page .archive-hero__subtitle {

    max-width: 720px;

    margin: 0 0 18px;

    color: var(--archive-gold-light);

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(1.3rem, 2.3vw, 1.85rem);

    line-height: 1.4;

    font-style: italic;

}


.historical-archives-page .archive-hero__description {

    max-width: 680px;

    margin: 0;

    color: #d1d7e1;

    font-size: 1.02rem;

    line-height: 1.9;

}


/* Hero buttons */

.historical-archives-page .archive-hero .btn-primary {

    background: linear-gradient(
        100deg,
        #c6a66b,
        #a98750
    );

    color: #101521;

    border: 1px solid rgba(255, 255, 255, .08);

}


.historical-archives-page .archive-hero .btn-primary:hover {

    background: var(--archive-gold-light);

}


.historical-archives-page .archive-hero .btn-ghost {

    color: var(--archive-ivory);

    border: 1px solid rgba(255, 255, 255, .35);

    background: rgba(255, 255, 255, .035);

}


.historical-archives-page .archive-hero .btn-ghost:hover {

    border-color: var(--archive-gold);

    background: rgba(198, 166, 107, .09);

}


/* =========================================================
   05. SHARED SECTION HEADINGS
========================================================= */

.historical-archives-page .archive-section-heading {

    max-width: 780px;

    margin-bottom: 46px;

}


.historical-archives-page .archive-kicker {

    display: inline-block;

    margin-bottom: 15px;

    color: var(--archive-gold);

    font-size: .75rem;

    font-weight: 800;

    letter-spacing: .17em;

    text-transform: uppercase;

}


.historical-archives-page .archive-section-heading h2,
.historical-archives-page .archive-methodology__header h2,
.historical-archives-page .archive-explore__heading h2 {

    margin: 0 0 18px;

    font-size: clamp(2rem, 4vw, 3.15rem);

    font-weight: 750;

    letter-spacing: -.035em;

}


.historical-archives-page .archive-section-intro {

    max-width: 720px;

    margin: 0;

    color: var(--archive-muted);

    font-size: 1rem;

    line-height: 1.85;

}


.historical-archives-page .archive-lead {

    color: var(--archive-ivory);

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(1.2rem, 2vw, 1.45rem);

    line-height: 1.7;

}


/* =========================================================
   06. EDITORIAL MANDATE
========================================================= */

.historical-archives-page .archive-mandate {

    padding: clamp(75px, 9vw, 120px) 0;

    background: var(--archive-bg);

}


.historical-archives-page .archive-mandate__grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(300px, .75fr);

    gap: clamp(40px, 7vw, 100px);

    align-items: start;

}


.historical-archives-page .archive-mandate__intro {

    max-width: 700px;

}


.historical-archives-page .archive-mandate__intro p:not(.archive-lead) {

    color: var(--archive-muted);

    margin: 0 0 20px;

}


/* Research principles panel */

.historical-archives-page .archive-principles {

    padding: 10px 0;

    border-top: 1px solid var(--archive-border-gold);

}


.historical-archives-page .archive-principles__item {

    display: grid;

    grid-template-columns: 42px 1fr;

    gap: 18px;

    padding: 25px 0;

    border-bottom: 1px solid var(--archive-border);

}


.historical-archives-page .archive-principles__number {

    color: var(--archive-gold);

    font-family: Georgia, "Times New Roman", serif;

    font-size: 1.35rem;

}


.historical-archives-page .archive-principles__item h3 {

    margin: 0 0 8px;

    font-size: 1.05rem;

}


.historical-archives-page .archive-principles__item p {

    margin: 0;

    color: var(--archive-muted);

    font-size: .91rem;

    line-height: 1.7;

}


/* =========================================================
   07. FEATURED MAZRUI COLLECTION
========================================================= */

.historical-archives-page .archive-featured {

    padding: clamp(75px, 9vw, 120px) 0;

    background:

        linear-gradient(
            180deg,
            #101a2b 0%,
            #0c1423 100%
        );

    border-top: 1px solid var(--archive-border);

    border-bottom: 1px solid var(--archive-border);

}


.historical-archives-page .mazrui-feature {

    display: grid;

    grid-template-columns:
        minmax(0, .9fr)
        minmax(0, 1.1fr);

    min-height: 470px;

    overflow: hidden;

    border: 1px solid var(--archive-border-gold);

    border-radius: var(--archive-radius);

    background: rgba(255, 255, 255, .025);

}


/* Documentary visual panel */

.historical-archives-page .mazrui-feature__visual {

    position: relative;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    min-height: 430px;

    padding: 36px;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 50% 45%,
            rgba(198, 166, 107, .16),
            transparent 55%
        ),

        linear-gradient(
            145deg,
            #253247,
            #111a2a 70%,
            #090f1b
        );

}


.historical-archives-page .mazrui-feature__visual::before {

    content: "";

    position: absolute;

    inset: 18px;

    border: 1px solid rgba(198, 166, 107, .23);

    pointer-events: none;

}


.historical-archives-page .mazrui-feature__visual::after {

    content: "";

    position: absolute;

    width: 320px;

    height: 320px;

    right: -90px;

    bottom: -100px;

    border: 1px solid rgba(198, 166, 107, .19);

    border-radius: 50%;

    box-shadow:

        0 0 0 35px rgba(198, 166, 107, .025),

        0 0 0 70px rgba(198, 166, 107, .025);

}


.historical-archives-page .mazrui-feature__visual-label {

    position: relative;

    z-index: 1;

    color: var(--archive-gold-light);

    font-size: .7rem;

    font-weight: 800;

    letter-spacing: .15em;

}


.historical-archives-page .mazrui-feature__visual-mark {

    position: relative;

    z-index: 1;

    display: flex;

    align-items: center;

    gap: 20px;

    color: var(--archive-ivory);

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(2.5rem, 5vw, 4.4rem);

    letter-spacing: -.04em;

}


.historical-archives-page .mazrui-feature__visual-line {

    width: 55px;

    height: 1px;

    background: var(--archive-gold);

}


.historical-archives-page .mazrui-feature__visual-caption {

    position: relative;

    z-index: 1;

    max-width: 270px;

    margin: 0;

    color: #c5cbd4;

    font-size: .83rem;

    line-height: 1.7;

}


/* Featured collection content */

.historical-archives-page .mazrui-feature__content {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    padding: clamp(30px, 5vw, 60px);

}


.historical-archives-page .mazrui-feature__category {

    margin-bottom: 18px;

    color: var(--archive-gold);

    font-size: .7rem;

    font-weight: 800;

    letter-spacing: .13em;

    line-height: 1.7;

}


.historical-archives-page .mazrui-feature__content h3 {

    max-width: 620px;

    margin: 0 0 22px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(1.8rem, 3vw, 2.5rem);

    font-weight: 600;

    line-height: 1.3;

}


.historical-archives-page .mazrui-feature__content > p {

    margin: 0 0 17px;

    color: var(--archive-muted);

    font-size: .94rem;

    line-height: 1.85;

}


/* Documentary source count */

.historical-archives-page .mazrui-feature__source {

    display: flex;

    align-items: center;

    gap: 18px;

    width: 100%;

    margin: 15px 0 28px;

    padding: 20px;

    border: 1px solid var(--archive-border-gold);

    border-radius: var(--archive-radius-small);

    background: rgba(198, 166, 107, .055);

}


.historical-archives-page .mazrui-feature__source-number {

    color: var(--archive-gold-light);

    font-family: Georgia, "Times New Roman", serif;

    font-size: 2.6rem;

    line-height: 1;

}


.historical-archives-page .mazrui-feature__source strong {

    display: block;

    margin-bottom: 5px;

    color: var(--archive-ivory);

    font-size: .9rem;

}


.historical-archives-page .mazrui-feature__source p {

    margin: 0;

    color: var(--archive-muted);

    font-size: .82rem;

    line-height: 1.6;

}


.historical-archives-page .mazrui-feature__content .btn-primary {

    background: var(--archive-gold);

    color: #101521;

    border: 1px solid transparent;

}


.historical-archives-page .mazrui-feature__content .btn-primary:hover {

    background: var(--archive-gold-light);

}


/* Editorial qualification */

.historical-archives-page .archive-featured__note {

    max-width: 900px;

    margin: 24px auto 0;

    padding-left: 18px;

    border-left: 2px solid var(--archive-gold);

    color: var(--archive-muted);

    font-size: .83rem;

    line-height: 1.75;

}


/* =========================================================
   08. RESEARCH THEMES
========================================================= */

.historical-archives-page .archive-themes {

    padding: clamp(75px, 9vw, 120px) 0;

    background: var(--archive-bg);

}


.historical-archives-page .archive-themes__grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 1px;

    overflow: hidden;

    border: 1px solid var(--archive-border);

    border-radius: var(--archive-radius);

    background: var(--archive-border);

}


.historical-archives-page .archive-theme {

    min-height: 250px;

    padding: 32px;

    background: #10192a;

    transition:

        background .25s ease,

        transform .25s ease;

}


.historical-archives-page .archive-theme:hover {

    background: #172337;

}


.historical-archives-page .archive-theme__number {

    display: inline-block;

    margin-bottom: 24px;

    color: var(--archive-gold);

    font-family: Georgia, "Times New Roman", serif;

    font-size: 1.25rem;

}


.historical-archives-page .archive-theme h3 {

    margin: 0 0 13px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 1.3rem;

    font-weight: 600;

}


.historical-archives-page .archive-theme p {

    margin: 0;

    color: var(--archive-muted);

    font-size: .88rem;

    line-height: 1.8;

}


/* =========================================================
   09. HISTORICAL METHODOLOGY
========================================================= */

.historical-archives-page .archive-methodology {

    padding: clamp(75px, 9vw, 120px) 0;

    background:

        linear-gradient(
            135deg,
            #121e31 0%,
            #0c1422 65%,
            #0a101d 100%
        );

    border-top: 1px solid var(--archive-border);

}


.historical-archives-page .archive-methodology__header {

    max-width: 760px;

    margin-bottom: 50px;

}


.historical-archives-page .archive-methodology__header .archive-lead {

    margin-bottom: 0;

    color: #c7ced9;

}


.historical-archives-page .archive-methodology__grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 22px;

}


.historical-archives-page .archive-method {

    position: relative;

    min-height: 230px;

    padding: 30px;

    border: 1px solid var(--archive-border);

    border-radius: var(--archive-radius-small);

    background: rgba(255, 255, 255, .025);

}


.historical-archives-page .archive-method__index {

    display: inline-block;

    margin-bottom: 23px;

    color: var(--archive-gold);

    font-family: Georgia, "Times New Roman", serif;

    font-size: 1.45rem;

}


.historical-archives-page .archive-method h3 {

    margin: 0 0 12px;

    font-size: 1.13rem;

}


.historical-archives-page .archive-method p {

    margin: 0;

    color: var(--archive-muted);

    font-size: .9rem;

    line-height: 1.8;

}


/* Methodology closing statement */

.historical-archives-page .archive-methodology__statement {

    max-width: 920px;

    margin: 55px auto 0;

    padding: 28px 32px;

    border-left: 2px solid var(--archive-gold);

    background: rgba(198, 166, 107, .055);

}


.historical-archives-page .archive-methodology__statement p {

    margin: 0;

    color: var(--archive-ivory);

    font-family: Georgia, "Times New Roman", serif;

    font-size: 1.15rem;

    line-height: 1.8;

    font-style: italic;

}


/* =========================================================
   10. CLOSING NAVIGATION
========================================================= */

.historical-archives-page .archive-explore {

    padding: clamp(75px, 9vw, 120px) 0;

    background: #090f1b;

}


.historical-archives-page .archive-explore__heading {

    max-width: 760px;

    margin-bottom: 45px;

}


.historical-archives-page .archive-explore__heading p {

    max-width: 700px;

    margin: 0;

    color: var(--archive-muted);

    font-size: .98rem;

    line-height: 1.85;

}


.historical-archives-page .archive-explore__grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 20px;

}


.historical-archives-page .archive-explore-card {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    min-height: 285px;

    padding: 30px;

    border: 1px solid var(--archive-border);

    border-radius: var(--archive-radius-small);

    background: #111a2a;

    transition:

        border-color .25s ease,

        background .25s ease,

        transform .25s ease;

}


.historical-archives-page .archive-explore-card:hover {

    border-color: var(--archive-border-gold);

    background: #172337;

    transform: translateY(-4px);

}


.historical-archives-page .archive-explore-card__number {

    margin-bottom: 22px;

    color: var(--archive-gold);

    font-family: Georgia, "Times New Roman", serif;

    font-size: 1.25rem;

}


.historical-archives-page .archive-explore-card h3 {

    margin: 0 0 13px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 1.35rem;

}


.historical-archives-page .archive-explore-card p {

    flex: 1;

    margin: 0 0 24px;

    color: var(--archive-muted);

    font-size: .88rem;

    line-height: 1.8;

}


.historical-archives-page .archive-explore-card a {

    color: var(--archive-gold-light);

    font-size: .88rem;

    font-weight: 700;

    transition: color .2s ease;

}


.historical-archives-page .archive-explore-card a:hover {

    color: #ffffff;

}


.historical-archives-page .archive-explore__return {

    display: flex;

    justify-content: center;

    margin-top: 50px;

}


.historical-archives-page .archive-explore__return .btn-primary {

    background: var(--archive-gold);

    color: #101521;

}


.historical-archives-page .archive-explore__return .btn-primary:hover {

    background: var(--archive-gold-light);

}


/* =========================================================
   11. FOOTER
========================================================= */

.historical-archives-page .archive-footer {

    padding: 38px 0 65px;

    border-top: 1px solid var(--archive-border);

    background: #080d17;

    color: var(--archive-muted);

    text-align: center;

}


.historical-archives-page .archive-footer p {

    margin: 8px 0;

    font-size: .82rem;

    line-height: 1.7;

}


.historical-archives-page .archive-footer a {

    color: var(--archive-gold-light);

    transition: color .2s ease;

}


.historical-archives-page .archive-footer a:hover {

    color: #ffffff;

}


/* =========================================================
   12. RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1000px) {


    .historical-archives-page .archive-mandate__grid {

        grid-template-columns: 1fr;

        gap: 35px;

    }


    .historical-archives-page .archive-principles {

        max-width: 760px;

    }


    .historical-archives-page .mazrui-feature {

        grid-template-columns: 1fr 1fr;

    }


    .historical-archives-page .archive-themes__grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }


    .historical-archives-page .archive-explore__grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }


}


/* =========================================================
   13. RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 767px) {


    .historical-archives-page .archive-container {

        width: min(
            100% - 2rem,
            var(--archive-container)
        );

    }


    /* Hero */

    .historical-archives-page .archive-hero {

        aspect-ratio: auto;

        min-height: 0;

        padding-top: 0;

    }


    .historical-archives-page .archive-hero .child-page-hero__banner {

        inset: 0 0 auto;

        height: 56.25vw;

    }


    .historical-archives-page .archive-hero .child-page-hero__overlay {

        inset: 0 0 auto;

        height: 56.25vw;

        background: linear-gradient(
            180deg,
            rgba(5, 9, 17, .15) 0%,
            rgba(5, 9, 17, .45) 60%,
            var(--archive-bg) 100%
        );

    }


    .historical-archives-page .archive-hero__content {

        width: 92%;

        min-height: 0;

        padding: calc(56.25vw + 20px) 0 55px;

    }


    .historical-archives-page .archive-hero h1 {

        font-size: clamp(2.5rem, 11vw, 3.8rem);

    }


    .historical-archives-page .archive-hero__description {

        font-size: .95rem;

    }


    .historical-archives-page .archive-hero__overline {

        font-size: .67rem;

        letter-spacing: .13em;

    }


    /* Section headings */

    .historical-archives-page .archive-section-heading {

        margin-bottom: 32px;

    }


    /* Featured collection */

    .historical-archives-page .mazrui-feature {

        grid-template-columns: 1fr;

    }


    .historical-archives-page .mazrui-feature__visual {

        min-height: 300px;

    }


    .historical-archives-page .mazrui-feature__content {

        padding: 30px 25px 35px;

    }


    .historical-archives-page .mazrui-feature__content h3 {

        font-size: 1.85rem;

    }


    /* Research themes */

    .historical-archives-page .archive-themes__grid {

        grid-template-columns: 1fr;

    }


    .historical-archives-page .archive-theme {

        min-height: 0;

        padding: 27px;

    }


    /* Methodology */

    .historical-archives-page .archive-methodology__grid {

        grid-template-columns: 1fr;

        gap: 15px;

    }


    .historical-archives-page .archive-method {

        min-height: 0;

    }


    .historical-archives-page .archive-methodology__statement {

        margin-top: 35px;

        padding: 23px;

    }


    /* Closing navigation */

    .historical-archives-page .archive-explore__grid {

        grid-template-columns: 1fr;

    }


    .historical-archives-page .archive-explore-card {

        min-height: 0;

    }


    .historical-archives-page .archive-explore__return {

        margin-top: 35px;

    }


}


/* =========================================================
   14. RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 480px) {


    .historical-archives-page .archive-container {

        width: calc(100% - 2rem);

    }


    .historical-archives-page .archive-breadcrumb li {

        font-size: .74rem;

    }


    .historical-archives-page .archive-hero__content {

        padding-bottom: 45px;

    }


    .historical-archives-page .archive-hero__subtitle {

        font-size: 1.25rem;

    }


    .historical-archives-page .archive-hero__actions {

        gap: 10px;

    }


    .historical-archives-page .archive-hero__actions .btn {

        width: 100%;

        justify-content: center;

        text-align: center;

    }


    .historical-archives-page .mazrui-feature__visual {

        min-height: 250px;

        padding: 28px;

    }


    .historical-archives-page .mazrui-feature__visual-mark {

        gap: 12px;

        font-size: 2.6rem;

    }


    .historical-archives-page .mazrui-feature__visual-line {

        width: 30px;

    }


    .historical-archives-page .mazrui-feature__source {

        align-items: flex-start;

        padding: 16px;

    }


    .historical-archives-page .mazrui-feature__source-number {

        font-size: 2.1rem;

    }


    .historical-archives-page .archive-method {

        padding: 24px;

    }


    .historical-archives-page .archive-explore-card {

        padding: 25px;

    }


}


/* =========================================================
   15. ACCESSIBILITY — REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {


    .historical-archives-page *,
    .historical-archives-page *::before,
    .historical-archives-page *::after {

        scroll-behavior: auto !important;

        transition-duration: .01ms !important;

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

    }


}
.mazrui-feature-visual {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    isolation: isolate;
}

.mazrui-feature-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
}

.mazrui-feature-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(8, 13, 25, 0.05) 20%,
        rgba(8, 13, 25, 0.78) 100%
    );
    z-index: -1;
    pointer-events: none;
}

.mazrui-feature-date,
.mazrui-feature-caption {
    position: relative;
    z-index: 1;
}

/* =========================================
   MAZRUI CHRONICLES FEATURE CARD
========================================= */

.mazrui-feature {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: stretch;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(190, 155, 83, 0.35);
    border-radius: 18px;
    background: #111a2b;
    min-height: 560px;
}

/* LEFT VISUAL COLUMN */

.mazrui-feature__visual {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    isolation: isolate;
    background: #172236;
}

/* Full-height responsive image */

.mazrui-feature__picture {
    position: absolute;
    inset: 0;
    display: block;
    z-index: -2;
}

.mazrui-feature__picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Dark gradient for overlay readability */

.mazrui-feature__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(8, 13, 25, 0.20) 0%,
        rgba(8, 13, 25, 0.02) 42%,
        rgba(8, 13, 25, 0.82) 100%
    );
    z-index: -1;
    pointer-events: none;
}

/* Documentary label */

.mazrui-feature__visual-label {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 1;
    color: #e5bd68;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

/* Historical dates */

.mazrui-feature__date {
    position: absolute;
    left: 30px;
    bottom: 85px;
    z-index: 1;
    color: #f4efe4;
    font-family: Georgia, serif;
    font-size: clamp(2.5rem, 4vw, 4rem);
}

.mazrui-feature__date span {
    color: #d0ad66;
    padding: 0 8px;
}

/* Image caption */

.mazrui-feature__image-caption {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 1;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    line-height: 1.6;
}

/* RIGHT EDITORIAL COLUMN */

.mazrui-feature__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 4vw, 58px);
    min-width: 0;
}

.mazrui-feature__content h3 {
    margin: 18px 0 22px;
}

.mazrui-feature__content > p {
    margin-bottom: 18px;
}

.mazrui-feature__source {
    margin: 12px 0 26px;
}

/* TABLET */

@media (min-width: 768px) and (max-width: 1279px) {

    .mazrui-feature {
        grid-template-columns: 1fr 1fr;
    }

    .mazrui-feature__visual {
        min-height: 100%;
    }

}

/* MOBILE */

@media (max-width: 767px) {

    .mazrui-feature {
        grid-template-columns: 1fr;
    }

    .mazrui-feature__visual {
        min-height: 340px;
    }

    .mazrui-feature__content {
        padding: 28px 24px 34px;
    }

    .mazrui-feature__date {
        font-size: 2.8rem;
    }

}

/* =========================================
   MAZRUI FEATURE CARD
========================================= */

.mazrui-feature {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(197, 162, 95, 0.30);
    border-radius: 18px;
    background: #111b2d;
    min-height: 680px;
}


/* =========================================
   LEFT VISUAL PANEL
========================================= */

.mazrui-feature__visual {
    position: relative;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    isolation: isolate;
    background: #111b2d;
}

/* Picture fills the entire visual panel */

.mazrui-feature__picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.mazrui-feature__picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Subtle darkening for legible overlay text */

.mazrui-feature__visual-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            to bottom,
            rgba(5, 10, 20, 0.48) 0%,
            rgba(5, 10, 20, 0.02) 35%,
            rgba(5, 10, 20, 0.18) 55%,
            rgba(5, 10, 20, 0.78) 100%
        );
}

/* Documentary label */

.mazrui-feature__visual-label {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 2;
    color: #d7ad60;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Historical date */

.mazrui-feature-date {
    position: absolute;
    left: 30px;
    bottom: 100px;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 16px;

    color: #d7ad60;
    font-family: Georgia, serif;
    font-size: clamp(2.8rem, 4vw, 4.5rem);
    line-height: 1;
}

.mazrui-feature-date__divider {
    display: block;
    width: 45px;
    height: 1px;
    background: #d7ad60;
}

/* Image caption */

.mazrui-feature__visual-caption {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 5px;
    z-index: 2;

    color: rgba(255, 255, 255, 0.88);
    font-size: 0.85rem;
    line-height: 1.5;
}


/* =========================================
   RIGHT EDITORIAL PANEL
========================================= */

.mazrui-feature__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(36px, 4vw, 64px);
    min-width: 0;
}

.mazrui-feature__category {
    display: block;
    margin-bottom: 24px;
    color: #d7ad60;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.6;
}

.mazrui-feature__content h3 {
    margin: 0 0 24px;
}

.mazrui-feature__content > p {
    margin: 0 0 18px;
}

.mazrui-feature__source {
    width: 100%;
    margin: 12px 0 26px;
}


/* =========================================
   RESPONSIVE LAYOUT
========================================= */

@media (max-width: 767px) {

    .mazrui-feature {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .mazrui-feature__visual {
        min-height: 430px;
        aspect-ratio: 16 / 9;
    }

    .mazrui-feature-date {
        bottom: 85px;
        font-size: 2.8rem;
    }

    .mazrui-feature__content {
        padding: 30px 24px;
    }

}

@media (min-width: 768px) and (max-width: 1279px) {

    .mazrui-feature {
        grid-template-columns: 0.85fr 1.15fr;
        min-height: 620px;
    }

    .mazrui-feature__content {
        padding: 34px;
    }

    .mazrui-feature-date {
        font-size: 3rem;
    }

}
