/* ilMonti.com — tema "Comizio"
   Nero, bianco e un verde pieno. Titoli in Barlow Condensed maiuscolo, testo in Literata.
   Il tono è quello di un manifesto: diretto, leggibile da lontano. */

@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Literata"; src: url("../fonts/literata.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Literata"; src: url("../fonts/literata-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --nero: #000000;
  --bianco: #ffffff;
  --verde: #3E9D5C;        /* fasce, pulsanti, evidenze: sempre con testo nero */
  --verde-scuro: #1F5C34;  /* verde leggibile su bianco */
  --giallo: #F7CF2B;       /* terzo colore: solo piccole evidenze, sempre su nero o con testo nero */
  --grigio-testo: #333333;
  --grigio: #5c5c5c;
  --grigio-chiaro: #f2f2f0;
  --riga: #d4d4d0;        /* bordi leggeri (area admin) */
  --titolo: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --testo: "Literata", Georgia, serif;
  --corpo: Georgia, Times, "Times New Roman", serif;
  --wrap: 75rem;
  --g: clamp(1rem, 4vw, 2rem);

  /* nomi usati dall'area admin */
  --bosco: var(--nero);
  --bosco-scuro: var(--nero);
  --bosco-medio: var(--verde-scuro);
  --crema: var(--bianco);
  --carta: var(--grigio-chiaro);
  --inchiostro: var(--nero);
  --muschio: var(--grigio);
  --ambra: var(--verde);
  --ambra-testo: var(--verde-scuro);
  --serif: var(--testo);
  --mono: var(--titolo);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bianco);
  color: var(--nero);
  font-family: var(--testo);
  font-size: 1.125rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--verde); }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--verde); color: var(--nero); padding: .5rem 1rem; z-index: 10; font-family: var(--titolo); font-weight: 800; text-transform: uppercase; }
.skip:focus { left: 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--g); }
.narrow { max-width: 44rem; margin: 0 auto; padding: 2.5rem var(--g) 4rem; }
.hp { position: absolute; left: -5000px; }
.muted, .hint { color: var(--grigio); }
.hint { font-size: .9rem; }

/* Etichette in stile manifesto */
.tag, .kicker, .meta {
  font-family: var(--titolo); font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
}
.tag { display: inline-block; background: var(--nero); color: var(--verde); padding: .2em .55em; text-decoration: none; line-height: 1.2; }
.band .tag { background: var(--nero); color: var(--verde); }
a.tag:hover { color: var(--bianco); }

/* Pulsanti */
.btn, .button, button {
  display: inline-block; font-family: var(--titolo); font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
  font-size: 1.25rem; line-height: 1; padding: .85em 1.4em; border: 0; border-radius: 0; cursor: pointer;
  background: var(--nero); color: var(--bianco); text-decoration: none;
}
.btn:hover, .button:hover, button:hover { background: #222; color: var(--verde); }
.btn-verde { background: var(--verde); color: var(--nero); }
.btn-verde:hover { background: var(--nero); color: var(--verde); }

/* ---------- Testata ---------- */
.topbar-wrap { background: var(--nero); color: var(--bianco); }
.topbar { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.6rem; padding-top: 1rem; padding-bottom: 1rem; }
.wordmark {
  font-family: var(--titolo); font-weight: 800; font-size: 2.1rem; line-height: 1; text-transform: uppercase;
  color: var(--bianco); text-decoration: none; letter-spacing: .005em; white-space: nowrap; margin-right: auto;
}
.wordmark:hover { color: var(--verde); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.nav a {
  font-family: var(--titolo); font-weight: 600; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .02em;
  color: var(--bianco); text-decoration: none; white-space: nowrap;
}
.nav a:hover, .nav a[aria-current] { color: var(--verde); }
.top-actions { display: flex; align-items: center; gap: .9rem; }
.top-search { color: var(--bianco); display: inline-flex; padding: .4rem; }
.top-search:hover { color: var(--verde); }
.top-actions .btn { font-size: 1.15rem; padding: .6em 1em; }

/* ---------- Fascia verde ---------- */
.band { background: var(--verde); color: var(--nero); }
.band a { color: var(--nero); }
.band a.btn { color: var(--bianco); }
.band a.btn:hover { color: var(--verde); }
.band a.tag { color: var(--verde); }
.band-inner { padding-top: clamp(2.5rem, 7vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); display: flex; flex-direction: column; gap: 1.6rem; }
.band .meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; font-size: 1.2rem; }
.mega {
  margin: 0; font-family: var(--titolo); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em;
  font-size: clamp(2.9rem, 8vw, 7.6rem); line-height: .9; max-width: 17ch; text-wrap: balance;
}
.mega a { text-decoration: none; }
.mega a:hover { text-decoration: underline; text-decoration-thickness: .06em; text-decoration-color: var(--nero); }
.dek { margin: 0; font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.45; max-width: 36em; }
.lead-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.lead-actions span { font-size: 1.05rem; }
.cover { margin: 0; }
.cover img { display: block; width: 100%; max-height: 640px; object-fit: cover; background: #1f1f1f; }

/* Testata di pagine elenco */
.page-head { gap: 1rem; }
.page-head h1 { margin: 0; font-family: var(--titolo); font-weight: 800; text-transform: uppercase; font-size: clamp(2.8rem, 7vw, 5.5rem); line-height: .92; }
.page-intro { margin: 0; font-size: 1.2rem; max-width: 40em; }
.years { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: .4rem 0 0; padding: 0; }
.years a { display: inline-block; font-family: var(--titolo); font-weight: 600; font-size: 1.1rem; text-decoration: none; padding: .2em .55em; border: 2px solid var(--nero); }
.years a:hover, .years a[aria-current] { background: var(--nero); color: var(--verde); }
.years small { font-weight: 600; opacity: .75; margin-left: .25em; }

/* ---------- Elenco articoli ---------- */
.section { padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: 1rem; }
.section-h { margin: 0 0 .5rem; font-family: var(--titolo); font-weight: 800; font-size: clamp(2.2rem, 4.5vw, 2.9rem); text-transform: uppercase; line-height: 1; }
.list { border-top: 6px solid var(--nero); }
.item { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) auto; gap: 1.5rem; padding: 1.6rem 0; border-bottom: 2px solid var(--nero); }
.item-date { font-family: var(--titolo); font-weight: 600; font-size: 1.2rem; text-transform: uppercase; padding-top: .45rem; line-height: 1.2; }
.item-body { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.item-cats { font-family: var(--titolo); font-weight: 600; font-size: 1.05rem; text-transform: uppercase; color: var(--verde-scuro); }
.item-cats a { text-decoration: none; }
.item-cats a:hover { text-decoration: underline; }
.item-title { margin: 0; font-family: var(--titolo); font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: .95; text-transform: uppercase; text-wrap: balance; }
.item-title a { text-decoration: none; }
.item-title a:hover { text-decoration: underline; text-decoration-color: var(--verde); text-decoration-thickness: .08em; }
.item-excerpt { margin: 0; font-size: 1.1rem; line-height: 1.55; color: var(--grigio-testo); max-width: 44em; }
.item-thumb { width: 11rem; align-self: start; padding-top: .3rem; }
.item-thumb img { display: block; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--grigio-chiaro); }
.all-link { display: inline-block; margin-top: 1.6rem; font-family: var(--titolo); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; }
.empty { padding: 2rem 0; font-size: 1.2rem; }

.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 2rem 0 0; font-family: var(--titolo); font-weight: 600; font-size: 1.25rem; text-transform: uppercase; }
.pager a { text-decoration: none; border-bottom: 4px solid var(--verde); }
.pager a[rel="next"] { justify-self: end; }
.pager-pos { color: var(--grigio); }

.search-big { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2rem; }
.search-big input { flex: 1 1 16rem; font: inherit; font-size: 1.2rem; padding: .8rem 1rem; border: 3px solid var(--nero); border-radius: 0; }

/* ---------- Chi scrive ---------- */
.author-block { background: var(--nero); color: var(--bianco); display: flex; flex-wrap: wrap; align-items: center; gap: 2.5rem; padding: clamp(1.8rem, 4vw, 3rem); }
.author-photo { width: 11rem; height: 11rem; border-radius: 50%; object-fit: cover; flex: none; background: #333; }
.author-initials { width: 11rem; height: 11rem; border-radius: 50%; flex: none; background: var(--verde); color: var(--nero); display: flex; align-items: center; justify-content: center; font-family: var(--titolo); font-weight: 800; font-size: 4rem; }
.author-text { flex: 1 1 22rem; display: flex; flex-direction: column; gap: .9rem; }
.author-text h2 { margin: 0; font-family: var(--titolo); font-weight: 800; font-size: 2.5rem; line-height: 1; text-transform: uppercase; color: var(--verde); }
.author-text p { margin: 0; font-size: 1.3rem; line-height: 1.5; }
.author-links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.author-links a { font-family: var(--titolo); font-weight: 600; font-size: 1.2rem; text-transform: uppercase; color: var(--bianco); text-decoration: none; border-bottom: 3px solid var(--verde); }
.author-links a:hover { color: var(--verde); }
.promo { flex: 0 1 14rem; }
.promo img { display: block; width: 100%; }

/* ---------- Iscrizione ---------- */
.subscribe { background: var(--verde); color: var(--nero); padding: clamp(1.8rem, 4vw, 3rem); }
.subscribe form { display: flex; flex-wrap: wrap; align-items: end; gap: 1.2rem 1.5rem; }
.sub-text { flex: 1 1 22rem; display: flex; flex-direction: column; gap: .4rem; }
.sub-text h2 { margin: 0; font-family: var(--titolo); font-weight: 800; font-size: clamp(2.2rem, 4.5vw, 2.8rem); line-height: 1; text-transform: uppercase; }
.sub-text p, .sub-text label { margin: 0; font-size: 1.1rem; }
.sub-row { flex: 2 1 26rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.sub-row input { flex: 1 1 15rem; font: inherit; font-size: 1.2rem; padding: .85rem 1rem; border: 3px solid var(--nero); border-radius: 0; background: var(--bianco); color: var(--nero); }
.subscribe .check { flex-basis: 100%; }
.subscribe a { color: var(--nero); }
.subscribe-dark { background: var(--nero); color: var(--bianco); }
.subscribe-dark .sub-text h2 { color: var(--verde); }
.subscribe-dark a { color: var(--bianco); }
.subscribe-dark .sub-row input { border-color: var(--bianco); }
.subscribe-dark button { background: var(--verde); color: var(--nero); }
.check { display: flex; gap: .55rem; align-items: flex-start; font-size: .98rem; line-height: 1.4; }
.check input { margin-top: .25rem; width: 1.1rem; height: 1.1rem; accent-color: var(--nero); }
.form-msg { padding: .8rem 1rem; font-size: 1rem; margin: 0 0 1rem; border-left: 6px solid var(--nero); background: var(--bianco); color: var(--nero); flex-basis: 100%; }
.form-msg.ok { border-color: var(--verde); }
.form-msg.err { border-color: #c2410c; }

/* ---------- Articolo ---------- */
.article-head { max-width: 62rem; }
.article-head .mega { font-size: clamp(2.7rem, 7vw, 6.2rem); max-width: 18ch; }
.article-head .dek { font-style: italic; }
.byline { display: flex; align-items: center; gap: .9rem; font-size: 1.1rem; }
.byline img, .byline .mini-initials { width: 3.3rem; height: 3.3rem; border-radius: 50%; object-fit: cover; flex: none; }
.byline .mini-initials { background: var(--nero); color: var(--verde); display: flex; align-items: center; justify-content: center; font-family: var(--titolo); font-weight: 800; font-size: 1.4rem; }
.article-cover { max-width: 62rem; margin: 0 auto; padding: 0 var(--g); }

.prose { max-width: 44rem; margin: 3rem auto 0; padding: 0 var(--g); font-size: 1.28rem; line-height: 1.72; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.25em; }
.prose h2 { font-family: var(--titolo); font-weight: 800; text-transform: uppercase; font-size: 2.4rem; line-height: 1; margin: 1.7em 0 .5em; text-wrap: balance; }
.prose h3 { font-family: var(--titolo); font-weight: 800; text-transform: uppercase; font-size: 1.75rem; line-height: 1.05; margin: 1.6em 0 .45em; }
.prose h4 { font-family: var(--titolo); font-weight: 600; text-transform: uppercase; font-size: 1.35rem; margin: 1.5em 0 .4em; }
.prose a { color: var(--nero); text-decoration-color: var(--verde); text-decoration-thickness: 3px; }
.prose a:hover { background: var(--verde); }
.prose strong, .prose b { font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.25em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--verde-scuro); font-weight: 700; }
.prose blockquote {
  margin: 1.6em 0; padding: 1.4rem 1.6rem; background: var(--verde); color: var(--nero);
  font-family: var(--titolo); font-weight: 800; text-transform: uppercase; font-size: 2rem; line-height: 1.08;
}
.prose blockquote p { margin: 0 0 .5em; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose blockquote cite { display: block; margin-top: .6em; font-weight: 600; font-size: 1.05rem; font-style: normal; }
.prose hr { border: 0; border-top: 6px solid var(--nero); width: 5rem; margin: 2.5em 0; }
.prose figure { margin: 2em 0; }
.prose figure.wide, .prose .alignwide, .prose .alignfull { margin-left: calc(50% - min(50vw - var(--g), 31rem)); margin-right: calc(50% - min(50vw - var(--g), 31rem)); }
.prose figcaption, .prose .wp-caption-text { font-family: var(--titolo); font-weight: 600; font-size: 1.05rem; text-transform: uppercase; color: var(--grigio); margin-top: .5em; line-height: 1.3; }
.prose img { display: block; }
.prose code { font-size: .85em; background: var(--grigio-chiaro); padding: .1em .3em; }
.prose pre { background: var(--nero); color: var(--bianco); padding: 1rem; overflow-x: auto; font-size: .9rem; }
.prose pre code { background: none; padding: 0; }
.table-wrap { overflow-x: auto; margin: 1.8em 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 1rem; font-variant-numeric: tabular-nums; }
.prose th { font-family: var(--titolo); font-weight: 800; font-size: 1.1rem; text-transform: uppercase; text-align: left; border-bottom: 4px solid var(--nero); padding: .5rem .6rem; }
.prose td { border-bottom: 1px solid #bdbdbd; padding: .5rem .6rem; vertical-align: top; }
.prose .embed { position: relative; aspect-ratio: 16 / 9; margin: 2em 0; background: var(--nero); }
.prose .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose iframe { max-width: 100%; border: 0; }
.prose video { width: 100%; height: auto; }
.prose .callout { background: var(--grigio-chiaro); border-left: 8px solid var(--verde); padding: 1.1em 1.3em; margin: 1.8em 0; font-size: 1.12rem; }
.prose .callout p:last-child { margin-bottom: 0; }
.prose mark { background: var(--verde); color: var(--nero); padding: 0 .15em; }
.prose .label { font-family: var(--titolo); font-weight: 800; text-transform: uppercase; background: var(--nero); color: var(--verde); padding: .05em .4em; }
.prose .button-link { display: inline-block; font-family: var(--titolo); font-weight: 800; text-transform: uppercase; text-decoration: none; background: var(--nero); color: var(--bianco); padding: .55em 1em; }
.prose .button-link:hover { background: var(--verde); color: var(--nero); }
.prose details { border-top: 2px solid var(--nero); border-bottom: 2px solid var(--nero); padding: .6em 0; margin: 1.5em 0; }
.prose summary { cursor: pointer; font-family: var(--titolo); font-weight: 800; text-transform: uppercase; }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
.prose .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }

.after { max-width: 44rem; margin: 0 auto; padding: 0 var(--g); }
.share { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; border-top: 6px solid var(--nero); padding-top: 1.2rem; margin-top: 3rem; }
.share-label { font-family: var(--titolo); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; margin-right: .5rem; }
.share a, .share button {
  font-family: var(--titolo); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none; padding: .45em .8em; border: 2px solid var(--nero); background: var(--bianco); color: var(--nero);
}
.share a:hover, .share button:hover { background: var(--verde); color: var(--nero); }
.after .subscribe { margin-top: 2rem; }

.adjacent { max-width: 62rem; margin: 3.5rem auto 0; padding: 0 var(--g); display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.adj { text-decoration: none; font-family: var(--titolo); font-weight: 800; font-size: 1.6rem; line-height: 1; text-transform: uppercase; }
.adj span { display: block; font-weight: 600; font-size: 1.05rem; color: var(--grigio); margin-bottom: .4rem; }
.adj-next { text-align: right; }
.adj:hover { color: var(--verde-scuro); }

.related { max-width: 62rem; margin: 3.5rem auto 0; padding: 0 var(--g); }
.related h2 { margin: 0 0 .8rem; font-family: var(--titolo); font-weight: 800; font-size: 2rem; text-transform: uppercase; }
.related ul { list-style: none; margin: 0; padding: 0; border-top: 6px solid var(--nero); }
.related li { border-bottom: 2px solid var(--nero); padding: 1rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; }
.related a { font-family: var(--titolo); font-weight: 800; font-size: 1.6rem; line-height: 1; text-transform: uppercase; text-decoration: none; }
.related a:hover { text-decoration: underline; text-decoration-color: var(--verde); }
.related time { font-family: var(--titolo); font-weight: 600; text-transform: uppercase; color: var(--grigio); }

/* ---------- Commenti ---------- */
.comments { max-width: 44rem; margin: 3.5rem auto 0; padding: 0 var(--g) 5rem; }
.comments > h2 { margin: 0 0 1rem; font-family: var(--titolo); font-weight: 800; font-size: 2.2rem; text-transform: uppercase; }
.comment-list, .replies { list-style: none; margin: 0; padding: 0; }
.comment { border-top: 2px solid var(--nero); padding: 1.2rem 0; }
.replies { margin: 1rem 0 0 1.4rem; }
.replies .comment { border-top: 0; border-left: 6px solid var(--verde); padding: .6rem 0 .6rem 1.2rem; }
.comment-body header { display: flex; flex-wrap: wrap; gap: .3rem .8rem; align-items: baseline; margin-bottom: .4rem; }
.c-name { font-weight: 700; }
.c-badge { font-family: var(--titolo); font-weight: 800; font-size: .95rem; text-transform: uppercase; background: var(--nero); color: var(--verde); padding: .05rem .4rem; }
.c-date { font-family: var(--titolo); font-weight: 600; font-size: 1rem; text-transform: uppercase; color: var(--grigio); text-decoration: none; }
.c-text p { margin: 0 0 .7em; font-size: 1.1rem; line-height: 1.6; overflow-wrap: anywhere; }
.reply-btn { background: none; color: var(--nero); padding: 0; font-size: 1.05rem; border-bottom: 3px solid var(--verde); }
.reply-btn:hover { background: none; color: var(--verde-scuro); }
.comment-form { margin-top: 2.5rem; padding-top: 1.8rem; border-top: 6px solid var(--nero); display: grid; gap: 1rem; }
.comment-form h3 { margin: 0; font-family: var(--titolo); font-weight: 800; font-size: 1.9rem; text-transform: uppercase; }
.field { display: grid; gap: .35rem; }
.field label { font-family: var(--titolo); font-weight: 600; font-size: 1.1rem; text-transform: uppercase; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.comment-form input:not([type=checkbox]), .comment-form textarea {
  font: inherit; font-size: 1.1rem; padding: .7rem .85rem; border: 3px solid var(--nero); border-radius: 0; background: var(--bianco); color: var(--nero); width: 100%;
}
.comment-form textarea { resize: vertical; line-height: 1.5; }
.comment-form button[type="submit"] { justify-self: start; background: var(--verde); color: var(--nero); }
.comment-form button[type="submit"]:hover { background: var(--nero); color: var(--verde); }
.reply-to { margin: 0; }
.reply-to button { background: none; color: var(--grigio); padding: 0 .3rem; font-size: 1rem; text-decoration: underline; }

.preview-bar { background: var(--verde); color: var(--nero); font-family: var(--titolo); font-weight: 800; text-transform: uppercase; padding: .6rem var(--g); text-align: center; }
.handoff { font-size: 1.2rem; }
.small { font-size: 1rem; color: var(--grigio); }

/* ---------- Piede ---------- */
.site-footer { background: var(--nero); color: var(--bianco); margin-top: 4rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.footer-brand { font-family: var(--titolo); font-weight: 800; font-size: 1.9rem; text-transform: uppercase; line-height: 1; color: var(--bianco); text-decoration: none; }
.footer-tag { margin: .4rem 0 0; color: #bdbdbd; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.footer-links a, .footer-legal a { font-family: var(--titolo); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; color: var(--bianco); text-decoration: none; }
.footer-links a:hover, .footer-legal a:hover { color: var(--verde); }
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center; }
.footer-legal p { margin: 0; color: #bdbdbd; font-size: .95rem; }

/* ---------- Schermi piccoli ---------- */
@media (max-width: 760px) {
  body { font-size: 1.06rem; }
  .wordmark { font-size: 1.75rem; }
  .nav { order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; }
  .nav ul { flex-wrap: nowrap; }
  .nav a { font-size: 1.15rem; }
  .item { grid-template-columns: 1fr; gap: .4rem; padding: 1.3rem 0; }
  .item-date { padding: 0; font-size: 1.05rem; }
  .item-thumb { display: none; }
  .prose { font-size: 1.15rem; }
  .prose h2 { font-size: 1.95rem; }
  .prose blockquote { font-size: 1.55rem; }
  .field-row, .adjacent { grid-template-columns: 1fr; }
  .adj-next { text-align: left; }
  .author-photo, .author-initials { width: 7rem; height: 7rem; font-size: 2.6rem; }
  .prose .alignleft, .prose .alignright { float: none; margin: 1em 0; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .topbar-wrap, .share, .after, .adjacent, .related, .comments, .site-footer { display: none; }
  .band { background: none; }
}

/* ---------- Etichette nere "di traverso", come un nastro adesivo ---------- */
.tag, .c-badge, .prose .label, .years a[aria-current] {
  display: inline-block; transform: rotate(-2.5deg); transform-origin: center;
}
.tag + .tag, .tag:nth-of-type(even) { transform: rotate(1.8deg); }
.tag:nth-of-type(3n) { transform: rotate(-1.2deg); }
.tag { margin: .15em .2em .15em 0; }
.years a:hover { transform: rotate(-2.5deg); }
@media (prefers-reduced-motion: no-preference) {
  .years a { transition: transform .15s; }
}

/* ---------- Home: foto dell'ultimo pezzo sopra al titolo ---------- */
.lead-cover { margin: 0 0 2rem; border: .5rem solid var(--nero); box-shadow: .9rem .9rem 0 var(--verde-scuro); }
.lead-cover img { max-height: 440px; aspect-ratio: 2 / 1; }
@media (max-width: 40rem) { .lead-cover { border-width: .3rem; box-shadow: .5rem .5rem 0 var(--verde-scuro); margin-bottom: 1.4rem; } }


/* ---------- Corpo dei pezzi in Georgia (come il Post) ---------- */
.prose, .lead-opening { font-family: var(--corpo); font-size: 1.25rem; line-height: 1.55; }
@media (max-width: 40rem) { .prose, .lead-opening { font-size: 1.12rem; } }

/* ---------- Home: titolo a sinistra, foto a destra, poi sottotitolo e inizio articolo ---------- */
.lead.has-cover { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: center; }
.lead .lead-head { display: flex; flex-direction: column; gap: 1.4rem; }
.lead .mega { font-size: clamp(2.6rem, 5.4vw, 5.6rem); max-width: none; }
.lead .lead-cover { margin: 0; }
.lead .lead-cover img { max-height: none; aspect-ratio: 3 / 2; }
.lead .lead-dek { max-width: 36em; font-size: clamp(1.15rem, 1.7vw, 1.38rem); }
.lead-opening-text { max-width: 46rem; }
.lead-opening { padding-top: 2.2rem; padding-bottom: .5rem; }
.lead-opening p { margin: 0 0 1em; }
.lead-more { display: flex; flex-wrap: wrap; align-items: center; margin-top: 1.6rem !important; gap: .6rem 1.4rem; }
.lead-more span { font-family: var(--titolo); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; color: var(--grigio); }
@media (max-width: 48rem) {
  .lead.has-cover { grid-template-columns: 1fr; }
  .lead .lead-cover { order: -1; }
}

/* ==========================================================
   Giallo: piccole evidenze (etichette, "Iscriviti", evidenziatore)
   ========================================================== */
::selection { background: var(--giallo); color: var(--nero); }
.tag, .band .tag, .band a.tag, .c-badge, .prose .label, .byline .mini-initials,
.years a:hover, .years a[aria-current] { color: var(--giallo); }
a.tag:hover { color: var(--bianco); }
.top-actions .btn-verde { background: var(--giallo); color: var(--nero); }
.top-actions .btn-verde:hover { background: var(--bianco); color: var(--nero); }
.nav a:hover, .nav a[aria-current], .wordmark:hover, .top-search:hover,
.footer-links a:hover, .footer-legal a:hover, .author-links a:hover { color: var(--giallo); }
.btn:hover, .button:hover, button:hover, .band a.btn:hover { color: var(--giallo); }
.author-text h2, .subscribe-dark .sub-text h2 { color: var(--giallo); }
.author-links a { border-bottom-color: var(--giallo); }
.subscribe-dark button { background: var(--giallo); }
.prose a:hover { background: var(--giallo); }
.prose mark { background: linear-gradient(transparent 12%, var(--giallo) 12%, var(--giallo) 88%, transparent 88%); padding: 0 .1em; }
.prose strong { background: linear-gradient(transparent 62%, rgba(247, 207, 43, .55) 62%); }
.lead-cover { box-shadow: .9rem .9rem 0 var(--giallo); }
@media (max-width: 40rem) { .lead-cover { box-shadow: .5rem .5rem 0 var(--giallo); } }
.prose :is(h1, h2, h3, h4, h5, h6) strong, .prose :is(h1, h2, h3, h4, h5, h6) mark { background: none; }

/* ==========================================================
   Home a blocchi
   ========================================================== */
.hb { margin-top: clamp(2.8rem, 6vw, 4.5rem); }
.hb-whatsapp, .lay-band, .hb-videos { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem;
  border-bottom: 6px solid var(--nero); padding-bottom: .5rem; margin-bottom: 1.8rem; }
.sec-head .section-h { margin: 0; }
.section-h a { text-decoration: none; }
.section-h a:hover { color: var(--verde-scuro); }
.sec-all { font-family: var(--titolo); font-weight: 800; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none; border-bottom: 3px solid var(--verde); }
.sec-all:hover { border-bottom-color: var(--giallo); }

/* Box articolo */
.card { display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.card-img { display: block; overflow: hidden; background: var(--grigio-chiaro); }
.card-img img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.card-meta { margin: 0; display: flex; flex-wrap: wrap; gap: .2rem .8rem; font-family: var(--titolo); font-weight: 600; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .03em; color: var(--grigio); }
.card-cat { color: var(--verde-scuro); text-decoration: none; font-weight: 800; }
.card-title { margin: 0; font-family: var(--titolo); font-weight: 800; text-transform: uppercase; line-height: .97; font-size: 1.65rem; text-wrap: balance; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-decoration-color: var(--verde); text-decoration-thickness: .08em; }
.card-ex { margin: 0; font-size: 1.02rem; line-height: 1.5; color: var(--grigio-testo); }
.card-big .card-title { font-size: clamp(2.1rem, 3.6vw, 3.1rem); line-height: .93; }
.card-big .card-ex { font-size: 1.15rem; }
.card-normal.no-img { border-top: 6px solid var(--verde); padding-top: 1rem; }
.card-big.no-img { background: var(--grigio-chiaro); padding: clamp(1.4rem, 3vw, 2.2rem); border-left: 10px solid var(--verde); }
.card-compact.has-img { display: grid; grid-template-columns: 38% minmax(0, 1fr); gap: 1rem; align-items: start; }
.card-compact .card-title { font-size: 1.35rem; }
.card-row .card-title { font-size: 1.5rem; }

/* Ultimi pezzi: uno grande e quattro piccoli */
.latest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.2rem 2rem; }
.latest-grid > .card-big { grid-column: span 2; grid-row: span 2; }
.latest-grid > .card-normal .card-ex { display: none; }

/* Canale WhatsApp */
.hb-whatsapp { background: var(--nero); color: var(--bianco); margin-top: clamp(2.8rem, 6vw, 4.5rem); }
.hb-whatsapp-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: center; }
.hb-whatsapp .tag { background: var(--verde); color: var(--nero); justify-self: start; grid-column: 1 / -1; }
.hb-whatsapp h2 { margin: 0; font-family: var(--titolo); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: .93; }
.hb-whatsapp p { margin: 0; font-size: 1.12rem; color: #d8d8d8; grid-column: 1; }
.hb-whatsapp .btn { grid-column: 2; grid-row: 2 / span 2; justify-self: start; display: inline-flex; align-items: center; gap: .6rem; font-size: 1.35rem; padding: .8em 1.3em; }
.btn-giallo, .band a.btn-giallo { background: var(--giallo); color: var(--nero); }
.btn-giallo:hover { background: var(--bianco); color: var(--nero) !important; }

/* Sezioni per categoria */
.feat-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.lay-feature-r .feat-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
.lay-feature-r .feat-grid > .card-big { order: 2; }
.feat-side { display: flex; flex-direction: column; }
.feat-side > .card { padding: 1.2rem 0; border-bottom: 2px solid var(--nero); }
.feat-side > .card:first-child { padding-top: 0; }
.row-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.2rem 2rem; }
.row-grid.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.row-grid.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lay-band { background: var(--grigio-chiaro); }
.num-grid { list-style: none; margin: 0; padding: 0; counter-reset: n; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; }
.num-grid li { counter-increment: n; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem; align-items: start; }
.num-grid li::before { content: counter(n, decimal-leading-zero); font-family: var(--titolo); font-weight: 800; font-size: 4.2rem; line-height: .8; color: var(--verde); }

/* Social */
.hb-social-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
.hb-social-grid.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hb-social-grid.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sbox { display: flex; flex-direction: column; gap: .35rem; padding: 1.6rem 1.5rem 1.4rem; text-decoration: none; min-height: 15rem;
  transform: rotate(-.8deg); transition: transform .2s ease; }
.sbox:nth-child(even) { transform: rotate(.9deg); }
.sbox:hover { transform: rotate(0) translateY(-3px); }
.sbox-ico { margin-bottom: .6rem; }
.sbox-name { font-family: var(--titolo); font-weight: 800; font-size: 2rem; line-height: 1; text-transform: uppercase; }
.sbox-who { font-family: var(--titolo); font-weight: 600; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .02em; opacity: .85; }
.sbox-text { font-size: 1rem; line-height: 1.45; flex: 1; margin-top: .3rem; }
.sbox-cta { font-family: var(--titolo); font-weight: 800; font-size: 1.1rem; text-transform: uppercase; margin-top: .8rem; }
.sbox-ig { background: var(--nero); color: var(--bianco); }
.sbox-ig .sbox-ico, .sbox-ig .sbox-cta { color: var(--giallo); }
.sbox-fb { background: var(--verde); color: var(--nero); }
.sbox-ss { background: var(--giallo); color: var(--nero); }
.sbox-yt { background: var(--bianco); color: var(--nero); border: 4px solid var(--nero); }
.sbox-yt .sbox-ico { color: #d9261c; }

/* Video */
.hb-videos { background: var(--nero); color: var(--bianco); margin-top: clamp(2.8rem, 6vw, 4.5rem); }
.hb-videos .sec-head { border-bottom-color: var(--bianco); }
.hb-videos .sec-all { color: var(--bianco); }
.hb-videos .hint { color: #9a9a9a; margin: 1rem 0 0; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.video-grid.n1 { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
.video-grid.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.video-grid iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
button.yt { all: unset; box-sizing: border-box; position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; cursor: pointer; background: #222; overflow: hidden; }
button.yt img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .85; transition: opacity .2s; }
button.yt:hover img { opacity: 1; }
button.yt:focus-visible { outline: 3px solid var(--giallo); outline-offset: 3px; }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-3deg); background: var(--giallo); color: var(--nero);
  width: 4.4rem; height: 3.2rem; display: flex; align-items: center; justify-content: center; }

/* Archivio */
.hb-archive .sec-head .tag { transform: rotate(2deg); }
.hb-archive .all-link { margin-top: 2.4rem; }
.hb-archive .years { margin-top: 1.2rem; }

@media (max-width: 64rem) {
  .latest-grid, .row-grid, .row-grid.n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .latest-grid > .card-big { grid-row: auto; }
  .hb-social-grid, .hb-social-grid.n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-grid, .lay-feature-r .feat-grid { grid-template-columns: 1fr; }
  .lay-feature-r .feat-grid > .card-big { order: 0; }
}
@media (max-width: 40rem) {
  .latest-grid, .row-grid, .row-grid.n3, .row-grid.n2, .num-grid, .video-grid, .video-grid.n2,
  .hb-social-grid, .hb-social-grid.n3, .hb-social-grid.n2 { grid-template-columns: 1fr; }
  .latest-grid > .card-big { grid-column: auto; }
  .latest-grid > .card-normal.has-img { display: grid; grid-template-columns: 38% minmax(0, 1fr); gap: 1rem; }
  .hb-whatsapp-in { grid-template-columns: 1fr; }
  .hb-whatsapp .btn { grid-column: 1; grid-row: auto; }
  .num-grid li::before { font-size: 3rem; }
  .sbox { min-height: 0; }
  .card-title { font-size: 1.45rem; }
}
.feat-grid .card-big .card-img img { aspect-ratio: 16 / 10; }
:is(.hb-whatsapp, .lay-band, .hb-videos) + :is(.hb-whatsapp, .lay-band, .hb-videos) { margin-top: 0; }
@media (max-width: 40rem) {
  .row-grid > .card-normal.has-img + .card-normal.has-img { display: grid; grid-template-columns: 38% minmax(0, 1fr); gap: 1rem; }
  .row-grid > .card-normal + .card-normal .card-ex { display: none; }
}

/* ---------- Logo ---------- */
.wordmark.logo, .footer-brand.logo { display: block; line-height: 0; }
.wordmark.logo img { display: block; height: 3.6rem; width: auto; }
.footer-brand.logo img { display: block; height: 3.4rem; width: auto; }
.wordmark.logo:hover img { opacity: .9; }
@media (max-width: 40rem) { .wordmark.logo img { height: 2.3rem; } }

/* ---------- Apertura home: testo a sinistra, foto a destra ---------- */
.lead.has-cover { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 2rem clamp(2rem, 4vw, 3.5rem); align-items: start; }
.lead .lead-head { gap: 1.1rem; }
.lead .mega { font-size: clamp(2.4rem, 4.7vw, 4.8rem); line-height: .92; }
.lead .lead-dek { font-size: clamp(1.12rem, 1.55vw, 1.32rem); max-width: 34em; }
.lead-when { margin: .2rem 0 0; padding-top: .8rem; border-top: 3px solid var(--nero); width: fit-content; min-width: 8rem;
  font-family: var(--titolo); font-weight: 600; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .03em; }
.lead .lead-cover img { aspect-ratio: 4 / 3; }
@media (max-width: 48rem) { .lead.has-cover { grid-template-columns: 1fr; } .lead .lead-cover img { aspect-ratio: 3 / 2; } }

/* ---------- Spazi pubblicitari ---------- */
.ad { display: block; text-align: center; }
.ad-label { display: block; font-family: var(--titolo); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--grigio); margin-bottom: .4rem; text-align: left; }
.ad img { display: block; width: 100%; height: auto; margin: 0 auto; }
.ad-link { display: block; border: 1px solid var(--riga); line-height: 0; transition: border-color .2s; }
.ad-link:hover { border-color: var(--nero); }
.ad-home_1 .ad-link, .ad-home_2 .ad-link { max-width: 75rem; }
.prose .ad { margin: 2.2em 0; padding: 1rem 0; border-top: 2px solid var(--nero); border-bottom: 2px solid var(--nero); }
.prose .ad img { max-height: 520px; width: auto; max-width: 100%; }
.prose .ad a { background: none !important; }
.after > .ad { margin: 0 0 2.5rem; }
.after > .ad img { max-height: 520px; width: auto; max-width: 100%; }
.ad-code { min-height: 90px; }

/* ---------- Riquadri pubblicitari quadrati ---------- */
.ad-squares { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.ad-squares.n1 { grid-template-columns: minmax(0, 24rem); justify-content: center; }
.ad-squares.n2 { grid-template-columns: repeat(2, minmax(0, 24rem)); justify-content: center; }
.ad-sq img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 40rem) { .ad-squares, .ad-squares.n2 { grid-template-columns: 1fr; } }

/* ---------- Libri consigliati ---------- */
.book { display: flex; flex-direction: column; gap: .9rem; min-width: 0; }
.book-cover { display: block; line-height: 0; transition: transform .2s ease; }
.book-cover:hover { transform: rotate(-1.5deg) translateY(-3px); }
.book-cover img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: .5rem .5rem 0 var(--nero); background: var(--grigio-chiaro); }
.book-fake { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; aspect-ratio: 2 / 3; padding: 1.2rem; background: var(--nero);
  color: var(--giallo); box-shadow: .5rem .5rem 0 var(--verde); line-height: 1; }
.book-fake span { font-family: var(--titolo); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; line-height: .95; }
.book-fake small { font-family: var(--titolo); font-weight: 600; font-size: .95rem; text-transform: uppercase; color: var(--bianco); }
.book-body { display: flex; flex-direction: column; gap: .3rem; }
.book-title { margin: 0; font-family: var(--titolo); font-weight: 800; font-size: 1.35rem; line-height: 1; text-transform: uppercase; }
.book-title a { text-decoration: none; }
.book-title a:hover { text-decoration: underline; text-decoration-color: var(--verde); }
.book-author { margin: 0; font-family: var(--titolo); font-weight: 600; font-size: .95rem; text-transform: uppercase; letter-spacing: .03em; color: var(--grigio); }
.book-note { margin: .4rem 0 0; font-size: 1rem; line-height: 1.5; }
.book-buy { align-self: flex-start; margin-top: .4rem; font-family: var(--titolo); font-weight: 800; font-size: .95rem; text-transform: uppercase;
  text-decoration: none; background: var(--giallo); color: var(--nero); padding: .3em .7em; }
.book-buy:hover { background: var(--nero); color: var(--giallo); }
.books-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.8rem 2.2rem; }
.books-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2rem 1.6rem; }
.books-strip.n1, .books-strip.n2, .books-strip.n3 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.affiliate-note { margin: 2.2rem 0 0; font-size: .85rem; color: var(--grigio); }
@media (max-width: 64rem) { .books-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .books-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 40rem) {
  .books-grid, .books-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.2rem; }
  .book-title { font-size: 1.15rem; }
  .book-fake span { font-size: 1.2rem; }
}

/* Menu con "Libri consigliati": più compatto sugli schermi medi, a capo sul telefono */
@media (min-width: 40.01rem) {
  .topbar { gap: .8rem 1.2rem; }
  .nav ul { gap: .4rem 1.05rem; }
  .nav a { font-size: 1.12rem; }
  .wordmark.logo img { height: 2.9rem; }
  .top-actions .btn { font-size: 1rem; padding: .55em .8em; }
}
@media (max-width: 40rem) {
  .nav { overflow: visible; }
  .nav ul { flex-wrap: wrap; gap: .35rem 1.1rem; }
  .nav a { font-size: 1.05rem; }
}
@media (max-width: 66rem) and (min-width: 40.01rem) {
  .nav { order: 3; flex-basis: 100%; }
}

/* ==========================================================
   Bandi e novità normative
   ========================================================== */
.g-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.g-tabs a { font-family: var(--titolo); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; text-decoration: none;
  padding: .45em .9em; border: 3px solid var(--nero); color: var(--nero); background: transparent; }
.g-tabs a span { font-weight: 600; opacity: .7; }
.g-tabs a[aria-current] { background: var(--nero); color: var(--giallo); }
.g-tabs a:hover { background: var(--nero); color: var(--bianco); }
.g-filters { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; padding: 1.2rem; background: var(--grigio-chiaro); margin-bottom: 1.4rem; }
.g-filters .g-q { flex: 1 1 18rem; }
.g-filters input[type=search], .g-filters select { width: 100%; font: inherit; font-size: 1.05rem; padding: .6rem .7rem; border: 2px solid var(--nero); background: var(--bianco); }
.g-filters select { width: auto; }
.g-filters .check { display: flex; align-items: center; gap: .4rem; font-size: 1rem; }
.g-count { font-family: var(--titolo); font-weight: 600; font-size: 1.1rem; text-transform: uppercase; color: var(--grigio); margin: 0 0 .6rem; }
.g-list { border-top: 6px solid var(--nero); }
.g-item { padding: 1.3rem 0; border-bottom: 2px solid var(--nero); display: flex; flex-direction: column; gap: .45rem; }
.g-featured { background: linear-gradient(90deg, rgba(247, 207, 43, .18), transparent 60%); padding-left: .9rem; border-left: 6px solid var(--giallo); }
.g-meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; align-items: center; font-family: var(--titolo); font-weight: 600; font-size: .95rem; text-transform: uppercase; letter-spacing: .03em; color: var(--grigio); }
.g-dl { font-weight: 800; padding: .1em .5em; background: var(--grigio-chiaro); color: var(--nero); }
.g-dl-urgent { background: var(--giallo); }
.g-dl-past { background: #ddd; color: #666; }
.g-dl-ok { background: var(--verde); color: var(--nero); }
.g-local { color: var(--verde-scuro); font-weight: 800; }
.g-level { color: var(--nero); }
.g-title { margin: 0; font-family: var(--titolo); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1; text-transform: uppercase; text-wrap: balance; }
.g-title a { text-decoration: none; }
.g-title a:hover { text-decoration: underline; text-decoration-color: var(--verde); }
.g-sub { margin: 0; font-size: 1rem; color: var(--grigio-testo); }
.g-sum { margin: 0; font-size: 1.02rem; line-height: 1.5; color: var(--grigio-testo); }
.g-comment { margin: .2rem 0 0; font-size: 1.05rem; line-height: 1.5; }
.g-comment span { font-family: var(--titolo); font-weight: 800; text-transform: uppercase; font-size: .85rem; background: var(--nero); color: var(--giallo); padding: .1em .4em; margin-right: .3em; }
.g-disclaimer { font-size: .88rem; color: var(--grigio); margin-top: 2rem; max-width: 52rem; }
.g-compact { padding: .9rem 0; }
.g-compact .g-title { font-size: 1.3rem; }
.g-list-compact { border-top-width: 4px; margin-bottom: 1rem; }
.hb-grants-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.5rem; }
.hb-grants-sub { margin: 0 0 .6rem; font-family: var(--titolo); font-weight: 800; font-size: 1.2rem; text-transform: uppercase; color: var(--verde-scuro); }
.g-head { gap: 1.1rem; }
.g-h1 { margin: 0; font-family: var(--titolo); font-weight: 800; text-transform: uppercase; font-size: clamp(2.1rem, 4.6vw, 4rem); line-height: .93; max-width: 24ch; text-wrap: balance; }
.g-ente { margin: 0; font-family: var(--titolo); font-weight: 600; font-size: 1.3rem; text-transform: uppercase; }
.g-body { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 3rem; padding-top: 2.5rem; padding-bottom: 1rem; align-items: start; }
.g-facts { position: sticky; top: 1rem; background: var(--grigio-chiaro); padding: 1.4rem; border-top: 6px solid var(--nero); }
.g-facts dl { margin: 1rem 0 1.2rem; display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; }
.g-facts dt { font-family: var(--titolo); font-weight: 600; text-transform: uppercase; font-size: .9rem; color: var(--grigio); }
.g-facts dd { margin: 0; font-weight: 600; }
.g-dl-big { display: inline-block; margin: 0; font-family: var(--titolo); font-size: 1.25rem; text-transform: uppercase; }
.g-go { display: block; text-align: center; }
.g-text { max-width: 44rem; font-family: var(--corpo); font-size: 1.2rem; line-height: 1.55; }
.g-text h2 { font-family: var(--titolo); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; line-height: 1; margin: 1.6em 0 .5em; }
.g-text h2:first-child { margin-top: 0; }
.g-andrea { border-left: 6px solid var(--giallo); padding: .2rem 0 .2rem 1.2rem; margin-bottom: 2rem; display: flex; flex-direction: column; gap: .6rem; }
.g-andrea .tag { align-self: flex-start; }
@media (max-width: 64rem) { .hb-grants-grid { grid-template-columns: 1fr; } }
@media (max-width: 48rem) {
  .g-body { grid-template-columns: 1fr; gap: 1.8rem; }
  .g-facts { position: static; }
  .g-text { font-size: 1.1rem; }
}

/* ---------- Questionario "Per te" ---------- */
.pt-form { max-width: 52rem; display: flex; flex-direction: column; gap: 2.2rem; }
.pt-step { border: 0; margin: 0; padding: 0 0 2rem; border-bottom: 2px solid var(--nero); }
.pt-step legend { display: flex; align-items: center; gap: .8rem; font-family: var(--titolo); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); text-transform: uppercase; line-height: 1; margin-bottom: 1rem; padding: 0; }
.pt-n { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; background: var(--nero); color: var(--giallo); font-size: 1.4rem; transform: rotate(-4deg); flex: none; }
.pt-hint { margin: .2rem 0 .8rem; color: var(--grigio); font-size: 1rem; }
.pt-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: .8rem; }
.pt-chip { position: relative; cursor: pointer; }
.pt-chip input { position: absolute; opacity: 0; pointer-events: none; }
.pt-chip span { display: inline-block; padding: .55em 1em; border: 2px solid var(--nero); background: var(--bianco); font-family: var(--titolo); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; transition: background .12s, color .12s, transform .12s; }
.pt-chip span small { font-weight: 600; font-size: .8em; opacity: .7; text-transform: none; }
.pt-chip:hover span { background: var(--grigio-chiaro); }
.pt-chip input:checked + span { background: var(--nero); color: var(--giallo); transform: rotate(-1.2deg); }
.pt-chip input:focus-visible + span { outline: 3px solid var(--verde); outline-offset: 2px; }
.pt-check { display: flex; gap: .55rem; align-items: flex-start; font-size: 1.05rem; margin-top: .4rem; }
.pt-check input { margin-top: .3em; width: 1.1rem; height: 1.1rem; flex: none; }
.pt-field { display: grid; gap: .35rem; font-family: var(--titolo); font-weight: 600; text-transform: uppercase; font-size: 1rem; margin-bottom: 1rem; max-width: 28rem; }
.pt-field input { font: inherit; font-family: var(--testo); text-transform: none; font-size: 1.1rem; padding: .7rem .8rem; border: 2px solid var(--nero); }
.pt-actions { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; margin: 0; }
.pt-actions .btn { font-size: 1.3rem; padding: .8em 1.4em; }
.pt-privacy { margin: 0; font-size: .9rem; color: var(--grigio); }
.pt-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.2rem; align-items: center; padding: .9rem 1.1rem; background: var(--nero); color: var(--bianco); margin-bottom: 1rem; }
.pt-bar p { margin: 0; }
.pt-bar .tag { background: var(--giallo); color: var(--nero); margin-right: .4rem; }
.pt-bar a { color: var(--giallo); font-family: var(--titolo); font-weight: 800; text-transform: uppercase; text-decoration: none; }
.pt-bar-off { background: var(--grigio-chiaro); color: var(--nero); }
.pt-bar-off a { color: var(--verde-scuro); }
.pt-cta { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1.5rem; align-items: center; padding: 1.3rem 1.5rem; margin-bottom: 1.4rem; background: var(--nero); color: var(--bianco); text-decoration: none; border-left: 10px solid var(--giallo); }
.pt-cta-big { font-family: var(--titolo); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); text-transform: uppercase; line-height: 1; grid-column: 1; }
.pt-cta-small { grid-column: 1; color: #d6d6d6; font-size: 1.02rem; }
.pt-cta .btn { grid-column: 2; grid-row: 1 / span 2; }
.pt-cta:hover .btn { background: var(--bianco); }
@media (max-width: 40rem) { .pt-cta { grid-template-columns: 1fr; } .pt-cta .btn { grid-column: 1; grid-row: auto; justify-self: start; } }
