/* Proforma Global Research — page styling, brand-aligned.
 *
 * Palette anchored to Astra globals on this site:
 *   --ast-global-color-0  #fa5e10  primary orange (accent, dividers, CTAs)
 *   --ast-global-color-1  #fd6a21  orange hover
 *   --ast-global-color-2  #181f2f  deep navy (headings on light)
 *   --ast-global-color-3  #3c4553  slate (body text + default heading color)
 *   --ast-global-color-4  #f5f7f4  body / light section bg
 *   --ast-global-color-5  #ffffff  pure white
 *   --ast-global-color-6  #c5cbd3  subtle gray (borders + signature offset shadow)
 *   --ast-global-color-7  #000000  black (header, footer, dark sections, hero overlay)
 *
 * Fonts: Lexend 400 (headings, already loaded at /400,500), Plus Jakarta Sans 400 (body).
 * Heading conventions: letter-spacing -1px, line-height 1.3–1.4.
 *
 * Visual signatures the site uses everywhere and we are inheriting:
 *   - 56px × 2px orange rule above section headings
 *   - 30px 30px 0px 0px #C5CBD3 offset block-shadow on hero images
 *   - alternating #f5f7f4 light / #000000 dark full-bleed sections
 *   - hero = full-bleed dark with white type, opening every page
 *
 * Selectors are prefixed with body.proforma-research-page so they out-specify
 * Astra's :where()-based defaults (which sit at 0,0,1,1).
 */

/* ════════════════════════════════════════════════════════════════════
   HIDE THEME-RENDERED PAGE TITLE
   Astra wraps the post title in <header class="entry-header">. Our hero
   below provides its own title so the theme title would duplicate it.
   ════════════════════════════════════════════════════════════════════ */

body.proforma-research-page header.entry-header,
body.proforma-research-page .entry-header,
body.proforma-research-page h1.entry-title,
body.proforma-research-page h1.page-title,
body.proforma-research-page .ast-single-entry-banner,
body.proforma-research-page .single-page-title,
body.proforma-research-page .elementor-page-title,
body.proforma-research-page .elementor-widget-theme-post-title,
body.proforma-research-page .elementor-widget-page-title,
body.proforma-research-page .page-banner,
body.proforma-research-page .page-hero,
body.proforma-research-page .breadcrumbs-bar {
    display: none !important;
}

/* ════════════════════════════════════════════════════════════════════
   PAGE SURFACE
   Astra body is #f5f7f4 (cream). Without an explicit surface on a child
   container, the whole page reads as that single color. We give the body
   a slightly cooler tint and float the .research-paper as a white card.
   ════════════════════════════════════════════════════════════════════ */

body.proforma-research-page {
    background-color: #ecedef !important;
}

body.proforma-research-page #content,
body.proforma-research-page #primary,
body.proforma-research-page .entry-content {
    background: transparent !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ════════════════════════════════════════════════════════════════════
   HERO  — full-bleed black with orange divider + white type
   Every page on the site opens with a hero; the research pages now do too.
   Break out of Astra's narrow container with the 100vw trick.
   ════════════════════════════════════════════════════════════════════ */

body.proforma-research-page .research-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background-color: #000000;
    color: #ffffff;
    padding: 110px 24px 90px 24px;
    overflow: hidden;
}

body.proforma-research-page .research-hero-inner {
    max-width: 1000px;
    margin: 0 auto;
}

body.proforma-research-page .research-hero .research-divider {
    width: 56px;
    height: 2px;
    background-color: #fa5e10;
    margin-bottom: 28px;
    border: 0;
}

body.proforma-research-page .research-hero .research-wordmark {
    display: inline-block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 22px;
    text-decoration: none;
    border-bottom: none;
}

body.proforma-research-page .research-hero .research-wordmark:hover {
    color: #fa5e10;
}

body.proforma-research-page .research-hero h1 {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 56px;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #ffffff;
    margin: 0 0 18px 0;
    padding: 0;
    border: 0;
}

/* Author byline directly under the title — bold + slightly larger than meta line */
body.proforma-research-page .research-hero .research-hero-byline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 14px 0;
    padding: 0;
    border: 0;
    line-height: 1.4;
    letter-spacing: 0;
}

body.proforma-research-page .research-hero .research-hero-meta {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    padding: 0;
    border: 0;
    max-width: 720px;
}

body.proforma-research-page .research-hero .research-hero-meta a {
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

body.proforma-research-page .research-hero .research-hero-meta a:hover {
    color: #fa5e10;
    border-bottom-color: #fa5e10;
}

@media (max-width: 760px) {
    body.proforma-research-page .research-hero {
        padding: 72px 20px 58px 20px;
    }
    body.proforma-research-page .research-hero h1 {
        font-size: 36px;
    }
    body.proforma-research-page .research-hero .research-hero-byline {
        font-size: 15px;
    }
}

/* ════════════════════════════════════════════════════════════════════
   .research-paper — the reading surface (white card on tinted page)
   ════════════════════════════════════════════════════════════════════ */

body.proforma-research-page .research-paper {
    max-width: 880px;
    margin: -40px auto 80px auto;
    padding: 60px 64px 80px 64px;
    background-color: #ffffff;
    border: 1px solid #d8dadf;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 10px 30px rgba(15, 23, 42, 0.06);
    border-radius: 4px;
    position: relative;
    z-index: 2;

    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: #3c4553;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@media (max-width: 760px) {
    body.proforma-research-page .research-paper {
        padding: 40px 24px 56px 24px;
        margin: -28px 16px 56px 16px;
        border-radius: 4px;
    }
}

/* Breadcrumb above the paper title (paper pages only) */
body.proforma-research-page .research-paper .research-breadcrumb {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    margin-bottom: 24px;
    color: #6b7280;
}

body.proforma-research-page .research-paper .research-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

body.proforma-research-page .research-paper .research-breadcrumb a:hover {
    color: #fa5e10;
    border-bottom-color: #fa5e10;
}

/* ════════════════════════════════════════════════════════════════════
   HEADINGS — match Astra's entry-content typography
   ════════════════════════════════════════════════════════════════════ */

body.proforma-research-page .research-paper h1 {
    font-family: 'Lexend', sans-serif;
    font-size: 38px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -1px;
    color: #181f2f;
    margin: 0 0 14px 0;
}

/* H2 in paper body — with the site's signature 56px × 2px orange rule above it */
body.proforma-research-page .research-paper h2 {
    font-family: 'Lexend', sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -1px;
    color: #181f2f;
    margin: 56px 0 18px 0;
    position: relative;
    padding-top: 22px;
}

body.proforma-research-page .research-paper h2::before {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    background-color: #fa5e10;
    position: absolute;
    top: 0;
    left: 0;
}

body.proforma-research-page .research-paper h3 {
    font-family: 'Lexend', sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: -0.6px;
    color: #181f2f;
    margin: 36px 0 10px 0;
}

/* Paper meta line — italic byline directly under H1 (papers only) */
body.proforma-research-page .research-paper h1 + p {
    margin: 0 0 36px 0;
    padding-bottom: 28px;
    border-bottom: 1px solid #e4e4e7;
    color: #6b7280;
    font-size: 15px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body.proforma-research-page .research-paper h1 + p em {
    font-style: normal;
}

/* ════════════════════════════════════════════════════════════════════
   BODY TEXT
   ════════════════════════════════════════════════════════════════════ */

body.proforma-research-page .research-paper p {
    margin: 0 0 1.25em 0;
    font-size: 17px;
    line-height: 1.78;
    color: #3c4553;
}

body.proforma-research-page .research-paper strong {
    font-weight: 600;
    color: #181f2f;
}

body.proforma-research-page .research-paper em {
    font-style: italic;
}

/* ════════════════════════════════════════════════════════════════════
   EXECUTIVE SUMMARY BLOCKQUOTE
   ════════════════════════════════════════════════════════════════════ */

body.proforma-research-page .research-paper blockquote {
    margin: 32px 0 40px 0;
    padding: 24px 28px;
    background: #f5f7f4;
    border-left: 4px solid #fa5e10;
    border-radius: 0 4px 4px 0;
    color: #3c4553;
    font-size: 17px;
    line-height: 1.7;
}

body.proforma-research-page .research-paper blockquote p {
    margin: 0 0 14px 0;
    font-size: 17px;
}

body.proforma-research-page .research-paper blockquote p:last-child {
    margin-bottom: 0;
}

body.proforma-research-page .research-paper blockquote strong {
    color: #181f2f;
}

/* ════════════════════════════════════════════════════════════════════
   LISTS
   ════════════════════════════════════════════════════════════════════ */

body.proforma-research-page .research-paper ul,
body.proforma-research-page .research-paper ol {
    margin: 0.5rem 0 1.4rem 0;
    padding-left: 1.6rem;
}

body.proforma-research-page .research-paper li {
    margin-bottom: 0.55rem;
    font-size: 17px;
    line-height: 1.75;
    color: #3c4553;
}

body.proforma-research-page .research-paper li > p {
    margin: 0 0 0.4em 0;
}

body.proforma-research-page .research-paper ul li::marker {
    color: #fa5e10;
}

/* ════════════════════════════════════════════════════════════════════
   LINKS
   ════════════════════════════════════════════════════════════════════ */

body.proforma-research-page .research-paper a {
    color: #fa5e10;
    text-decoration: none;
    border-bottom: 1px solid #f5b08a;
    transition: color 0.15s ease, border-color 0.15s ease;
}

body.proforma-research-page .research-paper a:hover {
    color: #fd6a21;
    border-bottom-color: #fd6a21;
}

/* ════════════════════════════════════════════════════════════════════
   FIGURES — with the site's signature 30px×30px offset gray block-shadow
   ════════════════════════════════════════════════════════════════════ */

body.proforma-research-page .research-paper figure {
    margin: 40px 18px 56px 18px;
    text-align: center;
}

body.proforma-research-page .research-paper figure img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 18px 18px 0 0 #c5cbd3;
    display: block;
    margin: 0 auto;
    background: #ffffff;
}

body.proforma-research-page .research-paper figure figcaption {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    color: #6b7280;
    margin: 28px auto 0 auto;
    line-height: 1.55;
    text-align: left;
    max-width: 92%;
}

@media (max-width: 760px) {
    body.proforma-research-page .research-paper figure {
        margin: 32px 0 40px 0;
    }
    body.proforma-research-page .research-paper figure img {
        box-shadow: 10px 10px 0 0 #c5cbd3;
    }
}

/* ════════════════════════════════════════════════════════════════════
   CODE
   ════════════════════════════════════════════════════════════════════ */

body.proforma-research-page .research-paper code {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Cascadia Mono", monospace;
    font-size: 0.88em;
    background: #eceff3;
    padding: 0.14em 0.42em;
    border-radius: 3px;
    color: #181f2f;
    font-weight: 400;
}

body.proforma-research-page .research-paper pre {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Cascadia Mono", monospace;
    font-size: 14px;
    line-height: 1.6;
    background: #181f2f;
    color: #f5f7f4;
    padding: 22px 26px;
    border-radius: 4px;
    overflow-x: auto;
    margin: 28px 0;
    border-left: 3px solid #fa5e10;
}

body.proforma-research-page .research-paper pre code {
    background: transparent;
    padding: 0;
    font-size: inherit;
    color: inherit;
}

/* ════════════════════════════════════════════════════════════════════
   TABLES
   ════════════════════════════════════════════════════════════════════ */

body.proforma-research-page .research-paper table {
    border-collapse: collapse;
    margin: 28px 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    width: 100%;
    line-height: 1.55;
}

body.proforma-research-page .research-paper th {
    border-bottom: 2px solid #181f2f;
    padding: 12px 14px;
    text-align: left;
    font-weight: 600;
    color: #181f2f;
    background: #f5f7f4;
}

body.proforma-research-page .research-paper td {
    border-bottom: 1px solid #e4e4e7;
    padding: 12px 14px;
    color: #3c4553;
}

body.proforma-research-page .research-paper tr:last-child td {
    border-bottom: none;
}

/* ════════════════════════════════════════════════════════════════════
   HR + END-OF-PAPER FOOTER
   ════════════════════════════════════════════════════════════════════ */

body.proforma-research-page .research-paper hr {
    border: 0;
    border-top: 1px solid #e4e4e7;
    margin: 56px 0 24px 0;
}

body.proforma-research-page .research-paper hr + p {
    font-size: 14px;
    color: #6b7280;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ════════════════════════════════════════════════════════════════════
   PAPER ACTIONS — Print / PDF button
   ════════════════════════════════════════════════════════════════════ */

body.proforma-research-page .research-paper .paper-actions {
    margin: 40px 0 0 0;
    font-size: 15px;
}

body.proforma-research-page .research-paper .paper-actions button,
body.proforma-research-page .research-paper .paper-actions a {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #fa5e10;
    border-radius: 0;
    color: #fa5e10;
    background: transparent;
    text-decoration: none;
    cursor: pointer;
    font-size: 13px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: background 0.15s ease, color 0.15s ease;
}

body.proforma-research-page .research-paper .paper-actions button:hover,
body.proforma-research-page .research-paper .paper-actions a:hover {
    background: #fa5e10;
    color: #ffffff;
    border-color: #fa5e10;
    border-bottom-color: #fa5e10;
}

/* ════════════════════════════════════════════════════════════════════
   COPYRIGHT / RIGHTS-RESERVED FOOTER BLOCK
   Appears at the bottom of every paper page (full three-paragraph
   notice) and every hub / theme / series landing (condensed one-line
   variant via .research-hub-copyright).
   ════════════════════════════════════════════════════════════════════ */

body.proforma-research-page .paper-copyright {
    margin: 56px 0 0 0;
    padding: 24px 0 0 0;
    border-top: 1px solid #e4e4e7;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    max-width: 720px;
}

body.proforma-research-page .paper-copyright p {
    margin: 0 0 12px 0;
}

body.proforma-research-page .paper-copyright p:last-child {
    margin-bottom: 0;
}

body.proforma-research-page .paper-copyright strong {
    color: #181f2f;
    font-weight: 700;
}

body.proforma-research-page .paper-copyright a {
    color: #fa5e10;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

body.proforma-research-page .paper-copyright a:hover {
    border-bottom-color: #fa5e10;
}

body.proforma-research-page .research-hub-copyright {
    max-width: none;
}

/* ════════════════════════════════════════════════════════════════════
   RESEARCH HUB PAGE
   Simple publication-list layout: short intro, category section header
   with the site's orange-rule signature, clean numbered list of papers.
   ════════════════════════════════════════════════════════════════════ */

body.proforma-research-page .research-hub p.hub-intro {
    font-size: 17px;
    color: #3c4553;
    line-height: 1.7;
    margin: 0 0 48px 0;
    padding-bottom: 32px;
    border-bottom: 1px solid #e4e4e7;
    max-width: 720px;
}

/* Category section — orange divider + category title, then the list */
body.proforma-research-page .research-hub .research-category {
    margin: 0 0 56px 0;
    padding-top: 22px;
    position: relative;
}

body.proforma-research-page .research-hub .research-category::before {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    background-color: #fa5e10;
    position: absolute;
    top: 0;
    left: 0;
}

body.proforma-research-page .research-hub .research-category > .category-title {
    font-family: 'Lexend', sans-serif;
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 8px 0;
    color: #181f2f;
    letter-spacing: -0.6px;
    line-height: 1.25;
}

/* Override the universal h2 ::before; the section already has a divider above */
body.proforma-research-page .research-hub .research-category > .category-title::before {
    display: none;
}

body.proforma-research-page .research-hub .research-category > .category-description {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 24px 0;
    max-width: 660px;
    line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════════════
   PUBLICATION LIST
   Each entry is a single block link: small number, paper title in Lexend,
   one-line teaser in muted gray. Hover shifts title to brand orange.
   ════════════════════════════════════════════════════════════════════ */

body.proforma-research-page .research-hub .paper-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: paper-list-counter;
}

body.proforma-research-page .research-hub .paper-list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #e4e4e7;
}

body.proforma-research-page .research-hub .paper-list li:last-child {
    border-bottom: none;
}

body.proforma-research-page .research-hub .paper-list li a {
    display: grid;
    grid-template-columns: 52px 1fr;
    grid-column-gap: 18px;
    align-items: baseline;
    padding: 20px 0;
    text-decoration: none;
    border-bottom: none;
    color: inherit;
}

body.proforma-research-page .research-hub .paper-list li a:hover {
    border-bottom: 1px solid transparent;
}

body.proforma-research-page .research-hub .paper-list .paper-list-num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #fa5e10;
    grid-column: 1;
    align-self: start;
    padding-top: 6px;
}

body.proforma-research-page .research-hub .paper-list .paper-list-title {
    display: block;
    font-family: 'Lexend', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #181f2f;
    line-height: 1.3;
    letter-spacing: -0.4px;
    grid-column: 2;
    margin-bottom: 6px;
    transition: color 0.15s ease;
}

body.proforma-research-page .research-hub .paper-list .paper-list-teaser {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    color: #6b7280;
    line-height: 1.55;
    grid-column: 2;
}

body.proforma-research-page .research-hub .paper-list li a:hover .paper-list-title {
    color: #fa5e10;
}

@media (max-width: 760px) {
    body.proforma-research-page .research-hub .paper-list li a {
        grid-template-columns: 36px 1fr;
        grid-column-gap: 12px;
        padding: 16px 0;
    }
    body.proforma-research-page .research-hub .paper-list .paper-list-num {
        font-size: 12px;
        padding-top: 4px;
    }
    body.proforma-research-page .research-hub .paper-list .paper-list-title {
        font-size: 17px;
    }
    body.proforma-research-page .research-hub .paper-list .paper-list-teaser {
        font-size: 14px;
    }
}

/* ════════════════════════════════════════════════════════════════════
   PRINT / PDF
   ════════════════════════════════════════════════════════════════════ */

@media print {
    /* ── Page setup: margins, page numbers, running footer ────────── */
    @page {
        size: Letter;
        margin: 0.85in 0.85in 1in 0.85in;

        @bottom-left {
            content: "Proforma Global Research";
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 9pt;
            color: #6b7280;
        }
        @bottom-right {
            content: counter(page) " / " counter(pages);
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 9pt;
            color: #6b7280;
        }
    }

    @page :first {
        margin: 1.2in 0.85in 1in 0.85in;
        @bottom-left { content: "Proforma Global Research"; }
        @bottom-right { content: ""; }
    }

    /* Force background colors and brand accents to print */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    html, body, body.proforma-research-page {
        background: #ffffff !important;
        color: #181f2f !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* ── Hide site chrome, navigation, and in-page action UI ─────── */
    .site-header,
    .site-footer,
    header.elementor-section,
    footer.elementor-section,
    .elementor-location-header,
    .elementor-location-footer,
    nav.main-navigation,
    .header-footer-elementor-canvas,
    #masthead,
    .ast-primary-header-bar,
    .site-footer-section,
    body.proforma-research-page .research-paper .research-breadcrumb,
    body.proforma-research-page .research-paper .paper-actions {
        display: none !important;
    }

    body.proforma-research-page .paper-copyright {
        margin-top: 40px;
        padding-top: 16px;
        font-size: 9pt;
        line-height: 1.5;
        color: #555;
        page-break-inside: avoid;
    }

    body.proforma-research-page .paper-copyright a {
        color: #555;
        border-bottom: none;
    }

    /* ── HERO becomes a cover page (white, dark text, page-break-after) ── */
    body.proforma-research-page .research-hero {
        position: static !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #ffffff !important;
        color: #181f2f !important;
        page-break-after: always;
        overflow: visible;
    }

    body.proforma-research-page .research-hero-inner {
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.proforma-research-page .research-hero .research-divider {
        background-color: #fa5e10 !important;
        width: 56px;
        height: 2px;
        margin: 0 0 24pt 0;
        border: 0;
    }

    body.proforma-research-page .research-hero .research-wordmark {
        color: #181f2f !important;
        font-family: 'Plus Jakarta Sans', sans-serif !important;
        font-size: 10pt;
        letter-spacing: 2pt;
        font-weight: 700;
        text-transform: uppercase;
        margin: 0 0 36pt 0;
        display: block;
        text-decoration: none;
        border-bottom: none;
    }

    body.proforma-research-page .research-hero h1 {
        color: #181f2f !important;
        font-family: 'Lexend', sans-serif !important;
        font-size: 32pt;
        line-height: 1.2;
        letter-spacing: -1pt;
        font-weight: 400;
        margin: 0 0 20pt 0;
    }

    body.proforma-research-page .research-hero .research-hero-byline {
        color: #181f2f !important;
        font-family: 'Plus Jakarta Sans', sans-serif !important;
        font-size: 13pt;
        font-weight: 600;
        margin: 0 0 10pt 0;
        line-height: 1.4;
    }

    body.proforma-research-page .research-hero .research-hero-meta {
        color: #6b7280 !important;
        font-family: 'Plus Jakarta Sans', sans-serif !important;
        font-size: 10pt;
        max-width: none;
        line-height: 1.5;
    }

    body.proforma-research-page .research-hero .research-hero-meta a {
        color: #6b7280 !important;
        border-bottom: none !important;
        text-decoration: none;
    }

    /* Hide the "All research" back-link wrapper (with its separator) in print */
    body.proforma-research-page .research-hero .research-hero-meta .meta-back-link {
        display: none !important;
    }

    /* ── Paper body ────────────────────────────────────────────── */
    body.proforma-research-page .research-paper {
        max-width: none;
        margin: 0;
        padding: 0;
        font-family: 'Plus Jakarta Sans', Georgia, serif;
        font-size: 11pt;
        line-height: 1.55;
        color: #181f2f;
        background: #ffffff;
        border: 0;
        box-shadow: none;
    }

    body.proforma-research-page .research-paper h1 {
        font-family: 'Lexend', sans-serif;
        font-size: 22pt;
        page-break-after: avoid;
        color: #181f2f;
        margin: 0 0 14pt 0;
    }

    body.proforma-research-page .research-paper h2 {
        font-family: 'Lexend', sans-serif;
        font-size: 15pt;
        page-break-after: avoid;
        page-break-before: auto;
        margin: 28pt 0 12pt 0;
        padding-top: 14pt;
        color: #181f2f;
    }
    body.proforma-research-page .research-paper h2::before {
        background-color: #fa5e10 !important;
        width: 56px;
        height: 2px;
        top: 0;
    }

    body.proforma-research-page .research-paper h3 {
        font-family: 'Lexend', sans-serif;
        font-size: 13pt;
        page-break-after: avoid;
        color: #181f2f;
        margin: 18pt 0 8pt 0;
    }

    body.proforma-research-page .research-paper p {
        font-size: 11pt;
        line-height: 1.55;
        margin: 0 0 10pt 0;
        orphans: 3;
        widows: 3;
        color: #181f2f;
    }

    body.proforma-research-page .research-paper strong {
        color: #181f2f;
    }

    /* Figures don't split across pages */
    body.proforma-research-page .research-paper figure {
        page-break-inside: avoid;
        margin: 18pt 0;
    }
    body.proforma-research-page .research-paper figure img {
        box-shadow: none !important;
        max-width: 100%;
        max-height: 6.5in;
        width: auto;
        height: auto;
    }
    body.proforma-research-page .research-paper figure figcaption {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: 9.5pt;
        color: #555;
        margin-top: 10pt;
        text-align: left;
    }

    /* Blockquote (executive summary) */
    body.proforma-research-page .research-paper blockquote {
        page-break-inside: avoid;
        background: #f5f7f4 !important;
        border-left: 3pt solid #fa5e10 !important;
        padding: 14pt 18pt;
        margin: 16pt 0;
    }
    body.proforma-research-page .research-paper blockquote p {
        font-size: 11pt;
        margin: 0 0 8pt 0;
    }

    /* Lists */
    body.proforma-research-page .research-paper ul,
    body.proforma-research-page .research-paper ol {
        margin: 0.4em 0 1em 0;
    }
    body.proforma-research-page .research-paper li {
        font-size: 11pt;
        line-height: 1.55;
        margin-bottom: 0.3em;
        page-break-inside: avoid;
    }
    body.proforma-research-page .research-paper ul li::marker {
        color: #fa5e10 !important;
    }

    /* Tables */
    body.proforma-research-page .research-paper table {
        font-size: 10pt;
        margin: 16pt 0;
    }
    body.proforma-research-page .research-paper tr {
        page-break-inside: avoid;
    }
    body.proforma-research-page .research-paper th {
        padding: 6pt 8pt;
        background: #f5f7f4 !important;
        color: #181f2f;
        border-bottom: 2px solid #181f2f;
    }
    body.proforma-research-page .research-paper td {
        padding: 6pt 8pt;
        border-bottom: 1px solid #dddddd;
    }

    /* Links — orange but no underline in print */
    body.proforma-research-page .research-paper a {
        color: #fa5e10 !important;
        border-bottom: none !important;
        text-decoration: none;
    }

    /* Code */
    body.proforma-research-page .research-paper pre {
        background: #f5f5f5 !important;
        color: #181f2f !important;
        border-left: 3pt solid #fa5e10 !important;
        page-break-inside: avoid;
        font-size: 9.5pt;
        padding: 12pt 14pt;
        margin: 14pt 0;
    }
    body.proforma-research-page .research-paper code {
        background: #f5f5f5 !important;
        color: #181f2f !important;
        font-size: 9.5pt;
    }

    /* HR */
    body.proforma-research-page .research-paper hr {
        page-break-after: avoid;
        margin: 18pt 0 10pt 0;
        border-top: 1px solid #dddddd;
    }
}

/* ════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════════ */

@media (max-width: 760px) {
    body.proforma-research-page .research-paper h1 { font-size: 28px; }
    body.proforma-research-page .research-paper h2 { font-size: 22px; margin-top: 40px; }
    body.proforma-research-page .research-paper h3 { font-size: 18px; }
    body.proforma-research-page .research-hub .research-category > .category-title { font-size: 24px; }
    body.proforma-research-page .research-hub .paper-card { padding: 22px 20px 20px 20px; }
    body.proforma-research-page .research-hub .paper-card .paper-card-title { font-size: 19px; }
    body.proforma-research-page .research-paper table { font-size: 13px; }
    body.proforma-research-page .research-paper blockquote { padding: 18px 20px; }
}
