/* ============================================================================
   kv_public_typography.css  —  Koovira public frontend design-token layer
   ----------------------------------------------------------------------------
   Single, additive global stylesheet for the public/guest website. It provides:
     1) A font-size scale + spacing scale (design tokens)
     2) Font-colour tokens that adapt to light + dark theme (data-bs-theme)
     3) A small reusable utility class layer (kv-fs-*, kv-text-*, kv-ink-*)
     4) The per-module "skin" system used by the intro pages (kv-mod-skin)
     5) Blog page styling (kv-blog-*) that was previously undefined

   Rules of engagement:
     - ADDITIVE ONLY. Never override Bootstrap/Metronic layout primitives.
     - Everything must read well in BOTH light and dark (html[data-bs-theme]).
     - Guard against page-local themes: we key colour tokens off data-bs-theme
       ONLY, never touching [data-kv-theme] scoped surfaces.
   Bump KV_ASSET_VER (config/common_includes.php via ?ut=) to cache-bust.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1) DESIGN TOKENS  (light theme defaults)
   ------------------------------------------------------------------------- */
:root {
  /* Type scale (fluid, clamp-based, 1.2 ratio-ish) */
  --kv-fs-2xs: .72rem;
  --kv-fs-xs:  .8rem;
  --kv-fs-sm:  .9rem;
  --kv-fs-base: 1rem;
  --kv-fs-md:  1.075rem;
  --kv-fs-lg:  1.2rem;
  --kv-fs-xl:  clamp(1.35rem, 1.15rem + .8vw, 1.6rem);
  --kv-fs-2xl: clamp(1.6rem, 1.3rem + 1.4vw, 2.1rem);
  --kv-fs-3xl: clamp(2rem, 1.5rem + 2.4vw, 3rem);
  --kv-fs-hero: clamp(2.1rem, 1.5rem + 3.2vw, 3.9rem);

  /* Line heights */
  --kv-lh-tight: 1.08;
  --kv-lh-snug:  1.28;
  --kv-lh-body:  1.62;

  /* Weights */
  --kv-fw-medium: 500;
  --kv-fw-semi:   600;
  --kv-fw-bold:   700;
  --kv-fw-black:  800;

  /* Ink (text) colour tokens — LIGHT */
  --kv-ink-strong: #16192a;   /* headings */
  --kv-ink:        #2b3040;   /* body */
  --kv-ink-soft:   #565d72;   /* secondary body */
  --kv-ink-muted:  #7a8199;   /* captions / meta */
  --kv-ink-faint:  #a3a9bd;   /* placeholder-ish */
  --kv-ink-invert: #ffffff;

  /* Surface tokens — LIGHT */
  --kv-surface:      #ffffff;
  --kv-surface-2:    #f7f9fd;
  --kv-surface-3:    #eef2fa;
  --kv-hairline:     rgba(30,40,64,.10);
  --kv-hairline-2:   rgba(30,40,64,.06);
  --kv-shadow-sm:    0 2px 8px rgba(24,30,54,.06);
  --kv-shadow-md:    0 12px 30px rgba(24,30,54,.09);
  --kv-shadow-lg:    0 22px 54px rgba(24,30,54,.12);

  /* Brand accents (defaults; per-module skin overrides --mod-*) */
  --kv-brand:        #6d4bf0;
  --kv-brand-2:      #1b64d8;
  --kv-brand-soft:   rgba(109,75,240,.10);
}

/* ---------------------------------------------------------------------------
   1b) DARK THEME token overrides (only global data-bs-theme=dark)
   ------------------------------------------------------------------------- */
html[data-bs-theme="dark"] {
  --kv-ink-strong: #eef1fb;
  --kv-ink:        #d6dcec;
  --kv-ink-soft:   #b3bcd2;
  --kv-ink-muted:  #8b95ad;
  --kv-ink-faint:  #6b7490;
  --kv-ink-invert: #0d1120;

  --kv-surface:      #111827;
  --kv-surface-2:    #0f1524;
  --kv-surface-3:    #161f34;
  --kv-hairline:     rgba(148,163,200,.16);
  --kv-hairline-2:   rgba(148,163,200,.10);
  --kv-shadow-sm:    0 2px 10px rgba(0,0,0,.45);
  --kv-shadow-md:    0 14px 34px rgba(0,0,0,.5);
  --kv-shadow-lg:    0 24px 60px rgba(0,0,0,.6);

  --kv-brand:        #a78bfa;
  --kv-brand-2:      #6ba0ff;
  --kv-brand-soft:   rgba(124,93,250,.18);
}

/* ---------------------------------------------------------------------------
   2) UTILITY CLASS LAYER  (opt-in, safe, prefixed kv-)
   ------------------------------------------------------------------------- */
.kv-fs-2xs { font-size: var(--kv-fs-2xs) !important; }
.kv-fs-xs  { font-size: var(--kv-fs-xs)  !important; }
.kv-fs-sm  { font-size: var(--kv-fs-sm)  !important; }
.kv-fs-base{ font-size: var(--kv-fs-base)!important; }
.kv-fs-md  { font-size: var(--kv-fs-md)  !important; }
.kv-fs-lg  { font-size: var(--kv-fs-lg)  !important; }
.kv-fs-xl  { font-size: var(--kv-fs-xl)  !important; }
.kv-fs-2xl { font-size: var(--kv-fs-2xl) !important; }
.kv-fs-3xl { font-size: var(--kv-fs-3xl) !important; }

.kv-lh-tight{ line-height: var(--kv-lh-tight); }
.kv-lh-snug { line-height: var(--kv-lh-snug); }
.kv-lh-body { line-height: var(--kv-lh-body); }

.kv-ink-strong { color: var(--kv-ink-strong) !important; }
.kv-ink        { color: var(--kv-ink) !important; }
.kv-ink-soft   { color: var(--kv-ink-soft) !important; }
.kv-ink-muted  { color: var(--kv-ink-muted) !important; }
.kv-ink-faint  { color: var(--kv-ink-faint) !important; }
.kv-ink-brand  { color: var(--kv-brand) !important; }

/* Readability rescue: in dark theme, Metronic's text-gray-* often collapses to
   low-contrast greys on public pages. Nudge them toward the ink tokens ONLY
   under global dark theme, scoped to public surfaces to avoid dashboard bleed. */
html[data-bs-theme="dark"] .kv-public-scope .text-gray-900,
html[data-bs-theme="dark"] .kv-public-scope .text-gray-800 { color: var(--kv-ink-strong) !important; }
html[data-bs-theme="dark"] .kv-public-scope .text-gray-700,
html[data-bs-theme="dark"] .kv-public-scope .text-gray-600 { color: var(--kv-ink-soft) !important; }
html[data-bs-theme="dark"] .kv-public-scope .text-muted    { color: var(--kv-ink-muted) !important; }

/* ============================================================================
   3) PER-MODULE SKIN SYSTEM  (intro pages)
   ----------------------------------------------------------------------------
   A wrapper <div class="kv-mod-skin" data-kv-mod="KEY" style="--mod-accent:..;
   --mod-accent-2:..; --mod-tint:..; --mod-hue1:..; --mod-hue2:..;"> lets each
   module carry its own accent palette + hero atmosphere while the section
   markup stays shared (DRY). The kv-full-* / kvx-* rules below consume the
   --mod-* variables and fall back to brand defaults when absent.
   ------------------------------------------------------------------------- */
.kv-mod-skin {
  --mod-accent:   var(--kv-brand);
  --mod-accent-2: var(--kv-brand-2);
  --mod-tint:     var(--kv-brand-soft);
  --mod-hue1:     rgba(109,75,240,.14);
  --mod-hue2:     rgba(27,100,216,.12);
  --mod-ring:     rgba(109,75,240,.28);
}

/* Hero atmosphere driven by module hues */
.kv-mod-skin .kv-full-hero,
.kv-mod-skin .kvx-hero {
  background:
    radial-gradient(circle at 86% 8%,  var(--mod-hue1), transparent 34%),
    radial-gradient(circle at 12% 92%, var(--mod-hue2), transparent 30%),
    linear-gradient(135deg, var(--kv-surface) 0%, var(--kv-surface-2) 55%, var(--kv-surface) 100%) !important;
  border-color: color-mix(in srgb, var(--mod-accent) 22%, var(--kv-hairline)) !important;
}
.kv-mod-skin .kv-full-kicker,
.kv-mod-skin .kvx-kicker {
  background: var(--mod-tint) !important;
  color: var(--mod-accent) !important;
}
.kv-mod-skin .kv-full-kicker .bullet,
.kv-mod-skin .kvx-kicker .bullet { background: var(--mod-accent) !important; }

/* Accent-tinted icon chips, step numbers, hover rings */
.kv-mod-skin .kv-full-icon {
  background: var(--mod-tint) !important;
  color: var(--mod-accent) !important;
}
.kv-mod-skin .kv-full-step-num {
  background: linear-gradient(135deg, var(--mod-accent), var(--mod-accent-2)) !important;
}
.kv-mod-skin .kv-full-card:hover,
.kv-mod-skin .kv-full-choice:hover {
  border-color: var(--mod-ring) !important;
  box-shadow: 0 16px 38px color-mix(in srgb, var(--mod-accent) 16%, transparent) !important;
}
.kv-mod-skin .kv-full-proof-mark {
  background: var(--mod-tint) !important;
  color: var(--mod-accent) !important;
}
.kv-mod-skin .kv-full-band {
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--mod-tint) 60%, var(--kv-surface)) 0%,
      var(--kv-surface) 55%,
      color-mix(in srgb, var(--mod-tint) 40%, var(--kv-surface)) 100%) !important;
  border: 1px solid var(--kv-hairline-2);
  border-radius: 14px;
}
.kv-mod-skin .text-uppercase.text-primary,
.kv-mod-skin .fw-bold.text-primary { color: var(--mod-accent) !important; }

/* An accent ribbon on the art card so each module's hero feels distinct */
.kv-mod-skin .kv-full-art-card,
.kv-mod-skin .kvx-art-card { position: relative; }
.kv-mod-skin .kv-full-art-card::before,
.kv-mod-skin .kvx-art-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 5px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, var(--mod-accent), var(--mod-accent-2));
}

/* Dark theme: keep module hero legible; deepen surfaces */
html[data-bs-theme="dark"] .kv-mod-skin .kv-full-hero,
html[data-bs-theme="dark"] .kv-mod-skin .kvx-hero {
  background:
    radial-gradient(circle at 86% 8%,  color-mix(in srgb, var(--mod-accent) 30%, transparent), transparent 36%),
    radial-gradient(circle at 12% 92%, color-mix(in srgb, var(--mod-accent-2) 22%, transparent), transparent 32%),
    linear-gradient(135deg,#111827 0%,#0e1526 55%,#131226 100%) !important;
}
html[data-bs-theme="dark"] .kv-mod-skin .kv-full-search,
html[data-bs-theme="dark"] .kv-mod-skin .kv-full-card,
html[data-bs-theme="dark"] .kv-mod-skin .kv-full-choice,
html[data-bs-theme="dark"] .kv-mod-skin .kv-full-art-card,
html[data-bs-theme="dark"] .kv-mod-skin .kv-full-step,
html[data-bs-theme="dark"] .kv-mod-skin .kv-full-stat,
html[data-bs-theme="dark"] .kv-mod-skin .kv-full-proof {
  background: var(--kv-surface) !important;
  border-color: var(--kv-hairline) !important;
}
html[data-bs-theme="dark"] .kv-mod-skin .kv-full-band {
  background: linear-gradient(135deg,#0f1524 0%,#111827 55%,#131226 100%) !important;
  border-color: var(--kv-hairline);
}
html[data-bs-theme="dark"] .kv-mod-skin .kv-full-title,
html[data-bs-theme="dark"] .kv-mod-skin .kv-full-card h3,
html[data-bs-theme="dark"] .kv-mod-skin .kv-full-choice h3,
html[data-bs-theme="dark"] .kv-mod-skin .kv-full-hero .text-gray-900,
html[data-bs-theme="dark"] .kv-mod-skin .kv-full-step .fw-bold,
html[data-bs-theme="dark"] .kv-mod-skin .fw-bolder.text-gray-900 { color: var(--kv-ink-strong) !important; }
html[data-bs-theme="dark"] .kv-mod-skin .text-gray-700,
html[data-bs-theme="dark"] .kv-mod-skin .kv-full-hero .fs-4,
html[data-bs-theme="dark"] .kv-mod-skin .text-muted { color: var(--kv-ink-soft) !important; }
html[data-bs-theme="dark"] .kv-mod-skin .kv-full-icon { color: color-mix(in srgb, var(--mod-accent) 70%, #ffffff) !important; }
html[data-bs-theme="dark"] .kv-mod-skin .form-control,
html[data-bs-theme="dark"] .kv-mod-skin .form-select {
  background: var(--kv-surface-2); color: var(--kv-ink); border-color: var(--kv-hairline);
}

/* ---------------------------------------------------------------------------
   3b) BESPOKE MODULE HERO BANNER  (.kv-full-banner)
   The GD-composited banner already carries the module's accent atmosphere +
   character; it sits in the hero's right column as a glossy framed tile with a
   caption scrim for label/stat contrast. Reads well in both themes because the
   banner is self-lit (dark accent base) and framed by the module accent.
   ------------------------------------------------------------------------- */
.kv-mod-skin .kv-full-banner {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  min-height: 300px;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  border: 1px solid color-mix(in srgb, var(--mod-accent, var(--kv-brand)) 30%, var(--kv-hairline));
  box-shadow: var(--kv-shadow-md);
}
.kv-mod-skin .kv-full-banner::after {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--mod-accent, var(--kv-brand)), var(--mod-accent-2, var(--kv-brand-2)));
}
.kv-mod-skin .kv-full-banner-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.3rem 1.2rem;
  background: linear-gradient(to top, rgba(6,9,20,.82) 0%, rgba(6,9,20,.55) 55%, rgba(6,9,20,0) 100%);
}
.kv-mod-skin .kv-full-banner-label {
  color: #fff; font-weight: var(--kv-fw-black);
  font-size: var(--kv-fs-lg); letter-spacing: .01em;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.kv-mod-skin .kv-full-banner-sub {
  color: rgba(255,255,255,.85); font-size: var(--kv-fs-sm);
  margin-top: .25rem; max-width: 34ch;
}
.kv-mod-skin .kv-full-banner-stats { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .7rem; }
.kv-mod-skin .kv-full-banner-stat {
  display: flex; flex-direction: column; line-height: 1.1;
  padding: .45rem .7rem; border-radius: 10px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(3px);
}
.kv-mod-skin .kv-full-banner-stat .n { color: #fff; font-weight: var(--kv-fw-black); font-size: var(--kv-fs-md); }
.kv-mod-skin .kv-full-banner-stat .l { color: rgba(255,255,255,.82); font-size: var(--kv-fs-2xs); }
@media (max-width: 1399.98px) { .kv-mod-skin .kv-full-banner { min-height: 260px; } }
@media (max-width: 767.98px)  { .kv-mod-skin .kv-full-banner { min-height: 210px; } }

/* ============================================================================
   4) BLOG PAGE  (kv-blog-*)  — was entirely undefined before
   ------------------------------------------------------------------------- */
.kv-blog-hero {
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 12%, rgba(109,75,240,.16), transparent 34%),
    radial-gradient(circle at 8% 90%,  rgba(27,100,216,.12), transparent 30%),
    linear-gradient(135deg,#fbfaff 0%,#f4f7ff 55%,#fff7fb 100%);
  border: 1px solid var(--kv-hairline);
  box-shadow: var(--kv-shadow-md);
  position: relative;
  overflow: hidden;
}
.kv-blog-hero::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image:
    linear-gradient(rgba(35,47,62,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35,47,62,.035) 1px, transparent 1px);
  background-size: 34px 34px;
}
.kv-blog-hero > * { position: relative; z-index: 1; }
.kv-blog-hero-eyebrow {
  background: var(--kv-brand-soft) !important;
  color: var(--kv-brand) !important;
  font-weight: var(--kv-fw-black);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: var(--kv-fs-xs);
  padding: .5rem .85rem;
  border-radius: 999px;
}
.kv-blog-hero-title {
  font-size: var(--kv-fs-3xl);
  line-height: var(--kv-lh-tight);
  color: var(--kv-ink-strong);
  letter-spacing: -.01em;
}
.kv-blog-hero-sub {
  color: var(--kv-ink-soft);
  line-height: var(--kv-lh-body);
  max-width: 620px;
}
.kv-blog-hero-art {
  max-height: 320px;
  width: auto;
  filter: drop-shadow(0 18px 40px rgba(76,55,160,.18));
}
.kv-blog-trust-chip {
  display: inline-flex; align-items: center;
  padding: .5rem .9rem;
  border-radius: 999px;
  background: var(--kv-surface);
  border: 1px solid var(--kv-hairline);
  box-shadow: var(--kv-shadow-sm);
  font-weight: var(--kv-fw-bold);
  font-size: var(--kv-fs-sm);
  color: var(--kv-ink-soft);
}
.kv-blog-trust-chip i { color: var(--kv-brand); }

.kv-blog-why {
  border: 1px solid var(--kv-hairline);
  border-radius: 16px;
  background: var(--kv-surface);
  box-shadow: var(--kv-shadow-sm);
}

/* Category chips row */
.kv-blog-catbar { display: flex; flex-wrap: nowrap; gap: .6rem; overflow-x: auto; padding-bottom: .25rem; }
.kv-blog-catchip {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 108px; padding: .75rem .9rem;
  border-radius: 14px;
  background: var(--kv-surface);
  border: 1px solid var(--kv-hairline);
  color: var(--kv-ink-soft);
  font-weight: var(--kv-fw-bold);
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.kv-blog-catchip i { color: var(--kv-brand); font-size: 1.35rem; margin-bottom: .35rem; }
.kv-blog-catchip:hover {
  transform: translateY(-2px);
  border-color: var(--kv-brand);
  box-shadow: var(--kv-shadow-sm);
  color: var(--kv-ink-strong);
}
.kv-blog-catchip.is-active {
  background: var(--kv-brand-soft);
  border-color: var(--kv-brand);
  color: var(--kv-brand);
}

/* Article cards */
.kv-blog-card {
  height: 100%;
  border: 1px solid var(--kv-hairline);
  border-radius: 16px;
  background: var(--kv-surface);
  box-shadow: var(--kv-shadow-sm);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex; flex-direction: column;
}
.kv-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--kv-shadow-md);
  border-color: color-mix(in srgb, var(--kv-brand) 35%, var(--kv-hairline));
}
.kv-blog-card-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--kv-surface-3), var(--kv-surface-2));
  background-size: cover; background-position: center;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.kv-blog-card-thumb .kv-blog-thumb-fallback {
  font-size: 2.2rem; color: color-mix(in srgb, var(--kv-brand) 55%, var(--kv-ink-faint));
}
.kv-blog-card-body { padding: 1.15rem 1.2rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.kv-blog-card-cat {
  align-self: flex-start;
  font-size: var(--kv-fs-2xs); font-weight: var(--kv-fw-black);
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--kv-brand);
  background: var(--kv-brand-soft);
  padding: .28rem .6rem; border-radius: 999px; margin-bottom: .6rem;
}
.kv-blog-card-title {
  font-size: var(--kv-fs-lg); font-weight: var(--kv-fw-bold);
  color: var(--kv-ink-strong); line-height: var(--kv-lh-snug);
  margin-bottom: .5rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.kv-blog-card-excerpt {
  color: var(--kv-ink-muted); font-size: var(--kv-fs-sm); line-height: var(--kv-lh-body);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 1rem;
}
.kv-blog-card-meta {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  padding-top: .75rem; border-top: 1px solid var(--kv-hairline-2);
  font-size: var(--kv-fs-xs); color: var(--kv-ink-muted);
}
.kv-blog-card-meta .kv-blog-read {
  color: var(--kv-brand); font-weight: var(--kv-fw-bold); text-decoration: none;
}
.kv-blog-card-meta .kv-blog-read:hover { text-decoration: underline; }

/* Featured (first) card spanning wider */
.kv-blog-featured .kv-blog-card { flex-direction: row; }
.kv-blog-featured .kv-blog-card-thumb { flex: 0 0 46%; aspect-ratio: auto; }
.kv-blog-featured .kv-blog-card-title { font-size: var(--kv-fs-2xl); -webkit-line-clamp: 3; }
@media (max-width: 767.98px) {
  .kv-blog-featured .kv-blog-card { flex-direction: column; }
  .kv-blog-featured .kv-blog-card-thumb { flex: none; aspect-ratio: 16/9; }
}

/* Empty state — friendly, not sad */
.kv-blog-empty {
  border: 1px dashed color-mix(in srgb, var(--kv-brand) 30%, var(--kv-hairline));
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, var(--kv-brand-soft), transparent 60%),
    var(--kv-surface);
  box-shadow: var(--kv-shadow-sm);
}
.kv-blog-empty-icon {
  width: 76px; height: 76px; margin: 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--kv-brand-soft);
  color: var(--kv-brand);
  font-size: 1.9rem;
}

/* Single-article reading surface */
.kv-blog-article {
  border: 1px solid var(--kv-hairline);
  border-radius: 16px;
  background: var(--kv-surface);
  box-shadow: var(--kv-shadow-sm);
}
.kv-blog-article .kv-blog-article-body {
  color: var(--kv-ink); font-size: var(--kv-fs-md); line-height: var(--kv-lh-body);
}
.kv-blog-article .kv-blog-article-body h2,
.kv-blog-article .kv-blog-article-body h3 { color: var(--kv-ink-strong); font-weight: var(--kv-fw-bold); margin-top: 1.5rem; }
.kv-blog-article .kv-blog-article-body img { border-radius: 12px; }

/* Dark-theme adjustments for blog */
html[data-bs-theme="dark"] .kv-blog-hero {
  background:
    radial-gradient(circle at 88% 12%, rgba(124,93,250,.22), transparent 36%),
    radial-gradient(circle at 8% 90%,  rgba(56,132,255,.14), transparent 32%),
    linear-gradient(135deg,#111827 0%,#0e1526 55%,#141126 100%);
}
html[data-bs-theme="dark"] .kv-blog-hero::before {
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
}
html[data-bs-theme="dark"] .kv-blog-why,
html[data-bs-theme="dark"] .kv-blog-card,
html[data-bs-theme="dark"] .kv-blog-catchip,
html[data-bs-theme="dark"] .kv-blog-article,
html[data-bs-theme="dark"] .kv-blog-empty,
html[data-bs-theme="dark"] .kv-blog-trust-chip { background: var(--kv-surface); border-color: var(--kv-hairline); }
html[data-bs-theme="dark"] .kv-blog-empty {
  background: radial-gradient(circle at 50% 0%, var(--kv-brand-soft), transparent 60%), var(--kv-surface);
}

/* Ensure hero art figures never overflow on narrow screens */
@media (max-width: 991.98px) {
  .kv-blog-hero-art { max-height: 220px; }
}
