/* =========================================================
   DONGHI HOUSE — BLOG STYLESHEET (assets/blog.css)
   Foglio di stile CONDIVISO dalle pagine del blog.

   Le sezioni 1-8 sono estratte 1:1 dal design system del sito
   (variabili/nav/drawer/footer da index.html; .container,
   .breadcrumb, .page-hero/.page-title/.page-lead, .meta-pills,
   .btn/.btn-fill/.btn-line, .link-line, .prose sono le stesse
   classi già usate in camere.html / dintorni.html / dintorni-*.html
   — fanno parte dello stesso design system, non sono invenzioni).
   Palette: notte / brass / cream. Nessuna palette agricantus qui.

   Le pagine blog NON includono selettore lingua né cookie
   banner: nessun servizio terzo (niente Google Translate) viene
   caricato da queste pagine — il footer rimanda direttamente a
   index.html per Privacy/Cookie/Termini (nessuna modale legale
   duplicata sulle pagine blog).

   La sezione 9 contiene i componenti NUOVI, specifici del blog
   (pillola categoria, filtri, featured, griglia card, hero
   articolo, prose, callout, box CTA soggiorno, correlati,
   .article-figure per foto future).
========================================================= */

/* ===== 1. VARIABILI (identiche a index.html) ===== */
:root {
  --night: #0E1620;
  --night-2: #050A11;
  --night-3: #1A2332;
  --brass: #B8935A;
  --brass-2: #94733F;
  --brass-soft: #D8B576;
  --cream: #EAE3D2;
  --cream-2: #D8CFB9;
  --gray: #6B7280;
  --gray-2: #9CA3AF;
  --line: rgba(234,227,210,0.12);
  --line-2: rgba(234,227,210,0.22);
  --font-display: 'Playfair Display', 'Times New Roman', serif;
  --font-sans: 'Space Grotesk', -apple-system, sans-serif;
  --gutter: clamp(20px, 4vw, 60px);
  --max: 1480px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== 2. RESET + TIPOGRAFIA BASE ===== */
*, *::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: hidden !important; }
body { font-family: var(--font-sans); background: var(--night); color: var(--cream); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
main { display: block; width: 100%; }
img { max-width: 100%; display: block; background: var(--night-3); }
img.broken { background: var(--night-3); }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
::selection { background: var(--brass); color: var(--night); }

/* ===== 3. NAV (identica al sito, senza selettore lingua) ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 24px var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: linear-gradient(180deg, rgba(14,22,32,0.7) 0%, transparent 100%); transition: all 0.4s var(--ease); }
.nav.scrolled { background: rgba(14,22,32,0.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); padding: 14px var(--gutter); }
.nav-brand { font-family: var(--font-display); font-size: 22px; font-weight: 500; font-style: italic; letter-spacing: 0.01em; color: var(--cream); }
.nav-brand .dot { color: var(--brass); }
.nav-menu { justify-self: center; display: flex; gap: 36px; list-style: none; }
.nav-menu a { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; color: var(--cream-2); transition: color 0.3s; }
.nav-menu a:hover { color: var(--brass); }
.nav-menu a.current { color: var(--brass); }
.nav-cta-wrap { justify-self: end; display: flex; align-items: center; gap: 24px; }
.nav-time { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.18em; color: var(--gray-2); }
.nav-time .live { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); animation: pulseDot 1.6s infinite; }
@keyframes pulseDot { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.nav-cta { background: var(--brass); color: var(--night); padding: 12px 24px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.nav-cta:hover { background: var(--brass-soft); }
.nav-burger { display: none; }
@media (max-width: 1000px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-menu li { display: none; }
  .nav-menu { gap: 0; justify-self: end; }
  .nav-time, .nav-cta-wrap { display: none; }
  .nav-burger { display: flex; flex-direction: column; gap: 4px; padding: 8px; cursor: pointer; }
  .nav-burger span { width: 22px; height: 1.5px; background: var(--cream); transition: transform 0.4s ease, opacity 0.3s ease; }
}

/* ===== 4. MOBILE DRAWER (identico al sito) ===== */
.nav-drawer { position: fixed; inset: 0; z-index: 999; background: var(--night-2); color: var(--cream); display: flex; flex-direction: column; justify-content: flex-end; gap: 0; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease); padding: 100px var(--gutter) 64px; overflow-y: auto; }
.nav-drawer::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 88px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease) 0.1s; }
.nav-drawer.open { opacity: 1; visibility: visible; }
.nav-drawer.open::after { transform: scaleX(1); }
.nav-drawer .drawer-meta { position: absolute; top: 32px; left: var(--gutter); display: flex; flex-direction: column; gap: 4px; opacity: 0; transition: opacity 0.4s var(--ease) 0.2s; }
.nav-drawer.open .drawer-meta { opacity: 1; }
.nav-drawer .drawer-meta .lab { font-family: var(--font-sans); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--brass); font-weight: 500; }
.nav-drawer .drawer-meta .place { font-family: var(--font-display); font-style: italic; font-size: 16px; color: var(--cream-2); }
.nav-drawer a:not(.drawer-cta) { color: var(--cream); font-family: var(--font-display); font-size: clamp(2.2rem, 9vw, 3.4rem); font-weight: 400; line-height: 1; padding: 22px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.3s, padding-left 0.4s; letter-spacing: -0.005em; }
.nav-drawer a:not(.drawer-cta) i { font-style: italic; color: var(--brass); font-weight: 400; }
.nav-drawer a:not(.drawer-cta)::after { content: attr(data-num); font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.3em; color: var(--brass); font-weight: 500; opacity: 0.7; }
.nav-drawer a:not(.drawer-cta):hover { color: var(--brass-soft); padding-left: 12px; }
.nav-drawer.open a { opacity: 1; transform: translateY(0); }
.nav-drawer.open a:nth-of-type(1) { transition-delay: 0.18s; }
.nav-drawer.open a:nth-of-type(2) { transition-delay: 0.26s; }
.nav-drawer.open a:nth-of-type(3) { transition-delay: 0.34s; }
.nav-drawer.open a:nth-of-type(4) { transition-delay: 0.42s; }
.nav-drawer.open a:nth-of-type(5) { transition-delay: 0.50s; }
.nav-drawer.open a:nth-of-type(6) { transition-delay: 0.58s; }
.nav-drawer .drawer-cta { margin-top: 36px; padding: 18px 36px; background: var(--brass); color: var(--night-2); border-radius: 0; font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; align-self: flex-start; transition: background 0.3s, color 0.3s, transform 0.4s var(--ease); }
.nav-drawer .drawer-cta:hover { background: var(--cream); transform: translateY(-2px); }
.nav-drawer-close { position: absolute; top: 22px; right: var(--gutter); width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--cream); font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; background: transparent; cursor: pointer; transition: background 0.3s, border-color 0.3s, transform 0.4s; }
.nav-drawer-close:hover { background: var(--brass); border-color: var(--brass); color: var(--night-2); transform: rotate(90deg); }
body.menu-open { overflow: hidden; }
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ===== 5. LAYOUT BASE (stesse classi di camere.html / dintorni.html) ===== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; color: var(--brass); display: inline-flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--brass); }

h2.title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.05; letter-spacing: -0.005em; color: var(--cream); }
h2.title i { font-style: italic; color: var(--brass); }
.lead-italic { font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 1.4vw, 1.4rem); color: var(--cream-2); line-height: 1.5; margin-top: 24px; max-width: 50ch; }

.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--gray-2); margin-bottom: 26px; transition: color 0.3s; }
.breadcrumb::before { content: '\2190'; color: var(--brass); transition: transform 0.3s; display: inline-block; }
.breadcrumb:hover { color: var(--brass); }
.breadcrumb:hover::before { transform: translateX(-3px); }

.page-hero { padding: clamp(120px, 20vw, 168px) var(--gutter) 56px; background: var(--night); border-bottom: 1px solid var(--line); }
h1.page-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.06; letter-spacing: -0.01em; color: var(--cream); max-width: 22ch; }
h1.page-title i { font-style: italic; color: var(--brass); }
p.page-lead { font-size: clamp(1rem, 1.2vw, 1.15rem); color: var(--gray-2); line-height: 1.6; max-width: 56ch; margin-top: 20px; }

.meta-pills { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 26px; }
.meta-pills span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.meta-pills span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--brass); opacity: 0.6; }
.meta-pills span:first-child::before { display: none; }

/* ===== 6. BOTTONI (identici al sito) ===== */
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 18px 28px; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; transition: all 0.3s var(--ease); }
.btn-fill { background: var(--brass); color: var(--night); }
.btn-fill:hover { background: var(--cream); }
.btn-line { background: transparent; color: var(--cream); border: 1px solid var(--line-2); }
.btn-line:hover { border-color: var(--brass); color: var(--brass); }
.btn .arrow { width: 18px; height: 1px; background: currentColor; position: relative; transition: width 0.3s; }
.btn:hover .arrow { width: 26px; }
.btn .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-right: 1px solid currentColor; border-top: 1px solid currentColor; transform: rotate(45deg); }

.link-line { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-2); display: inline-flex; align-items: center; gap: 8px; transition: color 0.3s, gap 0.3s; }
.link-line::after { content: '\2192'; transition: transform 0.3s; }
.link-line:hover { color: var(--brass); gap: 12px; }

/* ===== 7. REVEAL ON SCROLL ===== */
.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; } }

/* ===== 8. FOOTER + TO-TOP (identici al sito, link legali → index.html) ===== */
footer { background: var(--night-2); color: var(--cream); padding: 80px var(--gutter) 32px; border-top: 1px solid var(--line); }
.footer-inner { max-width: var(--max); 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: 36px; color: var(--cream); margin-bottom: 16px; }
.footer-brand h4 .dot { color: var(--brass); }
.footer-brand p { color: var(--gray-2); font-size: 14px; max-width: 30ch; line-height: 1.6; }
.footer-col h5 { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass); margin-bottom: 16px; font-weight: 700; }
.footer-col a, .footer-col p { display: block; color: var(--cream-2); font-size: 14px; margin-bottom: 6px; transition: color 0.3s; }
.footer-col a:hover { color: var(--brass); }
.footer-legal { display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; padding: 18px var(--gutter) 0; max-width: var(--max); margin: 0 auto; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-2); border-top: 1px solid var(--line); }
.footer-legal a { color: var(--cream-2); 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(--brass); border-bottom-color: var(--brass); }
.footer-legal .sep { width: 3px; height: 3px; background: var(--line-2); border-radius: 50%; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11px; color: var(--gray); letter-spacing: 0.14em; text-transform: uppercase; }
.footer-bottom a { color: var(--brass); }
@media (max-width: 700px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .footer-legal { gap: 12px; font-size: 10px; } .footer-legal .sep { display: none; } }

.to-top { position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 80; width: 46px; height: 46px; border-radius: 50%; background: var(--night-3); border: 1px solid var(--line-2); color: var(--brass); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s, background 0.3s, border-color 0.3s; box-shadow: 0 12px 30px -8px rgba(0,0,0,0.5); }
.to-top.in { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brass); border-color: var(--brass); color: var(--night); }

/* =========================================================
   9. COMPONENTI BLOG (nuovi)
========================================================= */

/* --- Pillola categoria (card, featured, hero articolo) --- */
.blog-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass);
  background: var(--night-2);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 6px 12px;
}

/* --- Header pagina blog.html (basato su .page-hero) --- */
.blog-hero { padding: clamp(120px, 20vw, 168px) 0 40px; background: var(--night); border-bottom: 1px solid var(--line); }
.blog-hero p.page-lead { margin-top: 22px; }

/* --- Filtri categoria (pillole cliccabili, JS vanilla) --- */
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 8px; }
.blog-filters button {
  font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cream-2); background: transparent;
  border: 1px solid var(--line-2); border-radius: 0;
  padding: 10px 18px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.blog-filters button:hover { border-color: var(--brass); color: var(--brass); }
.blog-filters button.active { background: var(--brass); color: var(--night); border-color: var(--brass); }

/* --- Featured article (box grande in evidenza) --- */
.blog-featured {
  display: block; position: relative; overflow: hidden;
  background: var(--night-2); border: 1px solid var(--line);
  padding: clamp(36px, 5vw, 64px);
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
}
.blog-featured:hover { transform: translateY(-4px); border-color: var(--brass); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.55); }
.blog-featured .kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 26px;
}
.blog-featured .kicker::before { content: ""; width: 32px; height: 1px; background: var(--brass); }
.blog-featured h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.01em;
  max-width: 19ch; color: var(--cream);
}
.blog-featured h2 i { font-style: italic; color: var(--brass); }
.blog-featured .excerpt { margin-top: 18px; max-width: 58ch; font-size: 15px; color: var(--gray-2); line-height: 1.6; }
.blog-featured .meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 28px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-2); }
.blog-featured .go { margin-top: 30px; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); border-bottom: 1px solid var(--line-2); padding-bottom: 5px; 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: 24px; }
.blog-card {
  display: flex; flex-direction: column;
  background: var(--night-2); border: 1px solid var(--line);
  padding: 30px 28px;
  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(0,0,0,0.5); border-color: var(--brass); }
.blog-card .blog-pill { align-self: flex-start; margin-bottom: 16px; }
.blog-card h3 { font-family: var(--font-display); font-size: clamp(20px, 2vw, 24px); font-weight: 500; color: var(--cream); line-height: 1.22; letter-spacing: -0.005em; }
.blog-card h3 i { font-style: italic; color: var(--brass); }
.blog-card .excerpt {
  margin-top: 12px; color: var(--gray-2); font-size: 14px; line-height: 1.55; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card .blog-meta { margin-top: 16px; display: flex; gap: 12px; flex-wrap: wrap; font-size: 11px; color: var(--gray); letter-spacing: 0.04em; }
.blog-card .go { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass); 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, senza foto) --- */
.article-hero { padding: clamp(120px, 20vw, 168px) 0 56px; background: var(--night); border-bottom: 1px solid var(--line); }
.article-hero .blog-pill { margin-bottom: 24px; }
.article-hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.06; letter-spacing: -0.01em;
  color: var(--cream); max-width: 20ch;
}
.article-hero h1 i { font-style: italic; color: var(--brass); }
.article-hero .subtitle { margin-top: 20px; font-size: clamp(1rem, 1.2vw, 1.15rem); color: var(--gray-2); max-width: 62ch; line-height: 1.6; }

/* --- Corpo articolo (prose) --- */
.article-body { padding: clamp(56px, 8vw, 96px) 0; background: var(--night); }
.prose { max-width: 70ch; }
.prose p { font-size: 15.5px; line-height: 1.78; color: var(--gray-2); }
.prose p + p { margin-top: 20px; }
.prose h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3vw, 32px); color: var(--cream); letter-spacing: -0.01em; margin-top: 48px; margin-bottom: 18px; line-height: 1.2; }
.prose h2 i { font-style: italic; color: var(--brass); }
.prose ul { margin: 22px 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose li { font-size: 15px; color: var(--cream-2); line-height: 1.65; }
.prose strong { color: var(--cream); font-weight: 600; }

/* --- Callout (box evidenza dentro il testo) --- */
.callout { background: var(--night-3); border-left: 3px solid var(--brass); padding: 18px 22px; font-size: 14px; color: var(--cream-2); line-height: 1.65; margin: 32px 0; max-width: 70ch; }
.callout strong { color: var(--cream); }

/* --- Box CTA soggiorno (dentro / fine articolo) --- */
.blog-cta {
  margin: 48px 0; max-width: 70ch;
  background: var(--night-2); border: 1px solid var(--line); border-left: 3px solid var(--brass);
  padding: clamp(30px, 4vw, 42px);
}
.blog-cta h4 { font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: clamp(21px, 2.4vw, 27px); color: var(--brass); letter-spacing: -0.005em; max-width: 22ch; }
.blog-cta p { margin-top: 12px; font-size: 14px; color: var(--gray-2); max-width: 48ch; line-height: 1.6; }
.blog-cta .actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 26px; }

/* --- Articoli correlati --- */
.blog-related { padding: clamp(56px, 8vw, 96px) 0; background: var(--night-2); border-top: 1px solid var(--line); }
.blog-related h2.title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.blog-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.blog-related-grid .blog-card { background: var(--night); }
@media (max-width: 900px) { .blog-related-grid { grid-template-columns: 1fr; } }

@media (max-width: 900px) { .article-hero { padding-top: 150px; } .blog-hero { padding-top: 150px; } }

/* --- Foto articolo (per uso futuro, credito in didascalia) --- */
.article-figure { margin: 38px 0 8px; }
.article-figure img { width: 100%; height: auto; max-height: 520px; object-fit: cover; display: block; border: 1px solid var(--line); }
.article-figure figcaption { margin-top: 10px; font-size: 11.5px; color: var(--gray); letter-spacing: 0.02em; }
.article-figure figcaption a { color: var(--gray-2); text-decoration: underline; text-underline-offset: 2px; }
.prose .article-figure { margin: 34px 0; }
