/* ===========================================================
   News — index page (editorial grid + filters + search)
   Isolated from main styles.css; loaded only on /it/news/*
   =========================================================== */

/* ---------- Hero ---------- */
.news-hero h1 {
  font-size: clamp(44px, 6vw, 84px);
  max-width: 16ch;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.news-hero h1 em { font-family: var(--serif); font-style: italic; color: var(--violet); font-weight: 400; }
.news-hero .lede { max-width: 56ch; margin-top: 22px; }

.news-hero-meta {
  margin-top: 36px;
  display: flex;
  gap: 28px 36px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(253,251,247,0.68);
}
.news-hero-meta > div { display: flex; flex-direction: column; gap: 4px; }
.news-hero-meta .k { color: rgba(253,251,247,0.42); font-size: 10.5px; letter-spacing: 0.16em; }
.news-hero-meta .v { color: var(--paper); font-size: 13px; letter-spacing: 0.04em; }
.news-hero-meta .v.live { color: var(--violet); }

/* ---------- Filters bar ---------- */
.news-filters {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(221, 226, 232,0.92);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hair);
}
.news-filters-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 24px;
  padding: 18px 0;
}

/* PATCH-005 (2026-05-10): blocco filtri = stack di tipo + categorie sopra,
   search a destra. Tipo è una piccola riga separata, più piccola dei cat chip. */
.news-filters-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.news-types {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.news-types-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-4);
  margin-right: 4px;
}
.news-type-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.news-type-chip:hover { color: var(--ink); border-color: var(--hair-2); }
.news-type-chip .count {
  font-size: 9.5px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
}
.news-type-chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.news-type-chip[aria-pressed="true"] .count { color: rgba(255,255,255,0.6); }
/* Hint cromatico per i due tipi specifici quando attivi */
.news-type-chip--deep[aria-pressed="true"]  { background: var(--violet); border-color: var(--violet); }
.news-type-chip--flash[aria-pressed="true"] { background: #B7791F; border-color: #B7791F; }

.news-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* PATCH-004 (2026-05-10): stati di caricamento / errore visibili in barra filtri */
.news-filters-loading,
.news-filters-error {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: 999px;
}
.news-filters-loading { color: var(--ink-3); border: 1px dashed var(--hair-2); }
.news-filters-error   { color: var(--violet); border: 1px solid var(--violet); }

#newsRetry,
#newsReset {
  margin-top: 12px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
#newsRetry:hover,
#newsReset:hover { background: var(--ink); color: var(--paper); }

/* ---------- Type legend (sotto la barra filtri) ---------- */
.news-legend {
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
  padding: 14px 0;
}
.news-legend-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 18px 24px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.news-legend .legend-pair {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.news-legend .legend-tag {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
}
.news-legend .legend-tag--flash { color: #B7791F; }   /* warm amber */
.news-legend .legend-tag--deep  { color: var(--violet); }
.news-legend .legend-sep {
  color: var(--ink-4);
  user-select: none;
}
@media (max-width: 700px) {
  .news-legend-inner { gap: 10px 14px; font-size: 10.5px; }
  .news-legend .legend-sep { display: none; }
}
.news-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.news-cat:hover { color: var(--ink); border-color: var(--hair-2); }
.news-cat .count {
  font-size: 10px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
}
.news-cat[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.news-cat[aria-pressed="true"] .count { color: rgba(253,251,247,0.6); }

.news-search {
  position: relative;
  width: clamp(220px, 28vw, 320px);
}
.news-search input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 4px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.news-search input:focus {
  outline: 0;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(107, 31, 74,0.08);
}
.news-search input::placeholder { color: var(--ink-4); }
.news-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--ink-4);
  pointer-events: none;
}

@media (max-width: 760px) {
  .news-filters-inner { grid-template-columns: 1fr; gap: 14px; }
  .news-search { width: 100%; }
}

/* ---------- Featured (top of feed) ---------- */
.news-feed { padding: 56px 0 96px; }

.news-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 72px);
  margin-bottom: clamp(40px, 5vw, 72px);
  border-bottom: 1px solid var(--hair);
}
.news-featured-card { display: flex; flex-direction: column; gap: 20px; }
.news-featured-card .news-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.news-featured-card .news-cat-tag { color: var(--violet); }
.news-featured-card .news-date { color: var(--ink-3); }
.news-featured-card h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.06;
  color: var(--ink);
  margin-top: 4px;
}
.news-featured-card h2 a {
  color: inherit;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .35s ease;
}
.news-featured-card h2 a:hover { background-size: 100% 1px; }
.news-featured-card .excerpt { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.news-featured-card .news-byline {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.06em;
}

.news-featured-side {
  display: flex; flex-direction: column; gap: 24px;
  border-left: 1px solid var(--hair);
  padding-left: clamp(24px, 4vw, 56px);
}
.news-featured-side .side-eyebrow {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-4);
}
.news-side-item { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; border-top: 1px solid var(--hair); }
.news-side-item:first-of-type { padding-top: 0; border-top: 0; }
.news-side-item .news-meta-row { font-size: 10px; letter-spacing: 0.1em; color: var(--ink-4); display: flex; gap: 10px; }
.news-side-item .news-cat-tag { color: var(--violet); }
.news-side-item h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.news-side-item h3 a { color: inherit; }
.news-side-item h3 a:hover { color: var(--violet); }

@media (max-width: 900px) {
  .news-featured { grid-template-columns: 1fr; }
  .news-featured-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--hair); padding-top: 32px; }
}

/* ---------- Feed grid ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
@media (max-width: 1000px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .news-grid { grid-template-columns: 1fr; } }

.news-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--bone);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  min-height: 240px;
}
.news-item:hover { background: var(--paper); }

/* D-018+UX (2026-05-09): differenziazione visiva chiara fra deep e flash.
   Deep = card con destinazione (pagina canonica) → hover marcato + arrow.
   Flash = card autoconsistente → niente arrow + ribbon amber + hover gentile. */
.news-item.is-deep { cursor: pointer; }
.news-item.is-deep:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -16px rgba(20, 14, 26, 0.18);
}
.news-item.is-flash { cursor: default; }
.news-item.is-flash h3 a { cursor: pointer; }

.news-item .news-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.news-item .news-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.news-item .news-type .type-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet);
}
.news-item .news-type.flash .type-dot { background: var(--accent-amber, #2F6E63); }
.news-item .news-cat-tag { color: var(--violet); }
.news-item .news-date { margin-left: auto; color: var(--ink-4); }

.news-item h3 {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.news-item h3 a {
  color: inherit;
  display: block;
}
.news-item h3 a::before {
  content: '';
  position: absolute;
  inset: 0;
}
.news-item:hover h3 { color: var(--violet); }

.news-item .excerpt {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-3);
}
/* Deep: excerpt clampato — la card linka alla pagina dedicata, "leggi tutto" porta a destinazione. */
.news-item.is-deep .excerpt {
  -webkit-line-clamp: 4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Flash: excerpt completo — il flash è autoconsistente, la card è la scheda completa.
   Niente line-clamp: la card cresce in altezza per ospitare l'intero excerpt. CSS Grid
   gestisce le altezze irregolari naturalmente. */

.news-item .news-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 8px;
}
.news-tag-chip {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-4);
  padding: 3px 8px;
  border: 1px solid var(--hair);
  border-radius: 2px;
}

.news-item .news-arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--hair);
  color: var(--ink-3);
  transition: transform .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.news-item:hover .news-arrow {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: rotate(-45deg);
}
/* D-018+UX: i flash sono autoconsistenti e l'arrow induceva affordance falsa
   ("clicca per andare altrove"). Hidden via CSS — la card resta cliccabile sul
   titolo (anchor scroll-to-card) ma niente icona di redirezione. */
.news-item.is-flash .news-arrow { display: none; }

/* Ribbon laterale: violet sui deep (natura editoriale), amber sui flash
   (natura "annuncio di mercato"). Stessa shape, colore type-aware. */
.news-item.is-deep::after,
.news-item.is-flash::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 32px;
}
.news-item.is-deep::after  { background: var(--violet); }
.news-item.is-flash::after { background: var(--accent-amber, #2F6E63); }

/* ---------- Empty / no-results ---------- */
.news-empty {
  padding: 80px 0;
  text-align: center;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.news-empty button {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 16px;
  border: 1px solid var(--ink);
  background: transparent;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease;
}
.news-empty button:hover { background: var(--ink); color: var(--paper); }

/* ---------- Pagination / load-more ---------- */
.news-loadmore {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}
.news-loadmore button {
  padding: 14px 26px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--hair-2);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 12px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.news-loadmore button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.news-loadmore button[hidden] { display: none; }
.news-loadmore .progress {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ink-4);
  margin-left: 18px;
  align-self: center;
}

/* ---------- Article page (single post) ---------- */
.news-article-hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(80px, 12vw, 160px) 0 clamp(40px, 6vw, 80px);
}
.news-article-hero h1 {
  font-size: clamp(36px, 4.8vw, 64px);
  max-width: 22ch;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.news-article-hero h1 em { font-family: var(--serif); font-style: italic; color: var(--violet); font-weight: 400; }
.news-article-hero .news-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253,251,247,0.6);
}
.news-article-hero .news-meta-row .news-cat-tag { color: var(--violet); }
.news-article-hero .news-meta-row .news-type { color: var(--paper); }
.news-article-hero .lede { color: rgba(253,251,247,0.82); max-width: 60ch; margin-top: 22px; }
.news-article-hero .byline {
  margin-top: 32px;
  display: flex; gap: 24px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px;
  color: rgba(253,251,247,0.72); letter-spacing: 0.02em;
}
.news-article-hero .byline strong { color: var(--paper); font-weight: 500; }
.news-article-hero .byline span { display: inline-flex; align-items: center; gap: 6px; }

/* D-017 — pagina deep individuale (singolo articolo sotto /it/news/<slug>) */
.news-article-page { padding: clamp(56px, 8vw, 120px) 0 clamp(72px, 9vw, 120px); background: var(--paper); }
.news-article-page .container { max-width: 760px; }

/* Reuse insights .prose styles by including insights.css alongside, or replicate minimal */
.news-prose { color: var(--ink-2); font-size: 18px; line-height: 1.65; }
.news-prose > * + * { margin-top: 22px; }
.news-prose p { max-width: none; }
.news-prose h2 { font-size: clamp(26px, 2.8vw, 32px); margin-top: 48px; letter-spacing: -0.018em; color: var(--ink); }
.news-prose h3 { font-size: 22px; margin-top: 36px; letter-spacing: -0.012em; color: var(--ink); }
.news-prose strong { color: var(--ink); font-weight: 600; }
.news-prose em { font-family: var(--serif); font-style: italic; color: var(--violet); }
.news-prose a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.news-prose ul, .news-prose ol { padding-left: 22px; max-width: 60ch; }
.news-prose ul li, .news-prose ol li { margin-top: 8px; }
/* Pull-quote · Direzione D press treatment (D-019).
   Full-bleed terracotta with white serif italic — same family as #patto. */
.news-prose blockquote {
  position: relative;
  background: var(--violet);
  color: var(--paper);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 3.6vw, 40px);
  margin: clamp(36px, 4vw, 52px) calc(50% - 50vw);
  padding-left: max(clamp(24px, 3.6vw, 40px), calc(50vw - 50%));
  padding-right: max(clamp(24px, 3.6vw, 40px), calc(50vw - 50%));
  border: 0;
}
.news-prose blockquote p {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(22px, 2.4vw, 28px); line-height: 1.32;
  color: var(--paper); max-width: 56ch;
  margin-left: auto; margin-right: auto;
}
.news-prose blockquote em { color: rgba(255,255,255,0.78); }
.news-prose blockquote strong { color: var(--paper); }

.news-related {
  margin-top: clamp(72px, 10vw, 120px);
  border-top: 1px solid var(--hair);
  padding-top: 48px;
}
.news-related h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 24px;
}
.news-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 700px) { .news-related-grid { grid-template-columns: 1fr; } }
.news-related-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 22px;
  border: 1px solid var(--hair);
  background: var(--paper);
  transition: border-color .2s ease, transform .2s ease;
}
.news-related-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.news-related-card .news-meta-row { display: flex; flex-wrap: wrap; gap: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--ink-4); }
.news-related-card .news-cat-tag { color: var(--violet); }
.news-related-card .news-type { color: var(--ink-3); }
.news-related-card h5 { font-size: 16px; font-weight: 500; line-height: 1.32; color: var(--ink); }
a.news-related-card { text-decoration: none; }

/* D-017 — CTA "Parliamone" sotto il body deep */
.news-article-cta {
  margin-top: clamp(56px, 8vw, 88px);
  padding: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 56px);
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.news-article-cta .cta-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--violet);
}
.news-article-cta h3 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--paper);
  font-weight: 500;
}
.news-article-cta p {
  color: rgba(253,251,247,0.78);
  font-size: 16px;
  line-height: 1.55;
  max-width: 56ch;
}
.news-article-cta .btn { margin-top: 6px; }

/* D-017 — tag chips sotto il body */
.news-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--hair);
}

/* ---------- Article sections (deep articles, managed by sala-stampa) ---------- */
.news-articles-wrap {
  border-top: 1px solid var(--hair);
  background: var(--paper);
  padding: clamp(48px, 7vw, 96px) 0 clamp(80px, 10vw, 140px);
}
.news-articles-wrap .container { max-width: 820px; }

.news-article {
  scroll-margin-top: 100px; /* offset for sticky filter bar */
  padding: clamp(40px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--hair);
}
.news-article:last-child { border-bottom: 0; }
.news-article:target {
  background: linear-gradient(180deg, rgba(107, 31, 74,0.04), transparent 70%);
}

.news-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.news-article-meta .news-cat-tag { color: var(--violet); }
.news-article-meta .news-type.deep { color: var(--ink); }
.news-article-meta .news-type .type-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--violet);
  margin-right: 6px;
  vertical-align: middle;
}

.news-article > h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 26ch;
  margin-bottom: 18px;
}

.news-article-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 56ch;
  margin-bottom: 24px;
}

.news-byline {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  margin-bottom: 32px;
}
.news-byline strong { color: var(--ink); font-weight: 500; }

.news-article-body {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.65;
}
.news-article-body > * + * { margin-top: 20px; }
.news-article-body p { max-width: none; }
.news-article-body h2,
.news-article-body h3,
.news-article-body h4 {
  color: var(--ink);
  letter-spacing: -0.014em;
}
.news-article-body h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 40px; }
.news-article-body h3 { font-size: 20px; margin-top: 32px; }
.news-article-body h4 { font-size: 17px; margin-top: 28px; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--mono); }
.news-article-body strong { color: var(--ink); font-weight: 600; }
.news-article-body em { font-family: var(--serif); font-style: italic; color: var(--violet); }
.news-article-body a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.news-article-body ul,
.news-article-body ol { padding-left: 22px; max-width: 60ch; }
.news-article-body li { margin-top: 8px; }
.news-article-body code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: rgba(0,0,0,0.04);
  padding: 2px 6px;
  border-radius: 4px;
}
.news-article-body pre {
  background: rgba(0,0,0,0.04);
  padding: 16px 18px;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 13.5px;
}
.news-article-body pre code { background: transparent; padding: 0; }
/* Pull-quote · Direzione D press treatment (D-019). */
.news-article-body blockquote {
  position: relative;
  background: var(--violet);
  color: var(--paper);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 3.6vw, 40px);
  margin: clamp(32px, 4vw, 48px) calc(50% - 50vw);
  padding-left: max(clamp(24px, 3.6vw, 40px), calc(50vw - 50%));
  padding-right: max(clamp(24px, 3.6vw, 40px), calc(50vw - 50%));
  border: 0;
}
.news-article-body blockquote p {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(22px, 2.4vw, 28px); line-height: 1.32;
  color: var(--paper); max-width: 56ch;
  margin-left: auto; margin-right: auto;
}
.news-article-body blockquote em { color: rgba(255,255,255,0.78); }
.news-article-body blockquote strong { color: var(--paper); }
.news-article-body hr {
  border: 0;
  border-top: 1px solid var(--hair);
  margin: 36px 0;
}

.news-article .news-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 28px;
}
.news-article-back {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.news-article-back:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Card pulse — when a flash anchor scrolls to its card ---------- */
/* Applied transiently (2.4s) by news.js focusCardBySlug() to highlight the
   card the user just navigated to via #slug. Works on .news-item (grid),
   .news-side-item (sidebar) and .news-featured-card (hero). */
.news-card--target {
  animation: news-card-pulse 2.4s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes news-card-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(107, 31, 74,0.55); background-color: rgba(107, 31, 74,0.10); }
  35%  { box-shadow: 0 0 0 6px rgba(107, 31, 74,0.18); background-color: rgba(107, 31, 74,0.08); }
  100% { box-shadow: 0 0 0 0 rgba(107, 31, 74,0); background-color: transparent; }
}
.news-item.news-card--target { border-color: var(--violet); }

/* ---------- CTA "Leggi l'analisi →" nella featured card (solo deep) ---------- */
.news-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 10px 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  border: 1px solid var(--violet);
  border-radius: 999px;
  text-decoration: none;
  background: transparent;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.news-featured-cta:hover,
.news-featured-cta:focus-visible {
  background: var(--violet);
  color: var(--paper);
  outline: none;
}
.news-featured-cta .arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.news-featured-cta:hover .arrow { transform: translateX(4px); }

/* Tag "scheda completa" sui flash in featured (per simmetria onesta) */
.news-featured-flag {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  padding: 6px 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: rgba(0, 0, 0, 0.04);
  border-radius: 999px;
}
