/*
 * Shared look for the static marketing, industry and blog pages in public/.
 * Loaded after each page's own <style>, so it restyles the older per-page CSS instead of
 * rewriting fifty files by hand: same font, logo, colours and dark mode as the React site.
 * Linked by scripts/pwa-static-head.mjs (bump STYLE_VERSION there after editing — nginx
 * serves .css as immutable).
 */

@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 400; src: url('/fonts/geist/geist-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 500; src: url('/fonts/geist/geist-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 600; src: url('/fonts/geist/geist-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 700; src: url('/fonts/geist/geist-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 800; src: url('/fonts/geist/geist-latin-800-normal.woff2') format('woff2'); }

/* ── Tokens ───────────────────────────────────────────────────────────── */
:root {
  --s-bg: #ffffff;
  --s-bg-soft: #f8f7fc;
  --s-surface: #ffffff;
  --s-surface-2: #f4f3fa;
  --s-border: #e5e2f0;
  --s-border-strong: #d4d0e4;
  --s-text: #16132e;
  --s-text-2: #3f3b57;
  --s-muted: #6d6a85;
  --s-accent: #7c3aed;
  --s-accent-hover: #6d28d9;
  --s-accent-text: #6d28d9;
  --s-accent-soft: #f3effe;
  --s-accent-border: #ddd3fb;
  --s-ok: #059669;
  --s-ok-soft: #e7f7f0;
  --s-warn-soft: #fff7e8;
  --s-warn-border: #f5c46b;
  --s-warn-text: #92400e;
  --s-cta-bg: #0f0d1a;
  --s-shadow: 0 1px 2px rgba(22, 19, 46, 0.04), 0 8px 24px rgba(22, 19, 46, 0.06);
  --s-glow: radial-gradient(60% 120% at 50% 0%, rgba(124, 58, 237, 0.10) 0%, rgba(124, 58, 237, 0) 70%);
  color-scheme: light;
}
html.dark {
  --s-bg: #0a0a0a;
  --s-bg-soft: #0f0f10;
  --s-surface: #141414;
  --s-surface-2: #1a1a1a;
  --s-border: #262626;
  --s-border-strong: #333333;
  --s-text: #fafafa;
  --s-text-2: #d4d4d4;
  --s-muted: #a3a3a3;
  --s-accent: #8b5cf6;
  --s-accent-hover: #7c3aed;
  --s-accent-text: #c4b5fd;
  --s-accent-soft: rgba(139, 92, 246, 0.12);
  --s-accent-border: rgba(139, 92, 246, 0.35);
  --s-ok: #34d399;
  --s-ok-soft: rgba(52, 211, 153, 0.12);
  --s-warn-soft: rgba(245, 158, 11, 0.10);
  --s-warn-border: rgba(245, 158, 11, 0.45);
  --s-warn-text: #fbbf24;
  --s-cta-bg: #16121f;
  --s-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  --s-glow: radial-gradient(60% 120% at 50% 0%, rgba(139, 92, 246, 0.16) 0%, rgba(139, 92, 246, 0) 70%);
  color-scheme: dark;
}

/* ── Base ─────────────────────────────────────────────────────────────── */
html body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--s-bg);
  color: var(--s-text);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--s-accent-soft); color: var(--s-text); }
html body h1, html body h2, html body h3 { letter-spacing: -0.02em; }
html body p, html body li { color: var(--s-text-2); }
html body strong { color: var(--s-text); }
html body a { color: var(--s-accent-text); }
html body a[style*="#582A8E"], html body a[style*="primary-light"] { color: var(--s-accent-text) !important; }

/* ── Header (blog + industry pages) ───────────────────────────────────── */
html body > header {
  background: var(--s-glow), var(--s-bg);
  color: var(--s-text);
  border-bottom: 1px solid var(--s-border);
  padding: 20px 0 48px;
}
html body > header::before { display: none; }
html body > header nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px !important; }
html body > header nav a { color: var(--s-muted); font-size: 0.9rem; font-weight: 500; text-decoration: none; }
html body > header nav a:hover { color: var(--s-text); }
html body > header nav a[hreflang], html body > header nav a[href$="/en/index.html"] {
  float: none !important; color: var(--s-muted) !important; border: 1px solid var(--s-border) !important;
  background: transparent !important; padding: 4px 10px !important; border-radius: 8px !important;
  font-size: 0.8rem !important; font-weight: 600 !important;
}
html body > header nav .lang-switch { margin-left: auto; }
html body > header h1 { color: var(--s-text); font-weight: 800; font-size: 2.6rem; line-height: 1.12; }
html body > header p { color: var(--s-muted); }
html body > header .breadcrumb, html body > header .breadcrumb a { color: var(--s-muted); }
html body > header .tag {
  background: var(--s-accent-soft); color: var(--s-accent-text); border: 1px solid var(--s-accent-border);
}
html body > header .article-meta, html body > header .article-meta a { color: var(--s-muted) !important; }
@media (max-width: 768px) { html body > header h1 { font-size: 2rem; } }

/* Logo — the same mark and wordmark as the React header */
html body .logo {
  display: inline-flex !important; align-items: center; gap: 8px; margin-right: auto;
  color: var(--s-text) !important; -webkit-text-fill-color: currentColor !important; background: none !important;
  font-size: 1.2rem !important; font-weight: 600 !important; letter-spacing: -0.02em; text-decoration: none;
}
html body .logo img { width: 26px; height: 32px; object-fit: contain; }
html body .logo .logo-word { color: inherit; }
html body .logo .logo-ai { color: var(--s-accent) !important; -webkit-text-fill-color: currentColor !important; background: none !important; opacity: 1 !important; }

/* Theme toggle injected next to the navigation */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 9px; border: 1px solid var(--s-border); background: var(--s-surface); color: var(--s-muted);
  cursor: pointer; padding: 0; font: inherit;
}
.theme-toggle:hover { color: var(--s-text); border-color: var(--s-border-strong); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .moon { display: none; }
html.dark .theme-toggle .sun { display: none; }
html.dark .theme-toggle .moon { display: block; }
.nav-cta {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 9px;
  background: var(--s-accent) !important; color: #fff !important; font-size: 0.85rem !important; font-weight: 600 !important;
  text-decoration: none;
}
.nav-cta:hover { background: var(--s-accent-hover) !important; }
@media (max-width: 520px) { .nav-cta { display: none; } }

/* ── Buttons ──────────────────────────────────────────────────────────── */
html body .cta-button, html body .btn-primary {
  background: var(--s-accent) !important; color: #fff !important; box-shadow: none !important;
  border-radius: 10px; font-weight: 600; font-size: 1rem; padding: 14px 26px;
}
html body .cta-button:hover, html body .btn-primary:hover { background: var(--s-accent-hover) !important; transform: none; }

/* ── Industry pages ───────────────────────────────────────────────────── */
html body main > section, html body main > section:nth-child(even) { background: var(--s-bg); border-top: 1px solid var(--s-border); }
html body main > section:nth-child(even) { background: var(--s-bg-soft); }
html body main h2 { color: var(--s-text); font-weight: 700; }
html body main h3 { color: var(--s-text); }
html body .feature {
  background: var(--s-surface); border: 1px solid var(--s-border); border-radius: 14px; box-shadow: none;
}
html body .feature:hover { transform: none; box-shadow: var(--s-shadow); border-color: var(--s-border-strong); }
html body .feature h3 { color: var(--s-text); }
html body .feature-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  font-size: 1.3rem; border-radius: 10px; background: var(--s-accent-soft); border: 1px solid var(--s-accent-border);
}
html body .profession { background: var(--s-surface); color: var(--s-text-2); border: 1px solid var(--s-border); font-weight: 500; }
html body .example-box { background: var(--s-surface); border: 1px solid var(--s-border); }
html body .example-box .row { border-color: var(--s-border); }
html body .example-box .row span:first-child { color: var(--s-text); }
html body .example-box .row span:last-child { color: var(--s-muted); }
html body .example-box .row:last-child, html body .example-box .row:last-child span { color: var(--s-accent-text); }
html body .price-card { background: var(--s-surface); border: 1px solid var(--s-border); border-radius: 16px; }
html body .price-card.popular { border: 2px solid var(--s-accent); }
html body .price-card.popular::before { background: var(--s-accent); }
html body .price-card h3 { color: var(--s-text); }
html body .price, html body .price-card .price { color: var(--s-text); }
html body .price span { color: var(--s-muted); }
html body .price-card li { color: var(--s-text-2); }
html body .price-card li::before { color: var(--s-ok); }
html body .price-card > a {
  background: var(--s-surface-2) !important; color: var(--s-text) !important; border: 1px solid var(--s-border);
}
html body .price-card.popular > a { background: var(--s-accent) !important; color: #fff !important; border-color: var(--s-accent); }
html body .faq-item { border-color: var(--s-border); }
html body .faq-item h3 { color: var(--s-text); }
html body .faq-item h3::after { color: var(--s-accent); }

/* Closing call to action: a calm dark panel instead of the purple gradient */
html body .footer-cta { background: var(--s-bg); border-top: 1px solid var(--s-border); }
html body .footer-cta > .container {
  background: var(--s-cta-bg); border-radius: 20px; padding: 56px 32px; color: #fff;
  background-image: radial-gradient(70% 100% at 50% 0%, rgba(139, 92, 246, 0.28) 0%, rgba(139, 92, 246, 0) 70%);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
html body .footer-cta h2 { color: #fff !important; }
html body .footer-cta p { color: rgba(255, 255, 255, 0.72) !important; }
html body .footer-cta .cta-button { background: #fff !important; color: #16132e !important; }
html body .footer-cta .cta-button:hover { background: #ede9fe !important; }

/* ── Blog articles ────────────────────────────────────────────────────── */
html body article h2 { color: var(--s-text); font-weight: 700; }
html body article h3 { color: var(--s-text); }
html body article p, html body article li { color: var(--s-text-2); }
html body .info-box { background: var(--s-accent-soft); border-left: 3px solid var(--s-accent); }
html body .info-box strong { color: var(--s-accent-text); }
html body .warning-box { background: var(--s-warn-soft); border-left: 3px solid var(--s-warn-border); }
html body .warning-box strong { color: var(--s-warn-text); }
html body .checklist, html body .muster, html body .author-box, html body .related-card, html body .card {
  background: var(--s-surface); border: 1px solid var(--s-border); box-shadow: none;
}
html body .checklist h3, html body .related-card h3, html body .card h2, html body .card h3 { color: var(--s-text); }
html body .checklist li, html body .muster-pos, html body .muster-meta { border-color: var(--s-border); }
html body .checklist li::before { color: var(--s-ok); }
html body .badge-required { background: var(--s-ok-soft); color: var(--s-ok); }
html body .badge-optional { background: var(--s-surface-2); color: var(--s-muted); }
html body .muster-total { border-top-color: var(--s-text); }
html body .muster-head, html body .muster-pos span:nth-child(3) { color: var(--s-muted); }
html body .cta-inline {
  background: var(--s-cta-bg); border: 1px solid rgba(255, 255, 255, 0.06);
  background-image: radial-gradient(70% 100% at 50% 0%, rgba(139, 92, 246, 0.28) 0%, rgba(139, 92, 246, 0) 70%);
}
html body .cta-inline h3 { color: #fff; }
html body .cta-inline p { color: rgba(255, 255, 255, 0.72); }
html body .cta-inline a { background: #fff; color: #16132e; }
html body .related { background: var(--s-bg-soft); border-color: var(--s-border); }
html body .related h2 { color: var(--s-text); }
html body .tag-sm { background: var(--s-accent-soft) !important; color: var(--s-accent-text) !important; }
html body .share-bar { background: transparent !important; border: 0 !important; padding-left: 0 !important; }
html body .share-bar > span { color: var(--s-muted) !important; }
html body .share-btn { background: var(--s-surface) !important; color: var(--s-text-2) !important; border: 1px solid var(--s-border) !important; box-shadow: none !important; }
html body .share-btn:hover { border-color: var(--s-border-strong) !important; color: var(--s-text) !important; }
html body .author-info h4, html body .author-info strong { color: var(--s-text); }
html body .author-info p { color: var(--s-muted); }
html body table { border-color: var(--s-border); }
html body th { background: var(--s-surface-2) !important; color: var(--s-text) !important; border-color: var(--s-border) !important; }
html body td { color: var(--s-text-2); border-color: var(--s-border) !important; background: transparent; }
html body tr:nth-child(even) td { background: var(--s-bg-soft); }
html body blockquote { border-color: var(--s-accent); color: var(--s-text-2); }
html body code { background: var(--s-surface-2); color: var(--s-text); }

/* ── Footer ───────────────────────────────────────────────────────────── */
html body > footer { background: var(--s-bg-soft); color: var(--s-muted); border-top: 1px solid var(--s-border); }
html body > footer p, html body > footer strong { color: var(--s-muted); }
html body > footer a { color: var(--s-text-2); }
html body > footer a:hover { color: var(--s-accent-text); }

/* ── Hero pages (ki-angebot-erstellen & co.) — they were dark-only, driven by CSS variables ── */
:root {
  --bg: var(--s-bg);
  --card-bg: var(--s-surface);
  --border: var(--s-border);
  --text: var(--s-text);
  --text-muted: var(--s-muted);
  --primary: var(--s-accent);
  --primary-light: var(--s-accent-text);
  --primary-dark: var(--s-accent-hover);
}
html body .glow-bg { background: var(--s-glow); }
html body .hero h1, html body h1[class], html body .section-title {
  background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--s-text) !important;
}
html body > header:not(:has(h1)) { border-bottom: 0; padding-bottom: 0; background: transparent; }
html body .nav-bar { margin-bottom: 0; }
html body .hero { padding-top: 72px; }
html body .nav-links { display: flex; align-items: center; gap: 16px; }
html body .hero .badge, html body .badge:not(.badge-required):not(.badge-optional) {
  background: var(--s-accent-soft); border-color: var(--s-accent-border); color: var(--s-accent-text);
}

/* The status-bar strip must stay dark: the installed app shows white clock text over it. */
html.dark body::before { background: #0a0a0a !important; }
.static-nav-extra { display: inline-flex; align-items: center; gap: 10px; }
html body > header nav .static-nav-extra { margin-left: 4px; }

/* ── Blog index ───────────────────────────────────────────────────────── */
html body .section-header h2, html body .sectors-title, html body .cta-banner h2 { color: var(--s-text); }
html body .section-header p, html body .sectors-sub, html body .card p { color: var(--s-muted); }
html body .card-meta { color: var(--s-muted); }
html body .card:hover { transform: none; box-shadow: var(--s-shadow); border-color: var(--s-border-strong); }
html body .card::before { display: none; }
html body .card-tag { background: var(--s-accent-soft) !important; color: var(--s-accent-text) !important; border: 1px solid var(--s-accent-border); }
html body .card a.read-more { color: var(--s-accent-text); }
html body .category-btn { background: var(--s-surface) !important; color: var(--s-text-2) !important; border: 1px solid var(--s-border) !important; box-shadow: none !important; }
html body .category-btn.active, html body .category-btn:hover { background: var(--s-text) !important; color: var(--s-bg) !important; border-color: var(--s-text) !important; }
html body .sector-grid a { background: var(--s-surface); color: var(--s-text-2); border-color: var(--s-border); }
html body .sector-grid a:hover { background: var(--s-accent-soft); color: var(--s-accent-text); border-color: var(--s-accent-border); }
html body .cta-banner {
  background: var(--s-cta-bg) !important; border: 1px solid rgba(255, 255, 255, 0.06);
  background-image: radial-gradient(70% 100% at 50% 0%, rgba(139, 92, 246, 0.28) 0%, rgba(139, 92, 246, 0) 70%) !important;
}
html body .cta-banner h2 { color: #fff; }
html body .cta-banner p { color: rgba(255, 255, 255, 0.72); }
html body .cta-btn { background: #fff !important; color: #16132e !important; }
html body .bg-violet { background: var(--s-accent-soft); }

/* ── Text colour, enforced: many pages set dark greys on `.x p` selectors that would vanish
      on the dark background. Muted and on-dark-panel variants below override it again. ── */
html body p, html body li, html body td, html body dd { color: var(--s-text-2) !important; }
html body > header p, html body .card p, html body .card-meta, html body .section-header p, html body .sectors-sub,
html body .section-desc, html body .cta-subtext, html body .hero p, html body .muster-head, html body .author-info p,
html body .pricing + p, html body > footer p { color: var(--s-muted) !important; }
html body .footer-cta p, html body .cta-inline p, html body .cta-banner p { color: rgba(255, 255, 255, 0.72) !important; }
html body article h2, html body article h3, html body main h2, html body main h3 { line-height: 1.25; }

/* Checklist: tick in its own gutter, text and badge flow as one line */
html body .checklist li { display: block !important; position: relative; padding: 9px 0 9px 26px; line-height: 1.55; }
html body .checklist li::before { position: absolute; left: 2px; top: 9px; }
html body .checklist .badge { display: inline-block; margin-left: 6px; white-space: nowrap; }

/* ── Boxes with fixed light backgrounds, and white-on-dark text from the dark-only pages ── */
html body section[style*="rgba(14, 6, 26"] { background: var(--s-bg-soft) !important; }
html body .faq-question, html body .card h3, html body .comparison-table th, html body th { color: var(--s-text) !important; }
html body footer strong { color: var(--s-text-2) !important; }
html body .related-card a { color: var(--s-accent-text); }
html body .author-avatar { background: var(--s-accent-soft) !important; }
html body .timeline-item, html body .test-card {
  background: var(--s-surface) !important; border-color: var(--s-border) !important;
}
html body .compare-card { border-color: var(--s-border) !important; }
html.dark body .compare-card.bad { background: rgba(239, 68, 68, 0.10) !important; border-color: rgba(239, 68, 68, 0.35) !important; }
html.dark body .compare-card.good { background: rgba(16, 185, 129, 0.10) !important; border-color: rgba(16, 185, 129, 0.35) !important; }
html body .stars { color: #d97706; }
html.dark body .template-box { background: var(--s-surface) !important; border-color: var(--s-border) !important; color: var(--s-text-2) !important; }
html body .timeline-item .year { color: var(--s-accent-text); }
html body .formula-box p, html body .formula-box .formula, html body .formula-box li { color: #e5e0f5 !important; }
html.dark body .compare-card.bad { color: #fca5a5 !important; }
html.dark body .compare-card.good { color: #6ee7b7 !important; }

/* Phones: logo, language and theme toggle only — the text links wrapped onto a second row */
@media (max-width: 640px) {
  html body > header nav > a:not(.logo):not([hreflang]):not([href$="/en/index.html"]):not([href$="/blog/index.html"][style]) { display: none; }
  html body > header nav { gap: 10px; }
  html body > header h1 { font-size: 1.85rem; }
}

/* ── Blog article layout: wider frame, table of contents beside a readable text column ── */
html { scroll-behavior: smooth; }
html body article h2[id] { scroll-margin-top: 24px; }
@media (min-width: 1000px) {
  html body > header .container:has(.article-meta) { max-width: 1100px; }
  html body > header .container:has(.article-meta) h1 { max-width: 900px; }
  html body article > .container:has(> .toc) {
    max-width: 1100px; display: grid; grid-template-columns: 220px minmax(0, 760px); column-gap: 64px;
  }
  html body article > .container:has(> .toc) > * { grid-column: 2; }
  html body article > .container > .toc { grid-column: 1; grid-row: 1 / span 400; }
  html body .related > .container, html body .related > .container-wide { max-width: 1100px; }
}
.toc { display: none; }
@media (min-width: 1000px) { .toc { display: block; } }
.toc-inner { position: sticky; top: 24px; padding-top: 6px; max-height: calc(100vh - 48px); overflow-y: auto; }
html body .toc-title { font-size: 0.75rem !important; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--s-muted) !important; margin: 0 0 12px !important; }
html body .toc ol { list-style: none; margin: 0 !important; padding: 0; border-left: 1px solid var(--s-border); }
html body .toc li { margin: 0 !important; font-size: 0.875rem !important; line-height: 1.4; }
html body .toc a {
  display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent;
  color: var(--s-muted); text-decoration: none;
}
html body .toc a:hover { color: var(--s-text); }
html body .toc a.active { color: var(--s-accent-text); border-left-color: var(--s-accent); font-weight: 500; }

/* Tighter vertical rhythm — less scrolling without shrinking the text */
html body > header:has(.article-meta) { padding-bottom: 32px; }
html body > header .share-bar { margin-bottom: 0 !important; }
html body article { padding: 40px 0 !important; }
html body article h2 { margin: 36px 0 12px !important; }
html body article > .container > h2:first-of-type { margin-top: 0 !important; }
/* The blog pages style every <nav> as the header bar (flex, gap, margin) — not this one */
html body .toc-inner { display: block !important; margin: 0 !important; gap: 0 !important; }

/* ── Blog index: large calm cards (logo panel, neutral label, author line) ── */
html body .blog-grid .grid { grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); gap: 56px 32px; }
html body .blog-grid .card {
  position: relative; display: flex; flex-direction: column; background: none !important; border: 0 !important;
  border-radius: 0; box-shadow: none !important; overflow: visible;
}
html body .blog-grid .card:hover { transform: none; box-shadow: none !important; }
html body .card-media {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; border-radius: 14px;
  background: #ececef; margin-bottom: 20px; overflow: hidden; transition: background 0.2s;
}
html body .card-media img { width: 22%; height: auto; filter: brightness(0); opacity: 0.88; transition: transform 0.3s; }
html.dark body .card-media { background: #161616; box-shadow: inset 0 0 0 1px #242424; }
html.dark body .card-media img { filter: brightness(0) invert(1); opacity: 0.9; }
html body .blog-grid .card:hover .card-media { background: #e4e4e8; }
html.dark body .blog-grid .card:hover .card-media { background: #1c1c1c; }
html body .blog-grid .card:hover .card-media img { transform: scale(1.04); }
html body .blog-grid .card-body { padding: 0 !important; display: flex; flex-direction: column; flex: 1; }
html body .blog-grid .card-tag {
  align-self: flex-start; background: #f1f1f3 !important; color: #3f3f46 !important; border: 0 !important;
  border-radius: 6px; font-size: 0.75rem; font-weight: 500; text-transform: none; letter-spacing: 0;
  padding: 3px 8px; margin-bottom: 14px;
}
html.dark body .blog-grid .card-tag { background: #262626 !important; color: #e5e5e5 !important; }
html body .blog-grid .card h2 { font-size: 1.55rem; font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 12px; }
html body .blog-grid .card h2 a { color: var(--s-text); text-decoration: none; }
html body .blog-grid .card h2 a::after { content: ""; position: absolute; inset: 0; }
html body .blog-grid .card:hover h2 a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
html body .blog-grid .card p {
  font-size: 0.975rem; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
html body .card-byline { margin-top: auto; display: flex; flex-direction: column; gap: 2px; font-size: 0.82rem; }
html body .card-byline strong { color: var(--s-text); font-weight: 500; }
html body .card-byline span { color: var(--s-muted); }
/* One heading is enough: the page title already says what this is */
html body .blog-grid { padding-top: 40px !important; }
html body .blog-grid .section-header { display: none; }
html body .categories { margin: 0 0 40px !important; gap: 8px !important; }
html body .category-btn {
  font-family: inherit !important; font-weight: 500 !important; font-size: 0.875rem !important;
  border-radius: 8px !important; padding: 7px 14px !important;
}
/* Cards are <article> elements — keep the article-page spacing off them */
html body .blog-grid .card { padding: 0 !important; }
html body .blog-grid .card h2 { margin: 0 0 10px !important; }
html body .blog-grid .card-tag { margin-bottom: 12px !important; }
