/* ============================================================
   GrimbaNews — Homepage (Steve's cinematic glass over newsprint)
   GrimbaNews glass reader system.
   ============================================================ */

:root {
    --gn-paper:        #f6f1e8;
    --gn-paper-warm:   #ede4d2;
    --gn-ink:          #1a1713;
    --gn-ink-muted:    #4a4540;
    --gn-ink-soft:     #6b6459;
    --gn-muted:        #4a4540;
    --gn-rule:         rgba(26, 23, 19, 0.08);
    --gn-tan:          #dcc8a0;
    --gn-tan-strong:   #c9ae76;

    --gn-left:   #3b82f6;
    --gn-center: #a8a8a8;
    --gn-right:  #e84c3d;
    --gn-blind:  #8a2be2;
}

/* S344 — edition-aware bias color flip. The default (above) is the
   francophone convention: blue=left, red=right, used everywhere on
   GrimbaNews regardless of edition.

   Optional opt-in: a reader (or an editor wanting to test) can land
   on any page with `?fr_convention=0` to swap to the US/anglo
   convention (red=left, blue=right). The toggle persists in localStorage
   so subsequent navigation stays consistent for that visitor.

   Triggered by `html[data-bias-convention="us"]` — set by the boot
   script in grimba-home / grimba-chrome layouts.

   Documented in the bias-bar explainer page. */
html[data-bias-convention="us"] {
    --gn-left:  #e84c3d;
    --gn-right: #3b82f6;
}
:root {

    /* Editorial accent — the masthead red from the S83 landing.
       Warmer than --gn-right (which reads as political-right colour);
       sits closer to a newspaper / magazine ink red. */
    --gn-accent: #c0392b;

    --gn-font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
    --gn-font-body:    'Public Sans', 'Inter', system-ui, sans-serif;
    --gn-font-mono:    'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;
}

html.grimba-home-html {
    background: linear-gradient(180deg, var(--gn-paper) 0%, #fbf7ee 55%, var(--gn-paper) 100%);
    --background-color-dark: var(--gn-paper);
    --bg-dark-one: var(--gn-paper);
    --bg-dark-two: var(--gn-paper-warm);
    --bg-dark-three: var(--gn-paper);
    --dark-color-body: var(--gn-ink-muted);
    --dark-color-heading-1: var(--gn-ink);
    /* Base font size — 15px (Vader calibration). Component bumps
       from S52 scale proportionally via rem. */
    font-size: 15px;
}
@media (min-width: 1600px) {
    html.grimba-home-html { font-size: 16px; }
}

/* Dark-mode tokens override paper/ink for the whole site */
html.grimba-home-html[data-bs-theme="dark"] {
    --gn-paper:        #121007;
    --gn-paper-warm:   #1c1811;
    --gn-ink:          #f6f1e8;
    --gn-ink-muted:    #e6ddc7;
    --gn-ink-soft:     #c9bea5;
    --gn-muted:        #e6ddc7;
    --gn-rule:         rgba(246, 241, 232, 0.14);
    --gn-tan:          #a78a55;
    --gn-tan-strong:   #c9ae76;
    background: linear-gradient(180deg, #0c0a07 0%, #15120c 55%, #0c0a07 100%);
}

html.grimba-home-html[data-bs-theme="dark"] body.grimba-home {
    color: var(--gn-ink);
}

/* Defensive: stock Echo's rts-dark-light toggle (used elsewhere in the
   Botble theme) flips html[data-theme="dark"] and pulls in its own dark
   palette. We never want that on Grimba pages — our dark mode keys off
   data-bs-theme. The homepage layout hard-sets data-theme="light", so
   these rules only fire if a stale localStorage entry from elsewhere
   sneaks data-theme="dark" in; in that case we keep the surface light
   and let data-bs-theme drive the real dark/light. */
html.grimba-home-html[data-theme="dark"] {
    --background-color-dark: var(--gn-paper);
    --bg-dark-one: var(--gn-paper);
    --bg-dark-two: var(--gn-paper-warm);
    --bg-dark-three: var(--gn-paper);
    --dark-color-body: var(--gn-ink-muted);
    --dark-color-heading-1: var(--gn-ink);
    background: linear-gradient(180deg, var(--gn-paper) 0%, #fbf7ee 55%, var(--gn-paper) 100%) !important;
    color-scheme: light;
}
html.grimba-home-html[data-theme="dark"] body.grimba-home,
html.grimba-home-html[data-theme="dark"] body.grimba-subpage,
html.grimba-home-html[data-theme="dark"] .grimba-home-main,
html.grimba-home-html[data-theme="dark"] .grimba-sub-main {
    background: transparent !important;
    color: var(--gn-ink) !important;
}

/* Light-mode defense: pin body bg to transparent so any stock Echo /
   Botble / Bootstrap rule that tries to paint the body dark in light
   mode cannot win. The cream gradient lives on html.grimba-home-html;
   body just inherits. Dark mode keeps its own explicit body gradient
   further down in the stylesheet (the [data-bs-theme="dark"] body
   rule in section 12d) so we don't accidentally erase the dark canvas. */
html.grimba-home-html:not([data-bs-theme="dark"]) body.grimba-home,
html.grimba-home-html:not([data-bs-theme="dark"]) body.grimba-subpage {
    background: transparent !important;
}
html.grimba-home-html[data-theme="dark"] .echo-feature-area,
html.grimba-home-html[data-theme="dark"] .echo-latest-news-area,
html.grimba-home-html[data-theme="dark"] .echo-hero-section,
html.grimba-home-html[data-theme="dark"] .echo-popular-area,
html.grimba-home-html[data-theme="dark"] .echo-trending-area,
html.grimba-home-html[data-theme="dark"] .echo-home-1-hero-area-top-story {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--gn-ink) !important;
}

.grimba-home .opacity-60,
.grimba-home .opacity-65 {
    opacity: 1 !important;
    color: var(--gn-ink-soft);
}

/* Dark-mode header surfaces — brighter glass so text stays readable */
html.grimba-home-html[data-bs-theme="dark"] .grimba-breaking,
html.grimba-home-html[data-bs-theme="dark"] .grimba-urgency {
    color: #fffaf0;
    border-bottom-color: rgba(246, 241, 232, 0.14);
    background:
        linear-gradient(90deg, rgba(59, 130, 246, 0.18), rgba(255, 255, 255, 0.03) 36%, rgba(232, 76, 61, 0.14)),
        rgba(24, 20, 13, 0.92);
    box-shadow: inset 0 -1px 0 rgba(246, 241, 232, 0.09);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-breaking__lede {
    background: rgba(246, 241, 232, 0.09);
    border-color: rgba(246, 241, 232, 0.16);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(246, 241, 232, 0.08);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-breaking__eyebrow {
    background: #fffaf0;
    color: #15120e;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-breaking__headline,
html.grimba-home-html[data-bs-theme="dark"] .grimba-breaking__item {
    color: #fffaf0 !important;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-breaking__item {
    background: rgba(246, 241, 232, 0.08);
    border-color: rgba(246, 241, 232, 0.12);
    box-shadow: inset 0 1px 0 rgba(246, 241, 232, 0.08);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-header__main {
    background: rgba(28, 24, 17, 0.88);
    border-bottom-color: rgba(246, 241, 232, 0.12);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-header__meta {
    background: rgba(18, 16, 7, 0.7);
    border-bottom-color: rgba(246, 241, 232, 0.08);
    color: var(--gn-ink-muted);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-chips {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.10), rgba(18, 16, 7, 0.82) 34%, rgba(232, 76, 61, 0.10));
    border-bottom-color: rgba(246, 241, 232, 0.08);
    color: var(--gn-ink-muted);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-chips__rail::before {
    background: linear-gradient(90deg, rgba(18, 16, 7, 0.98), rgba(18, 16, 7, 0));
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-chips__rail::after {
    background: linear-gradient(270deg, rgba(18, 16, 7, 0.98), rgba(18, 16, 7, 0));
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-nav a { color: var(--gn-ink-muted); }
html.grimba-home-html[data-bs-theme="dark"] .grimba-nav a:hover,
html.grimba-home-html[data-bs-theme="dark"] .grimba-nav a.active { color: var(--gn-ink); border-color: var(--gn-ink); }
html.grimba-home-html[data-bs-theme="dark"] .grimba-wordmark { color: var(--gn-ink); }
html.grimba-home-html[data-bs-theme="dark"] .grimba-wordmark__tag { color: var(--gn-ink-soft); }
html.grimba-home-html[data-bs-theme="dark"] .grimba-header__tools {
    color: rgba(255, 250, 240, 0.92);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-header__tools > a {
    color: rgba(255, 250, 240, 0.92);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-stat-pill,
html.grimba-home-html[data-bs-theme="dark"] .grimba-header-tool-link {
    background: rgba(246, 241, 232, 0.07);
    border-color: rgba(246, 241, 232, 0.12);
    color: rgba(255, 250, 240, 0.86);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-header-tool-link:hover,
html.grimba-home-html[data-bs-theme="dark"] .grimba-header-tool-link:focus-visible {
    background: rgba(246, 241, 232, 0.13);
    color: #fffaf0;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-header-date {
    color: rgba(255, 250, 240, 0.72);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-theme-switch,
html.grimba-home-html[data-bs-theme="dark"] .grimba-theme-cycle,
html.grimba-home-html[data-bs-theme="dark"] .grimba-lang-toggle {
    background: rgba(246, 241, 232, 0.07);
    border-color: rgba(246, 241, 232, 0.14);
    color: #fffaf0;
}

html.grimba-home-html[data-bs-theme="dark"] .grimba-search input {
    background: rgba(255, 255, 255, 0.06);
    color: var(--gn-ink);
    border-color: rgba(255, 255, 255, 0.1);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-search input::placeholder { color: var(--gn-ink-soft); }

/* Chip surfaces in dark mode */
html.grimba-home-html[data-bs-theme="dark"] .grimba-chip {
    background: rgba(246, 241, 232, 0.07);
    border-color: rgba(246, 241, 232, 0.14);
    color: #fffaf0;
    box-shadow: inset 0 0 0 1px rgba(246, 241, 232, 0.04), 0 10px 28px rgba(0, 0, 0, 0.18);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-chip:hover {
    background: rgba(246, 241, 232, 0.13);
    border-color: var(--gn-ink);
    color: var(--gn-ink);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-chip__follow {
    background: var(--gn-ink);
    color: var(--gn-paper);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-chip--followed {
    background: #fffaf0;
    border-color: rgba(255, 250, 240, 0.74);
    color: #17140f;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-chip--followed .grimba-chip__label {
    color: #17140f;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-chip--followed .grimba-chip__follow {
    background: #17140f;
    color: #fffaf0;
}

/* Briefing / topnews text */
html.grimba-home-html[data-bs-theme="dark"] .grimba-briefing__title,
html.grimba-home-html[data-bs-theme="dark"] .grimba-topnews__title,
html.grimba-home-html[data-bs-theme="dark"] .grimba-latest__title,
html.grimba-home-html[data-bs-theme="dark"] .grimba-section__title,
html.grimba-home-html[data-bs-theme="dark"] .grimba-methodology__title {
    color: var(--gn-ink);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-briefing__headline,
html.grimba-home-html[data-bs-theme="dark"] .grimba-topnews__headline,
html.grimba-home-html[data-bs-theme="dark"] .grimba-latest__headline {
    color: var(--gn-ink);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-briefing__sub,
html.grimba-home-html[data-bs-theme="dark"] .grimba-topnews__kicker,
html.grimba-home-html[data-bs-theme="dark"] .grimba-latest__kicker {
    color: var(--gn-ink-soft);
}

/* Button overrides for dark mode.
   S332 — solid CTAs were rendering with --gn-paper-warm (dark token in
   dark mode), which made them near-invisible against modal panels and
   dark glass backgrounds. Use literal cream/ink values so the solid
   button always inverts against its context (dark on light, light on
   dark). */
html.grimba-home-html[data-bs-theme="dark"] .btn-grimba--solid {
    background: #f6f1e8;
    color: #1a1713 !important;
    border-color: rgba(246, 241, 232, 0.0);
}
html.grimba-home-html[data-bs-theme="dark"] .btn-grimba--solid:hover {
    background: #ffffff;
    color: #1a1713 !important;
}
html.grimba-home-html[data-bs-theme="dark"] .btn-grimba--ghost {
    color: var(--gn-ink);
    border-color: rgba(255,255,255,0.2);
}
html.grimba-home-html[data-bs-theme="dark"] .btn-grimba--ghost:hover {
    border-color: var(--gn-ink);
    background: rgba(255,255,255,0.08);
}

/* Urgency banner keeps its tan + black ink for brand consistency */
html.grimba-home-html[data-bs-theme="dark"] .grimba-urgency { color: #1a1713; }

/* Language badge on article cards */
.grimba-lang-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.45rem;
    border-radius: 4px;
    background: rgba(26, 23, 19, 0.08);
    color: var(--gn-ink-muted);
    font-family: var(--gn-font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    line-height: 1;
    border: 1px solid rgba(26, 23, 19, 0.12);
}
[data-bs-theme="dark"] .grimba-lang-badge {
    background: rgba(255, 255, 255, 0.06);
    color: var(--gn-ink-muted);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Translate mode picker (reuses region-dropdown menu styling) */
.grimba-translate { position: relative; display: inline-flex; }
.grimba-translate__trigger {
    appearance: none;
    background: transparent;
    border: 1px solid transparent;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    cursor: pointer;
    font: inherit;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
}
.grimba-translate__trigger:hover {
    background: rgba(26, 23, 19, 0.06);
    border-color: var(--gn-rule);
}
.grimba-translate.is-open .grimba-region__menu { display: block; }
[data-bs-theme="dark"] .grimba-translate__trigger:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

/* Auto-translation disclaimer */
.grimba-translate-notice {
    background: rgba(255, 179, 64, 0.12);
    border: 1px solid rgba(255, 179, 64, 0.35);
    color: #8a6400;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.88rem;
    margin: 0.75rem 0;
}
[data-bs-theme="dark"] .grimba-translate-notice {
    background: rgba(255, 179, 64, 0.12);
    color: #ffd483;
    border-color: rgba(255, 179, 64, 0.3);
}

/* ============================================================
   Article detail page — Steve-level polish
   ============================================================ */

/* Remove Echo's text-transform: capitalize on article titles (French
   reads weirdly with Title Case). */
body.grimba-home .echo-hero-title,
body.grimba-home .echo-hero-title a {
    text-transform: none !important;
    font-family: var(--gn-font-display) !important;
    font-size: clamp(1.75rem, 2.8vw, 2.6rem) !important;
    font-weight: 700 !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    color: var(--gn-ink) !important;
    font-feature-settings: "ss01";
}

/* Article container — hero column tightened to reading width */
body.grimba-home.inner-page .blog-post-details-content {
    background: transparent !important;
}
body.grimba-home .blog-post-details-content .echo-hero-baner {
    margin-bottom: 1rem;
}
body.grimba-home .grimba-article-shell {
    overflow-x: clip;
}
body.grimba-home .grimba-article-shell .container {
    max-width: 1180px;
}
body.grimba-home .grimba-article-primary {
    min-width: 0;
}
body.grimba-home .grimba-article-primary > * {
    max-width: 100%;
}
body.grimba-home .grimba-orphan-hero,
body.grimba-home .grimba-story-hero {
    border-radius: 8px;
}
body.grimba-home .grimba-orphan-hero img,
body.grimba-home .grimba-story-hero img {
    max-width: 100%;
}
body.grimba-home .grimba-methodology__title {
    overflow-wrap: anywhere;
    text-wrap: balance;
}
body.grimba-home .grimba-story-page__title {
    color: var(--gn-ink);
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
    hyphens: none;
    overflow-wrap: break-word;
    text-wrap: balance;
}
body.grimba-home .grimba-story-page__title--orphan {
    font-size: 3.2rem;
    line-height: 1.05;
}
body.grimba-home .grimba-story-page__meta {
    color: var(--gn-ink-muted);
    line-height: 1.35;
}
body.grimba-home .grimba-story-page__meta .grimba-methodology__kicker {
    color: var(--gn-ink);
}
body.grimba-home .grimba-story-page__actions {
    min-width: 0;
}
body.grimba-home .grimba-story-page__tablist {
    display: flex;
    max-width: 100%;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(26, 23, 19, 0.1);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(246, 241, 232, 0.46)),
        rgba(26, 23, 19, 0.045);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.46),
        0 12px 30px rgba(26, 23, 19, 0.08);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}
body.grimba-home .grimba-story-page__tablist::-webkit-scrollbar {
    display: none;
}
body.grimba-home .grimba-story-page__tab,
body.grimba-home .grimba-story-page__compare {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(26, 23, 19, 0.12);
    color: var(--gn-ink);
    background: rgba(255, 255, 255, 0.58);
    font-family: var(--gn-font-body);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
    transition: background .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
body.grimba-home .grimba-story-page__tab:hover,
body.grimba-home .grimba-story-page__tab:focus-visible,
body.grimba-home .grimba-story-page__compare:hover,
body.grimba-home .grimba-story-page__compare:focus-visible {
    border-color: rgba(26, 23, 19, 0.28);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 22px rgba(26, 23, 19, 0.12);
    transform: translateY(-1px);
}
body.grimba-home .grimba-story-page__tab[aria-selected="true"] {
    background: var(--gn-ink);
    border-color: var(--gn-ink);
    color: var(--gn-paper);
}
body.grimba-home .grimba-story-page__compare {
    margin-left: auto;
    border-color: rgba(26, 23, 19, 0.22);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(246, 241, 232, 0.58)),
        rgba(255, 255, 255, 0.7);
}
body.grimba-home .grimba-story-page__compare-label--short {
    display: none;
}
body.grimba-home .grimba-story-articles__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
body.grimba-home .grimba-story-articles__title {
    margin: 0;
    font-family: var(--gn-font-display);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: 0;
}
body.grimba-home .grimba-story-articles__tabs {
    display: grid;
    flex: 1 1 360px;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 4px;
    width: 100%;
    max-width: min(100%, 560px);
    padding: 4px;
    border: 1px solid rgba(26, 23, 19, 0.1);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(246, 241, 232, 0.48)),
        rgba(26, 23, 19, 0.045);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.16),
        0 14px 34px rgba(26, 23, 19, 0.08);
}
body.grimba-home .grimba-story-articles__tab {
    appearance: none;
    min-width: 0;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid rgba(26, 23, 19, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    color: var(--gn-ink);
    font-family: var(--gn-font-body);
    font-size: 13px;
    font-weight: 760;
    line-height: 1.1;
    white-space: normal;
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
body.grimba-home .grimba-story-articles__tab:hover,
body.grimba-home .grimba-story-articles__tab:focus-visible {
    border-color: rgba(26, 23, 19, 0.24);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 18px rgba(26, 23, 19, 0.1);
}
body.grimba-home .grimba-story-articles__tab[aria-selected="true"] {
    background: var(--gn-ink);
    border-color: var(--gn-ink);
    color: var(--gn-paper);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}
body.grimba-home .grimba-story-articles__tab-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 4px;
    border-radius: 50%;
    background: var(--tab-dot);
    vertical-align: 1px;
}
body.grimba-home .grimba-story-articles__tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
    margin-bottom: 1rem;
}
body.grimba-home .grimba-comparison-card__read {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 34px;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(26, 23, 19, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    color: var(--gn-ink);
    font-size: 12px;
    font-weight: 780;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(26, 23, 19, 0.08);
}
body.grimba-home .grimba-comparison-card__read:hover,
body.grimba-home .grimba-comparison-card__read:focus-visible {
    background: var(--gn-ink);
    color: var(--gn-paper);
}
body.grimba-home .grimba-story-jump {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    min-width: 0;
}
body.grimba-home .grimba-story-jump__label,
body.grimba-home .grimba-story-sort__label {
    color: rgba(26, 23, 19, 0.62);
    font-size: 0.83rem;
    line-height: 1.2;
}
body.grimba-home .grimba-story-jump__chip {
    display: inline-flex;
    align-items: center;
    max-width: min(100%, 12rem);
    min-height: 30px;
    padding: 0.28rem 0.72rem;
    border: 1px solid color-mix(in srgb, var(--story-jump-color) 36%, transparent);
    border-radius: 999px;
    color: var(--gn-ink);
    background: rgba(255, 255, 255, 0.45);
    font-family: var(--gn-font-body);
    font-size: 0.82rem;
    font-weight: 760;
    line-height: 1.1;
    text-decoration: none;
}
body.grimba-home .grimba-story-jump__chip:hover,
body.grimba-home .grimba-story-jump__chip:focus-visible {
    border-color: var(--story-jump-color);
    background: rgba(255, 255, 255, 0.72);
}
body.grimba-home .grimba-story-jump__dot {
    width: 7px;
    height: 7px;
    margin-right: 0.4rem;
    border-radius: 50%;
    background: var(--story-jump-color);
    flex: 0 0 7px;
}
body.grimba-home .grimba-story-sort {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
}
body.grimba-home .grimba-story-article {
    margin-bottom: 14px;
    padding: 16px 18px;
    border: 1px solid var(--story-side-line);
    border-left: 4px solid var(--story-side-color);
    border-radius: 14px;
    background: var(--story-card-bg);
    color: var(--gn-ink);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.16),
        0 12px 32px rgba(26, 23, 19, 0.045);
}
body.grimba-home .grimba-story-article__source-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.55rem;
    min-width: 0;
    margin-bottom: 0.55rem;
}
body.grimba-home .grimba-compare-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    flex: 0 0 auto;
}
body.grimba-home .grimba-compare-toggle__input {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
body.grimba-home .grimba-compare-toggle__control {
    position: relative;
    width: 28px;
    height: 28px;
    border: 2px solid color-mix(in srgb, var(--story-side-color) 54%, rgba(26, 23, 19, 0.16));
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.64);
}
body.grimba-home .grimba-compare-toggle__input:checked + .grimba-compare-toggle__control {
    border-color: var(--story-side-color);
    background: var(--story-side-color);
}
body.grimba-home .grimba-compare-toggle__input:checked + .grimba-compare-toggle__control::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 5px;
    width: 8px;
    height: 13px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(42deg);
}
body.grimba-home .grimba-compare-toggle__input:focus-visible + .grimba-compare-toggle__control {
    outline: 3px solid rgba(59, 130, 246, 0.35);
    outline-offset: 2px;
}
body.grimba-home .grimba-story-article__source-name {
    min-width: 0;
    max-width: min(18rem, 42vw);
    overflow: hidden;
    color: var(--gn-ink);
    font-family: var(--gn-font-body);
    font-size: 14px;
    font-weight: 760;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.grimba-home .grimba-story-article__source-country {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border: 1px solid rgba(26, 23, 19, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    color: var(--gn-ink-soft);
    font-family: var(--gn-font-mono);
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
}
body.grimba-home .grimba-story-article__bias {
    display: inline-flex;
    margin-left: auto;
}
body.grimba-home .grimba-story-article__current {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--gn-ink);
    color: var(--gn-paper);
    font-size: 11px;
    font-weight: 760;
    letter-spacing: 0;
    line-height: 1.1;
    text-transform: uppercase;
}
body.grimba-home .grimba-story-article__source-row .grimba-save-btn {
    flex: 0 0 auto;
}
body.grimba-home .grimba-story-article__headline {
    margin: 0 0 0.45rem;
    color: var(--gn-ink);
    font-family: var(--gn-font-display);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
}
body.grimba-home .grimba-story-article__headline-link {
    color: var(--gn-ink);
    text-decoration: none;
}
body.grimba-home .grimba-story-article__headline-link:hover,
body.grimba-home .grimba-story-article__headline-link:focus-visible {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}
body.grimba-home .grimba-story-article__categories {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}
body.grimba-home .grimba-story-article__category {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border: 1px solid rgba(26, 23, 19, 0.12);
    border-radius: 999px;
    background: rgba(246, 241, 232, 0.62);
    color: var(--gn-ink);
    font-family: var(--gn-font-body);
    font-size: 11.5px;
    font-weight: 760;
    line-height: 1.2;
    text-decoration: none;
}
body.grimba-home .grimba-story-article__excerpt {
    margin: 0 0 0.6rem;
    color: var(--gn-ink);
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.85;
}
body.grimba-home .grimba-story-article__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.82rem;
}
body.grimba-home .grimba-story-article__time {
    color: rgba(26, 23, 19, 0.62);
}
body.grimba-home .grimba-story-article__read {
    color: #c0392b;
    font-size: 13px;
    font-weight: 760;
    text-decoration: none;
}
body.grimba-home .grimba-story-article__read:hover,
body.grimba-home .grimba-story-article__read:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.18em;
}
body.grimba-home .grimba-compare-toolbar {
    position: sticky;
    bottom: 16px;
    z-index: 30;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 0.9rem;
    margin-top: 16px;
    padding: 10px 14px;
    border: 1px solid rgba(246, 241, 232, 0.12);
    border-radius: 14px;
    background: rgba(26, 23, 19, 0.96);
    color: var(--gn-paper);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
body.grimba-home .grimba-compare-toolbar[hidden] {
    display: none !important;
}
body.grimba-home .grimba-compare-toolbar__count {
    display: inline-flex;
    gap: 0.35rem;
    font-size: 13.5px;
    font-weight: 760;
    line-height: 1.2;
}
body.grimba-home .grimba-compare-toolbar__count span:last-child {
    opacity: 0.75;
}
body.grimba-home .grimba-compare-toolbar__hint {
    color: rgba(246, 241, 232, 0.66);
    font-size: 12.5px;
    line-height: 1.35;
}
body.grimba-home .grimba-compare-toolbar__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
}
body.grimba-home .grimba-compare-toolbar__clear {
    border-color: rgba(246, 241, 232, 0.35);
    color: #f6f1e8;
}
body.grimba-home .grimba-compare-toolbar__open {
    background: #f6f1e8;
    color: #1a1713;
    font-weight: 760;
}
@media (min-width: 576px) {
    body.grimba-home .grimba-story-page__actions {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }
    body.grimba-home .grimba-story-page__actions .grimba-story-page__compare,
    body.grimba-home .grimba-story-page__actions .grimba-save-btn {
        flex: 0 0 auto;
        width: auto !important;
        min-height: 36px;
    }
    body.grimba-home .grimba-story-page__compare-label--full {
        display: inline;
    }
    body.grimba-home .grimba-story-page__compare-label--short {
        display: none;
    }
}
@media (max-width: 575.98px) {
    body.grimba-home .grimba-story-articles__head {
        align-items: stretch;
    }
    body.grimba-home .grimba-story-articles__title {
        width: 100%;
        font-size: 24px;
    }
    body.grimba-home .grimba-story-articles__tabs {
        flex-basis: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 100%;
    }
    body.grimba-home .grimba-story-articles__tab {
        padding-inline: 6px;
        font-size: 12px;
    }
    body.grimba-home .grimba-story-articles__tools {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    body.grimba-home .grimba-story-jump {
        width: 100%;
    }
    body.grimba-home .grimba-story-jump__label {
        flex: 0 0 auto;
        min-width: 4.8rem;
    }
    body.grimba-home .grimba-story-jump__chip {
        max-width: min(100%, 10.75rem);
    }
    body.grimba-home .grimba-story-sort {
        width: 100%;
        justify-content: flex-end;
        margin-left: 0;
    }
    body.grimba-home .grimba-story-article {
        padding: 14px;
        border-radius: 16px;
    }
    body.grimba-home .grimba-story-article__source-row {
        gap: 0.42rem;
    }
    body.grimba-home .grimba-story-article__source-name {
        max-width: calc(100% - 8.4rem);
    }
    body.grimba-home .grimba-story-article__source-country {
        padding-inline: 7px;
        font-size: 10.5px;
    }
    body.grimba-home .grimba-story-article__bias {
        margin-left: 0;
    }
    body.grimba-home .grimba-story-article__source-row .grimba-save-btn {
        margin-left: auto;
    }
    body.grimba-home .grimba-story-article__headline {
        font-size: 1.08rem;
    }
    body.grimba-home .grimba-story-article__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }
    body.grimba-home .grimba-compare-toolbar {
        bottom: calc(88px + env(safe-area-inset-bottom, 0px));
        padding: 11px;
        border-radius: 16px;
    }
    body.grimba-home .grimba-compare-toolbar__actions {
        width: 100%;
        margin-left: 0;
    }
    body.grimba-home .grimba-compare-toolbar__actions .btn-grimba {
        flex: 1 1 0;
        justify-content: center;
    }
}
@media (max-width: 991.98px) {
    body.grimba-home .grimba-story-page__title {
        font-size: 2.35rem;
    }
    body.grimba-home .grimba-story-page__title--orphan {
        font-size: 2.45rem;
    }
}
body.grimba-home .grimba-article-shell .ck-content,
body.grimba-home .grimba-article-shell .grimba-full-article,
body.grimba-home .grimba-article-shell .echo-financial-area,
body.grimba-home .grimba-article-shell .echo-more-news-area,
body.grimba-home .grimba-article-shell .echo-author-area,
body.grimba-home .grimba-article-shell .fob-comment-form-section {
    width: min(100%, 760px);
    margin-inline: auto;
}
body.grimba-home .grimba-article-shell .echo-more-news-area {
    background: rgba(255, 255, 255, 0.38);
    border: 1px solid rgba(26, 23, 19, 0.08);
    border-radius: 8px;
    padding: 1.25rem;
}
body.grimba-home .grimba-article-shell .echo-more-news-area .row {
    row-gap: 1rem;
}

/* Cover image: rounded corners, paper frame */
body.grimba-home .echo-inner-img-ct-1 img.post-style-1-frist-hero-img {
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(26, 23, 19, 0.1);
    margin-bottom: 1.25rem;
}

/* Article body typography */
body.grimba-home .ck-content {
    max-width: 72ch;
    margin: 0 auto;
    font-family: var(--gn-font-body);
    color: var(--gn-ink);
}
body.grimba-home .ck-content p,
body.grimba-home .ck-content li {
    font-size: 1.08rem;
    line-height: 1.72;
    color: var(--gn-ink);
    margin-bottom: 1.1rem;
}
body.grimba-home .ck-content h2 {
    font-family: var(--gn-font-display);
    font-size: 1.55rem;
    font-weight: 700;
    margin: 2.25rem 0 0.9rem;
    letter-spacing: 0;
    line-height: 1.25;
}
body.grimba-home .ck-content h3 {
    font-family: var(--gn-font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.75rem 0 0.75rem;
    line-height: 1.3;
}
body.grimba-home .ck-content blockquote {
    border-left: 3px solid var(--gn-ink);
    padding-left: 1.25rem;
    margin: 1.5rem 0;
    font-family: var(--gn-font-display);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--gn-ink-muted);
    line-height: 1.4;
}
body.grimba-home .ck-content a {
    color: var(--gn-ink);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}
body.grimba-home .ck-content a:hover {
    text-decoration-thickness: 2px;
}

/* Article comments: glass form shell + lightweight rich-text affordance. */
body.grimba-home .grimba-article-shell .gn-comments-list,
body.grimba-home .grimba-article-shell .gn-comments-form,
body.grimba-home .grimba-article-shell .fob-comment-form-section {
    color: var(--gn-ink);
}
body.grimba-home .grimba-article-shell .fob-comment-form-section.gn-comments-form {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 23, 19, 0.12) !important;
    border-radius: 18px !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(246, 241, 232, 0.46)),
        rgba(255, 255, 255, 0.38) !important;
    box-shadow: 0 24px 70px rgba(26, 23, 19, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(22px) saturate(150%);
}
body.grimba-home .grimba-article-shell .fob-comment-form-section.gn-comments-form::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
        radial-gradient(circle at 12% 0%, rgba(59, 130, 246, 0.12), transparent 34%),
        radial-gradient(circle at 88% 16%, rgba(192, 57, 43, 0.10), transparent 30%);
}
body.grimba-home .grimba-article-shell .fob-comment-form-section.gn-comments-form > * {
    position: relative;
    z-index: 1;
}
body.grimba-home .grimba-article-shell .fob-comment-title {
    letter-spacing: 0 !important;
}
body.grimba-home .grimba-article-shell .fob-comment-form-note {
    color: var(--gn-ink-muted) !important;
    opacity: 1 !important;
}
body.grimba-home .grimba-article-shell .fob-comment-form label {
    color: var(--gn-ink);
}
body.grimba-home .grimba-article-shell .fob-comment-form input:not([type="hidden"]):not([type="checkbox"]),
body.grimba-home .grimba-article-shell .fob-comment-form textarea {
    border-color: rgba(26, 23, 19, 0.14) !important;
    background: rgba(255, 255, 255, 0.58) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
body.grimba-home .grimba-article-shell .fob-comment-form input:not([type="hidden"]):not([type="checkbox"]):focus,
body.grimba-home .grimba-article-shell .fob-comment-form textarea:focus {
    border-color: rgba(26, 23, 19, 0.34) !important;
    background: rgba(255, 255, 255, 0.76) !important;
    box-shadow: 0 0 0 4px rgba(26, 23, 19, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.82);
    outline: 0;
}
body.grimba-home .grimba-article-shell .gn-comments__source-textarea {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    opacity: 0 !important;
    white-space: nowrap !important;
}
body.grimba-home .grimba-article-shell .gn-comments-composer {
    overflow: hidden;
    margin-bottom: 14px;
    border: 1px solid rgba(26, 23, 19, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.56);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}
body.grimba-home .grimba-article-shell .gn-comments-composer__toolbar {
    display: flex;
    gap: 6px;
    align-items: center;
    min-height: 43px;
    padding: 7px 9px;
    border-bottom: 1px solid rgba(26, 23, 19, 0.08);
    background: linear-gradient(90deg, rgba(26, 23, 19, 0.05), rgba(255, 255, 255, 0.22));
}
body.grimba-home .grimba-article-shell .gn-comments-composer__toolbar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    padding: 0;
    border: 1px solid rgba(26, 23, 19, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.54);
    color: var(--gn-ink);
    font-family: var(--gn-font-body);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}
body.grimba-home .grimba-article-shell .gn-comments-composer__toolbar button:hover {
    border-color: rgba(26, 23, 19, 0.26);
    background: rgba(255, 255, 255, 0.86);
    transform: translateY(-1px);
}
body.grimba-home .grimba-article-shell .gn-comments-composer__editor {
    min-height: 134px;
    padding: 14px 15px;
    color: var(--gn-ink);
    font-family: var(--gn-font-body);
    font-size: 15px;
    line-height: 1.58;
    outline: 0;
    white-space: pre-wrap;
}
body.grimba-home .grimba-article-shell .gn-comments-composer__editor:empty::before {
    color: var(--gn-ink-soft);
    content: attr(data-placeholder);
}
body.grimba-home .grimba-article-shell .gn-comments-composer:focus-within {
    border-color: rgba(26, 23, 19, 0.34);
    box-shadow: 0 0 0 4px rgba(26, 23, 19, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}
body.grimba-home .grimba-article-shell .gn-comments-composer__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px 10px;
    color: var(--gn-ink-soft);
    font-size: 12px;
    line-height: 1.3;
}
body.grimba-home .grimba-article-shell .fob-comment-form .btn-grimba,
body.grimba-home .grimba-article-shell .fob-comment-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 26px !important;
    border: 1px solid rgba(26, 23, 19, 0.18) !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #1a1713, #353028) !important;
    color: #f6f1e8 !important;
    box-shadow: 0 14px 34px rgba(26, 23, 19, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    font-family: var(--gn-font-body);
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}
body.grimba-home .grimba-article-shell .fob-comment-form .btn-grimba:hover,
body.grimba-home .grimba-article-shell .fob-comment-form button[type="submit"]:hover {
    box-shadow: 0 18px 44px rgba(26, 23, 19, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}
body.grimba-home .grimba-article-shell .fob-comment-list-section {
    margin-top: 2rem;
}
body.grimba-home .grimba-article-shell .fob-comment-list-wrapper .fob-comment-item {
    margin-bottom: 14px;
}
body.grimba-home .grimba-article-shell .fob-comment-list-wrapper .fob-comment-item-inner {
    border: 1px solid rgba(26, 23, 19, 0.10);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.48);
    box-shadow: 0 18px 52px rgba(26, 23, 19, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(18px) saturate(145%);
}
body.grimba-home .grimba-article-shell .fob-comment-item-reply,
body.grimba-home .grimba-article-shell .cancel-comment-reply-link {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 11px;
    border: 1px solid rgba(192, 57, 43, 0.24);
    border-radius: 999px;
    background: rgba(192, 57, 43, 0.08);
    color: #9f2f24 !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
}
body.grimba-home .grimba-article-shell .cancel-comment-reply-link {
    margin-left: 10px;
    vertical-align: middle;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-article-shell .fob-comment-form-section.gn-comments-form {
    border-color: rgba(246, 241, 232, 0.16) !important;
    background:
        linear-gradient(135deg, rgba(246, 241, 232, 0.10), rgba(255, 255, 255, 0.04)),
        rgba(18, 16, 7, 0.70) !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(246, 241, 232, 0.08);
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-article-shell .fob-comment-form-section.gn-comments-form::before {
    background:
        radial-gradient(circle at 12% 0%, rgba(59, 130, 246, 0.18), transparent 34%),
        radial-gradient(circle at 88% 16%, rgba(232, 76, 61, 0.14), transparent 30%);
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-article-shell .fob-comment-form input:not([type="hidden"]):not([type="checkbox"]),
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-article-shell .fob-comment-form textarea,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-article-shell .gn-comments-composer,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-article-shell .gn-comments-composer__toolbar {
    border-color: rgba(246, 241, 232, 0.16) !important;
    background: rgba(246, 241, 232, 0.07) !important;
    box-shadow: inset 0 1px 0 rgba(246, 241, 232, 0.08);
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-article-shell .gn-comments-composer__toolbar button {
    border-color: rgba(246, 241, 232, 0.16);
    background: rgba(246, 241, 232, 0.08);
    color: #fffaf0;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-article-shell .gn-comments-composer__toolbar button:hover {
    border-color: rgba(246, 241, 232, 0.28);
    background: rgba(246, 241, 232, 0.14);
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-article-shell .fob-comment-list-wrapper .fob-comment-item-inner {
    border-color: rgba(246, 241, 232, 0.13);
    background: rgba(246, 241, 232, 0.07);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(246, 241, 232, 0.08);
}
@media (max-width: 575.98px) {
    body.grimba-home .grimba-article-shell .fob-comment-form-section.gn-comments-form {
        padding: 20px 16px 18px !important;
    }
    body.grimba-home .grimba-article-shell .gn-comments-composer__meta {
        flex-direction: column;
        gap: 4px;
    }
    body.grimba-home .grimba-article-shell .fob-comment-form .btn-grimba,
    body.grimba-home .grimba-article-shell .fob-comment-form button[type="submit"] {
        width: 100%;
    }
}

/* Description / lede */
body.grimba-home .echo-hero-discription {
    font-family: var(--gn-font-body);
    font-size: 1.15rem !important;
    line-height: 1.55 !important;
    color: var(--gn-ink-muted);
    max-width: 72ch;
    margin: 0 auto 1.5rem;
    font-weight: 400;
}

/* Dark mode for article body */
[data-bs-theme="dark"] body.grimba-home .echo-hero-title {
    color: var(--gn-ink) !important;
}
[data-bs-theme="dark"] body.grimba-home .ck-content p,
[data-bs-theme="dark"] body.grimba-home .ck-content li {
    color: var(--gn-ink);
}

/* Post meta row (author, read time, views) */
body.grimba-home .echo-hero-area-titlepost-post-like-comment-share {
    font-family: var(--gn-font-body);
    font-size: 0.88rem;
    color: var(--gn-ink-soft);
    margin-bottom: 1.5rem !important;
}

/* Tags + share row under article */
body.grimba-home .echo-financial-area .details-tag button,
body.grimba-home .echo-financial-area .details-tag a button {
    background: rgba(26, 23, 19, 0.06);
    border: 1px solid var(--gn-rule);
    border-radius: 9999px;
    padding: 0.25rem 0.85rem;
    font-size: 0.85rem;
    color: var(--gn-ink);
}
body.grimba-home .echo-financial-area .details-share a {
    color: var(--gn-ink-muted);
    transition: color .15s;
}
body.grimba-home .echo-financial-area .details-share a:hover {
    color: var(--gn-ink);
}

/* Previously / Up next blocks */
body.grimba-home .echo-more-news-area {
    background: transparent;
    border-top: 1px solid var(--gn-rule);
    border-bottom: 1px solid var(--gn-rule);
    padding: 1.5rem 0;
    margin: 2rem 0;
}
body.grimba-home .grimba-article-shell .echo-more-news-area .echo-top-story {
    height: 100%;
    padding: 0.9rem;
    border: 1px solid rgba(26, 23, 19, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.52);
}
body.grimba-home .grimba-article-shell .echo-more-news-area .echo-story-picture:empty {
    display: none;
}
body.grimba-home .grimba-article-shell .echo-more-news-area .echo-story-text {
    padding: 0;
}
body.grimba-home .echo-top-story h6,
body.grimba-home .echo-top-story h6 a {
    font-family: var(--gn-font-display);
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: var(--gn-ink) !important;
}
body.grimba-home .echo-top-story em a {
    color: var(--gn-ink-soft);
    font-family: var(--gn-font-body);
    font-style: normal !important;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
}

/* Author bio block */
body.grimba-home .echo-author-area {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--gn-rule);
    border-radius: 14px;
    padding: 1.25rem;
    margin: 2rem 0 1rem;
    backdrop-filter: blur(10px);
}
[data-bs-theme="dark"] body.grimba-home .echo-author-area {
    background: rgba(255, 255, 255, 0.04);
}

/* Region dropdown (top-right) */
.grimba-region { position: relative; display: inline-flex; }
.grimba-region__trigger {
    appearance: none;
    background: transparent;
    border: 1px solid transparent;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    cursor: pointer;
    font: inherit;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
}
.grimba-region__trigger:hover {
    background: rgba(26, 23, 19, 0.06);
    border-color: var(--gn-rule);
}
.grimba-region__caret { font-size: 0.7rem; opacity: 0.6; }
.grimba-region__menu {
    /* Fixed positioning here is load-bearing — any ancestor stacking
       context (the sticky header at z:50, or a Botble backend-injected
       one) otherwise traps the dropdown below category chips that
       come later in DOM order. top/left are set inline by JS from the
       trigger's getBoundingClientRect() on open. */
    position: fixed;
    /* S203 — opaque paper. The translucent version made hero cards
       bleed through the region picker and hurt menu legibility. */
    background: var(--gn-paper);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: 1px solid rgba(26, 23, 19, 0.16);
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(26, 23, 19, 0.22);
    list-style: none;
    padding: 0.4rem;
    margin: 0;
    min-width: 240px;
    display: none;
    z-index: 2147483000;
}
.grimba-translate,
.grimba-region {
    position: relative;
}
.grimba-translate.is-open .grimba-region__menu,
.grimba-region.is-open .grimba-region__menu { display: block; }
.grimba-region.is-open .grimba-region__menu { display: block; }
.grimba-region__option {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font: inherit;
    color: var(--gn-ink);
    font-size: 0.92rem;
}
.grimba-region__option:hover { background: rgba(26, 23, 19, 0.06); }
.grimba-region__option.is-active {
    background: var(--gn-ink);
    color: var(--gn-paper);
    font-weight: 600;
}
[data-bs-theme="dark"] .grimba-region__trigger:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}
[data-bs-theme="dark"] .grimba-region__menu {
    background: #1c1811;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5);
}
[data-bs-theme="dark"] .grimba-region__option { color: var(--gn-ink); }
[data-bs-theme="dark"] .grimba-region__option:hover { background: rgba(255, 255, 255, 0.08); }
[data-bs-theme="dark"] .grimba-region__option.is-active {
    background: var(--gn-paper);
    color: var(--gn-ink);
}

/* Theme + language controls */
.grimba-theme-switch,
.grimba-theme-cycle,
.grimba-lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 1px solid var(--gn-rule);
    border-radius: 9999px;
    padding: 2px;
    background: rgba(255, 255, 255, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
    color: var(--gn-ink);
    line-height: 1;
}
.grimba-theme-cycle,
.grimba-lang-toggle {
    appearance: none;
    min-width: 34px;
    min-height: 30px;
    border-color: rgba(26, 23, 19, 0.10);
    cursor: pointer;
}
.grimba-theme-cycle {
    width: 34px;
    padding: 0;
    font-size: 0.86rem;
}
.grimba-lang-toggle {
    position: relative;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    min-width: 48px;
    min-height: 30px;
    padding: 3px 5px 3px 7px;
    gap: 4px;
    white-space: nowrap;
}
.grimba-lang-toggle__current,
.grimba-lang-toggle__next {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0;
}
.grimba-lang-toggle__current {
    min-width: 23px;
    min-height: 22px;
    border-radius: 999px;
    background: var(--gn-ink);
    color: var(--gn-paper);
    box-shadow: 0 4px 12px rgba(26, 23, 19, 0.16);
}
.grimba-lang-toggle__next {
    max-width: 16px;
    overflow: hidden;
    color: var(--gn-ink-soft);
    font-size: 0.58rem;
    opacity: 0.78;
}
.grimba-theme-switch button {
    appearance: none;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.15rem 0.55rem;
    border-radius: 9999px;
    cursor: pointer;
    color: var(--gn-ink-soft);
    line-height: 1.4;
}
.grimba-theme-switch button:hover { color: var(--gn-ink); }
.grimba-theme-switch button[aria-pressed="true"] {
    background: var(--gn-ink);
    color: var(--gn-paper);
}
.grimba-theme-cycle:hover,
.grimba-theme-cycle:focus-visible,
.grimba-lang-toggle:hover,
.grimba-lang-toggle:focus-visible {
    border-color: rgba(26, 23, 19, 0.18);
    background: rgba(255, 255, 255, 0.56);
    outline: none;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-theme-cycle:hover,
html.grimba-home-html[data-bs-theme="dark"] .grimba-theme-cycle:focus-visible,
html.grimba-home-html[data-bs-theme="dark"] .grimba-lang-toggle:hover,
html.grimba-home-html[data-bs-theme="dark"] .grimba-lang-toggle:focus-visible {
    background: rgba(246, 241, 232, 0.12);
    border-color: rgba(246, 241, 232, 0.22);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-lang-toggle__next {
    color: rgba(255, 250, 240, 0.74);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-lang-toggle__current {
    background: #fffaf0;
    color: #15130f;
}

body.grimba-home {
    font-family: var(--gn-font-body);
    color: var(--gn-ink);
    background: transparent;
    font-feature-settings: "ss01", "cv11";
}

body.grimba-home .glass-panel,
body.grimba-subpage .glass-panel {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.70), rgba(255, 255, 255, 0.28)),
        rgba(246, 241, 232, 0.54);
    border: 1px solid rgba(26, 23, 19, 0.08);
    box-shadow: 0 18px 48px rgba(26, 23, 19, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.32);
    -webkit-backdrop-filter: blur(22px) saturate(1.16);
    backdrop-filter: blur(22px) saturate(1.16);
}

body.grimba-home .grimba-topnews__item,
body.grimba-home .grimba-latest__item {
    margin-top: 0.55rem;
    padding: 0.82rem;
    border: 1px solid rgba(26, 23, 19, 0.07);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.36);
    box-shadow: 0 10px 26px rgba(26, 23, 19, 0.045), inset 0 1px 0 rgba(255, 255, 255, 0.24);
    -webkit-backdrop-filter: blur(16px) saturate(1.10);
    backdrop-filter: blur(16px) saturate(1.10);
}
body.grimba-home .grimba-topnews__item:first-child,
body.grimba-home .grimba-latest__item:first-child {
    margin-top: 0;
}
body.grimba-home .grimba-similar__chip,
body.grimba-home .grimba-most-read__panel,
body.grimba-home .grimba-bias-profile,
body.grimba-home .echo-author-area,
body.grimba-home .grimba-article-shell .echo-more-news-area .echo-top-story,
body.grimba-home .grimba-newsletter-modal__panel {
    -webkit-backdrop-filter: blur(16px) saturate(1.10);
    backdrop-filter: blur(16px) saturate(1.10);
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-topnews__item,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-latest__item {
    background: rgba(246, 241, 232, 0.055);
    border-color: rgba(246, 241, 232, 0.10);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(246, 241, 232, 0.07);
}

body.grimba-home h1,
body.grimba-home h2,
body.grimba-home h3,
body.grimba-home h4,
body.grimba-home .grimba-hero__title,
body.grimba-home .grimba-section__title {
    font-family: var(--gn-font-display);
    font-optical-sizing: auto;
    letter-spacing: 0;
}

body.grimba-home a:not([class*="btn-grimba"]):not([class*="grimba-urgency__cta"]):not([class*="grimba-edition-toggle__option"]) { color: inherit; }

body.grimba-home a.grimba-briefing__headline,
body.grimba-home a.grimba-topnews__headline,
body.grimba-home a.grimba-latest__headline {
    color: var(--gn-ink);
}
body.grimba-home .grimba-briefing__body .small.opacity-75 {
    color: var(--gn-ink-soft);
    opacity: 1 !important;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home a.grimba-briefing__headline,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home a.grimba-topnews__headline,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home a.grimba-latest__headline {
    color: #fffaf0;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-briefing__body .small.opacity-75 {
    color: #d8cfb8;
}

/* Kill stock newsletter popup + announcement on the new homepage */
body.grimba-home .newsletter-popup-wrap,
body.grimba-home #newsletter-popup,
body.grimba-home .newsletter-popup,
body.grimba-home > .modal-backdrop,
body.grimba-home .modal-backdrop,
body.grimba-home > .offcanvas-backdrop,
body.grimba-home .offcanvas-backdrop,
body.grimba-home [data-bb-toggle="announcement"],
body.grimba-home .announcement-bar { display: none !important; }
body.grimba-home .modal-backdrop,
body.grimba-home .offcanvas-backdrop {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
body.grimba-home.modal-open {
    overflow: auto !important;
    padding-right: 0 !important;
}

/* Soften RvMedia placeholders (no content yet) */
body.grimba-home img[src*="placehold"],
body.grimba-home img[alt=""] {
    filter: blur(0.5px) brightness(0.96);
}

/* ------------------------------------------------------------
   1. Breaking ticker
   ------------------------------------------------------------ */
.grimba-breaking,
.grimba-urgency {
    position: relative;
    z-index: 52;
    overflow: hidden;
    color: #191611;
    border-bottom: 1px solid rgba(26, 23, 19, 0.12);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0.22) 100%),
        linear-gradient(110deg, rgba(220, 200, 160, 0.96), rgba(244, 234, 207, 0.84) 52%, rgba(221, 203, 164, 0.92));
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.32);
    font-family: var(--gn-font-body);
    font-size: 0.9rem;
}
.grimba-breaking::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(59, 130, 246, 0.10), transparent 28%, rgba(232, 76, 61, 0.09)),
        repeating-linear-gradient(90deg, rgba(26, 23, 19, 0.045) 0 1px, transparent 1px 96px);
    opacity: 0.44;
}
.grimba-breaking__inner {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.9rem;
    min-height: 46px;
    padding-top: 0.42rem;
    padding-bottom: 0.42rem;
}
.grimba-breaking__lede {
    position: relative;
    display: inline-grid;
    grid-template-columns: auto;
    align-items: center;
    gap: 0.72rem;
    min-width: 0;
    padding: 0.28rem;
    border: 1px solid rgba(26, 23, 19, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    box-shadow: 0 14px 35px rgba(82, 58, 16, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.grimba-breaking__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    min-height: 28px;
    padding: 0 0.72rem;
    border-radius: 999px;
    background: #15120e;
    color: #fff8ea;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}
.grimba-breaking__eyebrow::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #65d98b;
    box-shadow: 0 0 0 4px rgba(101, 217, 139, 0.20);
}
.grimba-breaking__headline {
    display: none;
    min-width: 0;
    overflow: hidden;
    color: #201b13;
    font-weight: 750;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: transform 0.18s ease, opacity 0.18s ease;
}
.grimba-breaking__headline.is-changing {
    opacity: 0;
    transform: translateY(9px);
}
.grimba-breaking__viewport {
    min-width: 0;
    overflow: hidden;
    padding-left: clamp(0.8rem, 2vw, 1.8rem);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.grimba-breaking__track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: grimbaBreakingMarquee 54s linear infinite;
}
.grimba-breaking__track:hover {
    animation-play-state: paused;
}
.grimba-breaking__group {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    padding-right: 0.72rem;
}
.grimba-breaking__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 29rem;
    min-width: 0;
    padding: 0.16rem 0.48rem;
    border: 1px solid rgba(26, 23, 19, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.23);
    color: #201b13 !important;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.grimba-breaking__item::after {
    content: none;
}
.grimba-breaking__title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.grimba-breaking__source,
.grimba-breaking__time {
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    opacity: 0.72;
}
.grimba-breaking__time {
    font-family: var(--gn-font-mono);
    opacity: 0.54;
}
@keyframes grimbaBreakingMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .grimba-breaking__track {
        animation: none;
    }
}

/* ------------------------------------------------------------
   2. Header
   ------------------------------------------------------------ */
.grimba-header { position: sticky; top: 0; z-index: 50; }
.grimba-header__meta {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08)),
        rgba(246, 241, 232, 0.74);
    border-bottom: 1px solid var(--gn-rule);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    font-family: var(--gn-font-body);
    font-size: 0.85rem;
    /* S353 — collapse the meta strip when the page has scrolled. */
    transition: max-height 0.22s ease, opacity 0.18s ease, padding 0.22s ease;
    overflow: hidden;
    max-height: 96px;
}
.grimba-utility-bar {
    position: relative;
    min-width: 0;
}
.grimba-utility-bar__scroll {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    min-width: 0;
    overflow: hidden;
}
.grimba-utility-bar__cluster {
    flex: 1 1 auto;
    min-width: 0;
}
.grimba-header-pulse {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}
.grimba-stat-pill,
.grimba-header-tool-link {
    display: inline-flex;
    align-items: center;
    gap: 0.24rem;
    min-height: 26px;
    padding: 0.18rem 0.5rem;
    border: 1px solid rgba(26, 23, 19, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    color: rgba(26, 23, 19, 0.76);
    line-height: 1;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.grimba-stat-pill {
    flex: 0 1 auto;
    min-width: 0;
}
.grimba-stat-pill__value {
    font-variant-numeric: tabular-nums;
    font-weight: 900;
}
.grimba-stat-pill__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.grimba-header-tool-link:hover,
.grimba-header-tool-link:focus-visible {
    color: var(--gn-ink);
    border-color: rgba(26, 23, 19, 0.18);
    background: rgba(255, 255, 255, 0.62);
}
.grimba-header-date {
    flex: 0 0 auto;
    white-space: nowrap;
    color: rgba(26, 23, 19, 0.66);
}
.grimba-header__tools {
    color: rgba(26, 23, 19, 0.74);
    flex-wrap: nowrap;
    margin-left: auto;
    flex: 0 1 auto;
    min-width: 0;
}
.grimba-header__tools > a {
    color: rgba(26, 23, 19, 0.74);
}
.grimba-header__tools > a:hover,
.grimba-header__tools > a:focus-visible {
    color: var(--gn-ink);
}
.grimba-header__tools .grimba-edition-toggle {
    flex: 0 0 auto;
    min-width: 0;
    max-width: none;
    overflow: visible;
}
.grimba-edition-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}
.grimba-edition-picker__trigger {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    width: auto;
    max-width: min(15rem, 32vw);
    min-height: 34px;
    padding: 0.28rem 0.48rem 0.28rem 0.72rem;
    border: 1px solid rgba(26, 23, 19, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    color: #1a1713;
    box-shadow: 0 10px 28px rgba(26, 23, 19, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.26);
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
}
.grimba-edition-picker__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.8rem;
    font-weight: 900;
}
.grimba-edition-picker__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(26, 23, 19, 0.08);
    color: rgba(26, 23, 19, 0.72);
    font-size: 0.72rem;
    font-weight: 900;
    transition: transform 0.18s ease;
}
.grimba-edition-toggle.is-open .grimba-edition-picker__chevron {
    transform: rotate(180deg);
}
.grimba-edition-picker__menu {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    z-index: 2147483000;
    display: grid;
    gap: 4px;
    min-width: 13.5rem;
    max-width: calc(100vw - 16px);
    padding: 6px;
    border: 1px solid rgba(26, 23, 19, 0.12);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.44)),
        rgba(246, 241, 232, 0.86);
    box-shadow: 0 22px 56px rgba(26, 23, 19, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.34);
    -webkit-backdrop-filter: blur(22px) saturate(1.16);
    backdrop-filter: blur(22px) saturate(1.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.16s;
}
.grimba-edition-toggle.is-open .grimba-edition-picker__menu,
.grimba-edition-picker__menu.is-floating-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
}
.grimba-edition-toggle__option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
    min-height: 36px;
    padding: 0.45rem 0.68rem;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #1a1713;
    font-size: 0.8rem;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}
.grimba-edition-toggle__option:hover,
.grimba-edition-toggle__option:focus-visible {
    color: #1a1713;
    background: rgba(26, 23, 19, 0.07);
    outline: none;
}
.grimba-edition-toggle__option.is-active {
    background: #1a1713;
    color: #f8f1e6;
    box-shadow: 0 8px 18px rgba(26, 23, 19, 0.16);
}
.grimba-edition-toggle__count {
    opacity: 0.64;
    font-size: 0.68rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-edition-picker__trigger {
    background: rgba(246, 241, 232, 0.14);
    border-color: rgba(246, 241, 232, 0.26);
    color: #fffaf0;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(246, 241, 232, 0.10);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-edition-picker__chevron {
    background: rgba(246, 241, 232, 0.12);
    color: rgba(255, 250, 240, 0.78);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-edition-picker__menu {
    background:
        linear-gradient(135deg, rgba(246, 241, 232, 0.14), rgba(246, 241, 232, 0.06)),
        rgba(18, 16, 11, 0.96);
    border-color: rgba(246, 241, 232, 0.18);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(246, 241, 232, 0.08);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-edition-toggle__option {
    color: #fffaf0;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-edition-toggle__option:hover,
html.grimba-home-html[data-bs-theme="dark"] .grimba-edition-toggle__option:focus-visible {
    background: rgba(246, 241, 232, 0.10);
    color: #fffaf0;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-edition-toggle__option.is-active {
    background: #fffaf0;
    color: #17140f;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-edition-toggle__count {
    color: inherit;
}
.grimba-header__main {
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.05) 42%, rgba(255, 255, 255, 0.22)),
        rgba(246, 241, 232, 0.84);
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--gn-rule);
    box-shadow: 0 6px 20px rgba(26, 23, 19, 0.06);
    backdrop-filter: blur(24px) saturate(1.18);
    -webkit-backdrop-filter: blur(24px) saturate(1.18);
    /* S353 — slight shrink + lift on scroll. */
    transition: padding 0.22s ease, box-shadow 0.18s ease;
}
.grimba-header__main .container-xxl {
    min-width: 0;
}
/* S353 — shrunk state set by JS observer on the html element. */
html.grimba-header-shrunk .grimba-header__meta {
    max-height: 44px;
    opacity: 1;
}
html.grimba-header-shrunk .grimba-header__main {
    box-shadow: 0 10px 28px rgba(26, 23, 19, 0.10);
}
html.grimba-header-shrunk .grimba-header__main .py-3 {
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
}
@media (prefers-reduced-motion: reduce) {
    .grimba-header__meta, .grimba-header__main { transition: none; }
}
@media (max-width: 1199.98px) {
    .grimba-header-date { display: none; }
    .grimba-edition-picker__trigger .grimba-edition-toggle__count { display: none; }
    .grimba-edition-picker__trigger {
        max-width: 10.5rem;
    }
    .grimba-stat-pill__label { display: none; }
    .grimba-header-tool-link {
        padding-left: 0.44rem;
        padding-right: 0.44rem;
    }
}
@media (max-width: 991.98px) {
    .grimba-header-tool-link__label { display: none; }
    .grimba-edition-picker__trigger {
        max-width: 9.25rem;
        min-height: 30px;
        padding-inline: 0.6rem 0.38rem;
    }
    .grimba-edition-picker__menu {
        min-width: min(14rem, calc(100vw - 1.5rem));
    }
}

/* S83 masthead — editorial serif, mixed case, accent-red "News".
   Paired with the ^opsz display axis so the wordmark gains density
   at large sizes without looking like a logotype. */
.grimba-wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 0.3rem;
    text-decoration: none;
    color: var(--gn-ink);
    font-family: var(--gn-font-display);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
}
.grimba-wordmark__mark {
    font-size: 1.75rem;
    line-height: 1;
    font-variation-settings: 'opsz' 72;
}
.grimba-wordmark__tag {
    font-family: var(--gn-font-display);
    font-weight: 700;
    font-size: 1.5rem;
    font-style: normal;
    color: var(--gn-accent);
    letter-spacing: 0;
}
.grimba-wordmark--light { color: var(--gn-paper); }
.grimba-wordmark--light .grimba-wordmark__tag { color: var(--gn-accent); }

/* Dark-mode accent — desaturated so OLED red doesn't bloom */
html.grimba-home-html[data-bs-theme="dark"] {
    --gn-accent: #e07a70;
}

.grimba-nav {
    display: flex;
    gap: 1.5rem;
    font-weight: 500;
    font-size: 1.02rem;
}
.grimba-nav a {
    text-decoration: none;
    color: var(--gn-ink-muted);
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.grimba-nav a:hover { color: var(--gn-ink); }
.grimba-nav a.active { color: var(--gn-ink); border-color: var(--gn-ink); }

.grimba-search {
    position: relative;
    max-width: 360px;
    margin-left: auto;
}
.grimba-search input {
    width: 100%;
    padding: 0.65rem 2.5rem 0.65rem 1.1rem;
    border-radius: 9999px;
    border: 1px solid var(--gn-rule);
    background: rgba(255, 255, 255, 0.7);
    font-family: var(--gn-font-body);
    font-size: 1rem;
    color: var(--gn-ink);
    transition: border-color .2s, background .2s;
}
.grimba-search input:focus {
    outline: none;
    border-color: var(--gn-ink);
    background: #fff;
}
.grimba-search button {
    position: absolute;
    right: 0.35rem; top: 50%; transform: translateY(-50%);
    background: transparent; border: none;
    color: var(--gn-ink-soft);
    padding: 0.35rem;
    cursor: pointer;
    /* Must constrain explicitly — generic button styles elsewhere in
       the Botble/Echo base can stretch this to form width and eat
       every click on the input. */
    width: 36px;
    height: 36px;
    min-width: 36px;
    max-width: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
.grimba-search button svg { pointer-events: none; width: 18px; height: 18px; }

.grimba-header__actions {
    flex: 0 0 auto;
    min-width: 0;
}

.btn-grimba {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--gn-font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.55rem 1.1rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: transform .15s, background .15s, color .15s, border-color .15s;
    border: 1px solid transparent;
    cursor: pointer;
    line-height: 1;
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
}
button.btn-grimba { appearance: none; }
.btn-grimba--sm { font-size: 0.85rem; padding: 0.4rem 0.85rem; }
a.btn-grimba--solid,
button.btn-grimba--solid,
.btn-grimba.btn-grimba--solid {
    background: var(--gn-ink);
    color: var(--gn-paper) !important;
}
.btn-grimba--solid:hover { background: #000; transform: translateY(-1px); }
.btn-grimba--ghost {
    background: transparent;
    color: var(--gn-ink);
    border-color: var(--gn-rule);
}
.btn-grimba--ghost:hover { border-color: var(--gn-ink); background: rgba(26, 23, 19, 0.04); }

/* ------------------------------------------------------------
   3. Topic chip strip
   ------------------------------------------------------------ */
.grimba-chips {
    background:
        linear-gradient(90deg, rgba(59, 130, 246, 0.08), rgba(246, 241, 232, 0.70) 30%, rgba(232, 76, 61, 0.07)),
        rgba(246, 241, 232, 0.52);
    border-bottom: 1px solid var(--gn-rule);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(18px) saturate(1.12);
    -webkit-backdrop-filter: blur(18px) saturate(1.12);
    overflow: hidden;
    /* S146 — backdrop-filter creates a new stacking context. Without
       an explicit z-index, this strip paints later in DOM order than
       the sticky header (z:50) and ends up COVERING the region/translate
       dropdown items rendered from the header. Force the strip below
       the header so the dropdown wins. */
    position: relative;
    z-index: 1;
    isolation: isolate;
}
.grimba-chips .container-xxl {
    max-width: 1320px;
    overflow: hidden;
}
.grimba-chips__rail {
    position: relative;
    overflow: hidden;
}
.grimba-chips__rail::before,
.grimba-chips__rail::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: clamp(1.8rem, 5vw, 5rem);
    pointer-events: none;
}
.grimba-chips__rail::before {
    left: 0;
    background: linear-gradient(90deg, rgba(246, 241, 232, 0.96), rgba(246, 241, 232, 0));
}
.grimba-chips__rail::after {
    right: 0;
    background: linear-gradient(270deg, rgba(246, 241, 232, 0.96), rgba(246, 241, 232, 0));
}
.grimba-chips__row {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 0.62rem clamp(1.2rem, 4vw, 4.2rem);
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}
.grimba-chips__row::-webkit-scrollbar { display: none; }
.grimba-chips__row:focus-visible {
    outline: 2px solid rgba(59, 130, 246, 0.46);
    outline-offset: -3px;
    border-radius: 999px;
}

.grimba-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.46rem;
    max-width: 100%;
    min-width: 0;
    min-height: 36px;
    padding: 0.4rem 0.88rem 0.4rem 0.96rem;
    border-radius: 9999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.36)),
        rgba(255, 255, 255, 0.55);
    border: 1px solid var(--gn-rule);
    color: var(--gn-ink);
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 10px 26px rgba(26, 23, 19, 0.06);
    transition: background .15s, border-color .15s, transform .15s;
    flex-shrink: 0;
    scroll-snap-align: start;
}
.grimba-chip::after {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 8px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--gn-left), var(--gn-center), var(--gn-right));
    opacity: 0;
    transition: opacity 0.15s ease;
}
.grimba-chip:hover {
    background: #fff;
    border-color: var(--gn-ink);
    transform: translateY(-1px);
}
.grimba-chip:hover::after,
.grimba-chip--selected::after {
    opacity: 1;
}
.grimba-chip__label {
    min-width: 0;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    text-overflow: ellipsis;
}
.grimba-chip__follow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--gn-ink);
    color: var(--gn-paper);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .15s, transform .15s;
}
.grimba-chip__follow:hover { transform: scale(1.1); }
.grimba-chip--followed {
    background: var(--gn-ink);
    border-color: var(--gn-ink);
    color: var(--gn-paper);
}
.grimba-chip--followed .grimba-chip__label { color: var(--gn-paper); }
.grimba-chip--followed .grimba-chip__follow {
    background: var(--gn-paper);
    color: var(--gn-ink);
}

/* ------------------------------------------------------------
   4. Main spacing
   ------------------------------------------------------------ */
.grimba-home-main { padding: 1.5rem 0 3rem; }

/* ------------------------------------------------------------
   5. Daily Briefing (left column)
   ------------------------------------------------------------ */
.grimba-briefing {
    border-right: 1px solid var(--gn-rule);
    padding-right: 1.5rem;
}
.grimba-briefing__head { margin-bottom: 0.75rem; }
.grimba-briefing__title { font-size: 1.4rem; margin: 0 0 0.3rem; }
.grimba-briefing__sub { font-size: 0.9rem; color: var(--gn-ink-soft); margin: 0; }
.grimba-briefing__list { list-style: none; padding: 0; margin: 0; }
.grimba-briefing__item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gn-rule);
}
.grimba-briefing__item:last-child { border-bottom: none; }
.grimba-briefing__thumb {
    flex: 0 0 76px; width: 76px; height: 76px;
    border-radius: 10px; overflow: hidden;
    background: var(--gn-paper-warm);
}
.grimba-briefing__thumb img { width: 100%; height: 100%; object-fit: cover; }
.grimba-briefing__body { flex: 1; display: flex; flex-direction: column; gap: 0.35rem; }
.grimba-briefing__headline {
    font-family: var(--gn-font-display);
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.28;
    color: var(--gn-ink);
    text-decoration: none;
}
.grimba-briefing__headline:hover { color: var(--gn-ink-muted); }
.grimba-briefing__more {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gn-ink);
    text-decoration: none;
    border-bottom: 1px solid var(--gn-ink);
    padding-bottom: 2px;
}

/* ------------------------------------------------------------
   6. Hero story (center column)
   ------------------------------------------------------------ */
.grimba-hero__media {
    position: relative;
    display: block;
    aspect-ratio: 16/10;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: var(--gn-paper-warm);
    box-shadow: 0 12px 40px rgba(26, 23, 19, 0.1);
}
.grimba-hero__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s ease;
}
.grimba-hero__media:hover img { transform: scale(1.03); }
.grimba-hero__gradient {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.64) 0%, rgba(0,0,0,0.34) 48%, rgba(0,0,0,0.08) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.22) 36%, rgba(0,0,0,0.82) 100%);
}
.grimba-hero__text {
    position: absolute;
    left: 1.5rem; right: 1.5rem; bottom: 4.6rem;
    width: min(760px, calc(100% - 3rem));
    padding: clamp(14px, 2vw, 20px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(11, 10, 8, 0.92), rgba(11, 10, 8, 0.78));
    color: #fff !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
    text-shadow: 0 2px 14px rgba(0,0,0,0.52), 0 1px 2px rgba(0,0,0,0.72);
}
.grimba-hero__title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #fff !important;
    text-shadow: 0 3px 22px rgba(0,0,0,0.78), 0 1px 4px rgba(0,0,0,0.95);
}
.grimba-hero__desc {
    font-size: clamp(1rem, 1.45vw, 1.22rem);
    opacity: 1;
    max-width: 52ch;
    margin: 0;
    color: rgba(255,255,255,0.98) !important;
    font-weight: 700;
    line-height: 1.45;
    text-shadow: 0 2px 14px rgba(0,0,0,0.62), 0 1px 2px rgba(0,0,0,0.82);
}
.grimba-hero__coverage {
    position: absolute;
    left: 1.5rem; right: 1.5rem; bottom: 1rem;
}
.grimba-hero__coverage,
.grimba-hero__coverage * {
    color: rgba(255,255,255,0.92) !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.82);
}

/* ------------------------------------------------------------
   7. Coverage bar
   ------------------------------------------------------------ */
.grimba-coverage__bar {
    display: flex;
    height: 6px;
    border-radius: 9999px;
    overflow: hidden;
    background: rgba(26, 23, 19, 0.12);
}
.grimba-coverage--compact .grimba-coverage__bar { height: 4px; }
.grimba-coverage--on-dark .grimba-coverage__bar { background: rgba(255,255,255,0.18); }

.grimba-coverage__seg--l { background: var(--gn-left); }
.grimba-coverage__seg--c { background: var(--gn-center); }
.grimba-coverage__seg--r { background: var(--gn-right); }

.grimba-coverage__legend {
    display: flex; gap: 0.75rem; flex-wrap: wrap;
    margin-top: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
.grimba-coverage__chip--l { color: #9ec4ff; }
.grimba-coverage__chip--c { color: #e7c47b; }
.grimba-coverage__chip--r { color: #ff9b91; }
.grimba-coverage__sources { color: rgba(255,255,255,0.75); }

.grimba-coverage--compact .grimba-coverage__legend { display: none; }

/* S304: single-side bar — every card now surfaces a coverage indicator
   (Ground does this on 100% of cards). Visually toned down vs the
   multi-side bar so the reader's eye still understands "this story
   only has one side covering it" without it feeling like a percentage
   distribution. The bar gets a faint diagonal hatch overlay to signal
   "incomplete data" at a glance. */
.grimba-coverage--single .grimba-coverage__bar {
    position: relative;
    height: 4px;
    background: rgba(26, 23, 19, 0.06);
}
.grimba-coverage--single .grimba-coverage__bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent 0,
        transparent 4px,
        rgba(26, 23, 19, 0.05) 4px,
        rgba(26, 23, 19, 0.05) 8px
    );
    pointer-events: none;
}
.grimba-coverage--single.grimba-coverage--on-dark .grimba-coverage__bar {
    background: rgba(255, 255, 255, 0.10);
}
.grimba-coverage--single.grimba-coverage--on-dark .grimba-coverage__bar::after {
    background: repeating-linear-gradient(
        45deg,
        transparent 0,
        transparent 4px,
        rgba(255, 255, 255, 0.12) 4px,
        rgba(255, 255, 255, 0.12) 8px
    );
}
.grimba-coverage--single .grimba-coverage__legend {
    margin-top: 0.3rem;
    font-size: 0.7rem;
    opacity: 0.85;
}

.grimba-all-sides {
    overflow-x: clip;
    color: var(--gn-ink);
}
.grimba-all-sides__title {
    color: var(--gn-ink);
    -webkit-text-fill-color: currentColor;
    font-size: clamp(22px, 2.6vw, 32px);
    line-height: 1.08;
    letter-spacing: 0;
    text-wrap: balance;
}
.grimba-all-sides__count,
.grimba-all-sides__source-count {
    color: var(--gn-ink-soft);
    opacity: 1;
}
.grimba-all-sides__rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 1fr);
    gap: 16px;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
}
.grimba-all-sides__card {
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    min-width: 0;
    border: 1px solid rgba(26, 23, 19, 0.10);
    border-radius: 8px;
    background: var(--gn-paper);
    color: var(--gn-ink);
    -webkit-text-fill-color: currentColor;
    text-decoration: none;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.grimba-all-sides__card:hover,
.grimba-all-sides__card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(26, 23, 19, 0.18);
    box-shadow: 0 12px 28px rgba(0,0,0,0.10);
    color: var(--gn-ink);
}
.grimba-all-sides__media,
.grimba-all-sides__image--standalone {
    background: rgba(0,0,0,0.04);
}
.grimba-all-sides__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.grimba-all-sides__image--standalone {
    aspect-ratio: 16/9;
    display: block;
}
.grimba-all-sides__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 14px 16px 16px;
}
.grimba-all-sides__source-count {
    font-size: 12px;
}
.grimba-all-sides__headline {
    flex: 1;
    margin: 0;
    color: var(--gn-ink);
    -webkit-text-fill-color: currentColor;
    font-family: var(--gn-font-display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.24;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    text-wrap: pretty;
}
.grimba-coffre__lede {
    max-width: 68ch;
    color: var(--gn-ink-muted);
    font-size: clamp(1rem, 1.3vw, 1.08rem);
    line-height: 1.65;
}
.grimba-coffre__empty {
    color: var(--gn-ink);
}
.grimba-coffre__empty-icon {
    margin-bottom: 14px;
    color: var(--gn-ink-soft);
    font-size: 48px;
    line-height: 1;
}
.grimba-coffre__empty-copy {
    max-width: 36ch;
    margin-right: auto;
    margin-left: auto;
    color: var(--gn-ink-muted);
    font-size: 16px;
    line-height: 1.55;
}

.grimba-coverage--label {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--gn-ink-muted);
}
.grimba-coverage__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gn-center);
}
.grimba-coverage__dot--left   { background: var(--gn-left); }
.grimba-coverage__dot--center { background: var(--gn-center); }
.grimba-coverage__dot--right  { background: var(--gn-right); }

/* ------------------------------------------------------------
   8. Blindspot rail + cards
   ------------------------------------------------------------ */
.grimba-blindspot-rail {
    display: flex; flex-direction: column; gap: 1rem;
}
.grimba-blindspot-rail__kicker { margin-bottom: 0.35rem; }
.grimba-blindspot-rail__desc {
    font-size: 0.85rem;
    color: var(--gn-ink-soft);
    margin: 0 0 0.5rem;
}
.grimba-blindspot-rail__desc a {
    color: var(--gn-ink);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.grimba-blindspot-rail__more {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--gn-ink);
    margin-top: 0.25rem;
}

.blindspot-badge--ghost {
    background: transparent;
    border: 1px solid rgba(138, 43, 226, 0.5);
    color: var(--gn-blind);
    padding: 0.2rem 0.6rem;
}
.blindspot-badge--on-dark {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}
.blindspot-badge--on-dark::before {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.grimba-blind-card {
    position: relative;
    isolation: isolate;
    display: block;
    background: #17140f;
    color: #f6f1e8;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.04);
    transition: transform .2s ease, box-shadow .2s ease;
}
.grimba-blind-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.25);
    color: #fff;
}
.grimba-blind-card__media {
    position: relative;
    z-index: 0;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.grimba-blind-card__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.grimba-blind-card__body {
    position: relative;
    z-index: 2;
    padding: 1rem 1rem 1.1rem;
}
.grimba-blind-card__tag { display: inline-block; margin-bottom: 0.5rem; }
.grimba-blind-card__title {
    font-family: var(--gn-font-display);
    font-size: 1rem;
    font-weight: 600;
    margin: 0.5rem 0 0.75rem;
    line-height: 1.25;
    color: #fff;
}
.grimba-blind-card--wide { display: flex; align-items: stretch; }
.grimba-blind-card--wide .grimba-blind-card__media { flex: 0 0 120px; aspect-ratio: auto; }
.grimba-blind-card--wide .grimba-blind-card__media img { height: 100%; }
.grimba-blind-card--wide .grimba-blind-card__body { flex: 1; padding: 0.85rem 1rem; }

/* Bias profile box in sidebar */
.grimba-bias-profile {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--gn-rule);
    border-radius: 16px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.grimba-foryou__lede,
.grimba-sources__lede,
.grimba-comparison-index__lede,
.blindspot-page__lede,
.grimba-owners__lede,
.grimba-auth__lede {
    max-width: 58ch;
    color: var(--gn-ink-muted);
    line-height: 1.6;
}

/* ------------------------------------------------------------
   9. Top News inline stack
   ------------------------------------------------------------ */
.grimba-topnews__title { font-size: 1.25rem; margin: 0 0 0.75rem; }
.grimba-topnews__list { list-style: none; margin: 0; padding: 0; }
.grimba-topnews__item {
    display: flex; gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--gn-rule);
}
.grimba-topnews__item:first-child { border-top: 0; }
.grimba-topnews__body { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.grimba-topnews__kicker {
    font-size: 0.82rem;
    color: var(--gn-ink-soft);
    text-transform: uppercase;
    letter-spacing: 0;
    font-weight: 600;
}
.grimba-topnews__headline {
    font-family: var(--gn-font-display);
    font-size: 1.22rem;
    font-weight: 600;
    line-height: 1.28;
    text-decoration: none;
    color: var(--gn-ink);
}
.grimba-topnews__headline:hover { color: var(--gn-ink-muted); }
.grimba-topnews__thumb {
    flex: 0 0 110px; width: 110px; aspect-ratio: 4/3;
    border-radius: 10px; overflow: hidden;
    background: var(--gn-paper-warm);
}
.grimba-topnews__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Override legend colors when NOT on a dark hero */
.grimba-topnews .grimba-coverage__legend,
.grimba-briefing .grimba-coverage__legend,
.grimba-latest .grimba-coverage__legend {
    color: var(--gn-ink-soft);
    text-shadow: none;
}
.grimba-topnews .grimba-coverage__chip--l,
.grimba-latest .grimba-coverage__chip--l { color: var(--gn-left); }
.grimba-topnews .grimba-coverage__chip--c,
.grimba-latest .grimba-coverage__chip--c { color: #6b6b6b; }
.grimba-topnews .grimba-coverage__chip--r,
.grimba-latest .grimba-coverage__chip--r { color: var(--gn-right); }

/* ------------------------------------------------------------
   10. Most read by bias
   ------------------------------------------------------------ */
.grimba-most-read {
    padding: 1.2rem;
    border: 1px solid var(--gn-rule);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(59, 130, 246, 0.08), transparent 26%),
        linear-gradient(225deg, rgba(232, 76, 61, 0.08), transparent 26%),
        rgba(255, 255, 255, 0.58);
    box-shadow: 0 18px 50px rgba(26, 23, 19, 0.07);
}
.grimba-most-read__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.grimba-most-read__eyebrow {
    display: inline-flex;
    margin-bottom: 0.25rem;
    font-family: var(--gn-font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--gn-ink-soft);
}
.grimba-most-read__title {
    margin: 0;
    font-size: clamp(1.55rem, 3vw, 2.4rem);
    line-height: 1.02;
}
.grimba-most-read__dek {
    max-width: 36ch;
    margin: 0;
    color: var(--gn-ink-soft);
    font-size: 0.95rem;
    line-height: 1.45;
}
.grimba-most-read__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}
.grimba-most-read__panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gn-rule);
    border-radius: 18px;
    background: rgba(246, 241, 232, 0.86);
}
.grimba-most-read__panel::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--gn-center);
}
.grimba-most-read__panel--left::before { background: var(--gn-left); }
.grimba-most-read__panel--right::before { background: var(--gn-right); }
.grimba-most-read__panel-head {
    display: flex;
    gap: 0.65rem;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid var(--gn-rule);
}
.grimba-most-read__panel-head h3 {
    margin: 0;
    font-family: var(--gn-font-display);
    font-size: 1.25rem;
    line-height: 1.1;
}
.grimba-most-read__panel-head p {
    margin: 0.2rem 0 0;
    color: var(--gn-ink-soft);
    font-size: 0.82rem;
    line-height: 1.35;
}
.grimba-most-read__dot {
    width: 13px;
    height: 13px;
    margin-top: 0.1rem;
    border-radius: 999px;
    background: var(--gn-center);
    box-shadow: 0 0 0 4px rgba(168, 168, 168, 0.16);
    flex: 0 0 auto;
}
.grimba-most-read__dot--left {
    background: var(--gn-left);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}
.grimba-most-read__dot--right {
    background: var(--gn-right);
    box-shadow: 0 0 0 4px rgba(232, 76, 61, 0.14);
}
.grimba-most-read__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.grimba-most-read__item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 0.7rem;
    padding: 0.9rem 1rem;
    border-top: 1px solid rgba(26, 23, 19, 0.06);
}
.grimba-most-read__item:first-child { border-top: 0; }
.grimba-most-read__rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--gn-ink);
    color: var(--gn-paper);
    font-family: var(--gn-font-mono);
    font-size: 0.78rem;
    font-weight: 800;
}
.grimba-most-read__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.35rem;
}
.grimba-most-read__headline {
    color: var(--gn-ink);
    font-family: var(--gn-font-display);
    font-size: 1.03rem;
    font-weight: 700;
    line-height: 1.22;
    text-decoration: none;
}
.grimba-most-read__headline:hover { color: var(--gn-ink-muted); }
.grimba-most-read__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    color: var(--gn-ink-soft);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}
.grimba-most-read__empty {
    margin: 0;
    padding: 1rem;
    color: var(--gn-ink-soft);
    font-size: 0.88rem;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-most-read {
    background:
        linear-gradient(135deg, rgba(59, 130, 246, 0.16), transparent 26%),
        linear-gradient(225deg, rgba(232, 76, 61, 0.16), transparent 26%),
        rgba(255, 255, 255, 0.035);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-most-read__panel {
    background: rgba(28, 24, 17, 0.88);
    border-color: rgba(246, 241, 232, 0.12);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-most-read__item {
    border-top-color: rgba(246, 241, 232, 0.08);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-most-read__rank {
    background: var(--gn-paper);
    color: #1a1713;
}

/* ------------------------------------------------------------
   11. Section blocks (Israel-Gaza / US Politics equivalents)
   ------------------------------------------------------------ */
.grimba-section__title {
    font-size: 1.75rem;
    margin: 0;
    letter-spacing: 0;
}
.grimba-section__hero {
    display: block;
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: var(--gn-paper-warm);
}
.grimba-section__hero img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
}
.grimba-section__hero::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.7) 100%);
}
.grimba-section__hero-body {
    position: absolute;
    left: 1.25rem; right: 1.25rem; bottom: 1.25rem;
    z-index: 1;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(11, 10, 8, 0.90), rgba(11, 10, 8, 0.72));
    color: #fff;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.30);
}
.grimba-section__kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.35rem;
    opacity: 0.85;
}
.grimba-section__kicker--rail {
    color: var(--gn-blind);
    opacity: 1;
}
.grimba-section__hero-title {
    font-family: var(--gn-font-display);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 0.75rem;
    color: #fff;
}

.grimba-blind-subscribe {
    background: #17140f;
    color: #f6f1e8;
    border-radius: 14px;
    padding: 1rem;
}
.grimba-blind-subscribe input {
    flex: 1;
    padding: 0.5rem 0.85rem;
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 0.85rem;
}
.grimba-blind-subscribe input::placeholder { color: rgba(255,255,255,0.5); }
.grimba-blind-subscribe .btn-grimba--solid {
    background: var(--gn-paper);
    color: var(--gn-ink);
}

/* ------------------------------------------------------------
   11. Latest stories + Similar topics
   ------------------------------------------------------------ */
.grimba-latest__title { font-size: 1.7rem; margin: 0; }
.grimba-latest__list { list-style: none; margin: 0; padding: 0; }
.grimba-latest__item {
    display: flex; gap: 1rem;
    padding: 0.9rem 0;
    border-top: 1px solid var(--gn-rule);
}
.grimba-latest__item:first-child { border-top: 0; }
.grimba-latest__body { flex: 1; display: flex; flex-direction: column; gap: 0.35rem; }
.grimba-latest__kicker {
    font-size: 0.82rem;
    color: var(--gn-ink-soft);
    text-transform: uppercase;
    letter-spacing: 0;
    font-weight: 600;
}
.grimba-latest__headline {
    font-family: var(--gn-font-display);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    color: var(--gn-ink);
}
.grimba-latest__thumb {
    flex: 0 0 92px; width: 92px; aspect-ratio: 1/1;
    border-radius: 10px; overflow: hidden;
    background: var(--gn-paper-warm);
}
.grimba-latest__thumb img { width: 100%; height: 100%; object-fit: cover; }
body.grimba-home .grimba-topnews__item,
body.grimba-home .grimba-latest__item {
    margin-top: 0.55rem;
    padding: 0.82rem;
    border: 1px solid rgba(26, 23, 19, 0.07);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.36);
    box-shadow: 0 10px 26px rgba(26, 23, 19, 0.045), inset 0 1px 0 rgba(255, 255, 255, 0.24);
    -webkit-backdrop-filter: blur(16px) saturate(1.10);
    backdrop-filter: blur(16px) saturate(1.10);
}
body.grimba-home .grimba-topnews__item:first-child,
body.grimba-home .grimba-latest__item:first-child {
    margin-top: 0;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-topnews__item,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-latest__item {
    background: rgba(246, 241, 232, 0.055);
    border-color: rgba(246, 241, 232, 0.10);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(246, 241, 232, 0.07);
}

.grimba-similar__list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 0.5rem;
}
.grimba-similar__chip {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.7rem 1rem;
    border: 1px solid var(--gn-rule);
    border-radius: 12px;
    background: rgba(255,255,255,0.6);
    text-decoration: none;
    color: var(--gn-ink);
    font-weight: 500;
    transition: background .15s, border-color .15s;
}
.grimba-similar__chip:hover { background: #fff; border-color: var(--gn-ink); }
.grimba-similar__plus {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--gn-ink);
    color: var(--gn-paper);
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}
.grimba-topic-source-card,
.grimba-similar-source,
.grimba-owner-source-card {
    display: block;
    border: 1px solid rgba(26, 23, 19, 0.10);
    background: rgba(255, 255, 255, 0.55);
    color: var(--gn-ink);
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.grimba-topic-source-card {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    padding: 14px 14px 13px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--topic-origin-color, #64748b) 10%, transparent), transparent 52%),
        rgba(255, 255, 255, 0.55);
}
.grimba-topic-source-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--topic-origin-color, #64748b), transparent);
}
.grimba-topic-source-card__rank {
    display: inline-flex;
    margin-bottom: 0.6rem;
    color: color-mix(in srgb, var(--topic-origin-color, #64748b) 76%, var(--gn-ink));
    font-family: var(--gn-font-mono);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
}
.grimba-topic-source-card strong {
    display: block;
    color: var(--gn-ink);
    font-family: var(--gn-font-body);
    font-size: 0.94rem;
    font-weight: 850;
    line-height: 1.2;
}
.grimba-topic-source-card__meta {
    display: grid;
    gap: 0.18rem;
    margin-top: 0.45rem;
    color: var(--gn-ink-soft);
    font-size: 0.78rem;
    font-weight: 730;
    line-height: 1.18;
}
.grimba-topic-source-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.75rem;
}
.grimba-topic-source-card__origin {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border: 1px solid color-mix(in srgb, var(--topic-origin-color, #64748b) 28%, rgba(26, 23, 19, 0.08));
    border-radius: 999px;
    background: color-mix(in srgb, var(--topic-origin-color, #64748b) 11%, rgba(255, 255, 255, 0.62));
    color: var(--gn-ink);
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1;
}
.grimba-category-listing {
    padding-top: 0;
}
.grimba-category-hero__panel {
    position: relative;
    overflow: hidden;
    border-color: rgba(26, 23, 19, 0.09);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(246, 241, 232, 0.54)),
        rgba(255, 255, 255, 0.62);
}
.grimba-category-hero__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(59, 130, 246, 0.08), transparent 32%, transparent 68%, rgba(232, 76, 61, 0.07)),
        repeating-linear-gradient(90deg, rgba(26, 23, 19, 0.035) 0 1px, transparent 1px 78px),
        repeating-linear-gradient(180deg, rgba(26, 23, 19, 0.024) 0 1px, transparent 1px 58px);
    opacity: 0.76;
}
.grimba-category-hero__panel > * {
    position: relative;
    z-index: 1;
}
.grimba-category-hero__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}
.grimba-category-hero__intro {
    max-width: 68ch;
    min-width: 0;
}
.grimba-category-hero__copy {
    color: var(--gn-ink-muted);
    font-size: 1rem;
    line-height: 1.6;
}
.grimba-category-hero__follow {
    flex: 0 0 auto;
}
.grimba-category-signal {
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid rgba(26, 23, 19, 0.09);
    border-radius: 16px;
    background:
        radial-gradient(circle at 12% 0%, rgba(59, 130, 246, 0.11), transparent 32%),
        radial-gradient(circle at 88% 0%, rgba(232, 76, 61, 0.10), transparent 32%),
        rgba(255, 255, 255, 0.46);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.16),
        0 16px 38px rgba(26, 23, 19, 0.055);
}
.grimba-category-signal__summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}
.grimba-category-signal__summary div {
    display: grid;
    gap: 0.15rem;
}
.grimba-category-signal__summary span,
.grimba-category-signal__stats span {
    color: var(--gn-ink-soft);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: uppercase;
}
.grimba-category-signal__summary strong {
    color: var(--gn-ink);
    font-family: var(--gn-font-display);
    font-size: clamp(1.05rem, 1.45vw, 1.3rem);
    font-weight: 800;
    line-height: 1.08;
}
.grimba-category-signal__summary em {
    color: var(--gn-ink-muted);
    font-style: normal;
    font-weight: 760;
    text-align: right;
}
.grimba-category-signal__bar {
    display: flex;
    height: 16px;
    overflow: hidden;
    border: 1px solid rgba(26, 23, 19, 0.08);
    border-radius: 999px;
    background: rgba(26, 23, 19, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.grimba-category-signal__bar span {
    width: max(2px, var(--w));
    background: linear-gradient(90deg, color-mix(in srgb, var(--dot) 68%, #fff), var(--dot));
}
.grimba-category-signal__legend {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}
.grimba-category-signal__legend span {
    color: var(--dot);
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1.15;
}
.grimba-category-signal__legend span:nth-child(2) {
    text-align: center;
}
.grimba-category-signal__legend span:nth-child(3) {
    text-align: right;
}
.grimba-category-signal__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}
.grimba-category-signal__stats article {
    min-width: 0;
    padding: 0.75rem;
    border: 1px solid rgba(26, 23, 19, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.46);
}
.grimba-category-signal__stats strong {
    display: block;
    margin-top: 0.2rem;
    color: var(--gn-ink);
    font-family: var(--gn-font-display);
    font-size: clamp(1.1rem, 1.6vw, 1.55rem);
    font-weight: 850;
    line-height: 1;
    overflow-wrap: anywhere;
}
.grimba-category-signal__note {
    color: var(--gn-ink-soft);
    font-size: 0.86rem;
    line-height: 1.45;
}
@media (max-width: 767.98px) {
    .grimba-category-hero__top,
    .grimba-category-signal__summary {
        flex-direction: column;
    }
    .grimba-category-hero__follow {
        width: 100%;
        justify-content: center;
    }
    .grimba-category-signal__summary em {
        text-align: left;
    }
    .grimba-category-signal__stats {
        grid-template-columns: 1fr;
    }
}
.grimba-category-listing .echo-full-hero-content.inner-category-1 {
    width: 100%;
}
.grimba-category-listing .blog-list-content,
.grimba-category-listing .row {
    min-width: 0;
}
.grimba-category-listing .row {
    --bs-gutter-x: 1.35rem;
    --bs-gutter-y: 1.35rem;
}
.grimba-category-listing .article-card {
    min-height: 100%;
    border-color: rgba(26, 23, 19, 0.085);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(246, 241, 232, 0.52)),
        rgba(255, 255, 255, 0.66);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.18),
        0 18px 40px rgba(26, 23, 19, 0.06);
}
.grimba-category-listing .article-card__content {
    gap: 0.35rem;
}
.grimba-category-listing .article-card__title {
    font-size: clamp(1.08rem, 1.1vw, 1.24rem);
    line-height: 1.28;
}
.grimba-category-listing .article-card .echo-hero-discription {
    color: var(--gn-ink-muted);
    font-size: 0.96rem;
    line-height: 1.52;
}
.grimba-category-listing .grimba-topnews__kicker {
    color: var(--gn-ink-soft);
    font-weight: 800;
    opacity: 1 !important;
}
.grimba-topic-top-sources__title {
    font-family: var(--gn-font-body);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}
.grimba-similar-source {
    padding: 14px 16px;
    border-radius: 12px;
}
.grimba-owner-source-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
}
.grimba-topic-source-card:hover,
.grimba-similar-source:hover,
.grimba-owner-source-card:hover {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(26, 23, 19, 0.18);
    box-shadow: 0 10px 24px rgba(26, 23, 19, 0.08);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-similar__chip,
html.grimba-home-html[data-bs-theme="dark"] .grimba-topic-source-card,
html.grimba-home-html[data-bs-theme="dark"] .grimba-similar-source,
html.grimba-home-html[data-bs-theme="dark"] .grimba-owner-source-card {
    background: rgba(246, 241, 232, 0.08) !important;
    border-color: rgba(246, 241, 232, 0.16) !important;
    color: #fffaf0 !important;
    box-shadow: inset 0 0 0 1px rgba(246, 241, 232, 0.03);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-similar__chip:hover,
html.grimba-home-html[data-bs-theme="dark"] .grimba-topic-source-card:hover,
html.grimba-home-html[data-bs-theme="dark"] .grimba-similar-source:hover,
html.grimba-home-html[data-bs-theme="dark"] .grimba-owner-source-card:hover {
    background: rgba(246, 241, 232, 0.13) !important;
    border-color: rgba(246, 241, 232, 0.28) !important;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-similar__plus {
    background: #fffaf0;
    color: #15130f;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-category-listing .article-card {
    background:
        linear-gradient(135deg, rgba(255, 250, 240, 0.08), rgba(255, 250, 240, 0.025)),
        rgba(28, 24, 17, 0.84) !important;
    border-color: rgba(246, 241, 232, 0.15) !important;
    box-shadow:
        inset 0 0 0 1px rgba(246, 241, 232, 0.04),
        0 18px 42px rgba(0, 0, 0, 0.32);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-category-listing .article-card .echo-hero-discription,
html.grimba-home-html[data-bs-theme="dark"] .grimba-category-listing .grimba-topnews__kicker {
    color: rgba(255, 250, 240, 0.82) !important;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-category-hero__panel {
    background:
        linear-gradient(135deg, rgba(255, 250, 240, 0.065), rgba(255, 250, 240, 0.018)),
        rgba(28, 24, 17, 0.84);
    border-color: rgba(246, 241, 232, 0.14);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-category-hero__panel::before {
    background:
        linear-gradient(90deg, rgba(59, 130, 246, 0.14), transparent 32%, transparent 68%, rgba(232, 76, 61, 0.12)),
        repeating-linear-gradient(90deg, rgba(246, 241, 232, 0.045) 0 1px, transparent 1px 78px),
        repeating-linear-gradient(180deg, rgba(246, 241, 232, 0.032) 0 1px, transparent 1px 58px);
    opacity: 0.72;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-category-signal,
html.grimba-home-html[data-bs-theme="dark"] .grimba-category-signal__stats article {
    background: rgba(246, 241, 232, 0.065);
    border-color: rgba(246, 241, 232, 0.14);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-category-signal__bar {
    background: rgba(246, 241, 232, 0.12);
    border-color: rgba(246, 241, 232, 0.14);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-topic-source-card {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--topic-origin-color, #64748b) 16%, transparent), transparent 54%),
        rgba(246, 241, 232, 0.08) !important;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-topic-source-card__origin {
    background: color-mix(in srgb, var(--topic-origin-color, #64748b) 18%, rgba(246, 241, 232, 0.08));
    border-color: color-mix(in srgb, var(--topic-origin-color, #64748b) 34%, rgba(246, 241, 232, 0.14));
    color: #fffaf0;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-topic-source-card .opacity-65,
html.grimba-home-html[data-bs-theme="dark"] .grimba-similar-source .opacity-65,
html.grimba-home-html[data-bs-theme="dark"] .grimba-owner-source-card .opacity-65 {
    opacity: 1 !important;
    color: var(--gn-ink-soft);
}

/* ------------------------------------------------------------
   12. Dark footer
   ------------------------------------------------------------ */
.grimba-footer {
    background: #0f0d0a;
    color: #f6f1e8;
    margin-top: 3rem;
}
/* S352 — bumped from 0.75 → 0.88 for clearer contrast against the
   dark footer surface (was reading dim at a glance). Hover stays full
   white so the affordance is unmistakable. */
.grimba-footer a { color: rgba(246, 241, 232, 0.88); text-decoration: none; transition: color 0.15s ease; }
.grimba-footer a:hover { color: #fff; }
.grimba-footer p,
.grimba-footer .opacity-75 {
    color: rgba(246, 241, 232, 0.76) !important;
    opacity: 1 !important;
}
.grimba-footer__heading {
    font-family: var(--gn-font-body);
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(246, 241, 232, 0.72);
    margin: 0 0 0.75rem;
}
.grimba-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; }
.grimba-footer__rule { border: 0; border-top: 1px solid rgba(255,255,255,0.08); margin: 2rem 0 1.25rem; }

/* ------------------------------------------------------------
   12b. Methodology page
   ------------------------------------------------------------ */
.grimba-methodology { font-family: var(--gn-font-body); color: var(--gn-ink); }

.grimba-methodology__hero { }
.grimba-methodology__kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0;
    font-weight: 600;
    opacity: 0.6;
}
.grimba-methodology__title {
    font-family: var(--gn-font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0.5rem 0 1rem;
    letter-spacing: 0;
}
.grimba-methodology__lede {
    font-size: 1.1rem;
    line-height: 1.55;
    max-width: 60ch;
    color: var(--gn-ink-muted);
    margin: 0;
}

.grimba-methodology__section {
    max-width: 72ch;
    margin: 0 auto 2.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--gn-rule);
}
.grimba-methodology__section:first-of-type { border-top: none; padding-top: 0; }
.grimba-methodology__section h2 {
    font-family: var(--gn-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem;
    letter-spacing: 0;
}
.grimba-methodology__section p,
.grimba-methodology__section li {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--gn-ink);
}
.grimba-methodology__section ul,
.grimba-methodology__section ol {
    padding-left: 1.25rem;
    margin: 0 0 1rem;
}
.grimba-methodology__section li { margin-bottom: 0.5rem; }
.grimba-methodology__section strong { font-weight: 600; }
.grimba-methodology__section a {
    color: var(--gn-ink);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.grimba-methodology__footer {
    max-width: 72ch;
    margin: 0 auto;
}

/* inline dots — reuse coverage dot colors */
.grimba-methodology .grimba-coverage__dot {
    width: 10px; height: 10px;
    display: inline-block;
    border-radius: 50%;
    vertical-align: baseline;
    margin: 0 0.15rem 0 0.35rem;
}

/* ------------------------------------------------------------
   Comparatif index cards
   ------------------------------------------------------------ */
.grimba-comparison-index__card {
    display: block;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--gn-rule);
    border-radius: 14px;
    padding: 1.25rem 1.35rem 1.1rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.grimba-comparison-index__card:hover {
    transform: translateY(-2px);
    background: #fff;
    border-color: var(--gn-ink);
    box-shadow: 0 10px 26px rgba(26, 23, 19, 0.08);
    color: inherit;
}
.grimba-comparison-index__dossier {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0;
    font-weight: 700;
    opacity: 0.6;
}
.grimba-comparison-index__title {
    font-family: var(--gn-font-display);
    font-size: 1.35rem;
    line-height: 1.25;
    font-weight: 700;
    margin: 0.25rem 0 1rem;
    letter-spacing: 0;
}
.grimba-comparison-index__bar {
    display: flex;
    height: 6px;
    border-radius: 9999px;
    overflow: hidden;
    background: rgba(26, 23, 19, 0.08);
}

[data-bs-theme="dark"] .grimba-comparison-index__card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}
[data-bs-theme="dark"] .grimba-comparison-index__card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gn-ink);
}

/* ------------------------------------------------------------
   12b-bis. Botble Page body (legal / À propos / Contact etc.)
   ------------------------------------------------------------ */
.grimba-page__body {
    max-width: 72ch;
    margin: 0 auto;
    font-family: var(--gn-font-body);
    color: var(--gn-ink);
}
.grimba-page__body .ck-content p,
.grimba-page__body .ck-content li {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 0.9rem;
}
.grimba-page__body .ck-content h2 {
    font-family: var(--gn-font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    letter-spacing: 0;
}
.grimba-page__body .ck-content a {
    color: var(--gn-ink);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.grimba-page__body .ck-content code {
    background: rgba(26, 23, 19, 0.06);
    padding: 0.1em 0.35em;
    border-radius: 4px;
    font-family: var(--gn-font-mono);
    font-size: 0.88em;
}

/* ------------------------------------------------------------
   12c. Newsletter modal
   ------------------------------------------------------------ */
.grimba-newsletter-modal {
    position: fixed; inset: 0;
    display: none;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.grimba-newsletter-modal.is-open { display: flex; }
.grimba-newsletter-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(15, 13, 10, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.grimba-newsletter-modal__panel {
    position: relative;
    max-width: 520px;
    width: 100%;
    padding: 2rem 1.75rem 1.75rem;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.grimba-newsletter-modal__close {
    position: absolute; top: 0.75rem; right: 1rem;
    background: transparent; border: none;
    font-size: 1.75rem; line-height: 1;
    color: var(--gn-ink-soft); cursor: pointer;
}
.grimba-newsletter-modal__close:hover { color: var(--gn-ink); }
.grimba-newsletter-modal__flash {
    padding: 0.75rem 1rem;
    background: rgba(34, 197, 94, 0.12);
    color: #166534;
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: 10px;
    font-size: 0.9rem;
}
[data-bs-theme="dark"] .grimba-newsletter-modal__panel {
    background: #17140f;
    color: var(--gn-paper);
}
[data-bs-theme="dark"] .grimba-newsletter-modal__flash {
    background: rgba(34, 197, 94, 0.18);
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.4);
}
body.grimba-home .grimba-compare-modal {
    overflow-y: auto;
    overscroll-behavior: contain;
}
body.grimba-home .grimba-compare-modal__panel {
    width: min(1080px, 100%);
    max-width: min(1080px, 100%);
    max-height: calc(100dvh - 2rem);
    padding: 22px 24px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
}
body.grimba-home .grimba-compare-modal .grimba-newsletter-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(26, 23, 19, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    color: var(--gn-ink);
    font-size: 1.35rem;
}
body.grimba-home .grimba-compare-modal__header {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-right: 2.25rem;
}
body.grimba-home .grimba-compare-modal__title {
    font-family: var(--gn-font-display);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0;
}
body.grimba-home .grimba-compare-modal__lede {
    color: rgba(26, 23, 19, 0.66);
    font-size: 0.9rem;
    line-height: 1.45;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-compare-modal .grimba-newsletter-modal__close {
    border-color: rgba(255, 250, 240, 0.16);
    background: rgba(255, 250, 240, 0.08);
    color: #fffaf0;
}
body.grimba-home .grimba-compare-modal__card {
    height: 100%;
    padding: 14px 14px 12px;
    border: 1px solid var(--compare-color-line);
    border-top: 3px solid var(--compare-color);
    border-radius: 12px;
    background: var(--compare-color-soft);
    color: var(--gn-ink);
}
body.grimba-home .grimba-compare-modal__card-head {
    margin-bottom: 8px;
}
body.grimba-home .grimba-compare-modal__source {
    color: var(--compare-color);
    font-family: var(--gn-font-body);
    font-size: 13px;
    font-weight: 760;
    letter-spacing: 0;
}
body.grimba-home .grimba-compare-modal__headline {
    margin: 0 0 10px;
    color: var(--gn-ink);
    font-family: var(--gn-font-display);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
}
body.grimba-home .grimba-compare-modal__excerpt {
    margin: 0 0 10px;
    color: var(--gn-ink);
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.85;
}
body.grimba-home .grimba-compare-modal__link {
    color: #c0392b;
    font-size: 13px;
    font-weight: 760;
    text-decoration: none;
}
body.grimba-home .grimba-compare-modal__link:hover,
body.grimba-home .grimba-compare-modal__link:focus-visible {
    text-decoration: underline;
}
body.grimba-home .grimba-compare-modal__note {
    margin: 1rem 0 0;
    color: rgba(26, 23, 19, 0.55);
    font-size: 11.5px;
    line-height: 1.5;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-compare-modal__lede {
    color: rgba(255, 250, 240, 0.72);
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-compare-modal__card {
    background:
        linear-gradient(135deg, rgba(255, 250, 240, 0.055), rgba(255, 250, 240, 0.02)),
        var(--compare-color-soft);
    color: #fffaf0;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-compare-modal__headline,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-compare-modal__excerpt {
    color: #fffaf0;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-compare-modal__link {
    color: #ffafa4;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-compare-modal__note {
    color: rgba(255, 250, 240, 0.56);
}
@media (max-width: 575.98px) {
    body.grimba-home .grimba-compare-modal {
        align-items: flex-start;
        padding: 0.75rem;
    }
    body.grimba-home .grimba-compare-modal__panel {
        max-height: calc(100dvh - 1.5rem);
        padding: 18px 16px 16px;
        border-radius: 16px;
    }
    body.grimba-home .grimba-compare-modal__header {
        display: block;
        margin-bottom: 0.85rem;
        padding-right: 3rem;
    }
    body.grimba-home .grimba-compare-modal__title {
        max-width: calc(100% - 0.25rem);
        font-size: 20px;
    }
    body.grimba-home .grimba-compare-modal__lede {
        display: block;
        margin-top: 0.4rem;
        font-size: 0.88rem;
    }
    body.grimba-home .grimba-compare-modal__card {
        padding: 13px;
    }
    body.grimba-home .grimba-compare-modal__headline {
        font-size: 16px;
        line-height: 1.28;
    }
    body.grimba-home .grimba-compare-modal__excerpt {
        font-size: 13px;
        line-height: 1.45;
    }
}

/* ------------------------------------------------------------
   12c-bis. Command palette
   ------------------------------------------------------------ */
body.grimba-command-open {
    overflow: hidden;
}

.grimba-command-palette {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(12px, 5vh, 52px) 16px;
}

.grimba-command-palette.is-open {
    display: flex;
}

.grimba-command-palette__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 13, 10, 0.54);
    backdrop-filter: blur(10px) saturate(112%);
    -webkit-backdrop-filter: blur(10px) saturate(112%);
}

.grimba-command-palette__panel {
    position: relative;
    width: min(720px, calc(100vw - 32px));
    max-height: min(760px, calc(100svh - 72px));
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 252, 246, 0.97);
    border: 1px solid rgba(26, 23, 19, 0.12);
    box-shadow: 0 28px 80px rgba(15, 13, 10, 0.32);
    color: var(--gn-ink);
}

.grimba-command-palette__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid rgba(26, 23, 19, 0.10);
}

.grimba-command-palette__search {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 8px;
    background: rgba(246, 241, 232, 0.78);
    border: 1px solid rgba(26, 23, 19, 0.10);
}

.grimba-command-palette__search-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    color: var(--gn-ink-soft);
}

.grimba-command-palette__search-icon svg {
    width: 20px;
    height: 20px;
}

.grimba-command-palette__search input {
    width: 100%;
    min-width: 0;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    background: transparent !important;
    color: var(--gn-ink);
    font: 600 1rem/1.2 var(--gn-font-body);
}

.grimba-command-palette__search input::-webkit-search-cancel-button,
.grimba-command-palette__search input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.grimba-command-palette__search:focus-within {
    border-color: rgba(26, 23, 19, 0.38);
    box-shadow: 0 0 0 3px rgba(26, 23, 19, 0.10);
}

.grimba-command-palette__search input:focus,
.grimba-command-palette__search input:focus-visible {
    outline: 0 !important;
    box-shadow: none !important;
}

.grimba-command-palette__search input::placeholder {
    color: rgba(94, 84, 70, 0.72);
    font-weight: 500;
}

.grimba-command-palette__close {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border: 1px solid rgba(26, 23, 19, 0.12);
    border-radius: 8px;
    background: rgba(246, 241, 232, 0.72);
    color: var(--gn-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.grimba-command-palette__close svg {
    width: 20px;
    height: 20px;
}

.grimba-command-palette__body {
    max-height: calc(min(760px, calc(100svh - 72px)) - 74px);
    overflow-y: auto;
    padding: 8px;
}

.grimba-command-palette__results {
    display: grid;
    gap: 4px;
}

.grimba-command-palette__item {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 64px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--gn-ink);
    text-decoration: none;
    border: 1px solid transparent;
}

.grimba-command-palette__item:hover,
.grimba-command-palette__item.is-active {
    background: rgba(26, 23, 19, 0.06);
    border-color: rgba(26, 23, 19, 0.10);
}

.grimba-command-palette__item-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1a1713;
    color: #f6f1e8;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.grimba-command-palette__item-icon::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.grimba-command-palette__item[data-grimba-command-type="story"] .grimba-command-palette__item-icon::before {
    width: 16px;
    height: 12px;
    border-radius: 2px;
    border-width: 2px 0;
}

.grimba-command-palette__item[data-grimba-command-type="source"] .grimba-command-palette__item-icon::before {
    border-radius: 3px;
    border-width: 2px;
}

.grimba-command-palette__item[data-grimba-command-type="category"] .grimba-command-palette__item-icon::before {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border-style: dotted;
}

.grimba-command-palette__item-body {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.grimba-command-palette__item-body strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--gn-font-display);
    font-size: 1.02rem;
    line-height: 1.15;
    color: var(--gn-ink);
}

.grimba-command-palette__item-body span,
.grimba-command-palette__item-meta {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--gn-ink-soft);
    font-size: 0.86rem;
    line-height: 1.25;
}

.grimba-command-palette__item-meta {
    max-width: 178px;
    justify-self: end;
    padding-left: 12px;
    color: rgba(94, 84, 70, 0.82);
}

.grimba-command-palette__state,
.grimba-command-palette__search-all {
    display: block;
    margin: 8px;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(246, 241, 232, 0.72);
    border: 1px solid rgba(26, 23, 19, 0.10);
    color: var(--gn-ink);
    font-size: 0.92rem;
    text-decoration: none;
}

.grimba-command-palette__state[hidden],
.grimba-command-palette__search-all[hidden] {
    display: none !important;
}

html.grimba-home-html[data-bs-theme="dark"] .grimba-command-palette__backdrop {
    background: rgba(4, 4, 3, 0.72);
}

html.grimba-home-html[data-bs-theme="dark"] .grimba-command-palette__panel,
html.grimba-home-html[data-bs-theme="dark"] .grimba-command-palette__panel.glass-panel {
    background: rgba(23, 20, 15, 0.98);
    border-color: rgba(246, 241, 232, 0.14);
    color: #fffaf0;
}

html.grimba-home-html[data-bs-theme="dark"] .grimba-command-palette__head {
    border-bottom-color: rgba(246, 241, 232, 0.12);
}

html.grimba-home-html[data-bs-theme="dark"] .grimba-command-palette__search,
html.grimba-home-html[data-bs-theme="dark"] .grimba-command-palette__close,
html.grimba-home-html[data-bs-theme="dark"] .grimba-command-palette__state,
html.grimba-home-html[data-bs-theme="dark"] .grimba-command-palette__search-all {
    background: rgba(246, 241, 232, 0.08);
    border-color: rgba(246, 241, 232, 0.14);
    color: #fffaf0;
}

html.grimba-home-html[data-bs-theme="dark"] .grimba-command-palette__search:focus-within {
    border-color: rgba(246, 241, 232, 0.34);
    box-shadow: 0 0 0 3px rgba(246, 241, 232, 0.10);
}

html.grimba-home-html[data-bs-theme="dark"] .grimba-command-palette__search input,
html.grimba-home-html[data-bs-theme="dark"] .grimba-command-palette__item,
html.grimba-home-html[data-bs-theme="dark"] .grimba-command-palette__item-body strong {
    color: #fffaf0;
}

html.grimba-home-html[data-bs-theme="dark"] .grimba-command-palette__search input::placeholder,
html.grimba-home-html[data-bs-theme="dark"] .grimba-command-palette__search-icon,
html.grimba-home-html[data-bs-theme="dark"] .grimba-command-palette__item-body span,
html.grimba-home-html[data-bs-theme="dark"] .grimba-command-palette__item-meta {
    color: #d8cfb8;
}

html.grimba-home-html[data-bs-theme="dark"] .grimba-command-palette__item:hover,
html.grimba-home-html[data-bs-theme="dark"] .grimba-command-palette__item.is-active {
    background: rgba(246, 241, 232, 0.09);
    border-color: rgba(246, 241, 232, 0.14);
}

html.grimba-home-html[data-bs-theme="dark"] .grimba-command-palette__item-icon {
    background: #fffaf0;
    color: #14110d;
}

@media (max-width: 575px) {
    .grimba-command-palette {
        padding: 10px;
    }

    .grimba-command-palette__panel {
        width: calc(100vw - 20px);
        max-height: calc(100svh - 20px);
    }

    .grimba-command-palette__body {
        max-height: calc(100svh - 94px);
    }

    .grimba-command-palette__item {
        grid-template-columns: 34px minmax(0, 1fr);
        min-height: 62px;
        gap: 10px;
    }

    .grimba-command-palette__item-meta {
        grid-column: 2;
        justify-self: start;
        max-width: 100%;
        padding-left: 0;
    }
}

/* ------------------------------------------------------------
   12d. Onboarding modal
   ------------------------------------------------------------ */
.grimba-onboard-panel {
    max-width: 720px !important;
    padding: 2rem 2rem 1.5rem !important;
}
.grimba-onboard-pillar {
    background: rgba(255,255,255,0.55);
    border: 1px solid var(--gn-rule);
    border-radius: 12px;
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.grimba-onboard-pillar strong { font-family: var(--gn-font-display); font-size: 1rem; }
.grimba-onboard-pillar__bar {
    display: flex;
    height: 5px;
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 0.35rem;
}
.grimba-onboard-pillar__bar span { flex: 1; height: 100%; display: block; }
.grimba-onboard-pillar__dot {
    width: 26px; height: 26px;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}
.grimba-onboard-pillar__score {
    font-family: var(--gn-font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: #22c55e;
    line-height: 1;
    margin-bottom: 0.2rem;
}
.grimba-onboard-pillar__score span {
    font-size: 0.9rem;
    opacity: 0.6;
    font-weight: 500;
}

.grimba-onboard-topic[aria-pressed="true"] {
    background: var(--gn-ink);
    color: var(--gn-paper) !important;
    border-color: var(--gn-ink);
}

[data-bs-theme="dark"] .grimba-onboard-pillar {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

/* ------------------------------------------------------------
   13. Mobile
   ------------------------------------------------------------ */
@media (max-width: 991px) {
    .grimba-briefing { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--gn-rule); padding-bottom: 1.5rem; }
    .grimba-nav { display: none !important; }
    .grimba-header__meta { display: block; }
    .grimba-utility-bar__scroll {
        justify-content: flex-start;
        overflow: hidden;
    }
    .grimba-header-pulse {
        max-width: 40vw;
    }
    .grimba-stat-pill {
        font-size: 0.72rem;
    }
    .grimba-header__main .container-xxl { gap: 1rem !important; }
    .grimba-search { max-width: none; margin: 0; }
    .grimba-hero__title { font-size: 1.5rem; }
    .grimba-section__title { font-size: 1.4rem; }
}
@media (max-width: 575px) {
    html.grimba-home-html,
    body.grimba-home {
        overflow-x: hidden;
    }
    .grimba-breaking__inner {
        display: flex;
        gap: 0.68rem;
        min-height: 42px;
        padding: 0.38rem 0.92rem !important;
    }
    .grimba-breaking__lede {
        grid-template-columns: auto minmax(0, 1fr);
        width: min(100%, 25rem);
        padding-right: 0.58rem;
    }
    .grimba-breaking__eyebrow {
        min-height: 26px;
        padding: 0 0.58rem;
        font-size: 0.64rem;
    }
    .grimba-breaking__headline {
        display: block;
        min-width: 0;
        overflow: hidden;
        font-size: 0.78rem;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .grimba-breaking__viewport {
        display: none;
    }
    .grimba-utility-bar {
        padding-left: 0.72rem !important;
        padding-right: 0.72rem !important;
    }
    .grimba-utility-bar__scroll {
        gap: 0.5rem;
    }
    .grimba-utility-bar__cluster,
    .grimba-header__tools {
        gap: 0.42rem !important;
    }
    .grimba-theme-switch,
    .grimba-theme-cycle,
    .grimba-lang-toggle {
        margin-left: 0;
    }
    .grimba-theme-cycle {
        width: 30px;
        min-width: 30px;
        min-height: 28px;
    }
    .grimba-lang-toggle {
        min-width: 44px;
        min-height: 28px;
        padding-inline: 5px;
    }
    .grimba-lang-toggle__current {
        min-width: 22px;
        min-height: 20px;
        font-size: 0.66rem;
    }
    .grimba-lang-toggle__next {
        max-width: 13px;
        font-size: 0.54rem;
    }
    .grimba-theme-switch button {
        min-width: 28px;
        padding: 0.12rem 0.38rem;
        font-size: 0.68rem;
    }
    .grimba-stat-pill:nth-child(n+2) {
        display: none;
    }
    .grimba-header-tool-link {
        min-height: 26px;
        padding: 0.16rem 0.46rem;
        font-size: 0.72rem;
    }
    body.show-admin-bar {
        margin-top: 40px !important;
    }
    #admin_bar {
        min-width: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    #admin_bar::-webkit-scrollbar {
        display: none;
    }
    #admin_bar .admin-bar-container {
        display: flex !important;
        align-items: center;
        gap: 18px;
        width: max-content !important;
        min-width: 100% !important;
        padding: 0 12px !important;
    }
    #admin_bar .admin-bar-logo {
        display: none !important;
    }
    #admin_bar .admin-navbar-nav,
    #admin_bar .admin-navbar-nav-right {
        display: inline-flex !important;
        align-items: center;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap;
    }
    #admin_bar .admin-navbar-nav > li {
        float: none !important;
        flex: 0 0 auto;
        margin: 0 0 0 14px !important;
    }
    #admin_bar .admin-navbar-nav > li:first-child {
        margin-left: 0 !important;
    }
    .grimba-header__main .container-xxl {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.75rem !important;
        padding: 0.72rem 0.9rem !important;
    }
    .grimba-wordmark {
        min-width: 0;
        max-width: 100%;
        gap: 0.24rem;
    }
    .grimba-wordmark__mark {
        font-size: 1.45rem;
    }
    .grimba-wordmark__tag {
        font-size: 1.22rem;
    }
    .grimba-search {
        justify-self: end;
        flex: 0 0 44px;
        width: 44px;
        max-width: 44px;
        height: 44px;
    }
    .grimba-search input {
        position: absolute;
        inset: 0;
        padding: 0;
        opacity: 0;
        pointer-events: none;
    }
    .grimba-search button {
        position: static;
        transform: none;
        width: 44px;
        height: 44px;
        min-width: 44px;
        max-width: 44px;
        border: 1px solid var(--gn-rule);
        border-radius: 9999px;
        background: rgba(255, 255, 255, 0.72);
        color: var(--gn-ink);
    }
    html.grimba-home-html[data-bs-theme="dark"] .grimba-search button {
        background: rgba(246, 241, 232, 0.09);
        border-color: rgba(246, 241, 232, 0.16);
        color: #fffaf0;
    }
    .grimba-header__actions {
        display: none !important;
    }
    .grimba-chips,
    .grimba-chips .container-xxl {
        overflow: hidden;
    }
    .grimba-chips__row {
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        contain: layout paint;
        gap: 0.4rem;
        padding: 0.45rem 2.2rem;
    }
    .grimba-chip {
        max-width: min(78vw, 18rem);
        padding: 0.34rem 0.78rem;
        font-size: 0.88rem;
    }
    .grimba-chip__label {
        white-space: nowrap;
    }
    .grimba-translation-note-wrap {
        margin-top: 0.35rem !important;
    }
    .grimba-translation-note {
        width: 100%;
        max-width: 100%;
        align-items: center;
        gap: 0.55rem;
        padding: 0.54rem 0.7rem;
        border-radius: 999px;
        font-size: 0.78rem;
        line-height: 1.25;
    }
    .grimba-translation-note .gn-nobuai-chip {
        max-width: 43%;
        overflow: hidden;
        gap: 5px !important;
        padding: 2px 7px !important;
        font-size: 10px !important;
        text-overflow: ellipsis;
    }
    .grimba-translation-note > span:not(.gn-nobuai-chip) {
        display: -webkit-box;
        overflow: hidden;
        line-height: 1.25;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
    }
    .grimba-foryou,
    .grimba-sources,
    .grimba-comparison-index,
    .blindspot-page,
    .grimba-owners,
    .grimba-methodology {
        padding-top: 0.95rem !important;
        padding-bottom: calc(7rem + env(safe-area-inset-bottom)) !important;
    }
    .grimba-foryou > .container > header.glass-panel,
    .grimba-sources > .container > header.glass-panel,
    .grimba-comparison-index > .container > header.glass-panel,
    .blindspot-page > .container > header.glass-panel,
    .grimba-owners > .container > header.glass-panel,
    .grimba-methodology__hero {
        padding: 0.98rem !important;
        margin-bottom: 0.85rem !important;
        border-radius: 22px;
    }
    .grimba-foryou .grimba-methodology__title,
    .grimba-sources .grimba-methodology__title,
    .grimba-comparison-index .grimba-methodology__title,
    .grimba-owners .grimba-methodology__title,
    .grimba-methodology .grimba-methodology__title,
    .blindspot-page h1 {
        font-size: clamp(1.56rem, 7vw, 1.92rem) !important;
        line-height: 1.08;
        letter-spacing: 0;
    }
    .grimba-foryou__lede,
    .grimba-sources__lede,
    .grimba-comparison-index__lede,
    .blindspot-page__lede,
    .grimba-owners__lede,
    .grimba-methodology__lede {
        font-size: 0.95rem !important;
        line-height: 1.42 !important;
        opacity: 1 !important;
    }
    .grimba-sources__controls {
        padding: 0.95rem !important;
        margin-bottom: 0.95rem !important;
        border-radius: 22px;
    }
    .grimba-sources__controls .row {
        --bs-gutter-y: 0.72rem;
    }
    .grimba-sources__controls label {
        margin-bottom: 0.34rem !important;
        font-size: 0.68rem;
        letter-spacing: 0;
    }
    .grimba-sources__controls .form-control,
    .grimba-sources__controls .form-select {
        min-height: 44px;
        border-radius: 16px;
        font-size: 0.95rem;
    }
    .grimba-sources__bias-filter,
    .grimba-sources__fact-filter,
    .grimba-comparison-index header [role="tablist"] {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.15rem;
    }
    .grimba-sources__bias-filter::-webkit-scrollbar,
    .grimba-sources__fact-filter::-webkit-scrollbar,
    .grimba-comparison-index header [role="tablist"]::-webkit-scrollbar {
        display: none;
    }
    .grimba-sources__bias-filter .btn-grimba,
    .grimba-sources__fact-filter .btn-grimba,
    .grimba-comparison-index header [role="tablist"] .btn-grimba {
        min-height: 36px;
        padding: 0.38rem 0.72rem;
    }
    .grimba-sources__controls > .d-flex {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0.72rem !important;
    }
    #grimba-sources-count {
        line-height: 1.35;
    }
    .grimba-owners header .small.opacity-65 {
        color: var(--gn-ink-muted);
        font-size: 0.9rem;
        line-height: 1.42;
        opacity: 1 !important;
    }
    .grimba-all-sides {
        padding-top: 1.35rem !important;
        padding-bottom: calc(5.25rem + env(safe-area-inset-bottom)) !important;
    }
    .grimba-all-sides > header {
        margin-bottom: 0.75rem !important;
    }
    .grimba-all-sides .grimba-methodology__title {
        font-size: clamp(1.35rem, 6.5vw, 1.75rem) !important;
        line-height: 1.1;
    }
    .grimba-all-sides__rail {
        grid-auto-columns: minmax(270px, 84vw) !important;
        gap: 0.75rem !important;
        padding-bottom: 0.3rem !important;
    }
    .grimba-sub-main > .container-xxl.py-4 {
        padding-top: 0.8rem !important;
    }
    body.grimba-home .grimba-sub-main > .container-xxl {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }
    body.grimba-home .grimba-article-shell .container {
        padding-left: 0;
        padding-right: 0;
    }
    body.grimba-home .grimba-article-shell .row {
        --bs-gutter-x: 0;
    }
    body.grimba-home .grimba-orphan-hero,
    body.grimba-home .grimba-story-hero,
    body.grimba-home .grimba-article-shell .echo-more-news-area,
    body.grimba-home .grimba-article-shell .fob-comment-form-section {
        border-radius: 8px;
    }
    body.grimba-home .grimba-article-shell .echo-more-news-area {
        padding: 1rem;
    }
    body.grimba-home .grimba-story-page {
        padding-top: 1.25rem !important;
        padding-right: 0.85rem;
        padding-left: 0.85rem;
    }
    body.grimba-home .grimba-story-page__header {
        border-radius: 22px;
    }
    body.grimba-home .grimba-story-page__title,
    body.grimba-home .grimba-story-page__title--orphan {
        font-size: clamp(1.6rem, 6.9vw, 1.82rem);
        line-height: 1.09;
    }
    body.grimba-home .grimba-story-page__meta {
        font-size: 0.82rem;
        gap: 0.35rem 0.5rem !important;
    }
    body.grimba-home .grimba-story-page__actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: stretch !important;
        gap: 0.5rem !important;
    }
    body.grimba-home .grimba-story-page__tablist {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
        width: 100%;
        min-height: 44px;
        overflow: visible;
    }
    body.grimba-home .grimba-story-page__tab {
        min-width: 0;
        min-height: 34px;
        padding-inline: 0.45rem;
        white-space: normal;
    }
    body.grimba-home .grimba-story-page__compare,
    body.grimba-home .grimba-story-page__actions .grimba-save-btn {
        justify-content: center;
        width: 100%;
        min-height: 44px;
        margin-left: 0;
        padding-inline: 0.75rem;
    }
    body.grimba-home .grimba-story-page__compare-label--full {
        display: none;
    }
    body.grimba-home .grimba-story-page__compare-label--short {
        display: inline;
    }
    body.grimba-home .grimba-article-shell .details-tag {
        align-items: flex-start;
        flex-direction: column;
    }
    body.grimba-home .grimba-article-shell .details-share {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start !important;
        gap: 0.55rem 0.65rem;
    }
    body.grimba-home .grimba-article-shell .details-share h6 {
        flex: 0 0 100%;
        margin: 0 0 0.1rem;
    }
    body.grimba-home .grimba-article-shell .details-share a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border: 1px solid rgba(26, 23, 19, 0.12);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.44);
    }
    .grimba-hero__text { left: 1rem; right: 1rem; bottom: 3.5rem; width: auto; padding: 12px; border-radius: 18px; }
    .grimba-hero__coverage { left: 1rem; right: 1rem; }
    .grimba-latest__thumb, .grimba-topnews__thumb { display: none; }
}

/* ------------------------------------------------------------
   14. Dark-mode coverage (S172)
   ------------------------------------------------------------
   Pages that escaped the original dark-mode pass: legacy single-
   post layout (echo-hero-section), category pages, /sources, /pour-
   vous, /local, /proprietaires, /account, member auth, story page
   article cards. The grimba paper / ink token swap (line 42-52)
   already handles MOST surfaces — these rules tighten the rest. */

html.grimba-home-html[data-bs-theme="dark"] body.grimba-subpage,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home {
    background: linear-gradient(180deg, #0c0a07 0%, #15120c 55%, #0c0a07 100%);
    color: var(--gn-ink);
}

/* Glass panels — re-tint for dark */
html.grimba-home-html[data-bs-theme="dark"] .glass-panel {
    background: rgba(28, 24, 17, 0.55);
    border: 1px solid rgba(246, 241, 232, 0.10);
    color: var(--gn-ink);
}

/* S351 — reading-time chip dark variant. Inline-styled bg
   rgba(26,23,19,0.06) is invisible on dark canvas. */
html.grimba-home-html[data-bs-theme="dark"] .grimba-reading-time {
    background: rgba(246, 241, 232, 0.08) !important;
    color: var(--gn-ink-muted) !important;
}

/* S320 — site-wide dark-mode contrast fix for headings and body text
   in our public surfaces. Bootstrap utility classes (h1-h6, .h1-.h6,
   .lead) and bare <h*> elements were inheriting the body ink color
   but rendering at very low opacity / wrong color in dark mode —
   visible on /sources group headers, /comprendre-le-barometre h2s,
   /faq section titles, /angles-morts h1, /a-propos sections, and the
   topic-page "Sources qui couvrent…" rail header. Scope to body.grimba-home
   (covers both grimba-home + grimba-subpage layouts) so admin views
   are unaffected. */
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home h1,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home h2,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home h3,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home h4,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home h5,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home h6,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .h1,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .h2,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .h3,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .h4,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .h5,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .h6 {
    color: var(--gn-ink) !important;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .lead {
    color: var(--gn-ink-muted);
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home strong,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home summary,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home details {
    color: var(--gn-ink);
}
/* Eyebrow / kicker label rule: muted in light, slightly more visible
   in dark so it doesn't disappear into the near-black background. */
.grimba-section-eyebrow {
    color: var(--gn-ink-soft);
    opacity: 0.85;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-section-eyebrow {
    color: var(--gn-ink-muted);
    opacity: 1;
}
/* Same fix for the methodology kicker, used on every explainer page
   (was opacity:0.6 inline). */
html.grimba-home-html[data-bs-theme="dark"] .grimba-methodology__kicker {
    opacity: 0.95;
    color: var(--gn-ink-muted);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-all-sides,
html.grimba-home-html[data-bs-theme="dark"] .grimba-all-sides .grimba-methodology__title,
html.grimba-home-html[data-bs-theme="dark"] .grimba-all-sides__card,
html.grimba-home-html[data-bs-theme="dark"] .grimba-all-sides__headline {
    color: #fffaf0 !important;
    -webkit-text-fill-color: #fffaf0 !important;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-all-sides .opacity-65,
html.grimba-home-html[data-bs-theme="dark"] .grimba-all-sides__card .opacity-65,
html.grimba-home-html[data-bs-theme="dark"] .grimba-all-sides__count,
html.grimba-home-html[data-bs-theme="dark"] .grimba-all-sides__source-count {
    color: rgba(255, 250, 240, 0.74) !important;
    opacity: 1 !important;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-all-sides__card {
    background: rgba(246, 241, 232, 0.075) !important;
    border-color: rgba(246, 241, 232, 0.14) !important;
    color: #fffaf0 !important;
    box-shadow: inset 0 0 0 1px rgba(246, 241, 232, 0.02);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-all-sides__card:hover,
html.grimba-home-html[data-bs-theme="dark"] .grimba-all-sides__card:focus-visible {
    background: rgba(246, 241, 232, 0.11) !important;
    border-color: rgba(246, 241, 232, 0.26) !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-coffre__lede,
html.grimba-home-html[data-bs-theme="dark"] .grimba-coffre__empty-copy {
    color: rgba(255, 250, 240, 0.78) !important;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-coffre__empty-icon {
    color: rgba(255, 250, 240, 0.58) !important;
}

/* Compare modal panel + onboard modal panel: they're position:fixed
   above the body so they don't inherit the body.grimba-home rule. */
html.grimba-home-html[data-bs-theme="dark"] .grimba-newsletter-modal__panel h1,
html.grimba-home-html[data-bs-theme="dark"] .grimba-newsletter-modal__panel h2,
html.grimba-home-html[data-bs-theme="dark"] .grimba-newsletter-modal__panel h3,
html.grimba-home-html[data-bs-theme="dark"] .grimba-newsletter-modal__panel .h2,
html.grimba-home-html[data-bs-theme="dark"] .grimba-newsletter-modal__panel .h4 {
    color: var(--gn-ink) !important;
}

/* Botble / Echo legacy hardcoded bg-white surfaces */
html.grimba-home-html[data-bs-theme="dark"] .echo-hero-section,
html.grimba-home-html[data-bs-theme="dark"] .echo-feature-area,
html.grimba-home-html[data-bs-theme="dark"] .blog-post-details-content,
html.grimba-home-html[data-bs-theme="dark"] .bg-white,
html.grimba-home-html[data-bs-theme="dark"] .bg-body-tertiary,
html.grimba-home-html[data-bs-theme="dark"] .bg-light {
    background-color: transparent !important;
    color: var(--gn-ink);
}

/* Article card surface (story-page cluster list) */
html.grimba-home-html[data-bs-theme="dark"] .grimba-story-article {
    background:
        linear-gradient(135deg, rgba(255, 250, 240, 0.055), rgba(255, 250, 240, 0.018)),
        rgba(28, 24, 17, 0.55) !important;
    border-color: rgba(246, 241, 232, 0.10) !important;
    border-left-color: var(--story-side-color) !important;
    color: #fffaf0;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-story-article--current {
    background:
        linear-gradient(135deg, rgba(255, 250, 240, 0.065), rgba(255, 250, 240, 0.025)),
        rgba(28, 24, 17, 0.78) !important;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-story-article a {
    color: var(--gn-ink) !important;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-jump__label,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-sort__label,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-article__time {
    color: rgba(255, 250, 240, 0.66);
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-jump__chip {
    border-color: color-mix(in srgb, var(--story-jump-color) 42%, rgba(255, 250, 240, 0.14));
    background: rgba(255, 250, 240, 0.055);
    color: #fffaf0 !important;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-jump__chip:hover,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-jump__chip:focus-visible {
    background: rgba(255, 250, 240, 0.095);
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-compare-toggle__control {
    border-color: color-mix(in srgb, var(--story-side-color) 58%, rgba(255, 250, 240, 0.18));
    background: rgba(255, 250, 240, 0.08);
    box-shadow: inset 0 0 0 2px rgba(18, 16, 7, 0.34);
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-article__source-name,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-article__headline,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-article__headline-link,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-article__excerpt {
    color: #fffaf0 !important;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-article__source-country {
    background: rgba(246, 241, 232, 0.08);
    border-color: rgba(246, 241, 232, 0.14);
    color: rgba(255, 250, 240, 0.78);
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-article__category {
    border-color: rgba(255, 250, 240, 0.14);
    background: rgba(255, 250, 240, 0.08);
    color: #fffaf0 !important;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-article__current {
    background: #fffaf0;
    color: #15130f;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-article__read {
    color: #ffafa4 !important;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-page__title,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-page__meta .grimba-methodology__kicker {
    color: #fffaf0 !important;
    -webkit-text-fill-color: #fffaf0 !important;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-page__meta {
    color: rgba(255, 250, 240, 0.74) !important;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-page__tablist {
    border-color: rgba(255, 250, 240, 0.14);
    background:
        linear-gradient(135deg, rgba(255, 250, 240, 0.08), rgba(70, 61, 42, 0.1)),
        rgba(255, 250, 240, 0.07);
    box-shadow:
        inset 0 0 0 1px rgba(255, 250, 240, 0.06),
        0 18px 38px rgba(0, 0, 0, 0.26);
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-page__tab,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-page__compare {
    border-color: rgba(255, 250, 240, 0.13);
    background: rgba(255, 250, 240, 0.07);
    color: #fffaf0;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-page__tab:hover,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-page__tab:focus-visible,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-page__compare:hover,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-page__compare:focus-visible {
    border-color: rgba(255, 250, 240, 0.28);
    background: rgba(255, 250, 240, 0.12);
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-page__tab[aria-selected="true"] {
    background: #fffaf0;
    border-color: #fffaf0;
    color: #15130f;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-page__compare {
    background: rgba(246, 241, 232, 0.08);
    border-color: rgba(246, 241, 232, 0.18);
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-articles__tabs {
    border-color: rgba(255, 250, 240, 0.14);
    background:
        linear-gradient(135deg, rgba(255, 250, 240, 0.08), rgba(70, 61, 42, 0.1)),
        rgba(255, 250, 240, 0.07);
    box-shadow:
        inset 0 0 0 1px rgba(255, 250, 240, 0.06),
        0 18px 38px rgba(0, 0, 0, 0.26);
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-articles__tab {
    border-color: rgba(255, 250, 240, 0.13);
    background: rgba(255, 250, 240, 0.07);
    color: #fffaf0;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-articles__tab:hover,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-articles__tab:focus-visible {
    border-color: rgba(255, 250, 240, 0.28);
    background: rgba(255, 250, 240, 0.12);
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-story-articles__tab[aria-selected="true"] {
    background: #fffaf0;
    border-color: #fffaf0;
    color: #15130f;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-comparison-card__read {
    border-color: rgba(255, 250, 240, 0.14);
    background: rgba(255, 250, 240, 0.08);
    color: #fffaf0;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-comparison-card__read:hover,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-comparison-card__read:focus-visible {
    background: #fffaf0;
    color: #15130f;
}

/* Story-page provenance matrix */
.grimba-source-drilldown {
    position: relative;
    overflow: hidden;
    border-color: rgba(26, 23, 19, 0.08);
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.68), rgba(246, 241, 232, 0.46)),
        rgba(255, 255, 255, 0.58);
}
.grimba-source-drilldown::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(26, 23, 19, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 23, 19, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 72%);
}
.grimba-source-drilldown > * {
    position: relative;
    z-index: 1;
}
.grimba-source-drilldown__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.grimba-source-drilldown__title {
    margin: 0.42rem 0 0.2rem;
    color: var(--gn-ink);
    font-family: var(--gn-font-display);
    font-size: clamp(1.28rem, 2vw, 1.65rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
}
.grimba-source-drilldown__lede {
    max-width: 58rem;
    margin: 0;
    color: var(--gn-ink-muted);
    font-size: 0.93rem;
    line-height: 1.52;
}
.grimba-source-drilldown__signals {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
    margin-bottom: 0.75rem;
}
.grimba-source-drilldown__signal {
    min-width: 0;
    padding: 0.72rem 0.78rem;
    border: 1px solid rgba(26, 23, 19, 0.09);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.grimba-source-drilldown__signal span,
.grimba-source-drilldown__country-origin,
.grimba-source-drilldown__country-count {
    display: block;
    color: var(--gn-ink-soft);
    font-family: var(--gn-font-mono);
    font-size: 0.68rem;
    font-weight: 850;
    line-height: 1.15;
    text-transform: uppercase;
}
.grimba-source-drilldown__signal strong {
    display: block;
    margin-top: 0.25rem;
    overflow: hidden;
    color: var(--gn-ink);
    font-size: 0.98rem;
    font-weight: 850;
    line-height: 1.14;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.grimba-source-drilldown__countries {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.62rem;
    margin-bottom: 0.82rem;
}
.grimba-source-drilldown__country {
    min-width: 0;
    padding: 0.82rem;
    border: 1px solid color-mix(in srgb, var(--origin-color) 20%, rgba(26, 23, 19, 0.1));
    border-radius: 16px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--origin-color) 10%, transparent), transparent 60%),
        rgba(255, 255, 255, 0.48);
}
.grimba-source-drilldown__country strong {
    display: block;
    margin-top: 0.2rem;
    color: var(--gn-ink);
    font-family: var(--gn-font-display);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: 0;
}
.grimba-source-drilldown__country-count {
    margin-top: 0.48rem;
}
.grimba-source-drilldown__country-bar {
    display: flex;
    overflow: hidden;
    height: 7px;
    margin-top: 0.55rem;
    border-radius: 999px;
    background: rgba(26, 23, 19, 0.12);
}
.grimba-source-drilldown__country-bar span {
    flex: 0 0 var(--bar-size);
    min-width: 7px;
    background: var(--bar-color);
}
.grimba-source-drilldown__country small {
    display: block;
    margin-top: 0.45rem;
    color: var(--gn-ink-muted);
    font-size: 0.78rem;
    font-weight: 720;
    line-height: 1.25;
}
.grimba-source-drilldown__bias-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
    margin-bottom: 0.82rem;
}
.grimba-source-drilldown__bias-strip span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.28rem 0.7rem;
    border: 1px solid color-mix(in srgb, var(--bias-color) 38%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--bias-color) 8%, rgba(255, 255, 255, 0.48));
    color: var(--gn-ink);
    font-size: 0.82rem;
    font-weight: 780;
    line-height: 1.15;
}
.grimba-source-drilldown__grid {
    display: grid;
    gap: 0.65rem;
}
.grimba-source-drilldown__row {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0.78rem;
    min-width: 0;
    padding: 0.85rem;
    border: 1px solid rgba(26, 23, 19, 0.1);
    border-left: 4px solid var(--source-bias-color);
    border-radius: 16px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--source-bias-color) 8%, transparent), transparent 52%),
        rgba(255, 255, 255, 0.58);
}
.grimba-source-drilldown__axis {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.grimba-source-drilldown__axis span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid color-mix(in srgb, var(--source-bias-color) 44%, transparent);
    border-radius: 50%;
    background: color-mix(in srgb, var(--source-bias-color) 12%, rgba(255, 255, 255, 0.65));
    color: var(--source-bias-color);
    font-family: var(--gn-font-mono);
    font-size: 0.78rem;
    font-weight: 900;
}
.grimba-source-drilldown__body {
    min-width: 0;
}
.grimba-source-drilldown__row-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    margin-bottom: 0.32rem;
}
.grimba-source-drilldown__row-top strong {
    min-width: 0;
    overflow: hidden;
    color: var(--gn-ink);
    font-size: 0.94rem;
    font-weight: 850;
    line-height: 1.18;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.grimba-source-drilldown__bias {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    flex: 0 0 auto;
    color: var(--source-bias-color);
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1.12;
    text-transform: uppercase;
}
.grimba-source-drilldown__bias span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--source-bias-color);
}
.grimba-source-drilldown__body h3 {
    margin: 0 0 0.36rem;
    color: var(--gn-ink);
    font-family: var(--gn-font-display);
    font-size: 1.04rem;
    font-weight: 760;
    line-height: 1.18;
    letter-spacing: 0;
}
.grimba-source-drilldown__body p {
    margin: 0 0 0.58rem;
    color: var(--gn-ink-muted);
    font-size: 0.9rem;
    line-height: 1.48;
}
.grimba-source-drilldown__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem 0.7rem;
    color: var(--gn-ink-soft);
    font-size: 0.78rem;
    line-height: 1.25;
}
.grimba-source-drilldown__origin {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
}
.grimba-source-drilldown__origin::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--origin-color);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--origin-color) 13%, transparent);
}
.grimba-source-drilldown__meta a {
    color: var(--gn-accent);
    font-weight: 820;
    text-decoration: none;
}
.grimba-source-drilldown__meta a:hover,
.grimba-source-drilldown__meta a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.18em;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-source-drilldown {
    background:
        linear-gradient(120deg, rgba(255, 250, 240, 0.06), rgba(55, 44, 26, 0.16)),
        rgba(28, 24, 17, 0.64);
    border-color: rgba(246, 241, 232, 0.12);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-source-drilldown::before {
    background:
        linear-gradient(rgba(255, 250, 240, 0.042) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 250, 240, 0.042) 1px, transparent 1px);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-source-drilldown__signal,
html.grimba-home-html[data-bs-theme="dark"] .grimba-source-drilldown__country,
html.grimba-home-html[data-bs-theme="dark"] .grimba-source-drilldown__row {
    background:
        linear-gradient(135deg, rgba(255, 250, 240, 0.052), rgba(255, 250, 240, 0.018)),
        rgba(20, 18, 13, 0.56);
    border-color: rgba(246, 241, 232, 0.13);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-source-drilldown__row {
    border-left-color: var(--source-bias-color);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-source-drilldown__axis span {
    background: color-mix(in srgb, var(--source-bias-color) 16%, rgba(255, 250, 240, 0.06));
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-source-drilldown__bias-strip span {
    background: color-mix(in srgb, var(--bias-color) 14%, rgba(255, 250, 240, 0.06));
    color: #fffaf0;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-source-drilldown__country-bar {
    background: rgba(255, 250, 240, 0.12);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-source-drilldown__signal strong,
html.grimba-home-html[data-bs-theme="dark"] .grimba-source-drilldown__country strong,
html.grimba-home-html[data-bs-theme="dark"] .grimba-source-drilldown__row-top strong,
html.grimba-home-html[data-bs-theme="dark"] .grimba-source-drilldown__body h3 {
    color: #fffaf0;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-source-drilldown__lede,
html.grimba-home-html[data-bs-theme="dark"] .grimba-source-drilldown__body p,
html.grimba-home-html[data-bs-theme="dark"] .grimba-source-drilldown__country small,
html.grimba-home-html[data-bs-theme="dark"] .grimba-source-drilldown__meta {
    color: rgba(255, 250, 240, 0.72);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-source-drilldown__signal span,
html.grimba-home-html[data-bs-theme="dark"] .grimba-source-drilldown__country-origin,
html.grimba-home-html[data-bs-theme="dark"] .grimba-source-drilldown__country-count {
    color: rgba(255, 250, 240, 0.58);
}
@media (max-width: 991.98px) {
    .grimba-source-drilldown__signals {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 575.98px) {
    .grimba-source-drilldown__header {
        display: grid;
    }
    .grimba-source-drilldown__header .btn-grimba {
        justify-content: center;
        width: 100%;
    }
    .grimba-source-drilldown__signals,
    .grimba-source-drilldown__countries {
        grid-template-columns: 1fr;
    }
    .grimba-source-drilldown__row {
        grid-template-columns: 1fr;
        gap: 0.58rem;
    }
    .grimba-source-drilldown__axis {
        justify-content: flex-start;
    }
    .grimba-source-drilldown__row-top {
        align-items: flex-start;
        flex-direction: column;
    }
    .grimba-source-drilldown__row-top strong {
        max-width: 100%;
        white-space: normal;
    }
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-story-distribution,
html.grimba-home-html[data-bs-theme="dark"] .grimba-story-timeline {
    color: #fffaf0;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-story-distribution .opacity-75,
html.grimba-home-html[data-bs-theme="dark"] .grimba-story-timeline .opacity-75 {
    color: #fffaf0 !important;
    opacity: 0.82 !important;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-story-timeline strong {
    color: #fffaf0;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-story-timeline div[aria-hidden="true"] {
    background: rgba(255, 250, 240, 0.16) !important;
}

/* Inputs (search, forms, picker) */
.grimba-form-pill {
    width: 100%;
    min-height: 44px;
    padding: 11px 14px;
    border-radius: 9999px;
    border: 1px solid rgba(26, 23, 19, 0.18);
    background: rgba(255, 255, 255, 0.70);
    color: var(--gn-ink);
    font-size: 15px;
}
.grimba-form-pill::placeholder {
    color: var(--gn-ink-soft);
}
.grimba-auth-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
}
.grimba-auth__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gn-ink);
    text-decoration: none;
}
.grimba-auth__wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 0.08em;
    color: var(--gn-ink);
    font-family: var(--gn-font-display);
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}
.grimba-auth__wordmark span:last-child {
    color: var(--gn-accent);
}
.grimba-auth-label__required {
    color: var(--gn-accent);
}
.grimba-auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.grimba-auth-link-muted {
    color: var(--gn-ink);
    opacity: 0.76;
}
.grimba-auth-link-accent {
    color: var(--gn-accent);
    font-weight: 600;
}
.grimba-auth__switch {
    color: var(--gn-ink-muted);
    line-height: 1.35;
}
.grimba-auth__switch a {
    font-weight: 800;
}
.btn-grimba--block {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    font-size: 14px;
}
.grimba-local__field {
    flex: 1 1 200px;
}
.grimba-local__title {
    font-size: clamp(26px, 3.4vw, 42px);
    letter-spacing: 0;
}
.grimba-local__lede {
    max-width: 60ch;
    font-size: 16px;
    line-height: 1.5;
}
.grimba-local__submit {
    padding: 10px 22px;
    border-radius: 9999px;
    font-family: 'Public Sans', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
}
.grimba-local__field--country {
    flex: 0 0 110px;
}
.grimba-local__input--country {
    text-transform: uppercase;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-form-pill {
    background: rgba(246, 241, 232, 0.08) !important;
    border-color: rgba(246, 241, 232, 0.20) !important;
    color: #fffaf0 !important;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-form-pill::placeholder {
    color: var(--gn-ink-soft) !important;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-auth-link-muted {
    color: #fffaf0 !important;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-auth__wordmark {
    color: #fffaf0;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-auth__wordmark span:last-child {
    color: #ef5546;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-auth__switch {
    color: rgba(255, 250, 240, 0.78);
}
@media (max-width: 575px) {
    .grimba-auth {
        padding-top: 1.1rem !important;
        padding-bottom: calc(7rem + env(safe-area-inset-bottom)) !important;
    }
    .grimba-auth header.text-center {
        margin-bottom: 1rem !important;
    }
    .grimba-auth .glass-panel {
        padding: 1.25rem !important;
        border-radius: 22px;
    }
    .grimba-auth__lede {
        margin-bottom: 1rem !important;
    }
    .grimba-auth .grimba-form-pill.mb-3 {
        margin-bottom: 0.65rem !important;
    }
    .grimba-auth form > .d-flex.mb-4 {
        margin-bottom: 1rem !important;
    }
    .grimba-auth__switch {
        margin-top: 0.65rem !important;
        font-size: 0.82rem;
        line-height: 1.25;
    }
    .grimba-auth-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .grimba-local__field,
    .grimba-local__field--country {
        flex-basis: 100%;
    }
    .grimba-local {
        padding-top: 1rem !important;
        padding-bottom: calc(7rem + env(safe-area-inset-bottom)) !important;
    }
    .grimba-local__panel {
        padding: 1.1rem !important;
        border-radius: 22px;
    }
    .grimba-local__title {
        font-size: clamp(1.58rem, 7.2vw, 2rem) !important;
        line-height: 1.08;
    }
    .grimba-local__lede {
        opacity: 1 !important;
        font-size: 0.95rem !important;
        line-height: 1.45 !important;
    }
    .grimba-local__form {
        gap: 0.6rem !important;
    }
    .grimba-local__form .grimba-form-pill {
        min-height: 46px;
        padding: 0.55rem 1rem;
        border-radius: 18px !important;
        font-size: 1rem;
    }
    .grimba-local__submit {
        justify-content: center;
        min-height: 44px;
        width: 100%;
    }
    .grimba-coffre {
        padding-top: 1rem !important;
        padding-bottom: calc(7rem + env(safe-area-inset-bottom)) !important;
    }
    .grimba-coffre .glass-panel {
        padding: 1.1rem !important;
        border-radius: 22px;
    }
    .grimba-coffre .grimba-methodology__title {
        font-size: clamp(1.44rem, 6.2vw, 1.72rem) !important;
        line-height: 1.09;
    }
    .grimba-coffre__lede,
    .grimba-coffre__empty-copy {
        opacity: 1 !important;
    }
    .grimba-coffre__lede {
        font-size: 1rem;
        line-height: 1.5;
    }
    .grimba-coffre .glass-panel.text-center {
        margin-bottom: 1.25rem;
    }
    .grimba-coffre__empty-icon {
        margin-bottom: 0.55rem;
        font-size: 40px;
    }
    .grimba-coffre__empty-copy {
        font-size: 1rem;
        line-height: 1.42;
    }
    .grimba-coffre .glass-panel.text-center .btn-grimba {
        justify-content: center;
        width: 100%;
    }
}
html.grimba-home-html[data-bs-theme="dark"] input[type="text"],
html.grimba-home-html[data-bs-theme="dark"] input[type="email"],
html.grimba-home-html[data-bs-theme="dark"] input[type="password"],
html.grimba-home-html[data-bs-theme="dark"] input[type="search"],
html.grimba-home-html[data-bs-theme="dark"] input[type="url"],
html.grimba-home-html[data-bs-theme="dark"] input[type="date"],
html.grimba-home-html[data-bs-theme="dark"] input[type="datetime-local"],
html.grimba-home-html[data-bs-theme="dark"] input[type="number"],
html.grimba-home-html[data-bs-theme="dark"] input[type="tel"],
html.grimba-home-html[data-bs-theme="dark"] textarea,
html.grimba-home-html[data-bs-theme="dark"] select,
html.grimba-home-html[data-bs-theme="dark"] .form-control,
html.grimba-home-html[data-bs-theme="dark"] .form-select {
    background: rgba(255, 255, 255, 0.06) !important;
    color: var(--gn-ink) !important;
    border-color: rgba(246, 241, 232, 0.18) !important;
}
html.grimba-home-html[data-bs-theme="dark"] input::placeholder,
html.grimba-home-html[data-bs-theme="dark"] textarea::placeholder {
    color: var(--gn-ink-soft) !important;
}
html.grimba-home-html[data-bs-theme="dark"] input.grimba-form-pill {
    background: rgba(246, 241, 232, 0.08) !important;
    border-color: rgba(246, 241, 232, 0.20) !important;
    color: #fffaf0 !important;
}
html.grimba-home-html[data-bs-theme="dark"] input.grimba-form-pill::placeholder {
    color: var(--gn-ink-soft) !important;
}
/* Native date-picker calendar icon: invert so it's visible against
   our dark input background. Webkit-only; Firefox/Safari fall back
   gracefully to the default rendering. */
html.grimba-home-html[data-bs-theme="dark"] input[type="date"]::-webkit-calendar-picker-indicator,
html.grimba-home-html[data-bs-theme="dark"] input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(1) opacity(0.75);
}

/* Buttons + links inside content */
html.grimba-home-html[data-bs-theme="dark"] .article-card,
html.grimba-home-html[data-bs-theme="dark"] .article-card__title a {
    color: var(--gn-ink);
}
/* S322 — article-card was rendering with rgba(255,255,255,0.7) and a
   black border in dark mode, popping as a bright cream rectangle on
   the near-black canvas. Re-tint to glass-panel-dark style. */
html.grimba-home-html[data-bs-theme="dark"] .article-card {
    background: rgba(28, 24, 17, 0.55);
    border-color: rgba(246, 241, 232, 0.10);
}
html.grimba-home-html[data-bs-theme="dark"] .article-card__content {
    color: var(--gn-ink);
}
html.grimba-home-html[data-bs-theme="dark"] .article-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42);
}
html.grimba-home-html[data-bs-theme="dark"] .echo-hero-discription,
html.grimba-home-html[data-bs-theme="dark"] .blog-post-details-content p,
html.grimba-home-html[data-bs-theme="dark"] .blog-post-details-content h2,
html.grimba-home-html[data-bs-theme="dark"] .blog-post-details-content h3,
html.grimba-home-html[data-bs-theme="dark"] .blog-post-details-content h4 {
    color: var(--gn-ink) !important;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-article-shell .echo-more-news-area {
    background: rgba(28, 24, 17, 0.55);
    border-color: rgba(246, 241, 232, 0.10);
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-article-shell .echo-more-news-area .echo-top-story {
    background: rgba(246, 241, 232, 0.07);
    border-color: rgba(246, 241, 232, 0.14);
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-article-shell .echo-story-text a,
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-article-shell .echo-story-text h6 a {
    color: var(--gn-ink) !important;
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-article-shell .details-share a {
    background: rgba(246, 241, 232, 0.08);
    border-color: rgba(246, 241, 232, 0.16);
    color: #fffaf0;
}

/* Insights / NobuAI block — dark variant of the gradient pill */
html.grimba-home-html[data-bs-theme="dark"] .grimba-insights .grimba-insights__summary span:first-child {
    background: linear-gradient(135deg, #f6f1e8, #c9bea5) !important;
    color: #1a1713 !important;
}

/* Subscriber full-text reader — explicit, readable, and not hidden in a disclosure. */
.grimba-full-article {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 23, 19, 0.08);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(246, 241, 232, 0.56)),
        rgba(255, 255, 255, 0.62);
}
.grimba-full-article--reader {
    scroll-margin-top: 110px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.18),
        0 20px 52px rgba(26, 23, 19, 0.075);
}
.grimba-full-article::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1rem;
    right: 1rem;
    height: 3px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(192, 57, 43, 0.52), rgba(59, 130, 246, 0.42), transparent);
}
.grimba-full-article > * {
    position: relative;
    z-index: 1;
}
.grimba-full-article__header,
.grimba-full-article__lock {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.grimba-full-article__title {
    margin: 0.55rem 0 0;
    color: var(--gn-ink);
    font-family: var(--gn-font-display);
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0;
}
.grimba-full-article__count {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--gn-rule);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.54);
    color: var(--gn-ink-muted);
    font-family: var(--gn-font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
.grimba-full-article__copy {
    max-width: 620px;
    margin: 0.5rem 0 0;
    color: var(--gn-ink-muted);
    line-height: 1.55;
}
.grimba-full-article__body {
    max-width: 72ch;
    margin-inline: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(26, 23, 19, 0.08);
    color: var(--gn-ink);
    font-family: var(--gn-font-body);
    font-size: clamp(1.02rem, 1.2vw, 1.12rem);
    line-height: 1.78;
}
.grimba-full-article__body p,
.grimba-full-article__body li {
    margin-bottom: 1.05rem;
    color: var(--gn-ink);
}
.grimba-full-article__body h2,
.grimba-full-article__body h3 {
    margin: 1.75rem 0 0.75rem;
    color: var(--gn-ink);
    font-family: var(--gn-font-display);
    letter-spacing: 0;
}
.grimba-full-article__source {
    max-width: 72ch;
    margin: 1rem auto 0;
    color: var(--gn-ink-soft);
    font-family: var(--gn-font-body);
    font-size: 0.88rem;
}
.grimba-full-article__source a {
    color: var(--gn-accent);
    font-weight: 800;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-full-article {
    background:
        linear-gradient(135deg, rgba(255, 250, 240, 0.065), rgba(255, 250, 240, 0.018)),
        rgba(28, 24, 17, 0.78);
    border-color: rgba(246, 241, 232, 0.14);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-full-article--reader {
    box-shadow:
        inset 0 0 0 1px rgba(246, 241, 232, 0.04),
        0 20px 52px rgba(0, 0, 0, 0.38);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-full-article::before {
    background: linear-gradient(90deg, transparent, rgba(255, 155, 145, 0.58), rgba(91, 145, 255, 0.44), transparent);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-full-article__body {
    border-top-color: rgba(246, 241, 232, 0.12);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-full-article__count {
    background: rgba(246, 241, 232, 0.08);
    border-color: rgba(246, 241, 232, 0.16);
    color: var(--gn-ink-muted);
}
@media (max-width: 575px) {
    .grimba-full-article__header,
    .grimba-full-article__lock {
        flex-direction: column;
    }
    .grimba-full-article__lock .btn-grimba {
        width: 100%;
        justify-content: center;
    }
}

/* Footer (already dark by design — make sure overlap with body OK) */
html.grimba-home-html[data-bs-theme="dark"] .grimba-footer {
    background: #060503;
}

/* Newsletter modal + cookie banner — dark surface */
html.grimba-home-html[data-bs-theme="dark"] .gn-newsletter-modal,
html.grimba-home-html[data-bs-theme="dark"] .grimba-cookie-consent {
    background: #1c1811 !important;
    color: var(--gn-ink) !important;
    border-color: rgba(246, 241, 232, 0.12) !important;
}

body.grimba-home .site-notice.js-site-notice,
body.grimba-subpage .site-notice.js-site-notice {
    display: none !important;
}

/* Bias-mix bars — keep colour vivid; just ensure label text reads */
html.grimba-home-html[data-bs-theme="dark"] .grimba-bias-profile {
    background: rgba(28, 24, 17, 0.66);
    border-color: rgba(246, 241, 232, 0.14);
    color: #fffaf0;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-bias-profile h4 {
    color: #fffaf0;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-bias-profile .opacity-75 {
    color: rgba(255, 250, 240, 0.82) !important;
    opacity: 1 !important;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-bias-profile a:not(.btn-grimba) {
    color: #fffaf0;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-foryou__lede,
html.grimba-home-html[data-bs-theme="dark"] .grimba-sources__lede,
html.grimba-home-html[data-bs-theme="dark"] .grimba-comparison-index__lede,
html.grimba-home-html[data-bs-theme="dark"] .blindspot-page__lede,
html.grimba-home-html[data-bs-theme="dark"] .grimba-owners__lede,
html.grimba-home-html[data-bs-theme="dark"] .grimba-auth__lede {
    color: rgba(255, 250, 240, 0.80);
}
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-sources__lede a:not([class*="btn-grimba"]),
html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-comparison-index__lede a:not([class*="btn-grimba"]) {
    color: #fffaf0;
    text-decoration-color: rgba(255, 250, 240, 0.48);
}

/* S185-S188 — vault polish, mobile nav, and a11y focus states */
.grimba-save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(26, 23, 19, 0.16);
    background: rgba(255, 255, 255, 0.62);
    color: var(--gn-ink);
    cursor: pointer;
    line-height: 1;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.grimba-save-btn:hover {
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(26, 23, 19, 0.28);
}
.grimba-save-btn[aria-pressed="true"] {
    background: var(--gn-ink);
    border-color: var(--gn-ink);
    color: var(--gn-paper);
}
.grimba-save-btn--pill {
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    font-family: 'Public Sans', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
}
.grimba-save-btn--icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 15px;
}
.grimba-save-btn__icon {
    font-size: 14px;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-save-btn {
    background: rgba(246, 241, 232, 0.09) !important;
    border-color: rgba(246, 241, 232, 0.18) !important;
    color: #fffaf0 !important;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-save-btn:hover {
    background: rgba(246, 241, 232, 0.14) !important;
    border-color: rgba(246, 241, 232, 0.30) !important;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-save-btn[aria-pressed="true"] {
    background: #fffaf0 !important;
    border-color: #fffaf0 !important;
    color: #15130f !important;
}
.grimba-vault-fab {
    position: fixed;
    right: 18px;
    bottom: 86px;
    z-index: 1040;
    display: none;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    max-width: min(70vw, 190px);
    padding: 10px 13px;
    border-radius: 999px;
    background: var(--gn-ink);
    color: var(--gn-paper) !important;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 46px rgba(26, 23, 19, 0.22);
    text-decoration: none;
    font-family: var(--gn-font-body);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    overflow: hidden;
}
.grimba-vault-fab > span:not([aria-hidden]) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.grimba-vault-fab strong {
    flex: 0 0 auto;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gn-paper);
    color: var(--gn-ink);
    font-size: 12px;
}
.grimba-mobile-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 1046;
    display: none;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    min-height: 72px;
    max-width: 520px;
    margin: 0 auto;
    padding: 7px 8px;
    border-radius: 24px;
    background: rgba(255, 250, 240, 0.96);
    border: 1px solid rgba(26, 23, 19, 0.10);
    box-shadow: 0 18px 60px rgba(26, 23, 19, 0.16);
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    contain: paint;
    isolation: isolate;
    overflow: hidden;
}
.grimba-mobile-nav::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 22px;
    right: 22px;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.46), rgba(168, 168, 168, 0.32), rgba(232, 76, 61, 0.46), transparent);
    pointer-events: none;
}
.grimba-mobile-nav__item {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    min-height: 56px;
    padding: 5px 2px;
    border-radius: 17px;
    color: var(--gn-ink-soft);
    text-decoration: none;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.1;
    overflow: hidden;
}
.grimba-mobile-nav__icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.15s ease, color 0.15s ease;
}
.grimba-mobile-nav__icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}
.grimba-mobile-nav__item > span:last-child {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.grimba-mobile-nav__item.is-active {
    background: #17140f;
    color: #fffaf0;
    box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.09), 0 8px 20px rgba(26, 23, 19, 0.13);
}
.grimba-mobile-nav__item.is-active .grimba-mobile-nav__icon {
    background: rgba(255, 250, 240, 0.10);
    color: #fffaf0;
}
.grimba-coffre-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.grimba-coffre-card > *:first-child {
    flex: 1;
}
.grimba-account-alert {
    border: 1px solid rgba(26, 23, 19, 0.12);
    border-radius: 8px;
    background: rgba(26, 23, 19, 0.05);
    color: var(--gn-ink);
    font-weight: 700;
    padding: 12px 14px;
}
.grimba-search-alert {
    border: 1px solid rgba(26, 23, 19, 0.12);
    border-radius: 8px;
    background: rgba(26, 23, 19, 0.05);
    color: var(--gn-ink);
    font-weight: 700;
    padding: 12px 14px;
}
.grimba-search-page__form .form-control,
.grimba-search-page__form .form-select {
    min-width: 0;
}
.grimba-search-page__actions {
    min-width: 0;
}
.grimba-search-page__query {
    color: var(--gn-ink-muted);
}
.grimba-search-page .pagination,
.grimba-foryou .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    max-width: 100%;
    padding-left: 0;
    margin: 1.35rem 0 0;
    list-style: none;
}
.grimba-search-page .pagination .page-item,
.grimba-foryou .pagination .page-item {
    flex: 0 0 auto;
    margin: 0;
    min-width: 0;
}
.grimba-search-page .pagination .page-link,
.grimba-foryou .pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.35rem;
    min-height: 2.35rem;
    border: 1px solid rgba(26, 23, 19, 0.12);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--gn-ink);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.45rem 0.78rem;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(26, 23, 19, 0.06);
}
.grimba-search-page .pagination .page-link:hover,
.grimba-foryou .pagination .page-link:hover {
    border-color: rgba(26, 23, 19, 0.28);
    background: rgba(255, 255, 255, 0.95);
    color: var(--gn-ink);
}
.grimba-search-page .pagination .active .page-link,
.grimba-foryou .pagination .active .page-link {
    border-color: var(--gn-ink);
    background: var(--gn-ink);
    color: var(--gn-paper);
}
.grimba-search-page .pagination .disabled .page-link,
.grimba-search-page .pagination .page-link[aria-disabled="true"],
.grimba-foryou .pagination .disabled .page-link,
.grimba-foryou .pagination .page-link[aria-disabled="true"] {
    border-color: rgba(26, 23, 19, 0.08);
    background: rgba(26, 23, 19, 0.04);
    color: var(--gn-ink-muted);
    box-shadow: none;
    pointer-events: none;
}
.grimba-saved-search {
    border-top: 1px solid rgba(26, 23, 19, 0.10);
    padding-top: 14px;
}
.grimba-saved-search__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.grimba-saved-search__copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}
.grimba-saved-search__copy strong {
    color: var(--gn-ink);
    font-size: 15px;
    line-height: 1.25;
}
.grimba-saved-search__copy span {
    color: var(--gn-ink-muted);
    font-size: 13px;
    line-height: 1.4;
}
.grimba-account-digest {
    color: var(--gn-ink);
}
.grimba-account-digest__header,
.grimba-account-digest__footer,
.grimba-account-searches__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.grimba-account-digest__header,
.grimba-account-searches__header {
    margin-bottom: 14px;
}
.grimba-account-digest__kicker {
    display: block;
    margin-bottom: 5px;
    color: #8d3025;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
.grimba-account-digest h2 {
    margin: 0;
    color: var(--gn-ink);
    font-family: var(--gn-font-title);
    font-size: 22px;
    line-height: 1.15;
}
.grimba-account-digest__status {
    flex: 0 0 auto;
    border: 1px solid rgba(26, 23, 19, 0.14);
    border-radius: 999px;
    background: rgba(26, 23, 19, 0.05);
    color: var(--gn-ink-muted);
    font-size: 12px;
    font-weight: 800;
    padding: 6px 10px;
}
.grimba-account-digest__status.is-on {
    border-color: rgba(141, 48, 37, 0.25);
    background: rgba(141, 48, 37, 0.10);
    color: #8d3025;
}
.grimba-account-digest__body {
    margin: 0 0 16px;
    color: var(--gn-ink-muted);
    font-size: 15px;
    line-height: 1.55;
}
.grimba-account-digest__footer > span {
    color: var(--gn-ink-soft);
    font-size: 13px;
    font-weight: 700;
}
.grimba-account-searches {
    color: var(--gn-ink);
}
.grimba-account-searches h2 {
    margin: 0;
    color: var(--gn-ink);
    font-family: var(--gn-font-title);
    font-size: 22px;
    line-height: 1.15;
}
.grimba-account-searches__empty {
    margin: 0 0 14px;
    color: var(--gn-ink-muted);
    font-size: 15px;
    line-height: 1.55;
}
.grimba-account-searches__list {
    display: grid;
    gap: 0;
}
.grimba-account-searches__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid rgba(26, 23, 19, 0.10);
}
.grimba-account-searches__row:first-child {
    border-top: 0;
    padding-top: 0;
}
.grimba-account-searches__row:last-child {
    padding-bottom: 0;
}
.grimba-account-searches__meta {
    display: grid;
    gap: 5px;
    min-width: 0;
}
.grimba-account-searches__meta a {
    color: var(--gn-ink);
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
}
.grimba-account-searches__meta a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.grimba-account-searches__meta span {
    color: var(--gn-ink-muted);
    font-size: 13px;
    line-height: 1.35;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-account-alert {
    border-color: rgba(246, 241, 232, 0.12);
    background: rgba(246, 241, 232, 0.08);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-search-alert {
    border-color: rgba(246, 241, 232, 0.12);
    background: rgba(246, 241, 232, 0.08);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-local__lede,
html.grimba-home-html[data-bs-theme="dark"] .grimba-search-page__query {
    opacity: 1 !important;
    color: rgba(255, 250, 240, 0.80) !important;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-search-page .pagination .page-link,
html.grimba-home-html[data-bs-theme="dark"] .grimba-foryou .pagination .page-link {
    border-color: rgba(246, 241, 232, 0.16);
    background: rgba(246, 241, 232, 0.09);
    color: var(--gn-ink);
    box-shadow: none;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-search-page .pagination .page-link:hover,
html.grimba-home-html[data-bs-theme="dark"] .grimba-foryou .pagination .page-link:hover {
    border-color: rgba(246, 241, 232, 0.30);
    background: rgba(246, 241, 232, 0.14);
    color: var(--gn-ink);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-search-page .pagination .active .page-link,
html.grimba-home-html[data-bs-theme="dark"] .grimba-foryou .pagination .active .page-link {
    border-color: var(--gn-ink);
    background: var(--gn-ink);
    color: var(--gn-paper);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-search-page .pagination .disabled .page-link,
html.grimba-home-html[data-bs-theme="dark"] .grimba-search-page .pagination .page-link[aria-disabled="true"],
html.grimba-home-html[data-bs-theme="dark"] .grimba-foryou .pagination .disabled .page-link,
html.grimba-home-html[data-bs-theme="dark"] .grimba-foryou .pagination .page-link[aria-disabled="true"] {
    border-color: rgba(246, 241, 232, 0.10);
    background: rgba(246, 241, 232, 0.05);
    color: var(--gn-ink-muted);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-saved-search {
    border-top-color: rgba(246, 241, 232, 0.12);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-account-digest__kicker,
html.grimba-home-html[data-bs-theme="dark"] .grimba-account-digest__status.is-on {
    color: #f2b8aa;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-account-digest__status {
    border-color: rgba(246, 241, 232, 0.14);
    background: rgba(246, 241, 232, 0.07);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-account-digest__status.is-on {
    border-color: rgba(242, 184, 170, 0.28);
    background: rgba(242, 184, 170, 0.12);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-account-searches__row {
    border-top-color: rgba(246, 241, 232, 0.12);
}
@media (max-width: 575.98px) {
    .grimba-search-page {
        padding-top: 1rem !important;
        padding-bottom: calc(7rem + env(safe-area-inset-bottom)) !important;
    }
    .grimba-search-page__panel {
        padding: 1.1rem !important;
        border-radius: 22px;
    }
    .grimba-search-page .grimba-methodology__title {
        font-size: clamp(1.58rem, 7.2vw, 2rem);
        line-height: 1.08;
    }
    .grimba-search-page__query {
        display: block;
        margin-top: 0.2rem;
        font-size: 0.82em;
        line-height: 1.12;
    }
    .grimba-search-page__form .row {
        --bs-gutter-x: 0.55rem;
        --bs-gutter-y: 0.65rem;
    }
    .grimba-search-page__form .form-control-lg,
    .grimba-search-page__form .form-select-lg {
        min-height: 46px;
        padding: 0.55rem 1rem;
        font-size: 1rem;
        line-height: 1.25;
    }
    .grimba-search-page__form input[type="date"] {
        padding-right: 0.65rem;
    }
    .grimba-search-page__actions {
        align-items: stretch !important;
        flex-direction: column;
        margin-top: 0.1rem;
    }
    .grimba-search-page__actions .btn-grimba {
        justify-content: center;
        min-height: 44px;
        width: 100%;
    }
    .grimba-search-page__actions a {
        align-self: center;
    }
    .grimba-search-page .pagination,
    .grimba-foryou .pagination {
        justify-content: flex-start;
        gap: 0.34rem;
        margin-top: 1rem;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .grimba-search-page .pagination::-webkit-scrollbar,
    .grimba-foryou .pagination::-webkit-scrollbar {
        display: none;
    }
    .grimba-search-page .pagination .page-link,
    .grimba-foryou .pagination .page-link {
        min-width: 2.2rem;
        min-height: 2.2rem;
        padding: 0.42rem 0.68rem;
        font-size: 0.86rem;
    }
    .grimba-account-digest__header,
    .grimba-account-digest__footer,
    .grimba-account-searches__header,
    .grimba-saved-search__inner,
    .grimba-account-searches__row {
        align-items: flex-start;
        flex-direction: column;
    }
    .grimba-account-digest__footer .btn-grimba,
    .grimba-saved-search__inner .btn-grimba,
    .grimba-account-searches__row .btn-grimba {
        justify-content: center;
        width: 100%;
    }
    .grimba-search-page .grimba-saved-search__inner {
        align-items: center;
        flex-direction: row;
        gap: 0.75rem;
    }
    .grimba-search-page .grimba-saved-search__copy {
        flex: 1 1 auto;
    }
    .grimba-search-page .grimba-saved-search__copy span {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
    .grimba-search-page .grimba-saved-search__inner .btn-grimba {
        flex: 0 0 auto;
        min-height: 40px;
        width: auto;
        padding-inline: 1rem;
    }
    .grimba-account-searches__row form {
        width: 100%;
    }
}
.btn-grimba:focus-visible,
.grimba-save-btn:focus-visible,
.grimba-mobile-nav__item:focus-visible,
.grimba-vault-fab:focus-visible,
[data-bias-tab]:focus-visible,
[data-sort-mode]:focus-visible,
.grimba-home a:focus-visible,
.grimba-home button:focus-visible,
.grimba-home input:focus-visible,
.grimba-home select:focus-visible,
.grimba-home textarea:focus-visible,
.grimba-home [role="button"]:focus-visible,
.grimba-home [role="tab"]:focus-visible {
    outline: 2px solid var(--gn-ink);
    outline-offset: 3px;
}
.grimba-skip-link {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 9999;
    transform: translateY(-180%);
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--gn-ink);
    color: var(--gn-paper) !important;
    font-family: var(--gn-font-body);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-decoration: none;
    box-shadow: 0 14px 40px rgba(26, 23, 19, 0.22);
    transition: transform 0.16s ease;
}
.grimba-skip-link:focus-visible {
    transform: translateY(0);
    outline: 2px solid var(--gn-paper);
    outline-offset: 3px;
}
.grimba-home main:focus {
    outline: none;
}
.grimba-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1060;
    height: 3px;
    background: transparent;
    pointer-events: none;
}
.grimba-reading-progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, #3b82f6, #a8a8a8, #e84c3d);
    box-shadow: 0 0 14px rgba(26, 23, 19, 0.18);
}
.grimba-bias-confidence {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 160px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(192, 57, 43, 0.08);
    border: 1px solid rgba(192, 57, 43, 0.18);
    color: #8d3025;
    font-family: var(--gn-font-body);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}
.grimba-translation-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(26, 23, 19, 0.045);
    border: 1px solid rgba(26, 23, 19, 0.08);
    color: var(--gn-muted);
    font-family: var(--gn-font-body);
    font-size: 12px;
}
.grimba-translation-note .gn-nobuai-chip {
    flex: 0 0 auto;
    white-space: nowrap;
}
.grimba-translation-note__copy--short {
    display: none;
}
.grimba-translation-note > span:not(.gn-nobuai-chip) {
    min-width: 0;
    line-height: 1.45;
}
/* S334 — dark variant. The light rule's rgba(26,23,19,0.045) is
   essentially invisible against a dark canvas — flip to a faint
   cream tint that reads as "informational chip" without competing
   with content. */
html.grimba-home-html[data-bs-theme="dark"] .grimba-translation-note {
    background: rgba(246, 241, 232, 0.06);
    border-color: rgba(246, 241, 232, 0.14);
    color: var(--gn-ink-muted);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-translation-note .gn-nobuai-chip {
    background: rgba(246, 241, 232, 0.08) !important;
    border-color: rgba(246, 241, 232, 0.18) !important;
    color: #fffaf0 !important;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-translation-note .gn-nobuai-chip span[aria-hidden="true"] {
    background: linear-gradient(135deg, #fffaf0, #a8a29a) !important;
}
.grimba-header-pulse {
    font-family: var(--gn-font-mono);
    font-size: 11px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--gn-ink-soft);
}
.grimba-chip--selected {
    border-color: rgba(26, 23, 19, 0.24);
    box-shadow: inset 0 0 0 2px rgba(26, 23, 19, 0.20), 0 10px 28px rgba(26, 23, 19, 0.08);
}
.grimba-chip--selected .grimba-chip__label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 6px;
    border-radius: 999px;
    background: var(--gn-ink);
    vertical-align: 1px;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-chip--selected {
    border-color: rgba(255, 250, 240, 0.36);
    box-shadow: inset 0 0 0 2px rgba(255, 250, 240, 0.18), 0 12px 30px rgba(0, 0, 0, 0.24);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-chip--selected .grimba-chip__label::before {
    background: #fffaf0;
}

@media (max-width: 767.98px) {
    body.grimba-home {
        padding-bottom: calc(108px + env(safe-area-inset-bottom));
    }
    body.grimba-home .grimba-topnews__item,
    body.grimba-home .grimba-latest__item,
    body.grimba-home .grimba-most-read__panel {
        background:
            linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.22)),
            rgba(255, 250, 240, 0.84);
        border-color: rgba(26, 23, 19, 0.09);
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }
    html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-topnews__item,
    html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-latest__item,
    html.grimba-home-html[data-bs-theme="dark"] body.grimba-home .grimba-most-read__panel {
        background:
            linear-gradient(135deg, rgba(246, 241, 232, 0.10), rgba(246, 241, 232, 0.04)),
            rgba(18, 16, 11, 0.86);
        border-color: rgba(246, 241, 232, 0.13);
    }
    body.grimba-home[id^="post-"] {
        padding-bottom: env(safe-area-inset-bottom);
    }
    body.grimba-home[id^="post-"] .grimba-mobile-nav {
        display: none !important;
    }
    body.grimba-home[id^="post-"] .grimba-vault-fab {
        right: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom));
        max-width: calc(100vw - 28px);
    }
    .grimba-most-read {
        padding: 0.85rem;
        border-radius: 18px;
    }
    .grimba-most-read__head {
        align-items: start;
        flex-direction: column;
        gap: 0.45rem;
    }
    .grimba-most-read__grid {
        grid-template-columns: 1fr;
    }
    .grimba-mobile-nav {
        display: grid;
        left: max(10px, env(safe-area-inset-left));
        right: max(10px, env(safe-area-inset-right));
    }
    .grimba-vault-fab {
        display: inline-flex;
        right: max(14px, env(safe-area-inset-right));
        bottom: calc(98px + env(safe-area-inset-bottom));
        min-height: 44px;
        max-width: min(68vw, 176px);
        padding: 10px 12px;
        box-shadow: 0 16px 42px rgba(26, 23, 19, 0.24);
    }
    .phpdebugbar,
    .phpdebugbar-openhandler,
    #phpdebugbar {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    .grimba-translation-note {
        display: flex;
        width: 100%;
        align-items: center;
        gap: 0.55rem;
        padding: 0.54rem 0.7rem;
        border-radius: 999px;
        font-size: 0.78rem;
        line-height: 1.25;
    }
    .grimba-translation-note > span.grimba-translation-note__copy--full {
        display: none;
    }
    .grimba-translation-note > span.grimba-translation-note__copy--short {
        display: block;
        min-width: 0;
        overflow: hidden;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

html.grimba-home-html[data-bs-theme="dark"] .grimba-mobile-nav {
    background: rgba(18, 16, 7, 0.98);
    border-color: rgba(246, 241, 232, 0.16);
    box-shadow: 0 -14px 36px rgba(12, 10, 7, 0.78), 0 18px 60px rgba(0, 0, 0, 0.42);
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-mobile-nav__item {
    color: var(--gn-ink-soft);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-mobile-nav__item.is-active {
    background: #fffaf0;
    color: #17140f;
    box-shadow: 0 8px 24px rgba(246, 241, 232, 0.12);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-mobile-nav__item.is-active .grimba-mobile-nav__icon {
    background: rgba(23, 20, 15, 0.08);
    color: #17140f;
}
/* S333 — same literal-cream pattern as S332 solid CTAs. The
   dark-tokenized --gn-paper resolves to near-black, which made the
   FAB blend invisibly into the dark canvas. */
html.grimba-home-html[data-bs-theme="dark"] .grimba-vault-fab {
    background: #f6f1e8;
    color: #1a1713 !important;
    border-color: rgba(246, 241, 232, 0.28);
}
html.grimba-home-html[data-bs-theme="dark"] .grimba-vault-fab strong {
    background: #1a1713;
    color: #f6f1e8;
}
html.grimba-home-html[data-bs-theme="dark"] .btn-grimba:focus-visible,
html.grimba-home-html[data-bs-theme="dark"] .grimba-save-btn:focus-visible,
html.grimba-home-html[data-bs-theme="dark"] .grimba-mobile-nav__item:focus-visible,
html.grimba-home-html[data-bs-theme="dark"] .grimba-vault-fab:focus-visible,
html.grimba-home-html[data-bs-theme="dark"] [data-bias-tab]:focus-visible,
html.grimba-home-html[data-bs-theme="dark"] [data-sort-mode]:focus-visible,
html.grimba-home-html[data-bs-theme="dark"] .grimba-home a:focus-visible,
html.grimba-home-html[data-bs-theme="dark"] .grimba-home button:focus-visible,
html.grimba-home-html[data-bs-theme="dark"] .grimba-home input:focus-visible,
html.grimba-home-html[data-bs-theme="dark"] .grimba-home select:focus-visible,
html.grimba-home-html[data-bs-theme="dark"] .grimba-home textarea:focus-visible,
html.grimba-home-html[data-bs-theme="dark"] .grimba-home [role="button"]:focus-visible,
html.grimba-home-html[data-bs-theme="dark"] .grimba-home [role="tab"]:focus-visible {
    outline-color: var(--gn-paper);
}
