/* =========================================================
   CLARIMA HOUSE CATANIA — BLOG STYLESHEET (assets/blog.css)
   Foglio di stile CONDIVISO dalle pagine del blog.

   Variabili, font, bottoni e componenti "capitolo" sono estratti
   1:1 dal design system di index.html (stessa palette cream/oro,
   stessi font Cormorant Garamond / Manrope / Caveat). Nessuna
   invenzione: stessa mood board del sito.

   Differenze volute rispetto alle pagine principali del sito:
   - Le pagine blog NON includono selettore lingua (niente Google
     Translate) né cookie banner: non caricano servizi terzi
     (niente mappa). Il footer rimanda a index.html per
     Privacy/Cookie/Termini.
   - La nav qui è sempre nella variante "chiara" (sfondo crema,
     testo ink), perché le pagine blog non hanno un hero fotografico
     scuro sotto la barra di navigazione come index/camere/la-villa.

   La sezione 10 contiene i componenti NUOVI, specifici del blog
   (griglia magazine, card articolo, hero tipografico articolo,
   prose, callout, box CTA soggiorno, articoli correlati, pillole
   categoria/filtri, figura articolo).
========================================================= */

/* ===== 1. VARIABILI (identiche a index.html) ===== */
:root {
  --terracotta: #C25E3A;
  --terracotta-2: #A04527;
  --cobalt: #1E456C;
  --cobalt-2: #143352;
  --sand: #F2EAD9;
  --sand-2: #E8DDC4;
  --olive: #6B7F5F;
  --cream: #FBF7EE;
  --ink: #2A1F19;
  --ink-80: rgba(42,31,25,0.82);
  --ink-60: rgba(42,31,25,0.58);
  --ink-40: rgba(42,31,25,0.38);
  --ink-20: rgba(42,31,25,0.18);
  --gold: #D9A648;
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans: 'Manrope', system-ui, sans-serif;
  --font-hand: 'Caveat', cursive;
  --gutter: clamp(20px, 4vw, 56px);
  --read: 720px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== 2. RESET + TIPOGRAFIA BASE (identici a index.html) ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0 !important; padding: 0 !important; max-width: 100vw !important; width: 100% !important; overflow-x: clip !important; }
main { display: block; width: 100%; }
body > nav, body > main, body > main > section, body > footer {
  width: 100vw !important; max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
}
body { font-family: var(--font-sans); background: var(--sand); color: var(--ink); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; background: var(--sand-2); }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--terracotta); color: var(--cream); }

/* Texture carta (identica a index.html) */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.66 0 0 0 0 0.55 0 0 0 0 0.4 0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  z-index: 1; opacity: 0.6;
}
body > * { position: relative; z-index: 2; }

/* ===== 3. NAV — variante "chiara" (senza selettore lingua) =====
   Sulle pagine blog non c'è un hero fotografico scuro sotto la
   barra: la nav parte quindi già nello stato "scrolled" del sito
   principale (sfondo crema, testo ink), stabile dall'inizio. */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
  transition: all 0.4s var(--ease);
  color: var(--ink);
  background: rgba(251,247,238,0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav.scrolled { padding: 12px var(--gutter); box-shadow: 0 4px 26px rgba(0,0,0,0.09); }
.nav-brand { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 22px; display: inline-flex; align-items: center; }
.nav-brand img { height: 60px; width: auto; display: block; background: transparent; transition: height 0.4s var(--ease); }
.nav.scrolled .nav-brand img { height: 52px; }
@media (max-width: 900px) { .nav-brand img { height: 50px; } .nav.scrolled .nav-brand img { height: 44px; } }
.nav-menu { display: flex; gap: 30px; list-style: none; }
.nav-menu a { font-size: 13px; letter-spacing: 0.04em; font-weight: 500; transition: color 0.3s; }
.nav-menu a:hover, .nav-menu a.current { color: var(--terracotta); }
.nav-cta { background: var(--terracotta); color: var(--cream); padding: 11px 22px; border-radius: 999px; font-size: 13px; font-weight: 600; transition: background 0.3s, transform 0.3s; }
.nav-cta:hover { background: var(--terracotta-2); transform: translateY(-1px); }
.nav-burger { display: none; }
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
  .nav-burger span { width: 22px; height: 2px; background: currentColor; transition: transform 0.4s ease, opacity 0.3s ease; }
}

/* ===== 4. MOBILE DRAWER (identico a index.html) ===== */
.nav-drawer { position: fixed; inset: 0; z-index: 999; background: var(--sand); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease); padding: 90px 24px 60px; overflow-y: auto; }
.nav-drawer::before { content: ""; position: absolute; inset: 14px; border: 1.5px dashed rgba(42,31,25,0.18); pointer-events: none; }
.nav-drawer .drawer-eyebrow { font-family: var(--font-hand); font-size: 28px; color: var(--terracotta); transform: rotate(-3deg); margin-bottom: 8px; opacity: 0; transition: opacity 0.5s var(--ease) 0.1s; }
.nav-drawer.open { opacity: 1; visibility: visible; }
.nav-drawer.open .drawer-eyebrow { opacity: 1; }
.nav-drawer a { color: var(--ink); font-family: var(--font-display); font-style: italic; font-size: clamp(2rem, 8vw, 2.8rem); font-weight: 400; line-height: 1; opacity: 0; transform: translateY(12px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), color 0.3s; position: relative; padding-bottom: 6px; }
.nav-drawer a:not(.drawer-cta)::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px; background: var(--gold); transform: translateX(-50%); transition: width 0.4s var(--ease); }
.nav-drawer a:not(.drawer-cta):hover { color: var(--terracotta); }
.nav-drawer a:not(.drawer-cta):hover::after { width: 60%; }
.nav-drawer.open a { opacity: 1; transform: translateY(0); }
.nav-drawer.open a:nth-child(2) { transition-delay: 0.12s; }
.nav-drawer.open a:nth-child(3) { transition-delay: 0.18s; }
.nav-drawer.open a:nth-child(4) { transition-delay: 0.24s; }
.nav-drawer.open a:nth-child(5) { transition-delay: 0.30s; }
.nav-drawer.open a:nth-child(6) { transition-delay: 0.36s; }
.nav-drawer .drawer-cta { margin-top: 24px; padding: 16px 36px; background: var(--gold); color: var(--ink); border-radius: 0; font-family: var(--font-sans); font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; box-shadow: 6px 6px 0 var(--ink); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.nav-drawer .drawer-cta:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.nav-drawer-close { position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: 50%; color: var(--ink); font-size: 26px; line-height: 1; display: flex; align-items: center; justify-content: center; background: var(--cream); cursor: pointer; transition: background 0.3s, transform 0.3s; }
.nav-drawer-close:hover { background: var(--terracotta); color: var(--cream); border-color: var(--terracotta); transform: rotate(90deg); }
body.menu-open { overflow: hidden; }
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== 5. BOTTONI (identici a index.html) ===== */
.btn-primary { background: var(--terracotta); color: var(--cream); padding: 17px 30px; border-radius: 999px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 12px; transition: all 0.3s var(--ease); box-shadow: 0 12px 40px -8px rgba(194,94,58,0.5); }
.btn-primary:hover { background: var(--terracotta-2); transform: translateY(-3px); }
.btn-ghost { background: transparent; color: var(--ink); padding: 16px 28px; border-radius: 999px; border: 1.5px solid var(--ink-20); font-weight: 600; font-size: 14px; transition: all 0.3s var(--ease); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ===== 6. BREADCRUMB (adattato a sfondo chiaro) ===== */
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-60); margin-bottom: 22px; transition: color 0.3s, gap 0.3s; }
.breadcrumb::before { content: '\2190'; color: var(--terracotta); }
.breadcrumb:hover { color: var(--terracotta); gap: 12px; }

/* ===== 7. COMPONENTI "CAPITOLO" (identici a index.html) ===== */
.chapter-inner { max-width: var(--read); margin: 0 auto; }
.chapter-num { font-family: var(--font-hand); color: var(--terracotta); font-size: 32px; font-weight: 600; display: block; margin-bottom: 4px; transform: rotate(-3deg); }
.chapter-tag { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-60); font-weight: 600; margin-bottom: 24px; display: inline-block; padding-bottom: 6px; border-bottom: 2px solid var(--terracotta); }
.chapter-h { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4.5vw, 3.6rem); line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 20px; }
.chapter-h em { font-style: italic; color: var(--terracotta); }

/* ===== 8. REVEAL ON SCROLL (identico a index.html) ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1!important; transform:none!important; } }

/* ===== 9. FOOTER (identico a index.html, senza cookie banner) ===== */
footer { background: var(--ink); color: var(--sand); padding: 64px var(--gutter) 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.footer-brand h4 { font-family: var(--font-display); font-style: italic; font-size: 32px; font-weight: 400; color: var(--gold); margin-bottom: 12px; }
.footer-brand .footer-logo { height: 100px; width: auto; background: transparent; margin-bottom: 16px; }
.footer-brand p { color: rgba(242,234,217,0.7); font-size: 14px; max-width: 36ch; }
.footer-col h5 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 600; }
.footer-col a, .footer-col p { display: block; color: rgba(242,234,217,0.75); font-size: 14px; margin-bottom: 8px; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold); }
.footer-legal { display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; padding: 18px var(--gutter) 0; font-size: 12px; color: rgba(242,234,217,0.6); border-top: 1px solid rgba(242,234,217,0.12); font-family: var(--font-display); font-style: italic; margin-top: 40px; }
.footer-legal a { color: rgba(242,234,217,0.7); text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s; }
.footer-legal a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.footer-legal .sep { width: 3px; height: 3px; background: rgba(242,234,217,0.3); border-radius: 50%; }
.footer-bottom { border-top: 1px solid rgba(242,234,217,0.15); margin-top: 20px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: rgba(242,234,217,0.5); }
.footer-bottom a { color: var(--gold); }
@media (max-width: 700px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } .footer-legal { gap: 12px; } .footer-legal .sep { display: none; } }

/* to-top */
.to-top {
  position: fixed; bottom: 26px; right: 26px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.4s, transform 0.4s, background 0.3s;
  box-shadow: 0 14px 32px -10px rgba(42,31,25,0.4);
}
.to-top.in { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--terracotta); }

/* =========================================================
   10. COMPONENTI BLOG (nuovi)
========================================================= */

/* --- Pillola categoria --- */
.blog-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--terracotta);
  background: var(--sand-2);
  border: 1px solid var(--ink-20);
  border-radius: 999px;
  padding: 7px 14px;
}

/* --- Header pagina blog.html --- */
.blog-hero { padding: clamp(130px, 20vw, 175px) var(--gutter) 8px; background: var(--sand); border-bottom: 1px dashed var(--ink-20); }
.blog-hero .chapter-inner { max-width: 760px; margin: 0; }
.blog-hero .lead { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-80); max-width: 56ch; margin-top: 4px; }

/* --- Filtri categoria (pillole cliccabili, JS vanilla) --- */
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 28px; }
.blog-filters button {
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 500; letter-spacing: 0.03em;
  color: var(--ink-80); background: var(--cream);
  border: 1px solid var(--ink-20); border-radius: 999px;
  padding: 10px 18px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.blog-filters button:hover { border-color: var(--terracotta); color: var(--terracotta); }
.blog-filters button.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* --- Sezione contenitore generica (griglia / correlati) --- */
.blog-section { padding: clamp(56px, 8vw, 96px) var(--gutter); }
.blog-section-inner { max-width: 1200px; margin: 0 auto; }

/* --- Featured article (card grande in evidenza) --- */
.blog-featured {
  display: block; position: relative; overflow: hidden;
  background: var(--ink); color: var(--cream);
  border-radius: 6px;
  padding: clamp(36px, 5vw, 64px);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.blog-featured::before {
  content: ''; position: absolute; right: -160px; top: -160px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,166,72,0.22), transparent 68%);
}
.blog-featured:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -30px rgba(42,31,25,0.45); }
.blog-featured .kicker {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
.blog-featured h2 {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.02em;
  max-width: 19ch; color: var(--cream);
}
.blog-featured h2 em { font-style: italic; color: var(--gold); font-weight: 400; }
.blog-featured .excerpt { position: relative; z-index: 1; margin-top: 18px; max-width: 58ch; font-size: 15.5px; color: rgba(251,247,238,0.82); line-height: 1.6; }
.blog-featured .meta { position: relative; z-index: 1; display: flex; gap: 16px; flex-wrap: wrap; margin-top: 26px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(251,247,238,0.6); }
.blog-featured .go { position: relative; z-index: 1; margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--cream); border-bottom: 1px solid rgba(251,247,238,0.4); padding-bottom: 4px; transition: gap 0.3s, border-color 0.3s; }
.blog-featured .go::after { content: '\2192'; transition: transform 0.3s; }
.blog-featured:hover .go::after { transform: translateX(4px); }

/* --- Griglia magazine + card articolo --- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card {
  display: flex; flex-direction: column;
  background: var(--cream); border: 1px solid var(--ink-20); border-radius: 6px;
  padding: 28px 26px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(42,31,25,0.22); border-color: var(--terracotta); }
.blog-card .blog-pill { align-self: flex-start; margin-bottom: 16px; }
.blog-card h3 { font-family: var(--font-display); font-size: clamp(19px, 2vw, 23px); font-weight: 500; color: var(--ink); line-height: 1.22; letter-spacing: -0.01em; }
.blog-card .excerpt {
  margin-top: 12px; color: var(--ink-80); font-size: 14px; line-height: 1.55; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card .go { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--ink-20); font-size: 13px; font-weight: 600; color: var(--terracotta); display: inline-flex; align-items: center; gap: 8px; transition: gap 0.3s; }
.blog-card .go::after { content: '\2192'; transition: transform 0.3s; }
.blog-card:hover .go::after { transform: translateX(4px); }
.blog-card[hidden] { display: none; }

@media (max-width: 1000px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

/* --- Hero tipografico (pagina articolo singolo) --- */
.article-hero { padding: clamp(130px, 20vw, 180px) var(--gutter) 48px; background: var(--sand); border-bottom: 1px dashed var(--ink-20); }
.article-hero .chapter-inner { max-width: 760px; margin: 0; }
.article-hero .blog-pill { margin-bottom: 24px; }
.article-hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.2rem, 5.4vw, 4.2rem); line-height: 1.08; letter-spacing: -0.02em;
  color: var(--ink); max-width: 19ch;
}
.article-hero h1 em { font-style: italic; color: var(--terracotta); }
.article-hero .subtitle { margin-top: 20px; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-80); max-width: 62ch; line-height: 1.55; }
.article-meta { margin-top: 26px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-60); }
.article-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-40); }

/* --- Corpo articolo (prose) --- */
.article-body { padding: clamp(56px, 8vw, 88px) var(--gutter); }
.article-body-inner { max-width: var(--read); margin: 0 auto; }
.prose p { font-size: 17px; line-height: 1.8; color: var(--ink-80); }
.prose p + p { margin-top: 20px; }
.prose h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3vw, 32px); color: var(--ink); letter-spacing: -0.015em; margin-top: 46px; margin-bottom: 18px; line-height: 1.2; }
.prose h2 em { font-style: italic; color: var(--terracotta); font-weight: 400; }
.prose ul { margin: 20px 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose li { font-size: 15.5px; color: var(--ink-80); line-height: 1.65; }
.prose strong { color: var(--ink); font-weight: 700; }

/* --- Callout (box evidenza dentro il testo) --- */
.callout { background: var(--sand-2); border-left: 4px solid var(--terracotta); padding: 18px 22px; border-radius: 4px; font-size: 14.5px; color: var(--ink-80); line-height: 1.65; margin: 30px 0; max-width: var(--read); }
.callout strong { color: var(--ink); }

/* --- Box CTA soggiorno (fine articolo) --- */
.blog-cta {
  margin: 46px 0 8px; max-width: var(--read); position: relative; overflow: hidden;
  background: var(--ink); color: var(--cream);
  border-radius: 6px; padding: clamp(30px, 4vw, 42px);
}
.blog-cta::before { content: ''; position: absolute; right: -140px; top: -140px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(217,166,72,0.22), transparent 68%); }
.blog-cta h4 { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: clamp(21px, 2.6vw, 28px); color: var(--cream); letter-spacing: -0.01em; max-width: 24ch; }
.blog-cta p { position: relative; z-index: 1; margin-top: 12px; font-size: 14.5px; color: rgba(251,247,238,0.8); max-width: 50ch; line-height: 1.6; }
.blog-cta .actions { position: relative; z-index: 1; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 24px; }
.blog-cta .actions .btn-primary { padding: 14px 26px; font-size: 13px; }
.blog-cta .actions .link { font-size: 13.5px; font-weight: 500; color: var(--gold); border-bottom: 1px solid rgba(217,166,72,0.4); padding-bottom: 3px; display: inline-flex; align-items: center; gap: 8px; transition: color 0.3s, border-color 0.3s, gap 0.3s; }
.blog-cta .actions .link:hover { color: var(--cream); border-bottom-color: var(--cream); gap: 11px; }

/* --- Articoli correlati --- */
.blog-related { background: var(--cream); border-top: 1px dashed var(--ink-20); }
.blog-related .chapter-tag { display: block; }
.blog-related .chapter-h { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 32px; }
.blog-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.blog-related-grid .blog-card { background: var(--sand); }
@media (max-width: 900px) { .blog-related-grid { grid-template-columns: 1fr; } }

/* --- Figura articolo (foto Wikimedia Commons, credito in didascalia) --- */
.article-figure { margin: 34px 0 8px; max-width: var(--read); }
.article-figure img { width: 100%; height: auto; max-height: 480px; object-fit: cover; border-radius: 8px; display: block; }
.article-figure figcaption { margin-top: 10px; font-size: 12px; color: var(--ink-60); letter-spacing: 0.02em; }
.article-figure figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.prose .article-figure { margin: 34px 0; }

@media (max-width: 900px) {
  .blog-hero, .article-hero { padding-top: 150px; }
}

/* fix: breadcrumb e tag erano entrambi inline e si attaccavano sulla stessa riga */
.article-hero .breadcrumb, .blog-hero .breadcrumb { display: flex; width: fit-content; }
.article-hero .chapter-inner, .blog-hero .chapter-inner { padding-top: 24px; }
