/* =====================================================================
   FAIND — style.css
   Palette ricavata dal logo: navy inchiostro + blu "AI" luminoso.
   Rosso solo per l'ultim'ora, come nelle agenzie di stampa.
   ===================================================================== */

:root {
  --navy: #0E1222;
  --navy-2: #1C2D4F;
  --ai: #4FA3CC;          /* il blu della "AI" nel logo (#4293B9), schiarito per il contrasto */
  --brand-blue: #4293B9;
  --red: #D8322A;

  --bg: #F4F7FB;
  --surface: #FFFFFF;
  --surface-2: #EEF2F8;
  --ink: #15213A;
  --muted: #56647C;
  --rule: #DCE3ED;
  --link: #1668B5;
  --focus: #1C8BE0;

  --t-news: #C5312A;   --t-news-bg: #FCE9E7;
  --t-tool: #1668B5;   --t-tool-bg: #E4F0FB;
  --t-prezzi: #17804F; --t-prezzi-bg: #E2F4EA;
  --t-download: #0B7F87; --t-download-bg: #DFF3F4;
  --t-guide: #A45A08;  --t-guide-bg: #FBEEDD;
  --t-convenzioni: #6446C9; --t-convenzioni-bg: #EDE8FB;

  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 16px;
  --shadow: 0 1px 2px rgba(21, 33, 58, .06), 0 8px 24px -12px rgba(21, 33, 58, .18);

  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --gutter: clamp(16px, 3vw, 32px);
  --header-h: 68px;

  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #080C17;
  --surface: #0F1626;
  --surface-2: #16243C;
  --ink: #E6ECF6;
  --muted: #98A6BD;
  --rule: #213150;
  --link: #6CBDF4;
  --focus: #6CBDF4;
  --navy-2: #0E1829;

  --t-news: #FF7A70;   --t-news-bg: rgba(255, 122, 112, .12);
  --t-tool: #6CBDF4;   --t-tool-bg: rgba(108, 189, 244, .12);
  --t-prezzi: #5FD39A; --t-prezzi-bg: rgba(95, 211, 154, .12);
  --t-download: #4FD1D9; --t-download-bg: rgba(79, 209, 217, .12);
  --t-guide: #F2B45E;  --t-guide-bg: rgba(242, 180, 94, .12);
  --t-convenzioni: #A994FF; --t-convenzioni-bg: rgba(169, 148, 255, .14);

  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* ------------------------------ Base ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-stretch: 82%; letter-spacing: -.012em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--radius-s);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }

/* ------------------------------ Header ------------------------------ */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
  padding-top: env(safe-area-inset-top, 0px);
}
.masthead { position: sticky; }
.masthead__bar { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand__img { height: 56px; width: auto; }
.brand__img--dark { display: none; }
:root[data-theme="dark"] .brand__img--light { display: none; }
:root[data-theme="dark"] .brand__img--dark { display: block; }
.brand__tag {
  font-size: 13px; line-height: 1.3; color: var(--muted);
  white-space: pre-line;
  padding-left: 16px; border-left: 1px solid var(--rule);
}

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  display: block; padding: 8px 12px; border-radius: var(--radius-s);
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap;
  position: relative;
}
.nav__link:hover { background: var(--surface-2); }
.nav__link[aria-current="true"] { color: var(--link); }
.nav__link[aria-current="true"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: currentColor; border-radius: 2px;
}

.controls { display: flex; align-items: center; gap: 10px; margin-left: 8px; }

.lang {
  display: inline-flex; padding: 3px; gap: 2px;
  background: var(--surface-2); border: 1px solid var(--rule); border-radius: 999px;
}
.lang__btn {
  border: 0; background: transparent; padding: 5px 9px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--muted);
}
.lang__btn:hover { color: var(--ink); }
.lang__btn[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

/* Toggle giorno / notte */
.theme { border: 0; background: none; padding: 0; border-radius: 999px; }
.theme__track {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  width: 64px; height: 34px; padding: 0 9px;
  background: var(--surface-2); border: 1px solid var(--rule); border-radius: 999px;
}
.theme__icon { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; position: relative; z-index: 1; }
.theme__icon--moon { fill: var(--muted); stroke: none; }
.theme__thumb {
  position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: transform .25s cubic-bezier(.3,.7,.2,1);
}
.theme[aria-pressed="false"] .theme__icon--sun { stroke: #E89A0C; }
.theme[aria-pressed="true"] .theme__thumb { transform: translateX(30px); background: #2A4470; }
.theme[aria-pressed="true"] .theme__icon--moon { fill: var(--ai); }
.theme[aria-pressed="false"] .theme__icon--sun,
.theme[aria-pressed="true"] .theme__icon--moon { z-index: 2; }

.burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--rule); border-radius: var(--radius-s);
  background: var(--surface); padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ------------------------------ Barra di caricamento ------------------------------ */
.loadbar { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; overflow: hidden; opacity: 0; transition: opacity .3s; pointer-events: none; }
.loadbar span { position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--ai), transparent); }
.loadbar.is-on { opacity: 1; }
.loadbar.is-on span { animation: loadbar 1.1s ease-in-out infinite; }
.loadbar.is-done span { width: 100%; left: 0; animation: none; background: var(--ai); transition: width .3s; }
@keyframes loadbar { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* Segnaposto mentre le notizie arrivano */
.sk { display: block; height: 14px; border-radius: 6px; background: var(--surface-2); margin: 10px 0; position: relative; overflow: hidden; }
.sk::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--surface) 70%, transparent), transparent); animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.sk--tag { width: 72px; height: 22px; border-radius: 999px; }
.sk--h1 { height: 40px; width: 92%; }
.sk--short { width: 55%; }
.lead .sk { background: rgba(255, 255, 255, .08); }
.lead .sk::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent); }
.card--sk { border-top-color: var(--rule); min-height: 180px; }

/* ------------------------------ Barra titoli in basso (stile TG) ------------------------------ */
.bticker {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; align-items: stretch; height: calc(40px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--navy); color: #E8EEF8; border-top: 1px solid rgba(255,255,255,.08);
  font-size: 14px;
}
:root[data-theme="dark"] .bticker { background: #0D1A2E; border-top-color: var(--rule); }
.bticker[hidden] { display: none; }
.bticker__label {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0; position: relative; z-index: 1;
  background: var(--red); color: #fff; font-weight: 700; font-size: 10px; letter-spacing: 0; text-transform: uppercase; padding: 0 8px 0 10px;
}
.bticker__label::after { content: ""; position: absolute; right: -12px; top: 0; bottom: 0; width: 12px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.bticker__viewport { flex: 1; overflow: hidden; padding-left: 20px; mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 32px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 32px), transparent); }
.bticker__track { display: flex; width: max-content; height: 100%; animation: ticker var(--tdur, 80s) linear infinite; }
.bticker:hover .bticker__track, .bticker:focus-within .bticker__track, .bticker.is-paused .bticker__track { animation-play-state: paused; }
@media (hover: none) { .bticker:hover .bticker__track { animation-play-state: running; } .bticker.is-paused .bticker__track { animation-play-state: paused; } }
.ticker__item { display: flex; align-items: center; gap: 10px; padding-right: 32px; white-space: nowrap; }
.ticker__item::before { content: ""; width: 4px; height: 4px; background: rgba(255,255,255,.35); border-radius: 50%; margin-right: 22px; }
.ticker__item time { color: var(--ai); font-weight: 650; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.ticker__item a { color: inherit; text-decoration: none; }
.ticker__item a:hover { text-decoration: underline; }
.ticker__item .star { color: #FFB84D; font-size: 11px; }
@keyframes ticker { to { transform: translateX(-50%); } }
.bticker__close { flex-shrink: 0; width: 44px; border: 0; background: transparent; color: #9FB0CB; display: grid; place-items: center; border-left: 1px solid rgba(255,255,255,.08); }
.bticker__close:hover { color: #fff; background: rgba(255,255,255,.06); }
.bticker__close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.bticker-open {
  position: fixed; right: var(--gutter); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 45;
  display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px;
  background: var(--navy); color: #fff; font-weight: 650; font-size: 13px; padding: 8px 14px; box-shadow: var(--shadow);
}
.bticker-open .pulse { color: var(--red); }
.bticker-open[hidden] { display: none; }
body.has-bticker { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
body.has-bticker .toast { bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }

.pulse { width: 8px; height: 8px; border-radius: 50%; background: currentColor; position: relative; flex-shrink: 0; }
/* Pallino live (Paolo, 10 ottobre 2026): respira lentamente e manda un'onda morbida, un battito ogni 2,8 secondi */
.pulse { animation: pulse-dot 2.8s ease-in-out infinite; }
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor;
  animation: pulse 2.8s cubic-bezier(.25, .6, .35, 1) infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .45; } 70%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.82); } }

/* ------------------------------ Layout ------------------------------ */
.layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px;
  padding-top: 20px; padding-bottom: 64px;
}
.content { min-width: 0; }

/* ------------------------------ Tag ------------------------------ */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 650; line-height: 1; padding: 5px 9px; border-radius: 999px;
  color: var(--tc, var(--muted)); background: var(--tb, var(--surface-2));
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
[data-tag="news"]        { --tc: var(--t-news);        --tb: var(--t-news-bg); }
[data-tag="tool"]        { --tc: var(--t-tool);        --tb: var(--t-tool-bg); }
[data-tag="prezzi"]      { --tc: var(--t-prezzi);      --tb: var(--t-prezzi-bg); }
[data-tag="download"]    { --tc: var(--t-download);    --tb: var(--t-download-bg); }
[data-tag="guide"]       { --tc: var(--t-guide);       --tb: var(--t-guide-bg); }
[data-tag="convenzioni"] { --tc: var(--t-convenzioni); --tb: var(--t-convenzioni-bg); }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13.5px; color: var(--muted); }
.meta time { font-variant-numeric: tabular-nums; }
.source { display: inline-block; color: var(--muted); }
.source a { color: var(--ink); font-weight: 600; text-decoration: none; }
.source a:hover { text-decoration: underline; }
.ext { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -1px; }

/* ------------------------------ Immagini ------------------------------ */
.thumb { position: relative; overflow: hidden; background: var(--surface-2); flex-shrink: 0; }
.thumb img:not(.thumb__logo) { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb--ph { display: grid; place-items: center; background: #0E1222; }
/* Notizia senza foto ma con il logo della fonte: logo intero, centrato, su fondo chiaro */
.thumb--src { background: #F4F6FA; box-shadow: inset 0 0 0 1px var(--rule); }
.thumb.thumb--src img { width: 100%; height: 100%; object-fit: contain; padding: 9%; display: block; }
:root[data-theme="dark"] .thumb--ph { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.thumb__logo { width: 72%; max-width: 320px; height: auto; }
.thumb--wide .thumb__logo, .thumb--lead .thumb__logo { width: 58%; }
.thumb--lead { aspect-ratio: 16 / 9; border-radius: var(--radius-m); margin-bottom: 22px; }
.thumb--lead.thumb--ph { border: 1px solid rgba(255,255,255,.08); }
.thumb--lead .thumb__logo { width: 60%; }
.thumb--wide { aspect-ratio: 16 / 9; }
.thumb--md { width: 112px; aspect-ratio: 4 / 3; border-radius: var(--radius-s); }
.thumb--sm { width: 84px; aspect-ratio: 4 / 3; border-radius: var(--radius-s); }
.thumb--sm .thumb__logo, .thumb--md .thumb__logo { width: 90%; }
.lead__media, .card__media { display: block; text-decoration: none; }
.card__media { margin: -18px -18px 4px; border-radius: calc(var(--radius-m) - 1px) calc(var(--radius-m) - 1px) 0 0; overflow: hidden; }
.card { border-top-width: 3px; }
.card__media .thumb { border-bottom: 1px solid var(--rule); }
.lead.is-loading .lead__media, .card--sk .card__media { display: none; }

/* ------------------------------ Apertura ------------------------------ */
.front { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }

.lead {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: #EAF0F9;
  border-radius: var(--radius-l); padding: clamp(24px, 3.4vw, 44px);
  min-height: 420px; display: flex; flex-direction: column;
}
:root[data-theme="dark"] .lead { background: #111829; border: 1px solid #243150; }
.lead::before {
  content: ""; position: absolute; z-index: -1; width: 560px; height: 560px; right: -200px; top: -240px;
  background: radial-gradient(closest-side, rgba(66, 147, 185, .38), transparent);
}
.lead .tag { --tc: #BFE3FB; --tb: rgba(66, 147, 185, .18); align-self: flex-start; }
.lead__title {
  font-size: clamp(30px, 3.6vw, 50px); font-weight: 780; font-stretch: 74%;
  line-height: 1.02; letter-spacing: -.02em; margin: 22px 0 16px; max-width: 18ch;
  text-wrap: balance;
}
.lead__title a { color: inherit; text-decoration: none; }
.lead__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.lead__summary { font-size: 17.5px; line-height: 1.55; color: #C3CFE2; max-width: 58ch; }
.lead__foot { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.lead .meta, .lead .source { color: #9FB0CB; }
.lead .source a { color: #fff; }
.lead__actions { display: flex; align-items: center; gap: 8px; }
.lead .save { color: #C3CFE2; border-color: rgba(255,255,255,.2); }
.lead .save:hover { background: rgba(255,255,255,.08); }

/* ------------------------------ Feed flash ------------------------------ */
.wire { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 22px 22px 10px; }
.wire__head { margin-bottom: 12px; }
.wire__title { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 750; color: var(--ink); }
.wire__status { font-size: 12.5px; color: var(--muted); margin-top: 3px; padding-left: 18px; }
.wire__item .sk { margin: 6px 0; }
.wire__title .pulse { color: var(--red); }
.wire__list { position: relative; }
.wire__item { position: relative; display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); }
.wire__item:first-child { border-top: 0; padding-top: 4px; }
.wire__when { font-size: 13px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; padding-top: 2px; }
.wire__when small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.wire__body { min-width: 0; }
.wire__headline { font-size: 16px; font-weight: 650; font-stretch: 90%; line-height: 1.28; margin: 6px 0 5px; }
.wire__headline a { color: var(--ink); text-decoration: none; }
.wire__headline a:hover { color: var(--link); text-decoration: underline; }
.wire .source { font-size: 13px; }
.wire .tag { font-size: 11.5px; padding: 4px 8px; }
/* "Appena uscite" è alta quanto l'apertura e scorre al suo interno: così l'apertura non si allunga mai a vuoto */
@media (min-width: 901px) {
  .wire { display: flex; flex-direction: column; contain: size; min-height: 420px; padding-bottom: 0; }
  .wire__list { flex: 1; min-height: 0; overflow-y: auto; padding-right: 6px; padding-bottom: 26px;
    -webkit-mask-image: linear-gradient(#000 calc(100% - 34px), transparent); mask-image: linear-gradient(#000 calc(100% - 34px), transparent); }
}
/* Quando la colonna è stretta (tablet, portatili): data sopra e titolo a tutta larghezza, invece di una parola per riga */
.wire { container-type: inline-size; }
@container (max-width: 400px) {
  .wire__item { grid-template-columns: minmax(0, 1fr) 64px; row-gap: 4px; }
  .wire__when { grid-column: 1 / -1; padding-top: 0; }
  .wire__when small { display: inline; margin-left: 6px; }
  .wire__item .thumb--sm { width: 64px; }
  .wire__headline { margin-top: 5px; }
}

/* ------------------------------ Presentazione (H1) ------------------------------ */
.intro { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 16px; }
.intro__title { font-size: clamp(17px, 1.6vw, 20px); font-weight: 650; font-stretch: 88%; line-height: 1.25; color: var(--ink); max-width: 46ch; letter-spacing: -.005em; }
.intro__btn {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 650; text-decoration: none;
  color: var(--link); border: 1px solid color-mix(in srgb, var(--link) 40%, transparent); background: var(--surface);
}
.intro__btn:hover { background: color-mix(in srgb, var(--link) 8%, var(--surface)); }
.nav__link--about { color: var(--link); }
.intro__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.intro__btn--tg { background: #229ED9; border-color: #229ED9; color: #fff; }
.intro__btn--tg:hover { background: #1A8BC0; }
.intro__btn--li { background: #0A66C2; border-color: #0A66C2; color: #fff; }
.intro__btn--li:hover { background: #084E96; }
.tgcta { display: block; text-decoration: none; background: #229ED9; color: #fff; border-radius: var(--radius-m); padding: 14px 16px; margin-bottom: 14px; }
.tgcta:hover { background: #1A8BC0; }
.tgcta__name { display: block; font-weight: 800; font-size: 17px; }
.tgcta__text { display: block; font-size: 14px; line-height: 1.4; opacity: .95; margin-top: 2px; }

/* ------------------------------ Settori ------------------------------ */
.sectors { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.sectors__chips { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.sectors__chips::-webkit-scrollbar { display: none; }
.sectors__chips .chip { flex-shrink: 0; }
.chip svg, .cat svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sectors .search { flex-shrink: 0; min-width: 220px; }

.cat { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); font-weight: 550; }
.lead .cat { color: #9FB0CB; }
.flag { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; padding: 2px 5px; border-radius: 4px; border: 1px solid var(--rule); color: var(--muted); }
.lead .flag { border-color: rgba(255,255,255,.25); color: #C3CFE2; }
.official { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 650; color: var(--t-prezzi); }
.official svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.also { font-size: 12.5px; color: var(--muted); }
.also a { color: var(--muted); }
.also strong { color: var(--ink); font-weight: 650; }
.lead .also, .lead .also a { color: #9FB0CB; }
.lead .also strong { color: #fff; }

/* ------------------------------ Blocchi ------------------------------ */
.block { margin-top: 56px; }
.block__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 18px; }
.block__title { font-size: clamp(24px, 2.4vw, 30px); font-weight: 780; font-stretch: 78%; }
.block__title:focus { outline: none; }
.block__hint { font-size: 14px; color: var(--muted); }
.btn--sm { padding: 7px 12px; font-size: 14px; }

/* Letture secondarie: lista compatta */
.reads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.read__body { min-width: 0; }
.read { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.read__when { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.read__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 4px; }
.read__meta .tag { font-size: 11.5px; padding: 3px 7px; }
.read__title { font-size: 16px; font-weight: 650; font-stretch: 90%; line-height: 1.3; margin-bottom: 4px; }
.read__title a { color: var(--ink); text-decoration: none; }
.read__title a:hover { color: var(--link); text-decoration: underline; }
.read .source { font-size: 12.5px; }
.read .save { width: 30px; height: 30px; }
.reads__more { margin-top: 18px; }

.results { margin-top: 8px; }
.results .block__head { margin-bottom: 14px; }
.lead .official { color: #7EE0AE; }
.grid--important .card:first-child { grid-column: span 2; }
.grid--important .card:first-child .card__title { font-size: 24px; }
.grid--important .card:first-child .thumb--wide { aspect-ratio: 2 / 1; }
.grid--important .card:first-child .thumb--wide { aspect-ratio: 2 / 1; }

.search {
  display: flex; align-items: center; gap: 8px; min-width: min(280px, 100%);
  background: var(--surface); border: 1px solid var(--rule); border-radius: 999px; padding: 0 14px;
}
.search:focus-within { border-color: var(--focus); }
.search svg { width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.search input { flex: 1; border: 0; background: transparent; padding: 9px 0; outline: none; min-width: 0; font-size: 15px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  border: 1px solid var(--rule); background: var(--surface); color: var(--ink);
  padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 550;
  display: inline-flex; align-items: center; gap: 7px;
}
.chip:hover { border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip__count { font-size: 12px; opacity: .6; font-variant-numeric: tabular-nums; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m);
  padding: 18px 18px 8px; border-top: 3px solid var(--tc);
}
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.card__title { font-size: 19px; font-weight: 700; font-stretch: 86%; line-height: 1.2; text-wrap: balance; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { text-decoration: underline; }
.card__summary { color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card > .source { font-size: 13px; margin-top: auto; padding-top: 4px; }
.card__foot { padding-top: 10px; border-top: 1px dashed var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-inline: -8px -4px; }

.empty { grid-column: 1 / -1; padding: 36px 20px; text-align: center; border: 1px dashed var(--rule); border-radius: var(--radius-m); color: var(--muted); }
.empty .btn { margin-top: 14px; }

/* ------------------------------ Pulsanti ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: var(--radius-s);
  padding: 10px 16px; font-weight: 650; font-size: 15px; text-decoration: none; line-height: 1.2;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: color-mix(in srgb, var(--ink) 86%, var(--ai)); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #E4F2FD; }
.btn--ghost { border-color: var(--rule); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--muted); }
.btn--paypal { width: 100%; background: #0070E0; color: #fff; padding: 13px 16px; font-size: 16px; }
.btn--paypal:hover { background: #005EA6; }

.go {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: var(--radius-s);
  font-weight: 650; font-size: 13.5px; color: var(--link); text-decoration: none; white-space: nowrap;
}
.go:hover { background: var(--surface-2); }

.save {
  width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: var(--radius-s);
  border: 1px solid transparent; background: transparent; color: var(--muted);
}
.save:hover { background: var(--surface-2); color: var(--ink); }
.save svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.save[aria-pressed="true"] { color: var(--link); }
.save[aria-pressed="true"] svg { fill: currentColor; }

/* ------------------------------ Guide ------------------------------ */
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.guide {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 14px 14px 14px 16px;
}
.guide__icon { width: 44px; height: 44px; border-radius: var(--radius-m); display: grid; place-items: center; color: var(--tc); background: var(--tb); }
.guide__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.guide__title { font-size: 16px; font-weight: 700; font-stretch: 90%; line-height: 1.25; }
.guide__title a { color: var(--ink); text-decoration: none; }
.guide__title a:hover { text-decoration: underline; }
.guide__sum { font-size: 14px; color: var(--muted); margin: 3px 0 4px; }
.guide .source { font-size: 12.5px; }

/* ------------------------------ Sidebar ------------------------------ */
.side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 22px; }
.panel > p { color: var(--muted); font-size: 15px; }
/* Domanda sotto il titolo di ogni sezione */
.secq { font-size: 14.5px; font-style: italic; color: var(--muted); margin: -6px 0 14px; line-height: 1.4; }
.panel > .secq { font-size: 13.5px !important; margin: -4px 0 12px; }
.wire__head .secq { margin: 6px 0 0; padding-left: 18px; font-size: 13px; }
.lead + .wire .secq { margin-bottom: 0; }
/* Pulsante verso la pagina di confronto */
.cmp-btn { display: block; text-align: center; margin-top: 14px; background: #0E1222; color: #fff; text-decoration: none; padding: 12px 14px; border-radius: 10px; font-weight: 750; font-size: 15px; }
:root[data-theme="dark"] .cmp-btn { background: #4293B9; }
/* Trending Tool: agenda con quattro segnalibri colorati; la pagina sotto è sempre bianca */
.agenda { margin-top: 4px; }
.agenda__tabs { display: flex; gap: 6px; align-items: flex-end; padding: 0 14px; position: relative; z-index: 1; }
.agenda__tab { font: inherit; font-size: 14.5px; font-weight: 800; letter-spacing: .01em; color: #fff; background: var(--tab); border: 0; cursor: pointer;
  padding: 9px 18px 11px; border-radius: 12px 12px 0 0; opacity: .78; transform: translateY(6px); transition: transform .15s, opacity .15s; white-space: nowrap; }
.agenda__tab:hover { opacity: 1; }
.agenda__tab[aria-selected="true"] { opacity: 1; transform: translateY(0); padding-top: 13px; box-shadow: 0 -3px 10px rgba(14,18,34,.18); }
.agenda__page { background: #fff; color: #0E1222; border-radius: 14px; border-top: 6px solid var(--tab, #4293B9); box-shadow: 0 6px 24px rgba(14,18,34,.12); padding: 18px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.agenda__item { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; align-items: start; text-decoration: none; color: #0E1222; padding-bottom: 14px; border-bottom: 1px solid #E3E8F0; }
.agenda__item .thumb { width: 132px; aspect-ratio: 16/10; border-radius: 10px; }
.agenda__item strong { display: block; font-size: 16px; line-height: 1.28; font-weight: 700; }
.agenda__item:hover strong { text-decoration: underline; }
.agenda__item span { display: block; font-size: 13px; color: #5d6880; margin-top: 5px; }
.agenda__vid { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; color: #fff; background: #D8483F; border-radius: 4px; padding: 1px 6px; margin-right: 6px; vertical-align: 1px; }
.agenda__empty { grid-column: 1 / -1; color: #5d6880; font-size: 15px; }
@media (max-width: 760px) {
  .agenda__tabs { padding: 0 6px; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .agenda__tab { font-size: 12.5px; padding: 8px 10px 10px; }
  .agenda__tab[aria-selected="true"] { padding-top: 11px; }
  .agenda__page { grid-template-columns: 1fr; padding: 14px; }
  .agenda__item { grid-template-columns: 104px minmax(0, 1fr); }
  .agenda__item .thumb { width: 104px; }
}
/* Approfondimenti */
.deep { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.deep__card { display: block; text-decoration: none; color: var(--ink); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; background: var(--surface); }
.deep__card img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; display: block; }
.deep__card strong { display: block; padding: 12px 14px 4px; font-size: 17px; line-height: 1.25; font-weight: 760; font-stretch: 88%; }
.deep__card:hover strong { text-decoration: underline; }
.deep__card span { display: block; padding: 0 14px 14px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.deep__all { font-weight: 700; font-size: 14.5px; color: var(--link); text-decoration: none; white-space: nowrap; }
@media (max-width: 1320px) { .deep { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .deep { grid-template-columns: 1fr; } }
/* Newsletter */
.nl { border-color: color-mix(in srgb, #F2811D 45%, var(--rule)); background: linear-gradient(160deg, var(--surface) 60%, color-mix(in srgb, #F2811D 8%, var(--surface))); }
.nl .nl__btn { background: #F2811D; border-color: #F2811D; color: #fff; }
.nl .nl__btn:hover { background: #D96F12; }
.nl__form { display: grid; gap: 10px; margin-top: 10px; }
.nl__freq { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.nl__freq label { position: relative; }
.nl__freq input { position: absolute; opacity: 0; inset: 0; }
.nl__freq span { display: block; text-align: center; padding: 9px 4px; border: 1px solid var(--rule); border-radius: 10px; font-size: 13.5px; font-weight: 700; color: var(--ink); cursor: pointer; background: var(--surface); }
.nl__freq input:checked + span { background: #F2811D; border-color: #F2811D; color: #fff; }
.nl__freq input:focus-visible + span { outline: 2px solid var(--link); outline-offset: 2px; }
.nl__input { font: inherit; width: 100%; box-sizing: border-box; padding: 12px; border-radius: 10px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); }
.nl__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl__ok { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.nl__ok input { margin-top: 2px; flex: none; }
.nl__btn { width: 100%; }
.nl__msg { font-size: 14px; font-weight: 650; min-height: 1.2em; margin: 0; }
.nl__msg.is-ok { color: #1E9460; } .nl__msg.is-err { color: #D8483F; }
/* Riquadro Telegram: in cima alla colonna laterale (desktop), subito dopo le notizie (tablet e telefono) */
.tgbox { border: 2px solid #8FD0F0; background: var(--surface); padding: 14px 14px 18px; }
.tgbox__img { display: block; margin-bottom: 14px; border-radius: 10px; overflow: hidden; background: #0E1222; }
.tgbox__img img { display: block; width: 100%; height: auto; }
.tgbox .panel__title, .tgbox > p { padding-inline: 4px; }
.tgbox > p { margin-bottom: 14px; line-height: 1.5; }
.tgbox__btn { display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; background: #229ED9; color: #fff; font-weight: 750; font-size: 16px; padding: 13px 16px; border-radius: 10px; }
.tgbox__btn:hover { background: #1A8BC0; }
.tgbox__btn--li { background: #0A66C2; margin-top: 10px; }
.tgbox__btn--li:hover { background: #084E96; }
.tgbox__btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
/* Strano ma vero: riquadro con copertina nella colonna laterale */
.smv { padding: 14px 14px 18px; }
.smv__img { display: block; margin-bottom: 14px; border-radius: 10px; overflow: hidden; background: #0E1222; }
.smv__img img { display: block; width: 100%; height: auto; }
.smv .panel__title, .smv > p { padding-inline: 4px; }
.smv > p { line-height: 1.5; }
.smv--main { margin-top: 56px; }   /* sul telefono sta nella colonna delle notizie, sopra gli Approfondimenti */
.panel__title { font-size: 21px; font-weight: 760; font-stretch: 82%; margin-bottom: 6px; }
.panel__note { font-size: 13.5px !important; margin-bottom: 12px; }
.panel__foot { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.panel__foot a { color: var(--muted); }

.prices { width: 100%; border-collapse: collapse; font-size: 15px; }
.prices th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 0 0 8px; border-bottom: 1px solid var(--rule); }
.prices td { padding: 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prices tr:last-child td { border-bottom: 0; }
.prices .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 10px; }
.prices td.num strong { font-weight: 700; }
.prices__id { display: flex; align-items: center; gap: 10px; }
.plogo {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 8px; overflow: hidden;
  display: grid; place-items: center; background: #fff; border: 1px solid var(--rule);
}
.plogo__img { width: 22px; height: 22px; object-fit: contain; }
.plogo__txt { font-weight: 750; font-size: 14px; color: var(--navy); }
.prices__name a { color: var(--ink); font-weight: 650; text-decoration: none; white-space: nowrap; }
.prices__name a:hover { text-decoration: underline; }
.prices__vendor { display: block; font-size: 12.5px; color: var(--muted); }
.prices__save { display: block; font-size: 12px; color: var(--t-prezzi); font-weight: 650; }
.prices .dash { color: var(--rule); }

.deals { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.deal { border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 14px; background: var(--surface-2); }
.deal__head { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.deal__title { font-size: 16px; font-weight: 700; font-stretch: 90%; }
.deal__saving { font-weight: 750; color: var(--t-prezzi); background: var(--t-prezzi-bg); padding: 3px 8px; border-radius: 999px; font-size: 13px; white-space: nowrap; }
.deal__demo { font-size: 12px; font-weight: 650; color: var(--t-guide); background: var(--t-guide-bg); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.deal__detail { font-size: 14px; color: var(--muted); margin: 4px 0 10px; }
.deal__code { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1.5px dashed var(--rule); border-radius: var(--radius-s); padding: 6px 6px 6px 12px; background: var(--surface); margin-bottom: 10px; }
.deal__code code { font-family: var(--font); font-weight: 750; letter-spacing: .08em; font-size: 15px; }
.deal__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.deal__foot .go { padding: 4px 6px; }

.panel--support { background: linear-gradient(160deg, var(--surface) 55%, color-mix(in srgb, #0070E0 9%, var(--surface))); }
.panel--support > p:first-of-type { margin-bottom: 16px; }
.social__label { font-size: 13.5px; font-weight: 700; color: var(--ink); margin: 16px 0 8px !important; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social__btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; text-decoration: none; transition: transform .15s ease, filter .15s ease; }
.social__btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.social__btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.social__btn svg { width: 22px; height: 22px; fill: currentColor; }
.social__btn--yt { background: #E62117; } .social__btn--li { background: #0A66C2; } .social__btn--tg { background: #229ED9; } .social__btn--pin { background: #E60023; } .social__btn--fb { background: #1877F2; }
.social--foot { margin-top: 16px; gap: 8px; }
.social--foot .social__btn { width: 36px; height: 36px; background: var(--ink); color: var(--surface); }
.social--foot .social__btn svg { width: 18px; height: 18px; }
.social--foot .social__btn--yt:hover { background: #E62117; color: #fff; } .social--foot .social__btn--li:hover { background: #0A66C2; color: #fff; }
.social--foot .social__btn--tg:hover { background: #229ED9; color: #fff; } .social--foot .social__btn--pin:hover { background: #E60023; color: #fff; } .social--foot .social__btn--fb:hover { background: #1877F2; color: #fff; }
.copyline { font-size: 13.5px; color: var(--muted); margin-top: 12px !important; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.copy { border: 0; background: none; padding: 2px 4px; margin: -2px -4px; color: var(--link); font-weight: 600; border-radius: 4px; }
.copy:hover { background: var(--surface-2); }
.copy-sm { border: 1px solid var(--rule); background: var(--surface); border-radius: var(--radius-s); padding: 5px 10px; font-size: 13px; font-weight: 600; }
.copy-sm:hover { border-color: var(--muted); }

/* ------------------------------ Form ------------------------------ */
.form { display: grid; gap: 12px; margin-top: 16px; }
.field { display: grid; gap: 5px; }
.field label { font-size: 13.5px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--rule); background: var(--bg); border-radius: var(--radius-s);
  padding: 10px 12px; font-size: 16px; /* 16px evita lo zoom su iOS */
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
.field [aria-invalid="true"] { border-color: var(--t-news); }
.form .btn { width: 100%; }
.form__status { font-size: 13.5px; color: var(--muted); min-height: 1em; }
.form__status.is-error { color: var(--t-news); }

/* ------------------------------ Chi siamo ------------------------------ */
.about { background: var(--surface); border-top: 1px solid var(--rule); scroll-margin-top: var(--header-h); }
.about__inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding-block: 56px 64px; align-items: start; }
.about__text { max-width: 72ch; }
.about__title { font-size: clamp(28px, 3vw, 38px); font-weight: 800; font-stretch: 76%; margin-bottom: 16px; }
.about__founder { margin: -4px 0 18px; }
.about__founder a { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #4293B9; text-decoration-thickness: 2px; }
.about__founder a:hover { color: var(--link); }
.about__founder img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #4293B9; flex: none; }
.about__lede { font-size: 19px; line-height: 1.55; color: var(--ink); margin-bottom: 8px; }
.about h3 { font-size: 21px; font-weight: 750; font-stretch: 84%; margin: 32px 0 10px; }
.about p { color: var(--muted); font-size: 16.5px; line-height: 1.65; }
.about p + p { margin-top: 12px; }
.about p strong, .about li strong { color: var(--ink); }
.about__list { display: grid; gap: 12px; margin-top: 4px; }
.about__list li { position: relative; padding-left: 20px; color: var(--muted); font-size: 16.5px; line-height: 1.6; }
.about__list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--brand-blue); }
.faq { display: grid; gap: 8px; margin-top: 8px; }
.faq details { border: 1px solid var(--rule); border-radius: var(--radius-m); background: var(--bg); }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; color: var(--muted); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 16px 16px; margin: 0; }

.about__side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.facts { margin: 0; background: var(--navy); color: #E8EEF8; border-radius: var(--radius-l); padding: 8px 22px; }
.facts div { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: 12.5px; color: #9FB0CB; font-weight: 600; }
.facts dd { margin: 2px 0 0; font-size: 17px; font-weight: 700; font-stretch: 90%; }
.share { border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 20px; background: var(--bg); }
.share__title { font-size: 18px !important; margin: 0 0 6px !important; }
.share__text { font-size: 14.5px !important; margin-bottom: 14px; }
.share__row { display: flex; flex-wrap: wrap; gap: 8px; }
.share__btn {
  border: 1px solid var(--rule); background: var(--surface); color: var(--ink); text-decoration: none;
  padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.2;
}
.share__btn:hover { border-color: var(--muted); }
.share__btn--main { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
.share__btn--main:hover { background: #377EA0; }
.card__btns { display: inline-flex; gap: 2px; }


/* ------------------------------ Filtro lingue notizie ------------------------------ */
.langf { position: relative; flex-shrink: 0; }
.langf__btn {
  display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px;
  border: 1px solid var(--rule); background: var(--surface); color: var(--ink); border-radius: 999px; font-size: 14px; font-weight: 600;
}
.langf__btn:hover { border-color: var(--muted); }
.langf__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.langf__count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.langf.is-filtered .langf__btn { border-color: var(--brand-blue); color: var(--link); }
.langf.is-filtered .langf__count { color: var(--link); font-weight: 700; }
.langf__menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 220px;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m); box-shadow: var(--shadow); padding: 10px;
}
.langf__hint { font-size: 12.5px; color: var(--muted); padding: 2px 6px 8px; }
.langf__opt { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: var(--radius-s); cursor: pointer; font-size: 15px; font-weight: 550; }
.langf__opt:hover { background: var(--surface-2); }
.langf__opt input { position: absolute; opacity: 0; pointer-events: none; }
.langf__dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--muted); display: grid; place-items: center; flex-shrink: 0; }
.langf__opt input:checked + .langf__dot { border-color: var(--brand-blue); background: var(--brand-blue); box-shadow: inset 0 0 0 3px var(--surface); }
.langf__opt input:focus-visible + .langf__dot { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ------------------------------ Video ------------------------------ */
.chips--inline { margin: 0; }
/* Riquadro YouTube di Faindo in "L'AI in video" */
.ytbox { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; background: var(--surface); border: 2px solid #F3B1AC; border-radius: var(--radius-m); padding: 16px; margin-bottom: 18px; }
.ytbox__img { display: block; border-radius: 12px; overflow: hidden; background: #fff; }
.ytbox__img img { display: block; width: 100%; height: auto; }
.ytbox__title { font-size: 21px; font-weight: 800; font-stretch: 90%; line-height: 1.15; margin: 2px 0 6px; }
.ytbox__text { line-height: 1.5; margin: 0 0 12px; }
.ytbox__label { font-size: 12.5px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.ytbox__shorts { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ytshort__link { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; align-items: start; text-decoration: none; color: var(--ink); border: 1px solid var(--rule); border-radius: 10px; padding: 8px; height: 100%; box-sizing: border-box; }
.ytshort__link:hover { border-color: #E62117; }
.ytshort__link:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.ytshort__thumb { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 8px; overflow: hidden; background: #000; }
.ytshort__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ytshort__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; background: #E62117; display: grid; place-items: center; }
.ytshort__play svg { width: 16px; height: 16px; fill: #fff; }
.ytshort__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ytshort__date { font-size: 12.5px; color: var(--muted); }
.ytshort__text { font-size: 14.5px; line-height: 1.4; font-weight: 600; }
.ytshort__go { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--link); display: inline-flex; align-items: center; gap: 4px; }
.ytshort__go .ext { width: 13px; height: 13px; }
.ytbox__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ytbox .ytbox__more { display: inline-flex; align-items: center; margin-top: 0; flex: none; }
.ytbox__sub { display: inline-flex; align-items: center; gap: 8px; background: #E62117; color: #fff; font-weight: 750; font-size: 15px; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.ytbox__sub:hover { background: #C41A11; color: #fff; }
.ytbox__sub svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
@media (max-width: 760px) {
  .ytbox { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ytbox__img { max-width: 300px; margin-inline: auto; width: 100%; }
  .ytbox__shorts { grid-template-columns: minmax(0, 1fr); }
}
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.vcard { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m); overflow: hidden; display: flex; flex-direction: column; }
.vcard__media { position: relative; aspect-ratio: 16 / 9; background: #000; }
.vcard__play { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.vcard__play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcard__play:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.vcard__btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 40px; border-radius: 12px; background: rgba(14, 18, 34, .82); display: grid; place-items: center;
  transition: background .15s;
}
.vcard__play:hover .vcard__btn { background: #E0342B; }
.vcard__btn svg { width: 22px; height: 22px; fill: #fff; }
.vcard__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcard__body { padding: 12px 14px 8px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.vcard__ch { font-weight: 700; font-size: 13px; color: var(--ink); }
.vcard__body .read__meta { font-size: 12.5px; color: var(--muted); gap: 4px 8px; }
.vcard__title { font-size: 16px; font-weight: 650; font-stretch: 90%; line-height: 1.3; }
.vcard__title a { color: var(--ink); text-decoration: none; }
.vcard__title a:hover { color: var(--link); text-decoration: underline; }
.vcard .card__foot { margin-top: auto; margin-inline: -6px -4px; }
.grid .vcard { height: 100%; }



/* ------------------------------ Job ------------------------------ */
.jobs__band {
  border-radius: var(--radius-l); padding: clamp(18px, 3vw, 28px); color: #E8EEF8;
  background: radial-gradient(120% 140% at 100% 0%, rgba(66, 147, 185, .38), transparent 55%), var(--navy);
  border: 1px solid rgba(255, 255, 255, .06);
}
.jobs__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.jobs__ico { width: 48px; height: 48px; border-radius: 12px; background: #4293B9; display: grid; place-items: center; flex-shrink: 0; }
.jobs__ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.jobs__title { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; font-stretch: 78%; color: #fff; }
.jobs__sub { font-size: 14.5px; color: #B9C6DA; margin-top: 4px; max-width: 62ch; }
.jobs__filter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: #9FB0CB; margin-bottom: 16px; padding: 10px 12px; border-radius: var(--radius-m); background: rgba(255, 255, 255, .05); }
.jobs__lang { padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font-weight: 600; }
.jobs__filter.is-filtered .jobs__lang { background: rgba(66, 147, 185, .35); }
.jobs__change { border: 0; background: none; color: #8FD0F0; font-weight: 700; padding: 2px 4px; margin-left: auto; text-decoration: underline; text-underline-offset: 3px; }
.jobs__list { display: grid; gap: 8px; counter-reset: none; }
.jrole { border-radius: var(--radius-m); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.jrole[open] { background: rgba(255, 255, 255, .07); }
.jrole summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.jrole summary::-webkit-details-marker { display: none; }
.jrole__rank { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: rgba(255, 255, 255, .1); color: #fff; flex-shrink: 0; }
.jobs__list li:first-child .jrole__rank { background: #4293B9; }
.jrole__name { font-weight: 700; font-size: 16px; color: #fff; flex: 1; min-width: 0; }
.jrole__count { font-size: 13px; color: #8FD0F0; font-weight: 650; white-space: nowrap; }
.jrole__chev { width: 9px; height: 9px; border-right: 2px solid #9FB0CB; border-bottom: 2px solid #9FB0CB; transform: rotate(45deg); margin: 0 4px 4px; transition: transform .2s; }
.jrole[open] .jrole__chev { transform: rotate(-135deg); margin-bottom: -2px; }
.jrole__offers { padding: 0 8px 8px; }
.jrole__offers a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 8px; border-top: 1px solid rgba(255, 255, 255, .08); color: #E8EEF8; text-decoration: none; }
.jrole__offers a:hover strong { text-decoration: underline; }
.jrole__offers a:hover .jrole__go { background: #5AAED6; }
.jrole__job { display: grid; gap: 2px; min-width: 0; }
.jrole__job strong { font-weight: 650; font-size: 15px; line-height: 1.3; }
.jrole__job span { font-size: 12.5px; color: #9FB0CB; }
.jrole__go { flex-shrink: 0; font-size: 13px; font-weight: 700; color: #fff; background: #4293B9; padding: 6px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; }
.jobs__empty { color: #B9C6DA; padding: 10px 2px; }
.jobs__foot { font-size: 12px; color: #8494AE; margin-top: 12px; }

/* Immagine non disponibile: logo + didascalia discreta (solo sulle immagini grandi) */
.thumb__ph { display: grid; justify-items: center; gap: 10px; width: 100%; }
.thumb__cap { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45); font-weight: 600; }

/* ------------------------------ Focus ------------------------------ */
.focus__list { display: grid; gap: 22px; }
.fblock { border: 1px solid var(--rule); border-radius: var(--radius-l); background: var(--surface); padding: 18px; }
.fblock__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.fblock__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: var(--navy); color: #fff; }
.fblock__ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fblock[data-topic="robot"] .fblock__ico { background: #4293B9; }
.fblock[data-topic="domus"] .fblock__ico { background: #7A5AE0; }
.fblock[data-topic="medicina"] .fblock__ico { background: #D8483F; }
.fblock[data-topic="lavoro"] .fblock__ico { background: #2F6FB0; }
.fblock[data-topic="clima"] .fblock__ico { background: #1E9460; }
.fblock__title { font-size: 21px; font-weight: 780; font-stretch: 82%; }
.fblock__sub { font-size: 14px; color: var(--muted); margin-top: 2px; }
.fblock__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.fblock__slot { display: flex; flex-direction: column; min-width: 0; }
.fblock__slot > .vcard, .fblock__slot > .card { flex: 1; }
.fblock__label { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
@media (max-width: 720px) {
  .fblock { padding: 14px; }
  .fblock__body { grid-template-columns: minmax(0, 1fr); }
  .jrole__go { padding: 6px 8px; }
  .jrole__offers a { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------ Feed RSS ------------------------------ */
.panel--rss { border-color: color-mix(in srgb, #F2811D 45%, var(--rule)); background: linear-gradient(160deg, var(--surface) 60%, color-mix(in srgb, #F2811D 8%, var(--surface))); }
.panel--rss .panel__title { display: flex; align-items: center; gap: 8px; }
.rss-ico { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: #F2811D; stroke-width: 2.4; stroke-linecap: round; }
.rss-ico circle { fill: #F2811D; stroke: none; }
.panel--rss > p { margin-bottom: 14px; }
.rss-main { display: flex; gap: 8px; align-items: center; }
.btn--rss { background: #F2811D; color: #fff; flex: 1; }
.btn--rss:hover { background: #D96F10; }
.rss-more { margin-top: 12px; }
.rss-more summary { cursor: pointer; font-weight: 650; font-size: 14px; color: var(--link); padding: 4px 0; }
.rss-list { margin-top: 6px; }
.rss-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; border-top: 1px solid var(--rule); font-size: 14.5px; }
.rss-list a { color: var(--ink); text-decoration: none; font-weight: 550; }
.rss-list a:hover { text-decoration: underline; }
.share__btn--rss { border-color: #F2811D; color: #C9650E; }
:root[data-theme="dark"] .share__btn--rss { color: #F7A55B; }

/* ------------------------------ Pagina notizia ------------------------------ */
.np-page .masthead__bar { justify-content: space-between; }
.np__back { font-weight: 650; color: var(--link); text-decoration: none; font-size: 15px; }
.np { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding-block: 32px 64px; align-items: start; }
.np__main { max-width: 760px; }
.np__crumb { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.np__crumb a { color: var(--muted); }
.np__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.np__title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; font-stretch: 76%; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 14px; text-wrap: balance; }
.np__meta { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.np__meta a { color: var(--ink); font-weight: 650; }
.np__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-l); margin-bottom: 20px; background: var(--surface-2); }
.np__lede { font-size: 19px; line-height: 1.6; margin-bottom: 10px; }
.np__note { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.np__cta { margin: 10px 0 10px; padding: 14px 20px; font-size: 16px; }
.np__disclaimer { font-size: 12.5px; color: var(--muted); margin-bottom: 28px; }
.np__box { border-top: 2px solid var(--ink); padding-top: 14px; margin-top: 28px; }
.np__box h2 { font-size: 20px; font-weight: 750; font-stretch: 84%; margin-bottom: 10px; }
.np__also { display: flex; flex-wrap: wrap; gap: 8px; }
.np__also a { display: inline-block; padding: 7px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.np__rel li { padding: 11px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 2px; }
.np__rel a { color: var(--ink); font-weight: 650; text-decoration: none; line-height: 1.3; }
.np__rel a:hover { color: var(--link); text-decoration: underline; }
.np__rel span { font-size: 12.5px; color: var(--muted); }
.np__side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 12px; }
.np__home { width: 100%; }
@media (max-width: 900px) {
  .np { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .np__side { position: static; }
}


/* ------------------------------ Privacy e note legali ------------------------------ */
.legal { max-width: 780px; padding-block: 36px 64px; }
.legal__title { font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; font-stretch: 76%; letter-spacing: -.02em; margin-bottom: 6px; }
.legal__updated { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.legal__lede { font-size: 18.5px; line-height: 1.6; margin-bottom: 22px; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.legal__toc a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.legal__toc a:hover { border-color: var(--muted); }
.legal section { padding-top: 22px; margin-top: 22px; border-top: 1px solid var(--rule); scroll-margin-top: calc(var(--header-h) + 16px); }
.legal h2 { font-size: 21px; font-weight: 760; font-stretch: 84%; margin-bottom: 10px; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: var(--muted); }
.legal p + p { margin-top: 10px; }
.legal strong { color: var(--ink); }
.legal ul { display: grid; gap: 8px; margin: 10px 0; padding-left: 20px; list-style: disc; }
.legal__back { margin-top: 32px; }


/* ------------------------------ Installa l'app ------------------------------ */
.intro__btn--app { display: inline-flex; align-items: center; gap: 7px; background: var(--navy); border-color: var(--navy); color: #fff; cursor: pointer; font-family: inherit; }
.intro__btn--app:hover { background: #1B2440; }
:root[data-theme="dark"] .intro__btn--app { background: #4293B9; border-color: #4293B9; }
.intro__btn--app svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.share__btn--app { border-color: var(--brand-blue); color: var(--link); cursor: pointer; font-family: inherit; }
.drawer__app { all: unset; cursor: pointer; display: block; width: 100%; padding: 14px 4px; border-bottom: 1px solid var(--rule); color: var(--link); font-size: 19px; font-weight: 650; font-stretch: 88%; }
.appsheet { position: fixed; inset: 0; z-index: 90; background: rgba(8, 12, 23, .55); display: flex; align-items: flex-end; justify-content: center; padding: 16px; }
.appsheet[hidden] { display: none; }
.appsheet__panel {
  width: min(440px, 100%); background: var(--surface); color: var(--ink); border-radius: 20px; padding: 26px 22px calc(20px + env(safe-area-inset-bottom, 0px));
  box-shadow: var(--shadow); text-align: center; animation: sheetUp .25s cubic-bezier(.3,.7,.2,1);
}
@keyframes sheetUp { from { transform: translateY(30px); opacity: 0; } }
.appsheet__icon { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 12px; }
.appsheet__title { font-size: 21px; font-weight: 780; font-stretch: 84%; margin-bottom: 16px; }
.appsheet__steps { display: grid; gap: 10px; text-align: left; margin-bottom: 14px; }
.appsheet__steps li { display: flex; align-items: center; gap: 12px; background: var(--surface-2); border-radius: 12px; padding: 11px 12px; font-size: 15.5px; font-weight: 550; }
.appsheet__num { width: 26px; height: 26px; border-radius: 50%; background: #4293B9; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; flex-shrink: 0; }
.appsheet__share { width: 20px; height: 20px; vertical-align: -4px; fill: none; stroke: #0A84FF; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.appsheet__note { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.appsheet__ok { width: 100%; }
@media (min-width: 721px) { .appsheet { align-items: center; } }
@media (prefers-reduced-motion: reduce) { .appsheet__panel { animation: none; } }

/* ------------------------------ Footer ------------------------------ */
/* Fonti: banner con i loghi delle testate che FAIND legge */
.sources { background: var(--bg); border-top: 1px solid var(--rule); padding-block: 52px 44px; text-align: center; }
.sources__title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; font-stretch: 80%; letter-spacing: -.01em; }
.sources__title::after { content: ""; display: block; width: 44px; height: 3px; border-radius: 3px; background: var(--ai); margin: 12px auto 0; }
.sources__lede { color: var(--muted); font-size: 15.5px; max-width: none; margin: 12px auto 26px; }
.sources__band { max-width: 1080px; margin-inline: auto; border: 1.5px solid var(--ai); border-radius: 22px; background: linear-gradient(135deg, #1A3A66 0%, #12284A 55%, #0E1E3A 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 40px -24px rgba(14, 30, 58, .55); overflow: hidden; }
.sources__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.sources__item { position: relative; }
.sources__item + .sources__item::before { content: ""; position: absolute; left: 0; top: 30%; bottom: 30%; width: 1px; background: rgba(255, 255, 255, .22); }
.sources__link { display: flex; align-items: center; justify-content: center; height: 112px; padding: 0 18px; position: relative; }
/* Puntino che passa da un logo all'altro: compare in 1s, svanisce piano, poi tocca al logo successivo (6 loghi x 2,5s) */
.sources__link::after { content: ""; position: absolute; left: 50%; bottom: 24px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px rgba(255, 255, 255, .45); opacity: 0; animation: sources-dot 15s linear infinite; pointer-events: none; }
.sources__item:nth-child(2) .sources__link::after { animation-delay: 2.5s; }
.sources__item:nth-child(3) .sources__link::after { animation-delay: 5s; }
.sources__item:nth-child(4) .sources__link::after { animation-delay: 7.5s; }
.sources__item:nth-child(5) .sources__link::after { animation-delay: 10s; }
.sources__item:nth-child(6) .sources__link::after { animation-delay: 12.5s; }
@keyframes sources-dot {
  0% { opacity: 0; transform: scale(.4); animation-timing-function: ease-out; }
  6.667% { opacity: 1; transform: scale(1); animation-timing-function: ease-in-out; }
  18% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; }
}
.sources__logo { display: block; width: auto; max-width: 100%; opacity: .9; -webkit-mask-image: linear-gradient(to bottom, #000 40%, rgba(0, 0, 0, .3) 100%); mask-image: linear-gradient(to bottom, #000 40%, rgba(0, 0, 0, .3) 100%); transition: opacity .2s ease, transform .2s ease; }
.sources__link:hover .sources__logo, .sources__link:focus-visible .sources__logo { opacity: 1; transform: translateY(-2px); }
.sources__link:focus-visible { outline: 2px solid var(--ai); outline-offset: -6px; border-radius: 14px; }
.sources__logo--bbc { height: 26px; }
.sources__logo--guardian { height: 30px; }
.sources__logo--spiegel { height: 17px; }
.sources__logo--wired { height: 24px; }
.sources__logo--techcrunch { height: 28px; }
.sources__logo--arstechnica { height: 40px; }
.sources__note { color: var(--muted); font-size: 12.5px; margin-top: 14px; }
@media (max-width: 720px) {
  .sources { padding-block: 40px 34px; }
  .sources__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sources__item:nth-child(3n + 1)::before { display: none; }
  .sources__item:nth-child(n + 4)::after { content: ""; position: absolute; top: 0; left: 18%; right: 18%; height: 1px; background: rgba(255, 255, 255, .22); }
  .sources__link { height: 86px; padding: 0 12px; }
  .sources__link::after { bottom: 14px; width: 6px; height: 6px; margin-left: -3px; }
  .sources__logo--bbc { height: 20px; }
  .sources__logo--guardian { height: 24px; }
  .sources__logo--spiegel { height: 12px; }
  .sources__logo--wired { height: 18px; }
  .sources__logo--techcrunch { height: 22px; }
  .sources__logo--arstechnica { height: 32px; }
}
@media (prefers-reduced-motion: reduce) { .sources__logo { transition: none; } .sources__link::after { display: none; } }

.footer { background: var(--surface); border-top: 1px solid var(--rule); }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 40px; padding-block: 36px; }
.footer__brand .brand__img { height: 88px; width: auto; margin-bottom: 14px; }
.footer__brand p { color: var(--muted); font-size: 14px; max-width: 52ch; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-content: start; justify-content: end; }
.footer__nav a { color: var(--ink); text-decoration: none; font-weight: 550; font-size: 15px; }
.footer__nav a:hover { text-decoration: underline; }
.footer__legal { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer__legal::before { content: "©"; margin-right: -12px; }
.footer__upd { margin-left: auto; }
.footer__privacy { color: var(--muted); font-weight: 600; }

/* ------------------------------ Drawer ------------------------------ */
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(8, 14, 26, .5); }
.drawer[hidden] { display: none; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw);
  background: var(--surface); padding: calc(16px + env(safe-area-inset-top, 0px)) 20px calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 20px; overflow-y: auto;
  animation: slideIn .28s cubic-bezier(.3,.7,.2,1);
}
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__title { font-weight: 750; font-size: 18px; }
.drawer__close { width: 42px; height: 42px; border: 1px solid var(--rule); background: var(--surface); border-radius: var(--radius-s); display: grid; place-items: center; }
.drawer__close svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.drawer__nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-size: 19px; font-weight: 650; font-stretch: 88%; }
.drawer__lang { align-self: flex-start; }
.drawer__lang .lang__btn { padding: 8px 14px; font-size: 14px; }

/* ------------------------------ Toast ------------------------------ */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 80;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  transition: opacity .2s, transform .2s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1240px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .controls { margin-left: auto; }
}
@media (max-width: 1120px) {
  .about__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .about__side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 900px) {
  .reads { grid-template-columns: minmax(0, 1fr); }
  .grid--important .card:first-child { grid-column: auto; }
  .front { grid-template-columns: minmax(0, 1fr); }
  .lead { min-height: 0; }
  .brand__tag { display: none; }
}
@media (max-width: 720px) {
  .about__side { grid-template-columns: minmax(0, 1fr); }
  .block__head > * { min-width: 0; max-width: 100%; }
  .chips.chips--inline { margin-inline: 0; padding-inline: 0; }
  .about__inner { padding-block: 40px 48px; }
  .about__lede { font-size: 17.5px; }
  .intro__btn { font-size: 13.5px; }
  :root { --header-h: 60px; }
  .side { grid-template-columns: minmax(0, 1fr); }
  /* le lingue restano in testata anche sul telefono, tra il logo e il giorno/notte (Paolo, 12 ottobre 2026) */
  .controls { gap: 8px; }
  .controls .lang { padding: 2px; gap: 0; }
  .controls .lang__btn { padding: 5px 6px; font-size: 11.5px; letter-spacing: 0; }
  .masthead__bar { gap: 10px; }
  .brand__img { height: 44px; }
  .block { margin-top: 44px; }
  .block__head { align-items: stretch; flex-direction: column; }
  .search { min-width: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .guides { grid-template-columns: minmax(0, 1fr); }
  .guide { grid-template-columns: 40px 1fr; }
  .guide__icon { width: 40px; height: 40px; }
  .guide .go { grid-column: 2; justify-self: start; margin-left: -10px; }
  .footer__inner { grid-template-columns: minmax(0, 1fr); }
  .footer__nav { justify-content: start; }
  .footer__upd { margin-left: 0; }
  .sectors { flex-wrap: wrap; gap: 10px; }
  .sectors__chips { order: 3; flex-basis: 100%; }
  .sectors .search { flex: 1; order: 2; }
  .langf { order: 1; }
  .langf__btn span[data-i18n] { display: none; }
  .langf__menu { left: 0; right: auto; }
  .sectors .search { min-width: 0; }
  .sectors__chips { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .thumb--md { width: 88px; }
  .thumb--sm { width: 72px; }
  .bticker__label { padding: 0 5px 0 8px; gap: 5px; font-size: 9px; }
  .lead__summary { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* La barra notizie continua a scorrere, ma più lenta; un tocco la mette in pausa */
  .bticker__track { animation-duration: calc(var(--tdur, 80s) * 1.6); }
  .sk::after, .loadbar.is-on span { animation: none; }
  .pulse, .pulse::after, .drawer__panel { animation: none; }
  .theme__thumb, .toast { transition: none; }
}

/* Popup newsletter (index.html → #nlPop): entra dal bordo sinistro, a metà altezza; sul telefono in basso a sinistra.
   Resta chiaro anche in modalità notte, come l'immagine di Paolo. */
.nlpop { position: fixed; z-index: 70; left: 0; top: 50%; width: 300px; max-width: calc(100vw - 24px); box-sizing: border-box;
  background: #fff; color: #0E1A33; border: 2px solid #0E1A33; border-left: 0; border-radius: 0 22px 22px 0;
  box-shadow: 0 14px 40px rgba(14, 26, 51, .22); padding: 28px 18px 16px;
  transform: translate(-110%, -50%); transition: transform 1.6s cubic-bezier(.16, 1, .3, 1), width .3s ease; }
/* Fascia azzurra stretta in alto (Paolo, 10 ottobre 2026): dal bordo sinistro all'angolo arrotondato, chiusa sotto da una riga */
.nlpop::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: #13BCEB;
  border-bottom: 2px solid #0E1A33; border-radius: 0 20px 0 0; pointer-events: none; }
.nlpop.is-in { transform: translate(var(--dx, 0px), -50%); }
.nlpop.is-drag { transition: none; }
.nlpop.is-out { transition: transform .45s cubic-bezier(.4, 0, 1, 1), width .3s ease; }
.nlpop__x { all: unset; cursor: pointer; position: absolute; top: 18px; right: 10px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; }
.nlpop__x svg { width: 22px; height: 22px; fill: none; stroke: #0E1A33; stroke-width: 2.6; stroke-linecap: round; }
.nlpop__x:hover { background: #EEF2F8; }
.nlpop__x:focus-visible { outline: 3px solid #13BCEB; }
.nlpop__title { font-size: 25px; line-height: 1.02; font-weight: 850; font-stretch: 90%; letter-spacing: -.01em; text-align: center; color: #0E1A33; margin: 6px 26px 8px; }
.nlpop__img { display: block; width: 82%; height: auto; margin: 0 auto -6px; position: relative; z-index: 0; transition: width .3s ease, margin .3s ease; }
.nlpop__form { position: relative; z-index: 1; display: grid; gap: 9px; }
.nlpop__input { font: inherit; font-size: 16px; width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 14px; border: 2px solid #13BCEB; background: #fff; color: #0E1A33; transition: font-size .25s ease, padding .25s ease; }
.nlpop__input::placeholder { color: #7A8499; }
.nlpop__input:focus { outline: none; box-shadow: 0 0 0 4px rgba(19, 188, 235, .25); }
.nlpop__sub { text-align: center; font-weight: 800; font-size: 16px; margin: 2px 0 0; color: #0E1A33; }
.nlpop__ok { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; line-height: 1.35; color: #0E1A33; cursor: pointer; }
.nlpop__ok input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: #13BCEB; }
.nlpop__ok a { color: #0E1A33; text-decoration: underline; }
.nlpop__btn { font: inherit; font-size: 18px; font-weight: 800; color: #fff; background: linear-gradient(180deg, #2CCBF2, #0FB4E4); border: 0; border-radius: 14px; padding: 12px; cursor: pointer; box-shadow: 0 4px 12px rgba(19, 188, 235, .35); }
.nlpop__btn:hover { background: #0EA6D3; }
.nlpop__btn:disabled { opacity: .7; cursor: default; }
.nlpop__msg { font-size: 13.5px; font-weight: 700; min-height: 1.1em; margin: 0; text-align: center; }
.nlpop__msg.is-ok { color: #1E9460; } .nlpop__msg.is-err { color: #D8483F; }
.nlpop__done { display: grid; gap: 12px; position: relative; z-index: 1; }
.nlpop__wow { margin: 0; text-align: center; font-size: 24px; font-weight: 850; font-stretch: 90%; color: #0E1A33; border: 2px solid #13BCEB; border-radius: 14px; padding: 14px 10px; background: #fff; }
.nlpop__thanks { margin: 0 4px 4px; text-align: center; font-size: 15px; line-height: 1.4; font-weight: 600; color: #0E1A33; }
/* Mentre scrive l'email: popup più largo e testo grande, per controllare di averla scritta giusta */
.nlpop.is-typing { width: 460px; }
.nlpop.is-typing .nlpop__img { width: 46%; }
.nlpop.is-typing .nlpop__input { font-size: 23px; padding: 14px 16px; font-weight: 600; }
@media (max-width: 640px) {
  .nlpop { top: auto; bottom: 58px; width: 250px; padding: 22px 14px 12px; border-radius: 0 18px 18px 0; transform: translateX(-110%); }
  .nlpop::before { height: 10px; border-radius: 0 16px 0 0; }
  .nlpop__x { top: 14px; }
  .nlpop.is-in { transform: translateX(var(--dx, 0px)); }
  .nlpop__title { font-size: 20px; margin: 2px 26px 6px; }
  .nlpop__img { width: 62%; }
  .nlpop__sub { font-size: 14px; }
  .nlpop__ok { font-size: 12px; }
  .nlpop__btn { font-size: 16px; padding: 10px; }
  .nlpop.is-typing { width: calc(100vw - 12px); }
  .nlpop.is-typing .nlpop__img { display: none; }
  .nlpop.is-typing .nlpop__input { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { .nlpop, .nlpop.is-out, .nlpop__img, .nlpop__input { transition: none; } }

/* telefoni stretti: logo, lingue, giorno/notte e menu stanno in una riga */
@media (max-width: 400px) {
  .masthead .brand__img { height: 36px; }
  .controls { gap: 6px; }
  .controls .lang__btn { padding: 5px 5px; }
  .theme__track { width: 56px; padding: 0 7px; }
  .theme[aria-pressed="true"] .theme__thumb { transform: translateX(22px); }
  .burger { width: 38px; height: 38px; }
}

/* Banner illustrato sotto il titolo di una sezione (Prezzi) */
.secbanner { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 540; object-fit: cover; border-radius: var(--radius-m); margin: 4px 0 14px; background: var(--surface-2); }

/* Da quando non passi (home): compare solo a chi torna dopo almeno 6 ore */
.since { margin: 0 0 22px; padding: 16px 18px; border: 1px solid var(--rule); border-left: 5px solid #4293B9; border-radius: 14px; background: var(--surface); }
.since[hidden] { display: none; }
.since__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.since__title { font-size: 19px; font-weight: 760; margin: 0; }
.since__close { border: 0; background: none; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; padding: 2px 6px; border-radius: 8px; }
.since__close:hover { color: var(--ink); }
.since__text { margin: 6px 0 10px; color: var(--muted); font-size: 15px; }
.since__list { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.since__list a { color: var(--ink); font-weight: 650; text-decoration: none; }
.since__list a:hover { color: var(--link); text-decoration: underline; }
.since__list span { display: block; font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .since__list li:nth-child(n+4) { display: none; } }

/* Il punto: l'articolo del giorno, subito dopo le ultime notizie */
.punto { margin: 26px 0 0; padding: 20px 22px; border: 1px solid var(--rule); border-left: 5px solid #4293B9; border-radius: var(--radius-l); background: var(--surface); }
.punto[hidden] { display: none; }
.punto__kick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.punto__kick b { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: #4293B9; padding: 3px 9px; border-radius: 6px; }
.punto__title { font-size: 24px; font-weight: 760; font-stretch: 90%; line-height: 1.18; margin: 0 0 8px; }
.punto__title a { color: var(--ink); text-decoration: none; }
.punto__title a:hover { color: var(--link); text-decoration: underline; }
.punto__desc { color: var(--ink); font-size: 15.5px; line-height: 1.5; margin: 0 0 12px; }
.punto__links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; font-weight: 650; margin: 0; }
.punto__links a { color: var(--link); }
@media (max-width: 600px) { .punto { padding: 16px; } .punto__title { font-size: 20px; } }
