:root {
  --ink: #141414;
  --ink-soft: #3a3a3a;
  --muted: #6b6b6b;
  --rule: #e1ddd6;
  --rule-strong: #141414;
  --paper: #ffffff;
  --soft: #f6f3ee;
  --red: #c4161c;
  --red-dark: #9e1015;
  --orange: #c0560f;
  --orange-dark: #a94a10;
  --cream: #fbf0e2;
  --up: #1d7a3e;
  --down: #c4161c;
  --focus: #1a56db;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --display: "Playfair Display", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: 16px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.5;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }
a:hover { color: var(--red); }

h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }

abbr[title] { text-decoration: none; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}

/* ---------- Focus e link di salto ---------- */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
.photos :focus-visible,
.newsletter :focus-visible { outline-color: #9ec1ff; }
main:focus { outline: none; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  background: var(--ink); color: #fff;
  font: 600 1rem var(--sans);
  padding: 12px 16px; border-radius: 0 0 4px 4px;
  text-decoration: underline;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Barra superiore ---------- */
.topbar {
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 40px; padding-top: 4px; padding-bottom: 4px;
}
.topbar__info { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.topbar__info span:first-child { font-weight: 600; color: var(--ink); }
.topbar__actions { display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.btn {
  display: inline-block;
  font-family: var(--sans); font-weight: 600; font-size: 0.8125rem;
  padding: 7px 12px; border-radius: 3px; border: 1px solid var(--ink);
  text-decoration: none;
}
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }

/* ---------- Testata ---------- */
.masthead { border-bottom: 1px solid var(--rule-strong); }
.masthead .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 22px; padding-bottom: 18px;
}
.masthead__ear {
  font-family: var(--sans); font-size: 0.75rem; line-height: 1.4; color: var(--muted);
  max-width: 220px;
}
.masthead__ear strong { display: block; color: var(--ink); font-size: 0.8125rem; }
.masthead__ear--right { justify-self: end; text-align: right; }
.masthead__logo { text-align: center; }
.logo {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.75rem, 7.4vw, 5.75rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
}
.logo span { color: var(--red); }
.masthead__tagline {
  margin-top: 8px;
  font-family: var(--serif); font-style: italic; font-size: 0.9375rem; color: var(--ink-soft);
}

/* ---------- Navigazione ---------- */
.sections { border-bottom: 3px double var(--rule-strong); }
.sections ul {
  list-style: none; margin: 0; padding: 4px 4px;
  display: flex; gap: 4px;
  overflow-x: auto; scrollbar-width: none;
}
/* Centrato quando c'è spazio, allineato a sinistra quando il menu scorre */
.sections li:first-child { margin-left: auto; }
.sections li:last-child { margin-right: auto; }
.sections ul::-webkit-scrollbar { display: none; }
.sections a {
  display: block; white-space: nowrap;
  font-family: var(--sans); font-weight: 600; font-size: 0.84375rem;
  padding: 10px 10px;
  text-decoration: none;
}
.sections .is-current { box-shadow: inset 0 -3px 0 var(--red); }
.sections .pill {
  margin: 2px 0 2px 8px; padding: 8px 12px;
  background: var(--orange); color: #fff; border-radius: 999px;
}
.sections .pill:hover { background: var(--orange-dark); color: #fff; }

/* ---------- Ultim'ora ---------- */
.ticker {
  display: flex; align-items: stretch;
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans); font-size: 0.875rem;
  background: var(--soft);
  overflow: hidden;
}
.ticker__label {
  flex: none;
  display: flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff;
  font-family: var(--sans); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 16px;
}
.ticker__label::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff;
  animation: blink 1.4s 3;
}
.ticker__track { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; }
.ticker__items {
  display: flex; gap: 48px; margin: 0; padding: 0 0 0 24px;
  list-style: none;
  white-space: nowrap;
  animation: scroll 70s linear infinite;
}
.ticker__items time { font-weight: 700; color: var(--red); margin-right: 4px; }
.ticker:hover .ticker__items,
.ticker:focus-within .ticker__items,
.ticker.is-paused .ticker__items { animation-play-state: paused; }
.ticker__toggle {
  flex: none;
  display: grid; place-items: center;
  width: 44px; min-height: 40px;
  border: 0; border-left: 1px solid var(--rule);
  background: var(--soft); color: var(--ink);
  cursor: pointer;
}
.ticker__toggle:hover { background: #ece7df; }
.ticker__icon::before { content: "❚❚"; content: "❚❚" / ""; font-size: 0.75rem; letter-spacing: -0.1em; }
.ticker.is-paused .ticker__icon::before { content: "▶"; content: "▶" / ""; letter-spacing: 0; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: 0.25; } }

/* ---------- Elementi comuni degli articoli ---------- */
.kicker {
  font-family: var(--sans); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.kicker--live::before {
  content: "Live"; background: var(--red); color: #fff; padding: 1px 5px; margin-right: 6px; border-radius: 2px;
}
.title { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -0.005em; }
.deck { color: var(--ink-soft); margin-top: 8px; }
.meta {
  font-family: var(--sans); font-size: 0.75rem; color: var(--muted);
  margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 12px;
}
.meta strong { color: var(--ink); font-weight: 600; }
.meta .comments::before { content: "💬 "; content: "💬 " / ""; }
figure { margin: 0; }
.credit {
  font-family: var(--sans); font-size: 0.75rem; color: var(--muted); margin-top: 6px;
}
.thumb { overflow: hidden; background: var(--soft); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.ratio-3x2 { aspect-ratio: 3 / 2; }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  border-top: 3px solid var(--rule-strong);
  padding-top: 10px; margin: 44px 0 20px;
}
.section-head h2 {
  font-family: var(--sans); font-weight: 800; font-size: 0.9375rem;
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---------- Apertura ---------- */
.front {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 32px;
  padding-top: 28px;
}
.lead .thumb { aspect-ratio: 16 / 10; }
.lead__text { margin-top: 16px; }
.lead .title { font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.08; }
.lead .deck { font-size: 1.1875rem; }
.related {
  list-style: none; margin: 18px 0 0; padding: 14px 0 0;
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.related li { font-weight: 700; font-size: 0.96875rem; line-height: 1.3; padding-left: 12px; border-left: 3px solid var(--red); }
.related small { display: block; font-family: var(--sans); font-weight: 700; font-size: 0.75rem; color: var(--red); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }

.side { display: flex; flex-direction: column; gap: 28px; }
.box h2 {
  margin: 0 0 12px; padding-bottom: 8px;
  border-bottom: 3px solid var(--rule-strong);
  font-family: var(--sans); font-weight: 800; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.most-read { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.most-read li {
  counter-increment: rank;
  display: grid; grid-template-columns: 36px 1fr; gap: 8px;
  padding: 12px 0; border-bottom: 1px solid var(--rule);
  font-weight: 700; font-size: 1rem; line-height: 1.28;
}
.most-read li::before {
  content: counter(rank);
  content: counter(rank) / "";
  font-family: var(--display); font-weight: 900; font-size: 2rem; line-height: 0.9; color: var(--red);
}

.market { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 0.84375rem; }
.market th { text-align: left; font-weight: 600; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.market td { text-align: right; padding: 7px 0; border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.market td:last-child { width: 84px; font-weight: 700; }
.market .up { color: var(--up); }
.market .down { color: var(--down); }
.market .stop { color: var(--muted); font-weight: 600; font-size: 0.75rem; }
.market caption { caption-side: bottom; text-align: left; font-size: 0.75rem; color: var(--muted); padding-top: 8px; }
.market__index {
  display: flex; justify-content: space-between; align-items: baseline;
  background: var(--soft); padding: 10px 12px; margin-bottom: 4px;
  font-family: var(--sans);
}
.market__index b { font-size: 0.8125rem; letter-spacing: 0.04em; }
.market__index > span { font-size: 1.125rem; font-weight: 800; color: var(--up); font-variant-numeric: tabular-nums; }

.ad {
  border: 1px solid var(--rule); background: #fffaf2;
  padding: 18px; text-align: center; font-family: var(--sans);
}
.ad__label { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.ad__brand { font-family: var(--display); font-weight: 900; font-size: 1.875rem; line-height: 1; color: #7a4b1c; }
.ad__brand sup { font-size: 0.875rem; }
.ad p:last-child { margin-top: 8px; font-size: 0.875rem; color: var(--ink-soft); }

/* ---------- Primo piano ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.card .thumb { margin-bottom: 12px; }
.card .title { font-size: 1.25rem; }
.card .deck { font-size: 0.96875rem; }

/* ---------- Speciale ---------- */
.speciale {
  margin-top: 52px;
  background: var(--cream);
  border-top: 6px solid var(--orange);
  padding: 36px 0 48px;
}
.speciale__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border-bottom: 1px solid #e6cfb2; padding-bottom: 18px; margin-bottom: 28px;
}
.speciale__label {
  display: inline-block;
  font-family: var(--sans); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--orange); color: #fff; padding: 4px 10px; margin-bottom: 10px;
}
.speciale__title {
  font-family: var(--display); font-weight: 900; font-style: italic;
  font-size: clamp(2.375rem, 6vw, 4.5rem); line-height: 0.95; color: var(--orange-dark);
}
.speciale__intro { max-width: 440px; font-size: 1.0625rem; color: var(--ink-soft); }
.speciale__intro b { color: var(--ink); }

.speciale__lead {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start;
}
.speciale__lead .thumb { aspect-ratio: 3 / 2; }
.speciale__lead .title { font-size: clamp(1.625rem, 3vw, 2.25rem); line-height: 1.1; }
.speciale .kicker { color: var(--orange-dark); }
.speciale__lead p.body { margin-top: 14px; font-size: 1.125rem; }
.speciale__lead p.body::first-letter {
  float: left; font-family: var(--display); font-weight: 900; font-size: 4rem; line-height: 0.82;
  padding: 6px 8px 0 0; color: var(--orange-dark);
}

.phases { margin-top: 40px; }
.phases h3, .speciale .box-title {
  margin: 0 0 16px; font-family: var(--sans); font-weight: 800; font-size: 0.875rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
}
.phases ol {
  list-style: none; margin: 0; padding: 0; counter-reset: phase;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
}
.phases li { counter-increment: phase; position: relative; }
.phases li .thumb { aspect-ratio: 4 / 3; margin-bottom: 10px; position: relative; overflow: visible; }
.phases li .thumb img { position: relative; }
.phases li::before {
  content: counter(phase);
  content: counter(phase) / "";
  position: absolute; top: 10px; left: 10px; z-index: 1;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange); color: #fff;
  font-family: var(--display); font-weight: 900; font-size: 1.125rem;
}
.phases li:not(:last-child) .thumb::after {
  content: "→"; content: "→" / "";
  position: absolute; right: -16px; top: calc(37.5% - 12px);
  font-family: var(--sans); font-weight: 800; color: var(--orange-dark); font-size: 1.125rem;
}
.phases h4 { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.2; }
.phases li p { margin-top: 4px; font-size: 0.9375rem; color: var(--ink-soft); }

.speciale__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 28px; margin-top: 44px;
}
.dictionary { margin: 0; }
.dictionary dt { font-weight: 700; font-size: 1.125rem; margin-top: 12px; }
.dictionary dt:first-child { margin-top: 0; }
.dictionary dt i { font-weight: 400; font-size: 0.875rem; color: var(--muted); margin-left: 4px; }
.dictionary dd { margin: 2px 0 0; font-size: 0.96875rem; color: var(--ink-soft); }

.poll { font-family: var(--sans); }
.poll .q { font-family: var(--serif); font-weight: 700; font-size: 1.1875rem; margin-bottom: 14px; }
.poll .bars { list-style: none; margin: 0; padding: 0; }
.poll .bar { margin-bottom: 12px; }
.poll .bar span { display: flex; justify-content: space-between; gap: 8px; font-size: 0.84375rem; margin-bottom: 4px; }
.poll .bar b { font-variant-numeric: tabular-nums; }
.poll .bar i { display: block; height: 10px; background: #efdcc3; border-radius: 5px; overflow: hidden; }
.poll .bar i::before { content: ""; display: block; height: 100%; width: var(--v); background: var(--orange); border-radius: 5px; }
.poll .note { color: var(--muted); font-size: 0.75rem; margin-top: 10px; }

.speciale .card .thumb { margin-bottom: 12px; }

/* ---------- Altre notizie ---------- */
.list-card { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 14px; align-items: start; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.list-card .thumb { aspect-ratio: 1 / 1; }
.list-card .title { font-size: 1.125rem; }
.list-card .deck { font-size: 0.90625rem; margin-top: 4px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; }

/* ---------- Opinioni ---------- */
.opinions { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.opinion { border-left: 1px solid var(--rule); padding-left: 24px; }
.opinion:first-child { border-left: 0; padding-left: 0; }
.author { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-family: var(--sans); }
.author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.author b { display: block; font-size: 0.875rem; }
.author span { font-size: 0.75rem; color: var(--muted); }
.opinion .title { font-size: 1.375rem; font-style: italic; }
.opinion--editorial .title { font-size: 1.75rem; }
.quote-mark { font-family: var(--display); font-weight: 900; font-size: 4rem; line-height: 0.5; color: var(--red); display: block; height: 1.75rem; }
.letter blockquote { margin: 0; }
.letter blockquote p { font-size: 1rem; }
.letter .from { font-family: var(--sans); font-size: 0.75rem; color: var(--muted); margin-top: 6px; }
.letter .reply { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #b8b2a8; }
.reply__label { font-family: var(--sans); font-weight: 700; font-size: 0.75rem; color: var(--red); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Foto del giorno ---------- */
.photos {
  background: #151515; color: #f3f1ed; margin-top: 52px; padding: 8px 0 44px;
}
.photos .section-head { border-top-color: #f3f1ed; }
.photos__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.photos__grid figure:first-child { grid-row: span 2; }
.photos__grid .thumb { aspect-ratio: 4 / 3; background: #222; }
.photos__grid figure:first-child .thumb { aspect-ratio: auto; height: calc(100% - 64px); min-height: 320px; }
.photos figcaption { font-size: 0.90625rem; line-height: 1.35; margin-top: 8px; color: #d9d5ce; }
.photos figcaption b { color: #fff; font-family: var(--sans); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Oroscopo, annunci, newsletter ---------- */
.bottom { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; }
.horoscope {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 20px;
}
.sign { border-top: 1px solid var(--rule); padding-top: 10px; }
.sign h3 { font-family: var(--sans); font-size: 0.8125rem; letter-spacing: 0.04em; }
.sign h3::before {
  content: attr(data-symbol);
  content: attr(data-symbol) / "";
  color: var(--red); margin-right: 6px;
  font-family: "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols", sans-serif;
}
.sign p { margin-top: 2px; font-size: 0.90625rem; color: var(--ink-soft); line-height: 1.4; }

.classifieds { list-style: none; margin: 0; padding: 0; }
.classifieds li { padding: 10px 0; border-bottom: 1px dotted #8f8a82; font-size: 0.9375rem; }
.classifieds li b { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); margin-right: 2px; }

.newsletter {
  margin-top: 28px; background: var(--ink); color: #fff; padding: 22px;
}
.newsletter h2 { font-family: var(--display); font-size: 1.625rem; font-weight: 900; }
.newsletter > p { margin: 6px 0 14px; font-size: 0.9375rem; color: #d6d6d6; }
.newsletter label { display: block; font-family: var(--sans); font-size: 0.875rem; font-weight: 600; margin-bottom: 6px; }
.newsletter__row { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter input {
  flex: 1 1 180px; min-width: 0; min-height: 44px;
  font: 1rem var(--sans); padding: 10px 12px; border: 2px solid #fff; border-radius: 3px;
}
.newsletter input[aria-invalid="true"] { border-color: #ff8a80; }
.newsletter button {
  font: 600 0.9375rem var(--sans); min-height: 44px; padding: 10px 16px; border: 0; border-radius: 3px;
  background: var(--red); color: #fff; cursor: pointer;
}
.newsletter button:hover { background: var(--red-dark); }
.newsletter__esito { margin-top: 10px; font-family: var(--sans); font-size: 0.875rem; color: #ffd9a8; min-height: 1.2em; }

/* ---------- Piè di pagina ---------- */
.footer { margin-top: 56px; border-top: 3px double var(--rule-strong); background: var(--soft); font-family: var(--sans); font-size: 0.84375rem; }
.footer .wrap { padding-top: 28px; padding-bottom: 36px; }
.footer__top { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 28px; }
.footer .logo { font-size: 2.5rem; text-align: left; }
.footer h2 { margin: 0 0 8px; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0; padding: 3px 0; color: var(--ink-soft); }
.footer__top li:has(a) { padding: 0; }
.footer__top a { display: inline-block; padding: 4px 0; min-height: 24px; }
.footer__legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.78125rem; line-height: 1.6; }
.footer__legal p { margin: 0 0 8px; }
.footer__credits { margin-top: 12px; }
.footer__credits summary { cursor: pointer; font-weight: 600; color: var(--ink-soft); padding: 4px 0; }
.footer__credits ol { margin: 10px 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 0.75rem; }
.footer__credits li { break-inside: avoid; margin: 0 0 4px; }
.footer__credits a { text-underline-offset: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .speciale__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opinions { grid-template-columns: 1fr 1fr; }
  .opinion--editorial { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
  .opinions .opinion:nth-child(2) { border-left: 0; padding-left: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .masthead .wrap { grid-template-columns: 1fr; gap: 10px; padding-top: 16px; }
  .masthead__ear { display: none; }
  .front { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .speciale__lead { grid-template-columns: 1fr; gap: 18px; }
  .phases ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phases li .thumb::after { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .photos__grid { grid-template-columns: 1fr 1fr; }
  .photos__grid figure:first-child { grid-column: 1 / -1; grid-row: auto; }
  .photos__grid figure:first-child .thumb { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
  .bottom { grid-template-columns: 1fr; }
  .horoscope { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .topbar__info span:not(:first-child) { display: none; }
  .topbar__info span:first-child { white-space: nowrap; }
  .hide-sm { display: none; }
  .grid-4, .speciale__grid, .opinions { grid-template-columns: 1fr; }
  .opinion { border-left: 0; padding-left: 0; }
  .list-card { grid-template-columns: 104px minmax(0, 1fr); }
  .list-card .title { font-size: 1.03125rem; }
  .phases ol { gap: 16px 12px; }
  .phases h4 { font-size: 0.96875rem; }
  .phases li p { font-size: 0.875rem; line-height: 1.4; }
  .photos__grid { grid-template-columns: 1fr; }
  .horoscope { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__credits ol { columns: 1; }
}

/* Chi preferisce meno movimento vede l'Ultim'ora come elenco fermo */
@media (prefers-reduced-motion: reduce) {
  .ticker { align-items: flex-start; }
  .ticker__track { overflow: visible; }
  .ticker__items {
    animation: none;
    flex-direction: column; gap: 6px;
    white-space: normal;
    padding: 10px 16px;
  }
  .ticker__items [aria-hidden="true"] { display: none; }
  .ticker__toggle { display: none; }
  .ticker__label { align-self: stretch; }
  .ticker__label::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* Modalità a contrasto elevato di Windows */
@media (forced-colors: active) {
  .poll .bar i { border: 1px solid CanvasText; }
  .poll .bar i::before { background: CanvasText; forced-color-adjust: none; }
  .sections .pill, .speciale__label, .ticker__label { border: 1px solid CanvasText; }
}
