/* ============================================================
   FOCUS AMERICA — Tema Ghost
   Editorial sans-serif · navy + rosso + panna
   Inter Tight (display) · Inter (body/UI) · JetBrains Mono (dati)
   Niente ombre · angoli 2px · niente gradienti · stella ★
   ============================================================ */

/* ------------------------------------------------------------
   FONT SELF-HOSTED (subset latin, woff2 in assets/fonts/)
   Serviti dal tema, nessuna chiamata a Google Fonts (GDPR).
   ------------------------------------------------------------ */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/inter-800.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-tight-600.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-tight-700.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/inter-tight-800.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jetbrains-mono-400.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jetbrains-mono-500.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-800.woff2") format("woff2"); }

:root {
  /* Brand (sovrascrivibili da Design > impostazioni tema in default.hbs) */
  --fa-navy:        #1F2761;
  --fa-navy-deep:   #151A47;
  --fa-navy-soft:   #2D3679;
  --fa-red:         #C8202C;
  --fa-red-deep:    color-mix(in srgb, var(--fa-red) 84%, #000);

  /* Neutri — sfondo bianco */
  --fa-cream:       #FFFFFF;
  --fa-cream-2:     #F4F4F3;
  --fa-paper:       #FFFFFF;
  --fa-ink:         #141414;
  --fa-ink-soft:    #2A2A2A;
  --fa-muted:       #6B6B6B;
  --fa-rule:        #E3E2DF;
  --fa-rule-soft:   #EEEEED;

  /* Alias semantici */
  --fa-accent:      var(--fa-red);
  --fa-surface:     var(--fa-cream);
  --fa-surface-card:var(--fa-paper);
  --fa-surface-alt: var(--fa-cream-2);
  --fa-on-dark:     #ffffff;

  /* Type — i default brand (Inter / Inter Tight) restano, ma rispettano
     i font scelti in Ghost Admin → Design (variabili --gh-font-*). */
  --fa-sans:    var(--gh-font-body, "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif);
  --fa-display: var(--gh-font-heading, "Inter Tight", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif);
  --fa-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --fa-container: 1200px;
  --fa-gutter: 32px;
  --fa-radius: 2px;
  --fa-radius-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 150px; }

body {
  margin: 0;
  font-family: var(--fa-sans);
  color: var(--fa-ink);
  background: var(--fa-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
  /* Le card "full" (100vw) sporgono della larghezza della scrollbar: clip evita lo
     scroll orizzontale senza rompere position: sticky (a differenza di hidden). */
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--fa-red); outline-offset: 2px; }

.fa-container {
  max-width: var(--fa-container);
  margin: 0 auto;
  padding-left: var(--fa-gutter);
  padding-right: var(--fa-gutter);
}
.fa-main { max-width: var(--fa-container); margin: 0 auto; padding: 36px var(--fa-gutter) 64px; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 50; background: var(--fa-navy); color: #fff; padding: 10px 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ============================================================
   TOP BAR + HEADER + NAV
   ============================================================ */
.fa-site-header { position: sticky; top: 0; z-index: 100; background: var(--fa-cream); }

.fa-topbar {
  background: var(--fa-navy);
  color: #fff;
  font-family: var(--fa-sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fa-topbar-inner {
  max-width: var(--fa-container);
  margin: 0 auto;
  padding: 8px var(--fa-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.fa-topbar .fa-date { opacity: 0.85; font-variant-numeric: tabular-nums; }
.fa-topbar-right { display: flex; align-items: center; gap: 16px; opacity: 0.95; }
.fa-topbar-right a { display: inline-flex; color: #fff; }
.fa-topbar-right a:hover { color: var(--fa-red); }
.fa-topbar-right svg { width: 16px; height: 16px; }

.fa-header { background: var(--fa-cream); border-bottom: 1.5px solid var(--fa-navy); }
.fa-header-inner {
  max-width: var(--fa-container);
  margin: 0 auto;
  padding: 8px var(--fa-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.fa-header-logo { display: flex; align-items: center; gap: 14px; }
.fa-header-logo img { height: 84px; width: auto; }
.fa-wordmark {
  display: flex;
  align-items: baseline;
  gap: 9px;
  line-height: 1;
  /* Stesso font del logo (best match: Montserrat, ExtraBold) */
  font-family: "Montserrat", var(--fa-display);
  font-weight: 800;
  font-size: 27px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  /* il maiuscolo a line-height 1 appare alto: piccola correzione ottica */
  transform: translateY(2px);
}
.fa-wordmark .w1 { color: var(--fa-navy); }
.fa-wordmark .w2 { color: var(--fa-red); }

.fa-nav-inline {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.fa-nav-inline a { color: var(--fa-ink); white-space: nowrap; position: relative; padding: 6px 0; }
.fa-nav-inline a:hover { color: var(--fa-red); }
.fa-nav-inline a.active { color: var(--fa-navy); font-weight: 600; }
.fa-nav-inline a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--fa-red);
}
.fa-nav-inline .fa-nav-cta { color: var(--fa-red); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; }
.fa-nav-inline .fa-nav-cta::after { content: none; }
.fa-nav-inline svg { width: 14px; height: 14px; }

.fa-search.icon-only {
  width: 38px; height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--fa-ink); cursor: pointer; background: transparent; border: none;
}
.fa-search.icon-only:hover { color: var(--fa-red); }
.fa-search.icon-only svg { width: 16px; height: 16px; }

/* burger + mobile menu */
.fa-burger {
  display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px;
  align-items: center; justify-content: center; background: transparent;
  border: 1px solid var(--fa-rule); border-radius: 2px; cursor: pointer; flex-shrink: 0;
}
.fa-burger span { display: block; width: 20px; height: 2px; background: var(--fa-navy); }
.fa-mobile-menu { display: none; flex-direction: column; padding: 4px var(--fa-gutter) 14px; }
.fa-mobile-menu a {
  padding: 13px 2px; border-bottom: 1px solid var(--fa-rule-soft); font-size: 16px;
  font-weight: 600; color: var(--fa-ink); display: flex; align-items: center; gap: 8px;
}
.fa-mobile-menu a.cta, .fa-mobile-menu a.fa-nav-cta { color: var(--fa-red); }
.fa-mobile-menu a.active { color: var(--fa-navy); }
.fa-mobile-menu.open { display: flex; max-height: calc(100dvh - 92px); overflow-y: auto; overscroll-behavior: contain; }
.fa-mobile-menu a svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================================
   KICKER / TAG / META / DATELINE
   ============================================================ */
.fa-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fa-red);
}
.fa-kicker::before { content: "★"; font-size: 10px; color: currentColor; }
.fa-kicker.no-star::before { content: none; }

.fa-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
  background: var(--fa-red); color: #fff; font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; border-radius: 2px;
}
.fa-tag.outline { background: transparent; color: var(--fa-red); border: 1px solid var(--fa-red); }
.fa-tag.outline:hover { background: var(--fa-red); color: #fff; }

.fa-meta { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--fa-muted); flex-wrap: wrap; }
.fa-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--fa-muted); }
.fa-meta .author { color: var(--fa-ink); font-weight: 600; }

/* ============================================================
   HEADLINE / TYPE
   ============================================================ */
.fa-h-hero { font-family: var(--fa-display); font-size: 56px; line-height: 1.02; letter-spacing: -0.025em; font-weight: 800; color: var(--fa-ink); margin: 0; text-wrap: pretty; }
.fa-h-lg   { font-family: var(--fa-display); font-size: 32px; line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; margin: 0; text-wrap: pretty; }
.fa-h-md   { font-family: var(--fa-display); font-size: 22px; line-height: 1.15; letter-spacing: -0.015em; font-weight: 700; margin: 0; text-wrap: pretty; }
.fa-h-sm   { font-family: var(--fa-display); font-size: 17px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 600; margin: 0; text-wrap: pretty; }
.fa-title-xl { font-family: var(--fa-display); font-weight: 800; letter-spacing: -0.028em; line-height: 1.02; margin: 0; font-size: 70px; color: var(--fa-ink); }
.fa-h-hero, .fa-h-lg, .fa-h-md, .fa-h-sm, .fa-title-xl { overflow-wrap: break-word; }
.fa-post-title { font-size: 52px; }

.fa-dek { font-family: var(--fa-sans); font-size: 18px; line-height: 1.45; color: var(--fa-ink-soft); font-weight: 400; margin: 0; text-wrap: pretty; }
.fa-dek.sm { font-size: 15px; line-height: 1.5; }

a .fa-h-hero, a .fa-h-lg, a .fa-h-md, a .fa-h-sm,
.fa-news-card .fa-h-hero, .fa-news-card .fa-h-lg, .fa-news-card .fa-h-md, .fa-news-card .fa-h-sm { transition: color .12s; }
a:hover .fa-h-hero, a:hover .fa-h-lg, a:hover .fa-h-md, a:hover .fa-h-sm { color: var(--fa-red); }

/* ============================================================
   SECTION RULE
   ============================================================ */
.fa-section-rule { display: flex; align-items: center; gap: 16px; margin: 0 0 24px; padding-top: 24px; border-top: 2px solid var(--fa-ink); }
.fa-section-rule .chip { width: 8px; height: 8px; background: var(--fa-red); margin-top: 14px; border-radius: 1px; flex-shrink: 0; }
.fa-section-rule .chip.ink { background: var(--fa-ink); }
.fa-section-rule h2 {
  font-family: var(--fa-display); font-size: 14px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; margin: 0; padding-top: 10px; color: var(--fa-ink);
}
.fa-section-rule .more { margin-left: auto; padding-top: 10px; font-size: 12px; color: var(--fa-muted); letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; }
.fa-section-rule .more:hover { color: var(--fa-red); }

/* ============================================================
   CARDS + PLACEHOLDERS
   ============================================================ */
.fa-news-card, .fa-row { display: block; color: inherit; }
.fa-card-media { aspect-ratio: 16/9; background: var(--fa-surface-alt); overflow: hidden; position: relative; }
.fa-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.fa-ph {
  background: repeating-linear-gradient(135deg, var(--fa-cream-2) 0 10px, var(--fa-cream) 10px 20px);
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
  color: var(--fa-muted); font-family: var(--fa-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}
.fa-ph.navy { background: repeating-linear-gradient(135deg, var(--fa-navy) 0 10px, var(--fa-navy-deep) 10px 20px); color: rgba(255,255,255,0.7); }
.fa-ph.red  { background: repeating-linear-gradient(135deg, var(--fa-red) 0 10px, var(--fa-red-deep) 10px 20px); color: rgba(255,255,255,0.85); }
.fa-ph .ph-label { background: rgba(20,20,20,0.6); color: #fff; padding: 3px 8px; border-radius: 2px; }

.fa-featured-badge {
  position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; background: var(--fa-red); color: #fff; font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.fa-featured-badge svg { width: 10px; height: 10px; fill: currentColor; }

/* ============================================================
   LAYOUT GRIDS
   ============================================================ */
.fa-hero { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; margin-bottom: 8px; }
.fa-hero-secondary { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; align-content: start; }
.fa-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.fa-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.fa-banner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; }
.fa-dossier-head { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; margin-bottom: 32px; }
.fa-lead { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 2px solid var(--fa-ink); margin-bottom: 40px; }
.fa-listrow { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding: 28px 0; border-top: 1px solid var(--fa-rule-soft); }
.fa-listrow:first-of-type { border-top: none; }
.fa-listrow-sm { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--fa-rule-soft); }
.fa-archive-search { display: grid; grid-template-columns: 1fr auto; gap: 10px; max-width: 900px; }
.fa-archive-main { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
.fa-archive-row { display: grid; grid-template-columns: 70px 90px 1fr 140px; gap: 18px; padding: 14px 0; border-top: 1px solid var(--fa-rule-soft); align-items: baseline; }
.fa-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.fa-author-box { display: grid; grid-template-columns: 72px 1fr; gap: 20px; }

.fa-section { margin-top: 56px; }
.fa-section.lg { margin-top: 72px; }

/* navy feature / dossier block */
.fa-feature-navy { margin-top: 72px; background: var(--fa-navy); color: #fff; padding: 48px 0; position: relative; overflow: hidden; }
.fa-feature-navy .stars-deco,
.fa-banner .stars-deco { position: absolute; top: -34px; left: -26px; display: flex; gap: 16px; opacity: 0.08; pointer-events: none; }
.fa-feature-navy .stars-deco svg,
.fa-banner .stars-deco svg { width: 100px; height: 100px; fill: #fff; }
.fa-feature-navy .fa-kicker { color: #fff; opacity: 0.85; }
.fa-dossier-title { font-family: var(--fa-display); font-size: 40px; margin: 0; font-weight: 800; letter-spacing: -0.02em; }
.fa-dossier-meta { opacity: 0.7; font-size: 14px; font-family: var(--fa-mono); }
.fa-dossier-link { margin-left: auto; color: #fff; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 2px; }
.fa-stars-row { display: flex; align-items: center; gap: 12px; }
.fa-stars-row svg { width: 14px; height: 14px; fill: #fff; }

/* banner (substack/newsletter) */
.fa-banner { padding: 26px 32px; background: var(--fa-navy); color: #fff; position: relative; overflow: hidden; }
.fa-banner .kick { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; opacity: 0.7; }
.fa-banner h3 { font-family: var(--fa-display); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 0; color: #fff; }

/* ============================================================
   BARRA ANNUNCIO NATIVA di Ghost (Settings → Announcement bar)
   Si monta in #announcement-bar-root, che forniamo SOTTO l'header (default.hbs):
   Ghost usa il nostro div se esiste. La ricoloriamo nel brand (navy) e le
   anteponiamo l'etichetta "Novità" col punto lampeggiante. Il TESTO resta quello
   scritto in Admin → Settings → Announcement bar: si aggiorna da solo.
   ============================================================ */
#announcement-bar-root { position: relative; z-index: 1; }
#announcement-bar-root:empty { display: none; }

#announcement-bar-root .gh-announcement-bar,
#announcement-bar-root .gh-announcement-bar.accent,
#announcement-bar-root .gh-announcement-bar.dark,
#announcement-bar-root .gh-announcement-bar.light {
  background-color: var(--fa-navy) !important;
  color: #fff !important;
  z-index: 1 !important;
  justify-content: center;
  gap: 10px;
  min-height: 0;
  padding: 11px 48px;
  font-family: var(--fa-sans);
  font-size: 14px;
  text-align: center;
}

/* Punto rosso lampeggiante (lo mettiamo noi, prima dell'etichetta) */
#announcement-bar-root .gh-announcement-bar::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fa-red);
  animation: fa-ab-blink 1.4s ease-in-out infinite;
}

/* Etichetta "Novità" (fissa nel tema, non si scrive in Admin) */
#announcement-bar-root .gh-announcement-bar-content::before {
  content: "Novità";
  margin-right: 10px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F4A9A0;
  white-space: nowrap;
}

#announcement-bar-root .gh-announcement-bar-content,
#announcement-bar-root .gh-announcement-bar-content * { color: #fff !important; }
#announcement-bar-root .gh-announcement-bar-content a { color: #fff !important; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.5); }
#announcement-bar-root .gh-announcement-bar-content a:hover { border-color: #fff; }

/* Pulsante chiudi nativo di Ghost */
#announcement-bar-root .gh-announcement-bar button { color: rgba(255,255,255,0.85) !important; }
#announcement-bar-root .gh-announcement-bar button:hover { color: #fff !important; }

@keyframes fa-ab-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.2; transform: scale(0.7); }
}
@media (prefers-reduced-motion: reduce) {
  #announcement-bar-root .gh-announcement-bar::before { animation: none; }
}
@media (max-width: 640px) {
  #announcement-bar-root .gh-announcement-bar { padding: 10px 44px; font-size: 13px; }
}

/* ============================================================
   AVVISO ARTICOLO DATATO (Proposta C / variante V2 dell'handoff)
   Nascosto lato server; lo mostra main.js oltre i 6 mesi (poi 1, 2, 3… anni).
   ============================================================ */
.fa-stale-notice { display: flex; gap: 14px; align-items: center; margin: 0 0 28px; padding: 16px 18px; background: var(--fa-cream-2); border-left: 3px solid var(--fa-red); border-radius: var(--fa-radius); }
.fa-stale-notice[hidden] { display: none; }
.fa-stale-notice .fa-stale-ico { flex: none; color: var(--fa-red); }
.fa-stale-notice .fa-stale-ico svg { display: block; width: 22px; height: 22px; }
.fa-stale-notice .fa-stale-kick { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fa-red); }
.fa-stale-notice .fa-stale-text { font-size: 14px; line-height: 1.55; color: var(--fa-muted); margin: 5px 0 0; font-family: var(--fa-sans); }

/* ============================================================
   AVVISI — Breaking News (rosso) / Live Blog (navy)
   ============================================================ */
.fa-alert-wrap { margin: 24px auto 8px; }
.fa-alert { border: 2px solid; }
.fa-alert--breaking { border-color: var(--fa-red); }
.fa-alert--live { border-color: var(--fa-navy); }
.fa-alert-bar { display: flex; align-items: center; gap: 12px; color: #fff; padding: 10px 18px; flex-wrap: wrap; }
.fa-alert--breaking .fa-alert-bar { background: var(--fa-red); }
.fa-alert--live .fa-alert-bar { background: var(--fa-navy); }
.fa-alert-label { font-family: var(--fa-display); font-size: 15px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.fa-alert-sub { font-size: 12px; opacity: 0.85; letter-spacing: 0.04em; }
.fa-alert-time { margin-left: auto; font-family: var(--fa-mono); font-size: 12px; opacity: 0.9; white-space: nowrap; }
.fa-alert-body { display: grid; grid-template-columns: 1.3fr 1fr; text-decoration: none; color: inherit; }
.fa-alert-text { padding: 26px 28px; align-self: center; }
.fa-alert-title { font-size: 40px; margin-top: 12px; }
.fa-alert--live .fa-alert-body:hover .fa-h-hero { color: var(--fa-navy); }
.fa-alert-cta { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.fa-alert--breaking .fa-alert-cta { color: var(--fa-red); }
.fa-alert--live .fa-alert-cta { color: var(--fa-navy); }
.fa-alert-cta svg { width: 14px; height: 14px; }
.fa-alert-media { position: relative; min-height: 230px; background: var(--fa-surface-alt); overflow: hidden; }
.fa-alert-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; display: inline-block; flex-shrink: 0; animation: fa-livepulse 1.6s ease-in-out infinite; }
@keyframes fa-livepulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* ============================================================
   BUTTONS + FORMS
   ============================================================ */
.fa-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px;
  font-family: var(--fa-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; border-radius: 2px; border: none; cursor: pointer;
  transition: background .12s, color .12s; text-decoration: none;
}
.fa-btn svg { width: 14px; height: 14px; }
.fa-btn.primary { background: var(--fa-red); color: #fff; }
.fa-btn.primary:hover { background: var(--fa-red-deep); }
.fa-btn.navy { background: var(--fa-navy); color: #fff; }
.fa-btn.navy:hover { background: var(--fa-navy-deep); }
.fa-btn.ghost { background: transparent; color: var(--fa-navy); border: 1px solid var(--fa-navy); }
.fa-btn.ghost:hover { background: var(--fa-navy); color: #fff; }

/* ============================================================
   FOOTER + SOCIAL
   ============================================================ */
.fa-footer { background: var(--fa-navy); color: #fff; position: relative; overflow: hidden; }
.fa-footer-inner { position: relative; max-width: var(--fa-container); margin: 0 auto; padding: 56px var(--fa-gutter) 32px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.fa-footer-brand img { height: 60px; }
.fa-footer-brand p { margin: 16px 0 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.75); max-width: 320px; }
.fa-footer h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 16px; color: rgba(255,255,255,0.6); }
.fa-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.fa-footer ul a { color: rgba(255,255,255,0.9); }
.fa-footer ul a:hover { color: #fff; text-decoration: underline; }
.fa-footer-bottom { position: relative; border-top: 1px solid rgba(255,255,255,0.15); padding: 24px var(--fa-gutter); max-width: var(--fa-container); margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; font-size: 12px; color: rgba(255,255,255,0.55); letter-spacing: 0.04em; }
.fa-disclaimer { max-width: 860px; margin: 0; font-size: 12px; line-height: 1.6; color: rgba(255,255,255,0.5); letter-spacing: 0.02em; }

.fa-social-strip { background: var(--fa-cream-2); border-top: 1px solid var(--fa-rule); border-bottom: 1px solid var(--fa-rule); padding: 32px 0; }
.fa-social-strip .inner { max-width: var(--fa-container); margin: 0 auto; padding: 0 var(--fa-gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.fa-social-strip .copy { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.fa-social-strip .copy h3 { font-family: var(--fa-display); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.fa-social-strip .copy p { margin: 0; color: var(--fa-muted); font-size: 14px; }

.fa-social-list { display: flex; gap: 18px; align-items: center; }
.fa-social-list a { display: inline-flex; color: var(--fa-navy); transition: color .12s; }
.fa-social-list a:hover { color: var(--fa-red); }
.fa-social-list svg { width: 22px; height: 22px; }
.fa-footer .fa-social-list a { color: rgba(255,255,255,0.88); }
.fa-footer .fa-social-list a:hover { color: var(--fa-red); }

.fa-sticky-social { position: sticky; top: 160px; display: grid; gap: 14px; }
.fa-sticky-social a, .fa-sticky-social button { position: relative; display: inline-flex; align-items: center; justify-content: center; color: var(--fa-muted); background: none; border: none; cursor: pointer; padding: 0; font: inherit; transition: color .12s; }
.fa-sticky-social a:hover, .fa-sticky-social button:hover { color: var(--fa-red); }
.fa-sticky-social svg { width: 20px; height: 20px; }
.fa-sticky-social .copied { color: var(--fa-navy); }
.fa-sticky-social .copied::after {
  content: "Link copiato";
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: var(--fa-navy);
  color: #fff;
  font-family: var(--fa-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 10px;
  border-radius: 2px;
  pointer-events: none;
}

/* Condivisione in fondo all'articolo (visibile dove il rail laterale è nascosto). */
.fa-share-bottom { display: none; }
@media (max-width: 1079px) {
  .fa-share-bottom { display: flex; align-items: center; gap: 18px; margin: 36px 0 8px; padding: 18px 0; border-top: 1px solid var(--fa-rule); border-bottom: 1px solid var(--fa-rule); }
  .fa-share-bottom .label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fa-muted); }
  .fa-share-bottom .links { display: flex; align-items: center; gap: 22px; margin-left: auto; }
  .fa-share-bottom a, .fa-share-bottom button { position: relative; display: inline-flex; align-items: center; justify-content: center; color: var(--fa-muted); background: none; border: none; cursor: pointer; padding: 0; font: inherit; transition: color .12s; }
  .fa-share-bottom a:hover, .fa-share-bottom button:hover { color: var(--fa-red); }
  .fa-share-bottom svg { width: 22px; height: 22px; }
  .fa-share-bottom .copied { color: var(--fa-navy); }
  .fa-share-bottom .copied::after { content: "Link copiato"; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--fa-navy); color: #fff; font-family: var(--fa-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; padding: 5px 10px; border-radius: 2px; pointer-events: none; }
}

/* ============================================================
   POST / ARTICLE
   ============================================================ */
.fa-post-hero { width: 100%; background: var(--fa-surface-alt); overflow: hidden; }
.fa-post-hero img { width: 100%; height: auto; display: block; }
.fa-post-caption { max-width: var(--fa-container); margin: 0 auto; padding: 10px var(--fa-gutter); font-size: 12px; color: var(--fa-muted); }
.fa-post-head { max-width: 940px; margin: 40px auto 0; padding: 0 var(--fa-gutter); }
.fa-post-head .meta-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.fa-post-head .read-min { font-size: 12px; color: var(--fa-muted); font-family: var(--fa-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.fa-post-head .fa-dek { margin-top: 20px; font-size: 22px; line-height: 1.4; }

.fa-byline { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding: 24px 0; border-top: 1px solid var(--fa-rule); border-bottom: 1px solid var(--fa-rule); }
.fa-byline .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--fa-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; overflow: hidden; flex-shrink: 0; }
.fa-byline .avatar img { width: 100%; height: 100%; object-fit: cover; }
.fa-byline .who { flex: 1; }
.fa-byline .label { font-size: 12px; color: var(--fa-muted); letter-spacing: 0.06em; text-transform: uppercase; }
.fa-byline .name { font-weight: 700; font-size: 15px; }
.fa-byline .name a { border-bottom: 1px solid var(--fa-red); }
.fa-byline .sub { font-size: 13px; color: var(--fa-muted); margin-top: 2px; }
.fa-byline .actions { display: flex; gap: 10px; }

.fa-post-body { max-width: 940px; margin: 0 auto; padding: 48px var(--fa-gutter) 64px; position: relative; }
.fa-post-social { position: absolute; left: -64px; top: 48px; bottom: 64px; width: 36px; z-index: 5; }

/* article prose */
.fa-post-content { font-size: 18px; line-height: 1.65; color: var(--fa-ink-soft); }
.fa-post-content > p:first-of-type::first-letter {
  font-family: var(--fa-display); float: left; font-size: 74px; line-height: 0.78;
  padding: 6px 10px 0 0; color: var(--fa-red); font-weight: 800;
}
.fa-post-content p { margin: 0 0 24px; }
.fa-post-content a { color: var(--fa-ink); border-bottom: 1px solid var(--fa-red); }
.fa-post-content a:hover { color: var(--fa-red); }
.fa-post-content h2 { font-family: var(--fa-display); font-size: 28px; font-weight: 700; margin: 48px 0 16px; letter-spacing: -0.015em; color: var(--fa-ink); }
.fa-post-content h3 { font-family: var(--fa-display); font-size: 22px; font-weight: 700; margin: 40px 0 14px; letter-spacing: -0.01em; color: var(--fa-ink); }
.fa-post-content h4 { font-family: var(--fa-display); font-size: 18px; font-weight: 700; margin: 32px 0 12px; color: var(--fa-ink); }
.fa-post-content ul, .fa-post-content ol { margin: 0 0 24px; padding-left: 24px; }
.fa-post-content li { margin-bottom: 8px; }
.fa-post-content img { margin: 0; max-width: 100%; height: auto; }
.fa-post-content figure { margin: 40px 0; }
.fa-post-content figcaption { font-size: 13px; color: var(--fa-muted); margin-top: 10px; text-align: left; }
.fa-post-content hr { border: none; border-top: 2px solid var(--fa-ink); margin: 48px auto; width: 64px; }
.fa-post-content blockquote:not(.twitter-tweet):not(.instagram-media):not(.tiktok-embed) {
  margin: 40px 0; padding: 28px 32px; border-left: 4px solid var(--fa-red);
  background: var(--fa-cream-2); font-family: var(--fa-display); font-size: 18px;
  line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; color: var(--fa-navy);
}
.fa-post-content blockquote p { margin: 0 0 8px; }
.fa-post-content blockquote cite, .fa-post-content blockquote footer {
  display: block; margin-top: 16px; font-size: 13px; font-family: var(--fa-sans); font-weight: 600;
  color: var(--fa-ink-soft); letter-spacing: 0.04em; text-transform: uppercase; font-style: normal;
}

/* Ghost koenig cards */
/* isolation: ogni card forma il proprio contesto di impilamento, così gli z-index interni
   (es. player/pulsante play del video) non scavalcano l'header sticky durante lo scroll. */
.fa-post-content .kg-card { margin: 40px 0; isolation: isolate; }
/* Immagini nel corpo: dimensione NATURALE, mai stirate oltre l'originale (così le
   immagini caricate col vecchio tema, spesso più piccole, non si "rompono"). Le grandi
   restano comunque limitate alla larghezza della colonna; le più strette si centrano. */
.fa-post-content .kg-image-card img,
.fa-post-content .kg-image { width: auto; max-width: 100%; height: auto; display: block; margin-left: auto; margin-right: auto; }
/* Le scelte esplicite "wide"/"full" del nuovo editor restano a tutta larghezza. */
.fa-post-content .kg-width-wide img,
.fa-post-content .kg-width-full img { width: 100%; }
.fa-post-content .kg-width-wide { width: min(1080px, 92vw); max-width: 92vw; margin-left: 50%; transform: translateX(-50%); }
.fa-post-content .kg-width-full { width: 100vw; margin-left: 50%; transform: translateX(-50%); max-width: 100vw; }
.fa-post-content .kg-embed-card, .fa-post-content .kg-gallery-card { display: flex; flex-direction: column; align-items: center; }
/* La galleria resta dentro la colonna del testo (niente breakout "wide/full"): così non
   finisce sotto il rail social a sinistra. */
.fa-post-content .kg-gallery-card.kg-width-wide,
.fa-post-content .kg-gallery-card.kg-width-full { width: auto; max-width: 100%; margin-left: 0; margin-right: 0; transform: none; }
/* Video embed (YouTube/Vimeo): responsivi 16:9 invece del quadratino minuscolo. */
.fa-post-content iframe[src*="youtube.com"],
.fa-post-content iframe[src*="youtube-nocookie.com"],
.fa-post-content iframe[src*="youtu.be"],
.fa-post-content iframe[src*="player.vimeo.com"] { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }

/* Lightbox immagini (galleria + immagini del contenuto): apertura a tutta pagina al clic,
   con contatore "N / totale" e frecce per sfogliare la galleria. */
.fa-lightbox { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; background: rgba(18,18,18,0.93); padding: 24px 64px; cursor: zoom-out; }
.fa-lightbox.open { display: flex; }
.fa-lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; cursor: default; }
.fa-lightbox-close { position: absolute; top: 16px; right: 20px; width: 42px; height: 42px; border: none; background: transparent; color: #fff; font-size: 32px; line-height: 1; cursor: pointer; }
.fa-lightbox-close:hover { color: var(--fa-red); }
.fa-lightbox-count { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-family: var(--fa-mono); font-size: 14px; letter-spacing: 0.08em; pointer-events: none; }
.fa-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border: none; background: transparent; color: #fff; font-size: 46px; line-height: 1; cursor: pointer; opacity: 0.85; }
.fa-lightbox-nav:hover { opacity: 1; color: var(--fa-red); }
.fa-lightbox-nav.prev { left: 6px; }
.fa-lightbox-nav.next { right: 6px; }
@media (max-width: 640px) {
  .fa-lightbox { padding: 16px; }
  .fa-lightbox-nav { width: 40px; height: 40px; font-size: 34px; }
}
.fa-post-content .kg-bookmark-card { margin: 40px 0; }
.fa-post-content .kg-bookmark-container { display: flex; border: 1px solid var(--fa-rule); background: var(--fa-paper); color: inherit; min-height: 148px; text-decoration: none; }
.fa-post-content .kg-bookmark-content { flex: 1; padding: 20px; display: flex; flex-direction: column; }
.fa-post-content .kg-bookmark-title { font-family: var(--fa-display); font-weight: 700; color: var(--fa-ink); }
.fa-post-content .kg-bookmark-description { font-size: 14px; color: var(--fa-muted); margin-top: 6px; }
.fa-post-content .kg-bookmark-thumbnail { position: relative; min-width: 33%; max-width: 33%; }
.fa-post-content .kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.fa-post-content .kg-bookmark-metadata { display: flex; align-items: center; gap: 8px; margin-top: auto; font-size: 13px; color: var(--fa-muted); }
.fa-post-content .kg-callout-card { display: flex; gap: 12px; padding: 20px 24px; border-left: 4px solid var(--fa-navy); background: var(--fa-cream-2); margin: 32px 0; border-radius: 2px; }
/* Button card (no clip su testo multi-riga) */
.fa-post-content .kg-button-card { margin: 36px 0; display: flex; }
.fa-post-content .kg-button-card.kg-align-center { justify-content: center; }
.fa-post-content .kg-button-card.kg-align-left { justify-content: flex-start; }
.fa-post-content .kg-btn { display: inline-block; height: auto !important; min-height: 0 !important; max-height: none !important; max-width: 100%; padding: 16px 34px !important; border-radius: var(--fa-radius) !important; border-bottom: none; font-family: var(--fa-sans) !important; font-weight: 600 !important; font-size: 15px !important; line-height: 1.4 !important; text-align: center; white-space: normal !important; overflow: visible !important; text-decoration: none; transition: opacity .12s; }
.fa-post-content .kg-btn:hover { opacity: 0.9; color: #fff; }
.fa-post-content .kg-btn-accent { background-color: var(--fa-red) !important; color: #fff !important; }

/* post footer blocks */
.fa-post-tags { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--fa-rule); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.fa-post-tags .label { font-size: 12px; color: var(--fa-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-right: 4px; }
.fa-author-box { margin-top: 40px; padding: 28px; background: var(--fa-paper); border: 1px solid var(--fa-rule); }
.fa-author-box .avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--fa-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 24px; overflow: hidden; }
.fa-author-box .avatar img { width: 100%; height: 100%; object-fit: cover; }
.fa-author-box .label { font-size: 11px; color: var(--fa-muted); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.fa-author-box h4 { font-family: var(--fa-display); font-size: 22px; margin: 4px 0 8px; letter-spacing: -0.01em; }
.fa-author-box p { font-size: 14px; color: var(--fa-muted); margin: 0; line-height: 1.5; }
.fa-author-box .links { margin-top: 14px; display: flex; gap: 14px; font-size: 13px; }
.fa-author-box .links a:first-child { color: var(--fa-red); font-weight: 600; }
.fa-author-box .links a { color: var(--fa-muted); }

.fa-post-related { background: var(--fa-cream-2); border-top: 1px solid var(--fa-rule); padding: 56px 0; }

/* ============================================================
   TAG / AUTHOR / ARCHIVE / ABOUT HEROES
   ============================================================ */
.fa-tag-hero { background: var(--fa-navy); color: #fff; padding: 56px 0 48px; position: relative; overflow: hidden; }
.fa-tag-hero .fa-title-xl { color: #fff; }
.fa-tag-hero .stars-deco { position: absolute; top: -40px; right: -40px; display: flex; gap: 20px; opacity: 0.08; }
.fa-tag-hero .stars-deco svg { width: 120px; height: 120px; fill: #fff; }
.fa-tag-hero .eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.75; }
.fa-tag-hero .lede { margin-top: 16px; font-size: 18px; line-height: 1.5; max-width: 680px; opacity: 0.9; }
.fa-tag-hero .count { margin-top: 28px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }

.fa-tagbar { background: var(--fa-paper); border-bottom: 1px solid var(--fa-rule); padding: 14px 0; }
.fa-tagbar .inner { max-width: var(--fa-container); margin: 0 auto; padding: 0 var(--fa-gutter); display: flex; gap: 10px; align-items: center; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); }
.fa-tagbar .inner::-webkit-scrollbar { display: none; }
.fa-tagbar .inner > * { flex-shrink: 0; }
.fa-tagbar .label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fa-muted); font-weight: 700; white-space: nowrap; margin-right: 4px; }
.fa-tagbar a { padding: 8px 16px; border-radius: 999px; color: var(--fa-ink); font-size: 13px; font-weight: 500; border: 1px solid var(--fa-rule); white-space: nowrap; }
.fa-tagbar a:hover { border-color: var(--fa-navy); color: var(--fa-navy); }

/* Pagina autore — pannello hero (design handoff) */
.fa-author-hero { background: #fff; padding: 40px 0; }
.fa-aut-panel { position: relative; overflow: hidden; background: var(--fa-cream-2); border-top: 3px solid var(--fa-red); padding: 40px 44px; }
.fa-aut-stars { position: absolute; top: -38px; right: -30px; display: flex; gap: 14px; color: var(--fa-red); opacity: 0.06; pointer-events: none; }
.fa-aut-stars svg { width: 124px; height: 124px; fill: currentColor; }
.fa-aut-head { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 36px; align-items: center; }
.fa-aut-avatar { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; border: 3px solid var(--fa-red); background: #fff; display: flex; align-items: center; justify-content: center; color: var(--fa-red); }
.fa-aut-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fa-aut-avatar svg { width: 52px; height: 52px; fill: currentColor; }
.fa-aut-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.fa-aut-name { font-family: var(--fa-display); font-weight: 800; letter-spacing: -0.028em; line-height: 1.04; font-size: 46px; color: var(--fa-ink); margin: 0; }
.fa-aut-bio { font-family: var(--fa-sans); font-size: 18px; line-height: 1.6; color: var(--fa-ink-soft); margin: 2px 0 0; max-width: 620px; text-wrap: pretty; }
.fa-aut-social { display: flex; align-items: center; gap: 10px; margin-top: 2px; flex-wrap: wrap; }
.fa-aut-soc { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--fa-navy); color: #fff; transition: background .12s; }
.fa-aut-soc:hover { background: var(--fa-red); }
.fa-aut-soc svg { width: 16px; height: 16px; }
.fa-aut-stats { position: relative; display: flex; align-items: flex-end; gap: 44px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--fa-rule); }
.fa-aut-stat .num { font-family: var(--fa-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: var(--fa-ink); white-space: nowrap; font-size: 30px; }
.fa-aut-stat .num.red { font-size: 34px; color: var(--fa-red); }
.fa-aut-stat .num.cap { text-transform: capitalize; }
.fa-aut-stat .lbl { font-family: var(--fa-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fa-muted); margin-top: 8px; }

/* Immagine in evidenza delle pagine (formato naturale, non ritagliata) */
.fa-page-image { width: 100%; height: auto; display: block; margin-top: 8px; }

/* archive */
.fa-archive-hero { border-bottom: 1px solid var(--fa-rule); padding: 56px 0 40px; background: var(--fa-cream); }
.fa-archive-search svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--fa-muted); }
.fa-archive-row .ar-time { font-family: var(--fa-mono); font-size: 12px; color: var(--fa-muted); }
.fa-archive-row .ar-title { font-size: 16px; font-weight: 500; line-height: 1.35; color: var(--fa-ink); }
.fa-archive-row:hover .ar-title { color: var(--fa-red); }
.fa-archive-row .ar-author { font-size: 13px; color: var(--fa-muted); text-align: right; }
.fa-archive-list-head { font-family: var(--fa-display); font-size: 28px; font-weight: 700; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 2px solid var(--fa-ink); letter-spacing: -0.015em; }
/* Intestazioni mese/anno e giorno (inserite via JS) */
.fa-archive-month { font-family: var(--fa-display); font-size: 24px; font-weight: 700; letter-spacing: -0.015em; text-transform: capitalize; padding: 26px 0 8px; margin: 28px 0 6px; border-top: 2px solid var(--fa-ink); color: var(--fa-ink); }
.fa-archive-groups > .fa-archive-month:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.fa-archive-day { font-family: var(--fa-sans); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: capitalize; color: var(--fa-navy); margin: 18px 0 4px; }
.fa-archive-list-head .n { color: var(--fa-muted); font-size: 15px; font-family: var(--fa-mono); font-weight: 500; margin-left: 8px; }
.fa-archive-side h4 { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 14px; color: var(--fa-muted); font-weight: 700; }
.fa-archive-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.fa-archive-side ul a { display: flex; justify-content: space-between; }
.fa-archive-side .n { color: var(--fa-muted); font-family: var(--fa-mono); font-size: 12px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.fa-pagination { margin-top: 56px; display: flex; justify-content: center; align-items: center; gap: 8px; font-family: var(--fa-sans); flex-wrap: wrap; }
.fa-pagination a, .fa-pagination span { padding: 10px 16px; border: 1px solid var(--fa-rule); color: var(--fa-ink); font-weight: 600; font-size: 14px; }
.fa-pagination .page-number { color: var(--fa-muted); letter-spacing: 0.04em; }
.fa-pagination a:hover { border-color: var(--fa-navy); color: var(--fa-navy); }
.fa-pagination .disabled { opacity: 0.4; pointer-events: none; }

/* ============================================================
   ERROR
   ============================================================ */
.fa-error { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px var(--fa-gutter); }
.fa-error .code { font-family: var(--fa-display); font-size: 120px; font-weight: 800; color: var(--fa-navy); line-height: 1; letter-spacing: -0.03em; }
.fa-error .code .dot { color: var(--fa-red); }
.fa-error h1 { font-family: var(--fa-display); font-size: 32px; margin: 16px 0 8px; }
.fa-error p { color: var(--fa-muted); font-size: 16px; margin: 0 0 28px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* La barra social laterale richiede margine: mostrala solo dove c'è spazio */
@media (max-width: 1079px) { .fa-post-social { display: none; } }

@media (max-width: 980px) and (min-width: 641px) {
  .fa-grid4 { grid-template-columns: repeat(2, 1fr); }
  .fa-grid3, .fa-related { grid-template-columns: repeat(2, 1fr); }
  .fa-hero, .fa-lead, .fa-author-box, .fa-dossier-head { grid-template-columns: 1fr; }
  .fa-footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  :root { --fa-gutter: 16px; }
  .fa-post-content .kg-btn { font-size: 14px !important; padding: 14px 26px !important; }
  .fa-nav-inline { display: none; }
  .fa-burger { display: flex; }
  .fa-topbar .fa-date, .fa-topbar .fa-tb-text { display: none; }
  .fa-topbar-inner { justify-content: center; gap: 14px; }
  .fa-header-logo img { height: 60px; }
  .fa-wordmark { font-size: 22px; }
  .fa-alert-body { grid-template-columns: 1fr; }
  .fa-alert-media { min-height: 180px; order: -1; }
  .fa-alert-title { font-size: 26px; }
  .fa-alert-time { margin-left: 0; }
  .fa-h-hero { font-size: 27px; }
  .fa-post-title { font-size: 27px; }
  .fa-title-xl { font-size: 32px; }
  .fa-h-lg { font-size: 22px; }
  .fa-h-md { font-size: 19px; }
  .fa-dek { font-size: 16px; }
  .fa-post-head .fa-dek { font-size: 17px; }
  .fa-hero, .fa-grid3, .fa-grid4,
  .fa-related, .fa-lead, .fa-dossier-head,
  .fa-archive-search, .fa-archive-main,
  .fa-author-box, .fa-footer-inner { grid-template-columns: 1fr; }
  .fa-banner { grid-template-columns: 1fr; text-align: center; gap: 14px; padding: 28px 22px; }
  .fa-banner h3 { font-size: 22px; }
  .fa-banner .fa-banner-btn { justify-content: center; }
  .fa-listrow { grid-template-columns: 100px 1fr; gap: 16px; }
  .fa-listrow-sm { grid-template-columns: 100px 1fr; }
  .fa-aut-panel { padding: 26px 22px; }
  .fa-aut-head { grid-template-columns: 96px 1fr; gap: 24px; }
  .fa-aut-avatar { width: 96px; height: 96px; }
  .fa-aut-name { font-size: 32px; }
  .fa-aut-bio { font-size: 16px; }
  .fa-aut-stats { gap: 28px; }
  .fa-archive-row { grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 4px; }
  .fa-archive-row .ar-time { grid-row: 1; grid-column: 1; }
  .fa-archive-row .ar-tag { grid-row: 1; grid-column: 2; justify-self: start; }
  .fa-archive-row .ar-title { grid-column: 1 / -1; }
  .fa-archive-row .ar-author { display: none; }
  .fa-post-social { display: none; }
  .fa-post-body { padding-left: var(--fa-gutter); padding-right: var(--fa-gutter); }
  .fa-post-content > p:first-of-type::first-letter { font-size: 58px; }
  .fa-social-strip .inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .fa-dossier-head { grid-template-columns: 1fr; gap: 16px; }
  .fa-dossier-title { font-size: 26px; }
}
