/* Una Gita Fuoriporta — stile del sito pubblico */

:root {
  --teal: #0f8a80;
  --teal-deep: #0d4744;
  --teal-soft: #e3f1ee;
  --yellow: #f9d85a;
  --ink: #20272a;
  --ink-soft: #5b6a6d;
  --cream: #faf7f0;
  --paper: #ffffff;
  --line: #e7e2d6;
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", -apple-system, "Segoe UI", sans-serif;
  --font-script: "Caveat", cursive;
  --shadow: 0 10px 30px rgba(13, 71, 68, 0.10);
  --shadow-sm: 0 4px 14px rgba(13, 71, 68, 0.08);
  --chip-mix: #ffffff;
  --header-bg: rgba(250, 247, 240, 0.92);
  color-scheme: light;
}

/* tema scuro (modalità notte) */
:root[data-theme="dark"] {
  --teal: #2fb3a7;
  --teal-deep: #0b3d3a;
  --teal-soft: #12312e;
  --yellow: #f2cf52;
  --ink: #e8efec;
  --ink-soft: #93a6a2;
  --cream: #0e1716;
  --paper: #16211f;
  --line: #24332f;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --chip-mix: #101c1a;
  --header-bg: rgba(14, 23, 22, 0.90);
  color-scheme: dark;
}
:root[data-theme="dark"] .hero-overlay {
  background: linear-gradient(200deg, rgba(5, 20, 19, 0.05) 30%, rgba(5, 20, 19, 0.9) 85%);
}
:root[data-theme="dark"] .card-media img,
:root[data-theme="dark"] .ep-media img,
:root[data-theme="dark"] .article-cover img { filter: brightness(0.92); }
:root[data-theme="dark"] .site-footer { background: #0a1a18; }
:root[data-theme="dark"] .tv-band {
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(242, 207, 82, 0.08), transparent 60%),
    #0a1f1d;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
::selection { background: var(--yellow); color: #3a2f00; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 22px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 74px;
}
.brand img { width: 124px; height: auto; }
.main-nav { flex: 1; min-width: 0; }
.main-nav ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.main-nav a {
  display: inline-block;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover { background: var(--teal-soft); color: var(--teal-deep); }
.has-sub { position: relative; }
.has-sub .sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
  z-index: 60;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { display: grid; }
.has-sub .sub a { display: block; border-radius: 8px; padding: 7px 12px; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.search-form {
  display: flex;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 4px 3px 14px;
}
.search-form input {
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  width: 110px;
  color: var(--ink);
  transition: width 0.2s;
}
.search-form input:focus { width: 170px; }
@media (max-width: 1240px) {
  .main-nav a { padding: 8px 8px; font-size: 0.86rem; }
  .search-form input { width: 80px; }
  .search-form input:focus { width: 140px; }
}
@media (max-width: 1080px) and (min-width: 801px) {
  .search-form { padding-left: 4px; }
  .search-form input { display: none; }
}
.search-form button {
  border: 0;
  background: var(--teal);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.theme-toggle {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
}
.theme-toggle:hover { border-color: var(--teal); color: var(--teal); transform: rotate(12deg); }
.theme-toggle .ic-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .ic-sun { display: none; }
.nav-toggle { display: none; }

/* accessibilità: focus visibile */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- bottoni & chip ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 22px;
  border-radius: 999px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-light { background: var(--yellow); color: #4a3c00; }
.btn-outline { border: 2px solid var(--teal); color: var(--teal-deep); padding: 9px 20px; }

.chip {
  --chip: var(--teal);
  display: inline-block;
  background: color-mix(in srgb, var(--chip) 16%, var(--chip-mix));
  color: color-mix(in srgb, var(--chip) 70%, var(--ink));
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 11px;
  border-radius: 999px;
}
.chip-light { background: rgba(255, 255, 255, 0.92); color: var(--teal-deep); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(200deg, rgba(13, 71, 68, 0) 30%, rgba(13, 71, 68, 0.82) 85%);
}
.hero-content { padding-top: 90px; padding-bottom: 54px; color: #fff; max-width: 1200px; width: 100%; }
.hero-kicker {
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--yellow);
  display: block;
  transform: rotate(-2deg);
  margin-bottom: 6px;
}
.hero-meta { margin-bottom: 14px; }
.hero-meta time { color: rgba(255, 255, 255, 0.85); }
.hero-title {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 14px;
  max-width: 820px;
  letter-spacing: -0.01em;
}
.hero-title a { color: #fff; }
.hero-excerpt { max-width: 620px; color: rgba(255, 255, 255, 0.88); margin: 0 0 22px; font-size: 1.02rem; }

/* ---------- sezioni ---------- */
.section { padding-top: 42px; padding-bottom: 10px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.section-title {
  --accent: var(--yellow);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 600;
  margin: 0;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 9px;
  background: color-mix(in srgb, var(--accent) 38%, transparent);
  z-index: -1;
  border-radius: 4px;
}
.section-title-light { color: #fff; }
.section-more { font-weight: 700; font-size: 0.9rem; color: var(--teal-deep); white-space: nowrap; }
.section-more:hover { color: var(--teal); }
.section-more-light { color: var(--yellow); }
.script-accent {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--teal);
  display: block;
  transform: rotate(-2deg);
  line-height: 1;
}
.tv-band .script-accent { color: var(--yellow); }

/* ---------- griglie & card ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cat { grid-template-columns: 1.4fr 1fr; align-items: stretch; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack .card { flex: 1; }

/* banda colorata per le sezioni a tutta larghezza */
.section-band {
  background:
    radial-gradient(900px 320px at 8% -20%, rgba(249, 216, 90, 0.14), transparent 60%),
    var(--teal-soft);
  margin: 42px 0;
}
.section-band .section { padding-top: 34px; padding-bottom: 40px; }
main > .section-band:last-child { margin-bottom: 0; }

.card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.18s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; display: block; background: var(--teal-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.card:hover .card-media img { transform: scale(1.045); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.card-meta { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--ink-soft); flex-wrap: wrap; }
.card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  margin: 0;
}
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--teal); }
.card-excerpt { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.card-big .card-media { aspect-ratio: 16 / 11; }
.card-big .card-title { font-size: 1.4rem; }

/* card compatte nella colonna */
.stack .card { flex-direction: row; align-items: stretch; }
.stack .card-media { width: 128px; min-width: 128px; aspect-ratio: auto; }
.stack .card-body { padding: 12px 14px; gap: 5px; }
.stack .card-title { font-size: 0.95rem; }

/* ---------- banda serie tv ---------- */
.tv-band {
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(249, 216, 90, 0.14), transparent 60%),
    var(--teal-deep);
  margin: 42px 0;
  color: #fff;
}
.tv-band .section { padding-top: 48px; padding-bottom: 44px; }
.ep-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s, background 0.18s;
}
.ep-card:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.1); }
.ep-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0a3835; }
.ep-media img { width: 100%; height: 100%; object-fit: cover; }
.ep-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.ep-play svg {
  background: rgba(13, 71, 68, 0.75);
  color: var(--yellow);
  border-radius: 999px;
  padding: 14px;
  width: 26px;
  height: 26px;
  transition: transform 0.18s, background 0.18s;
}
.ep-card:hover .ep-play svg { transform: scale(1.1); background: var(--teal); color: #fff; }
.ep-body { padding: 14px 16px 16px; }
.ep-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow);
}
.ep-title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.35; margin: 6px 0 0; }
.ep-title a { color: #fff; }
.ep-title a:hover { color: var(--yellow); }
.section .ep-card { background: var(--paper); border-color: var(--line); box-shadow: var(--shadow-sm); }
.section .ep-title a { color: var(--ink); }
.section .ep-title a:hover { color: var(--teal); }
.section .ep-tag { color: var(--teal); }

/* ---------- hero a scorrimento ---------- */
.hero-slider { display: block; min-height: 560px; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0s 0.7s;
}
.hero-slide.on { opacity: 1; visibility: visible; transition: opacity 0.7s ease; z-index: 1; }
.hero-slide .hero-media { z-index: -2; }
.hero-slide .hero-overlay { z-index: -1; }
.hero-slide .hero-content { padding-bottom: 92px; }
.hero-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-arrow {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(13, 71, 68, 0.45);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.15s, transform 0.15s;
}
.hero-arrow:hover { background: var(--teal); transform: scale(1.06); }
.hero-dots { display: flex; gap: 8px; }
.hero-dot {
  width: 34px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  align-items: center;
}
.hero-dot span {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.4);
  overflow: hidden;
  position: relative;
}
.hero-dot.on span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yellow);
  transform-origin: left;
  animation: dot-progress var(--hero-interval, 6s) linear forwards;
}
.hero-slider.paused .hero-dot.on span::after { animation-play-state: paused; }
@keyframes dot-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- carosello ultimi articoli ---------- */
.carousel { position: relative; margin: 0 -22px; padding: 6px 22px 14px; overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 0 10px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > .card { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; }
.carousel-arrows { display: flex; gap: 8px; }
.car-arrow {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--teal-deep);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.car-arrow:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

/* ---------- articolo v2: hero compatto + due colonne ---------- */
.article-v2 { padding-top: 0; }
.article-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}
.article-hero .hero-media { animation: none; }
.article-hero.no-media { background: var(--teal-deep); min-height: 300px; }
.article-hero-content { padding-top: 70px; padding-bottom: 40px; }
.article-hero .hero-title { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
.article-hero .hero-excerpt { font-size: 1rem; margin-bottom: 0; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
  padding-top: 34px;
}
.article-main { min-width: 0; max-width: 780px; }
.article-v2 .prose { padding-top: 0; font-size: 1.02rem; }
.article-v2 .prose img { max-height: 540px; width: auto; max-width: 100%; margin: 1.3em auto; object-fit: cover; }
.article-v2 .prose figure img { width: 100%; }
.article-v2 .prose p:has(> img:only-child) { text-align: center; }
.video-top { margin: 0 0 26px; }
.article-v2 .article-foot { padding: 6px 0 0; }
.side-sticky-article { padding-top: 0; }
.mini-list { display: grid; gap: 12px; }
.mini {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: center;
  color: var(--ink);
}
.mini img { width: 84px; height: 62px; object-fit: cover; border-radius: 10px; background: var(--teal-soft); }
.mini b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.88rem; font-weight: 600; line-height: 1.3; }
.mini:hover b { color: var(--teal); }
.mini time { display: block; font-size: 0.74rem; color: var(--ink-soft); margin-top: 3px; }
.side-box-tv { background: var(--teal-deep); color: #fff; }
.side-box-tv .side-title { color: #fff; margin-top: 2px; }
.side-box-tv .script-accent { color: var(--yellow); font-size: 1.3rem; }
.side-ep { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.side-ep img { width: 100%; height: 100%; object-fit: cover; }
.side-ep-title { display: block; margin: 12px 0 10px; font-size: 0.92rem; line-height: 1.35; }
.side-ep-title a { color: #fff; }
.side-ep-title a:hover { color: var(--yellow); }
.side-box-tv .section-more { color: var(--yellow); font-size: 0.85rem; }
.share-side { border-top: 0; padding-top: 0; }

/* ---------- accessibilità, salvati, byline, ricerca, pagine, prossima puntata, mappa ---------- */
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--yellow); color: #3a2f00; padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 12px; }
.saved-link {
  position: relative;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: border-color 0.15s, color 0.15s;
}
.saved-link:hover { border-color: var(--teal); color: var(--teal); }
.saved-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--yellow);
  color: #3a2f00;
  font-size: 0.68rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.byline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.85); }
.byline-author a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.4); }
.byline-author a:hover { text-decoration-color: var(--yellow); }
.byline-upd { opacity: 0.8; }
.save-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.save-btn:hover { border-color: var(--teal); color: var(--teal); }
.save-btn.on { background: var(--yellow); border-color: var(--yellow); color: #3a2f00; }
.save-btn.on svg path { fill: currentColor; }
.save-btn-light { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.12); color: #fff; }
.save-btn-light:hover { border-color: #fff; color: #fff; }
.unsave { border: 0; background: transparent; color: var(--ink-soft); font: inherit; font-size: 0.78rem; cursor: pointer; text-decoration: underline; margin-left: auto; }
.unsave:hover { color: var(--teal); }
mark { background: color-mix(in srgb, var(--yellow) 70%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }
.search-scopes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.search-scopes .filter-chip { text-decoration: none; }
.authors-grid { margin-top: -10px; }
.author-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.author-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.author-avatar { width: 52px; height: 52px; border-radius: 999px; background: var(--teal); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.author-card b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.author-card p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }
.author-card small { color: var(--teal-deep); font-weight: 700; margin-top: auto; }
.next-ep {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(249, 216, 90, 0.35);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 26px;
}
.next-ep-info { flex: 1; min-width: 220px; display: grid; gap: 3px; }
.next-ep-kicker { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--yellow); }
.next-ep.live .next-ep-kicker::before { content: "●"; color: #ff5a4e; margin-right: 6px; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.next-ep-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: #fff; }
.next-ep-when { font-size: 0.88rem; color: rgba(255, 255, 255, 0.8); }
.countdown { display: flex; gap: 10px; }
.countdown span { display: grid; place-items: center; min-width: 58px; padding: 8px 6px; border-radius: 12px; background: rgba(0, 0, 0, 0.25); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.7); }
.countdown b { font-family: var(--font-display); font-size: 1.5rem; color: var(--yellow); line-height: 1.1; }
.btn-map { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; font-size: 0.85rem; }
.exp-map { height: 460px; border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; box-shadow: var(--shadow-sm); background: var(--teal-soft); }
.exp-map[hidden] { display: none; }
.exp-toolbar { align-items: center; gap: 14px; }
.leaflet-popup-content a { color: var(--teal-deep); }

/* ---------- versione demo ---------- */
.demo-ribbon { background: #3a2f00; color: var(--yellow); text-align: center; font-size: 0.8rem; font-weight: 600; padding: 7px 14px; letter-spacing: 0.02em; }

/* ---------- anteprima privata e meteo ---------- */
.preview-bar { background: var(--yellow); color: #3a2f00; text-align: center; font-size: 0.86rem; padding: 9px 16px; }
.weather { margin-top: 16px; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--teal) 18%, transparent); }
.wx-title { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 8px; }
.wx-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.wx-day { display: grid; justify-items: center; gap: 2px; font-size: 0.72rem; color: var(--ink-soft); background: var(--paper); border-radius: 10px; padding: 8px 2px; }
.wx-day svg { color: var(--teal); }
.wx-day b { color: var(--ink); font-size: 0.9rem; }
.wx-best { margin-top: 12px; font-size: 0.88rem; color: var(--ink); }
.wx-best b { display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal-deep); }
.wx-best .hint { display: block; font-size: 0.72rem; color: var(--ink-soft); margin-top: 2px; }

/* ---------- itinerari, guide, puntata ---------- */
.itin-badge { position: absolute; top: 12px; left: 12px; background: var(--yellow); color: #3a2f00; font-size: 0.72rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; }
.itin-card .card-media { position: relative; }
.itin-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 10px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.9); }
.itin-facts span { display: inline-flex; align-items: center; gap: 6px; }
.itin-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; padding-top: 34px; }
.itin-intro { font-size: 1.12rem; color: var(--ink-soft); margin: 0 0 18px; max-width: 760px; }
.itin-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.itin-actions .btn { display: inline-flex; align-items: center; gap: 8px; }
.stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.stops::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; border-left: 3px dashed color-mix(in srgb, var(--teal) 45%, transparent); }
.stop { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding-bottom: 26px; position: relative; }
.stop-num { width: 40px; height: 40px; border-radius: 999px; background: var(--teal); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; box-shadow: 0 0 0 5px var(--cream); position: relative; z-index: 1; }
.stop-card { display: grid; grid-template-columns: 300px 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.stop-media img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.stop-body { padding: 18px 20px; display: grid; gap: 6px; align-content: start; }
.stop-time { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal); display: inline-flex; align-items: center; gap: 6px; }
.stop-title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin: 0; line-height: 1.25; }
.stop-title a { color: var(--ink); }
.stop-title a:hover { color: var(--teal); }
.stop-body p { margin: 4px 0 0; color: var(--ink-soft); font-size: 0.95rem; }
.stop-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 6px; font-size: 0.82rem; color: var(--ink-soft); align-items: center; }
.stop-meta span { display: inline-flex; align-items: center; gap: 5px; }
.stop-meta a { font-weight: 700; margin-left: auto; }
.side-box-map { padding: 10px; }
.side-box-map .side-title { padding: 8px 10px 4px; }
.auto-map { height: 300px; border-radius: 12px; overflow: hidden; background: var(--teal-soft); }
.ep-map { height: 340px; margin-bottom: 18px; border-radius: var(--radius); }
.stop-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.stop-list a { display: flex; gap: 10px; align-items: baseline; color: var(--ink); font-size: 0.88rem; font-weight: 600; }
.stop-list a:hover { color: var(--teal); }
.stop-list b { color: var(--teal); font-family: var(--font-display); }
.map-num span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 800; font-size: 0.85rem; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); }
.guide-grid { margin-bottom: 10px; }
.guide-tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--teal-deep); box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s; }
.guide-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-tile img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.guide-tile-body { position: absolute; left: 14px; right: 14px; bottom: 14px; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); }
.guide-tile-body b { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.guide-tile-body small { font-size: 0.78rem; opacity: 0.9; }
.guide-gate { position: fixed; inset: 0; z-index: 130; background: rgba(13, 71, 68, 0.6); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(4px); }
.guide-gate[hidden] { display: none; }
.guide-gate-box { position: relative; background: var(--paper); border-radius: var(--radius); padding: 28px; max-width: 620px; width: 100%; box-shadow: var(--shadow); }
.guide-gate-box p { color: var(--ink-soft); margin: 0 0 16px; }
.guide-gate-close { position: absolute; top: 10px; right: 14px; border: 0; background: transparent; font-size: 1.6rem; cursor: pointer; color: var(--ink-soft); }
.gate-form .nl-field { color: var(--ink-soft); }
.gate-form .nl-field input { background: var(--input-bg, var(--cream)); color: var(--ink); border-color: var(--line); }
.gate-form .nl-consent { color: var(--ink-soft); }
.gate-form .nl-consent a { color: var(--teal); }
.gate-form .nl-msg.ok { color: var(--teal); }
.gate-form .nl-msg.err { color: #c9575a; }
.ep-places, .ep-hosts { margin-top: 34px; }
.places-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.place { display: grid; grid-template-columns: 40px 120px 1fr; gap: 14px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.place .stop-num { width: 34px; height: 34px; font-size: 1rem; box-shadow: none; }
.place-media img { width: 120px; height: 84px; object-fit: cover; border-radius: 10px; }
.place-title { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; margin: 0 0 2px; }
.place-title a { color: var(--ink); }
.place p { margin: 4px 0 0; font-size: 0.86rem; color: var(--ink-soft); }
.hosts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.host-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s; }
a.host-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.host-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.host-initial { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--teal-soft); color: var(--teal-deep); font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; }
.host-body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.host-badge { font-size: 0.66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--yellow); background: var(--teal-deep); padding: 3px 8px; border-radius: 999px; justify-self: start; }
.host-body b { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.host-body p { margin: 0; font-size: 0.85rem; color: var(--ink-soft); }
.host-body small { color: var(--teal); font-weight: 700; font-size: 0.78rem; }

/* ---------- breadcrumb e tempo di lettura ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.8rem; margin-bottom: 14px; color: rgba(255, 255, 255, 0.75); }
.breadcrumb a { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.breadcrumb a:hover { color: var(--yellow); }
.article-hero.no-media .breadcrumb { color: rgba(255, 255, 255, 0.75); }
.read-time { color: rgba(255, 255, 255, 0.8); }
.read-time::before { content: "·"; margin-right: 8px; }

/* ---------- ticker ultim'ora ---------- */
.ticker {
  display: flex;
  align-items: stretch;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  height: 46px;
}
.ticker-label {
  display: flex;
  align-items: center;
  padding: 0 18px;
  background: var(--yellow);
  color: #3a2f00;
  font-family: var(--font-script);
  font-size: 1.25rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-track { flex: 1; overflow: hidden; position: relative; }
.ticker-track::before, .ticker-track::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 1;
  pointer-events: none;
}
.ticker-track::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.ticker-track::after { right: 0; background: linear-gradient(270deg, var(--paper), transparent); }
.ticker-run {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 46px;
  width: max-content;
  padding-left: 24px;
  animation: ticker 60s linear infinite;
}
.ticker:hover .ticker-run { animation-play-state: paused; }
.ticker-run a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 0.9rem; font-weight: 600; white-space: nowrap; }
.ticker-run a:hover span { color: var(--teal); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- esplora per tema ---------- */
.theme-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.theme-tile {
  --tile: var(--teal);
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--tile);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.25s;
}
.theme-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.theme-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1); }
.theme-tile:hover img { transform: scale(1.08); }
.theme-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, color-mix(in srgb, var(--tile) 82%, black) 100%);
  transition: opacity 0.25s;
}
.theme-tile-body { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; color: #fff; }
.theme-tile-name { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.15; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }
.theme-tile-count { display: block; font-size: 0.78rem; font-weight: 600; opacity: 0.85; margin-top: 4px; transform: translateY(6px); opacity: 0; transition: 0.25s; }
.theme-tile:hover .theme-tile-count { transform: none; opacity: 0.95; }

/* ---------- manifesto con contatori ---------- */
.manifesto {
  margin-top: 42px;
  background:
    radial-gradient(700px 300px at 10% 0%, rgba(15, 138, 128, 0.14), transparent 60%),
    radial-gradient(600px 300px at 95% 100%, rgba(249, 216, 90, 0.18), transparent 60%),
    var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.manifesto-inner { padding: 60px 22px 56px; text-align: center; }
.manifesto .script-accent { display: inline-block; font-size: 1.7rem; }
.manifesto-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.3;
  max-width: 880px;
  margin: 10px auto 40px;
  color: var(--ink);
}
.counters { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.counter { min-width: 150px; }
.counter b { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; color: var(--teal); line-height: 1; }
.counter span { display: block; margin-top: 8px; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }

/* luce che segue il cursore sulla banda serie tv */
.tv-band { position: relative; overflow: hidden; }
.tv-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 420px at var(--mx, 50%) var(--my, 50%), rgba(249, 216, 90, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.tv-band:hover::before { opacity: 1; }
.tv-band > .container { position: relative; }

/* ---------- newsletter ---------- */
.newsletter {
  position: relative;
  overflow: hidden;
  margin: 40px 0 10px;
  border-radius: var(--radius);
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(249, 216, 90, 0.22), transparent 60%),
    var(--teal-deep);
  color: #fff;
  box-shadow: var(--shadow);
}
.newsletter-art {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  border: 14px dashed rgba(249, 216, 90, 0.25);
  animation: spin 40s linear infinite;
  pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.newsletter-inner { position: relative; padding: 30px 32px 28px; }
.newsletter .script-accent { color: var(--yellow); }
.newsletter-title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin: 6px 0 8px; line-height: 1.25; }
.newsletter-desc { margin: 0 0 18px; color: rgba(255, 255, 255, 0.82); max-width: 620px; }
.nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl-row { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; gap: 10px; }
.nl-field { display: grid; gap: 4px; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.7); }
.nl-field input {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 10px;
  padding: 11px 13px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.nl-field input::placeholder { color: rgba(255, 255, 255, 0.45); }
.nl-field input:focus { border-color: var(--yellow); background: rgba(255, 255, 255, 0.12); }
.nl-consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 16px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.82); line-height: 1.45; }
.nl-consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--yellow); }
.nl-consent a { color: var(--yellow); text-decoration: underline; text-underline-offset: 2px; }
.nl-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nl-msg { font-size: 0.9rem; font-weight: 600; }
.nl-msg.ok { color: var(--yellow); }
.nl-msg.err { color: #ffb4a8; }
.newsletter .btn:disabled { opacity: 0.6; cursor: default; }

/* ---------- experience: catalogo e scheda ---------- */
.exp-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  background: var(--teal-deep);
  color: #fff;
}
.exp-hero .hero-media { animation: kenburns 30s ease-in-out infinite alternate; }
.exp-overlay { background: linear-gradient(180deg, rgba(13, 71, 68, 0.15) 0%, rgba(13, 71, 68, 0.88) 100%); }
.exp-hero-content { padding-top: 90px; padding-bottom: 70px; width: 100%; }
.exp-hero .script-accent { color: var(--yellow); }
.exp-hero .hero-title { font-size: clamp(2rem, 5vw, 3.4rem); margin: 4px 0 10px; }
.exp-hero .hero-excerpt { margin-bottom: 14px; }
.exp-count { font-size: 0.95rem; color: rgba(255, 255, 255, 0.8); }
.exp-count b { color: var(--yellow); font-family: var(--font-display); font-size: 1.35rem; }
.exp-section { padding-top: 0; }
.exp-filters {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: -34px 0 22px;
  box-shadow: var(--shadow);
}
.exp-filter { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: center; }
.exp-filter-label { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.exp-scroll-wrap { display: flex; align-items: center; gap: 8px; min-width: 0; }
.exp-scroller {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px;
  flex: 1;
  min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
}
.exp-scroller::-webkit-scrollbar { display: none; }
.exp-scroller .filter-chip { flex: 0 0 auto; scroll-snap-align: start; white-space: nowrap; }
.filter-chip small { font-size: 0.72rem; font-weight: 600; opacity: 0.65; margin-left: 2px; }
.filter-chip.on small { opacity: 0.85; }
.exp-scroll-btn {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--teal-deep);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.exp-scroll-btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.exp-toolbar { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.exp-result { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.filter-chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.filter-chip:hover { border-color: var(--teal); color: var(--teal); }
.filter-chip.on { background: var(--teal); border-color: var(--teal); color: #fff; }
.exp-card .card-media { position: relative; }
.exp-type {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(13, 71, 68, 0.85);
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.exp-where { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; color: var(--teal-deep); }
:root[data-theme="dark"] .exp-where { color: var(--teal); }
.exp-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.78rem; color: var(--ink-soft); margin-top: 2px; }
.exp-meta span { display: inline-flex; align-items: center; gap: 5px; }
.exp-card[hidden] { display: none; }
.side-box-exp { background: var(--teal-soft); }
.side-box-exp .script-accent { font-size: 1.3rem; }
.exp-sheet { margin: 0; display: grid; gap: 8px; }
.exp-row { display: grid; grid-template-columns: 96px 1fr; gap: 10px; font-size: 0.88rem; padding-bottom: 8px; border-bottom: 1px solid color-mix(in srgb, var(--teal) 18%, transparent); }
.exp-row:last-child { border-bottom: 0; }
.exp-row dt { color: var(--ink-soft); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; padding-top: 2px; }
.exp-row dd { margin: 0; color: var(--ink); font-weight: 500; }
.exp-cta { margin-top: 14px; width: 100%; text-align: center; }

/* ---------- serie tv: player + stagioni + puntate ---------- */
.theater {
  background:
    radial-gradient(1000px 420px at 90% -10%, rgba(249, 216, 90, 0.12), transparent 60%),
    var(--teal-deep);
  color: #fff;
  padding-bottom: 64px;
}
:root[data-theme="dark"] .theater { background: radial-gradient(1000px 420px at 90% -10%, rgba(242, 207, 82, 0.08), transparent 60%), #0a1f1d; }
.theater-head { padding-top: 38px; padding-bottom: 22px; }
.theater-head .list-title { color: #fff; margin: 2px 0 0; }
.theater .script-accent { color: var(--yellow); }
.theater-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 30px; align-items: start; }
.player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: opacity 0.25s;
}
.player.switching { opacity: 0.35; }
.player iframe, .player img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.player-empty { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, 0.7); }
.now-playing { padding: 22px 6px 0; }
.now-playing .ep-tag { color: var(--yellow); }
.now-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.25; margin: 8px 0 10px; }
.now-desc { color: rgba(255, 255, 255, 0.8); margin: 0 0 16px; max-width: 700px; }
.btn-sm-round { border-color: var(--yellow); color: var(--yellow); padding: 8px 16px; font-size: 0.85rem; }
.btn-sm-round:hover { background: var(--yellow); color: #3a2f00; }

.season-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.season-tab {
  display: flex;
  flex-direction: column;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.2;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.season-tab small { font-weight: 500; font-size: 0.68rem; opacity: 0.7; }
.season-tab:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-1px); }
.season-tab.on { background: var(--yellow); border-color: var(--yellow); color: #3a2f00; }
.season-tab.on small { opacity: 0.85; }

.ep-list {
  list-style: none;
  margin: 0;
  padding: 0 6px 0 0;
  display: grid;
  gap: 8px;
  max-height: 640px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}
.ep-item a {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.ep-item a:hover { background: rgba(255, 255, 255, 0.11); }
.ep-item.on a { background: rgba(249, 216, 90, 0.14); border-color: rgba(249, 216, 90, 0.65); }
.ep-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; }
.ep-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-num {
  position: absolute;
  left: 6px;
  bottom: 6px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
}
.ep-item.on .ep-num { background: var(--yellow); color: #3a2f00; }
.ep-info { min-width: 0; }
.ep-item-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1.3;
}
.ep-item-meta { display: block; font-size: 0.73rem; color: var(--yellow); margin-top: 4px; opacity: 0.9; }

/* ---------- home: colonna laterale ---------- */
.home-columns { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.home-side { min-width: 0; }
.side-sticky { position: sticky; top: 96px; display: grid; gap: 22px; padding: 42px 0 10px; }
.side-box {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}
.side-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin: 0 0 14px; }
.popular-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.popular-list li { display: flex; gap: 14px; align-items: baseline; }
.popular-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
  opacity: 0.55;
  min-width: 24px;
}
.popular-list h3 { font-size: 0.92rem; font-weight: 600; margin: 0; line-height: 1.35; }
.popular-list h3 a { color: var(--ink); }
.popular-list h3 a:hover { color: var(--teal); }
.popular-list time { font-size: 0.78rem; color: var(--ink-soft); }
.side-seasons { display: flex; flex-wrap: wrap; gap: 8px; }
.side-seasons a {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 30px;
  padding: 0 9px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-deep);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.side-seasons a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.side-all-eps { display: inline-block; margin-top: 12px; font-size: 0.84rem; font-weight: 700; color: var(--teal-deep); }
.side-all-eps:hover { color: var(--teal); }
.side-box-social { background: var(--teal-soft); }
.side-box-social p { margin: 0 0 14px; font-size: 0.92rem; color: var(--teal-deep); }
.side-social { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- pagine elenco ---------- */
.list-hero {
  background:
    radial-gradient(900px 300px at 90% -30%, rgba(249, 216, 90, 0.25), transparent 60%),
    var(--teal-soft);
  padding: 52px 0 40px;
  border-bottom: 1px solid var(--line);
}
.tv-hero {
  background:
    radial-gradient(900px 300px at 90% -30%, rgba(249, 216, 90, 0.18), transparent 60%),
    var(--teal-deep);
  color: #fff;
  border-bottom: 0;
}
.list-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 4px 0 8px; letter-spacing: -0.01em; }
.list-desc { margin: 0; color: var(--ink-soft); max-width: 640px; }
.tv-hero .list-desc { color: rgba(255, 255, 255, 0.85); }
.empty { color: var(--ink-soft); padding: 30px 0; }

.pagination { display: flex; align-items: center; gap: 18px; justify-content: center; padding: 36px 0 20px; }
.page-link {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--teal-deep);
}
.page-link:hover { border-color: var(--teal); color: var(--teal); }
.page-info { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- articolo ---------- */
.article { padding-top: 46px; }
.article-head { text-align: left; }
.article-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 12px 0 14px;
}
.article-lead { font-size: 1.12rem; color: var(--ink-soft); margin: 0 0 10px; }
.article-cover { margin: 28px auto 0; max-width: 1100px; }
.article-cover img { border-radius: var(--radius); width: 100%; max-height: 620px; object-fit: cover; box-shadow: var(--shadow); }
.video-embed { position: relative; aspect-ratio: 16 / 9; margin-top: 28px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.prose { padding-top: 26px; padding-bottom: 8px; font-size: 1.04rem; }
.prose p { margin: 0 0 1.2em; }
.prose > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.1em;
  font-weight: 700;
  float: left;
  line-height: 0.85;
  padding: 4px 10px 0 0;
  color: var(--teal);
}
.prose h2, .prose h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.25; margin: 1.6em 0 0.6em; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.2rem; }
.prose img { border-radius: 14px; margin: 1.4em auto; height: auto; max-width: 100%; }
.prose figure, .prose .wp-caption, .prose .wp-block-image, .prose table { margin: 1.4em 0; width: auto !important; max-width: 100% !important; }
.prose table { display: block; overflow-x: auto; }
.prose video, .prose iframe { max-width: 100%; }
.prose figcaption { font-size: 0.85rem; color: var(--ink-soft); text-align: center; margin-top: 8px; }
.prose blockquote {
  border-left: 4px solid var(--yellow);
  margin: 1.4em 0;
  padding: 4px 0 4px 20px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--teal-deep);
}
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose iframe { max-width: 100%; border-radius: 14px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }

.article-foot { padding: 18px 22px 8px; }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
.share span { font-weight: 700; font-size: 0.88rem; color: var(--ink-soft); margin-right: 4px; }
.share a {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-deep);
}
.share a:hover { border-color: var(--teal); color: var(--teal); }
.related { padding-bottom: 40px; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: 90px 22px; }
.nf .btn { margin-top: 18px; }

/* ---------- footer ---------- */
.site-footer { background: var(--teal-deep); color: rgba(255, 255, 255, 0.85); margin-top: 60px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr 1.1fr;
  gap: 32px;
  padding: 36px 22px 22px;
}
.footer-brand img { width: 124px; height: auto; }
.footer-brand p { font-size: 0.86rem; margin: 12px 0 14px; max-width: 320px; line-height: 1.5; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  transition: background 0.15s;
}
.footer-social a:hover { background: var(--teal); }
.footer-col h4, .footer-col .footer-h {
  color: var(--yellow);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 4px 0 10px;
}
.footer-h4-gap { margin-top: 18px !important; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-col a { color: rgba(255, 255, 255, 0.85); font-size: 0.88rem; }
.footer-col a:hover { color: #fff; }
.footer-seasons { display: flex; flex-wrap: wrap; gap: 7px; }
.footer-seasons a {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 0.15s, border-color 0.15s;
}
.footer-seasons a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.footer-all-eps { display: inline-block; margin-top: 10px; font-size: 0.82rem; color: var(--yellow) !important; font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 14px;
  padding-bottom: 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- banner cookie ---------- */
.cookie-banner {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 120;
  max-width: 430px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(10, 30, 28, 0.3);
  padding: 18px 20px;
  animation: cookie-in 0.5s cubic-bezier(0.2, 0.8, 0.3, 1.05) both;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 14px; font-size: 0.88rem; line-height: 1.55; }
.cookie-banner a { text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 9px 18px; font-size: 0.86rem; }
.cookie-btn-min { border-width: 1.5px; }
.cookie-banner.hide { animation: cookie-out 0.35s ease both; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
@keyframes cookie-out { to { opacity: 0; transform: translateY(24px) scale(0.97); } }
@media (max-width: 560px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* ---------- effetti e animazioni ---------- */

/* transizioni fluide tra le pagine (browser che supportano le View Transitions) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation-duration: 0.22s; }
::view-transition-new(root) { animation-duration: 0.22s; }

/* comparsa progressiva allo scroll */
.rv { opacity: 0; transform: translateY(26px); }
.rv-in {
  animation: rv-rise 0.85s cubic-bezier(0.16, 0.8, 0.3, 1) both;
  animation-delay: var(--d, 0ms);
}
@keyframes rv-rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* l'evidenziatore giallo dei titoli si "disegna" quando appare */
.section-head .section-title::after {
  transform: scaleX(0);
  transform-origin: left;
}
.section-head.rv-in .section-title::after {
  transition: transform 0.7s 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
  transform: scaleX(1);
}

/* hero cinematografico: zoom lento + ingresso scaglionato dei contenuti */
.hero { overflow: hidden; }
.hero-media { animation: kenburns 26s ease-in-out infinite alternate; will-change: transform; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero-content > * { opacity: 0; animation: rv-rise 0.8s cubic-bezier(0.16, 0.8, 0.3, 1) both; }
.hero-slide:not(.on) .hero-content > * { animation: none; }
.hero-content > :nth-child(1) { animation-delay: 0.12s; }
.hero-content > :nth-child(2) { animation-delay: 0.24s; }
.hero-content > :nth-child(3) { animation-delay: 0.36s; }
.hero-content > :nth-child(4) { animation-delay: 0.48s; }
.hero-content > :nth-child(5) { animation-delay: 0.6s; }

/* header che si compatta durante lo scroll */
.site-header { transition: box-shadow 0.25s, background 0.25s; }
.site-header.scrolled { box-shadow: 0 8px 28px rgba(13, 71, 68, 0.14); }
.header-inner { transition: min-height 0.25s ease; }
.scrolled .header-inner { min-height: 60px; }
:root[data-theme="dark"] .site-header.scrolled { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5); }

/* riflesso sui bottoni */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 42%;
  left: -70%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

/* micro-interazioni */
.chip { transition: transform 0.15s, box-shadow 0.15s; }
.chip:hover { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(13, 71, 68, 0.18); }
.popular-list li { transition: transform 0.2s; }
.popular-list li:hover { transform: translateX(5px); }
.footer-social a { transition: background 0.15s, transform 0.2s; }
.footer-social a:hover { transform: translateY(-3px) rotate(-6deg); }
.card { transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.22s; }
.card:hover .card-media img { filter: saturate(1.1); }
.card-media img { transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1), filter 0.3s; }
.ep-card { transition: transform 0.2s ease, background 0.2s, box-shadow 0.2s; transform-style: preserve-3d; }
.ep-card:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22); }
.ep-play::before {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 2px solid rgba(249, 216, 90, 0);
  transition: 0.3s;
}
.ep-card:hover .ep-play::before {
  border-color: rgba(249, 216, 90, 0.55);
  animation: ring 1.4s ease-out infinite;
}
@keyframes ring {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}
.theme-toggle:active { transform: rotate(160deg) scale(0.9); }

/* barra di avanzamento lettura */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 90;
  pointer-events: none;
}

/* il tratteggio del viaggio (motivo del logo) */
.route-divider { color: var(--teal); opacity: 0.45; margin: 26px 0 -14px; width: 100%; overflow: hidden; }
.route-divider svg { width: 100%; height: 44px; display: block; }
.route-path { animation: dashmove 30s linear infinite; }
@keyframes dashmove { to { stroke-dashoffset: -440; } }

/* scrollbar coordinata */
html { scrollbar-color: color-mix(in srgb, var(--teal) 55%, transparent) transparent; scrollbar-width: thin; }

/* rispetto della preferenza "riduci animazioni" */
@media (prefers-reduced-motion: reduce) {
  .rv, .hero-content > * { opacity: 1; transform: none; animation: none; }
  .hero-media, .route-path, .ep-play::before { animation: none; }
  .section-head .section-title::after { transform: scaleX(1); }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .theme-grid { grid-template-columns: repeat(3, 1fr); }
  .theater-grid { grid-template-columns: 1fr; }
  .article-layout, .itin-layout { grid-template-columns: 1fr; gap: 30px; }
  .article-main { max-width: none; }
  .stop-card { grid-template-columns: 1fr; }
  .stop-media img { max-height: 220px; }
  .carousel-track > .card { flex-basis: calc((100% - 24px) / 2); }
  .ep-list { max-height: 440px; }
  .home-columns { grid-template-columns: 1fr; }
  .side-sticky { position: static; padding-top: 10px; }
  .grid-cat { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  /* strisce a scorrimento laterale per le sezioni in evidenza */
  .mobile-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0 -22px;
    padding: 4px 22px 14px;
  }
  .mobile-scroll::-webkit-scrollbar { display: none; }
  .mobile-scroll > * { flex: 0 0 78%; scroll-snap-align: start; }
  .mobile-scroll-tiles > * { flex-basis: 46%; }
  .mobile-scroll-tiles { aspect-ratio: auto; }
  .exp-filter { grid-template-columns: 1fr; gap: 6px; }
  .exp-scroll-btn { display: none; }
  .exp-filters { margin-top: -20px; padding: 14px 14px; }
  .nl-row { grid-template-columns: 1fr; }
  .search-form input { width: 90px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 12px 18px 18px;
  }
  body.nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .has-sub .sub { position: static; display: grid; box-shadow: none; border: 0; padding: 0 0 0 16px; }
  .nav-toggle {
    display: grid;
    gap: 4px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 8px;
  }
  .nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { min-height: 440px; }
  .hero-slider { min-height: 560px; }
  .hero-slide .hero-content { padding-top: 60px; padding-bottom: 84px; }
  .hero-slide .hero-title { font-size: 1.55rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-slide .hero-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.92rem; margin-bottom: 16px; }
  .hero-kicker { font-size: 1.4rem; }
  .btn { padding: 12px 20px; }
  .filter-chip, .season-tab, .share a { min-height: 38px; display: inline-flex; align-items: center; }
  .section-head { flex-wrap: wrap; gap: 10px; }
  .carousel-arrows { margin-left: auto; }
  .stop { grid-template-columns: 34px 1fr; gap: 12px; }
  .stop-num { width: 34px; height: 34px; font-size: 1rem; }
  .stops::before { left: 16px; }
  .now-playing { padding: 16px 0 0; }
  .side-sticky { gap: 16px; }
  .article-hero-content { padding-top: 56px; padding-bottom: 28px; }
  .article-hero .hero-title { font-size: 1.5rem; }
  .manifesto-inner { padding: 44px 22px 40px; }
  .counter { min-width: 120px; }
  .exp-hero { min-height: 340px; }
  .exp-hero-content { padding-top: 60px; padding-bottom: 54px; }
  .newsletter-inner { padding: 24px 20px 22px; }
  .newsletter-title { font-size: 1.25rem; }
  .theme-tile { aspect-ratio: 1 / 1; }
  .theme-tile-name { font-size: 1.05rem; }
  .theme-tile-count { opacity: 0.95; transform: none; }
  .next-ep { padding: 16px; gap: 14px; }
  .countdown span { min-width: 52px; }
  .carousel-track > .card { flex-basis: 84%; }
  .theme-grid { grid-template-columns: repeat(2, 1fr); }
  .place { grid-template-columns: 34px 1fr; }
  .place-media { grid-column: 2; }
  .ticker-label { font-size: 1.05rem; padding: 0 12px; }
  .counters { gap: 26px; }
  .article-hero { min-height: 360px; }
  .stack .card-media { width: 104px; min-width: 104px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .header-inner { gap: 12px; }
  .brand img { width: 108px; }
}

/* ---------- home v3: hero con colonna, destinazioni, banda tv chiara, magazine ---------- */
.hero-wrap { display: grid; grid-template-columns: 1fr 360px; background: var(--teal-deep); }
.hero-split { min-height: 540px; }
.hero-split .hero-slide .hero-content { padding: 70px 48px 100px; max-width: 780px; }
.hero-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}
.hero-split .hero-nav { left: 48px; right: 48px; bottom: 30px; }
.hero-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 26px 22px;
  background: linear-gradient(180deg, #0b3d3a, #0d4744);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-mini {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
  align-items: center;
  color: #fff;
  padding: 10px;
  border-radius: 14px;
  transition: background 0.15s, transform 0.15s;
}
.hero-mini:hover { background: rgba(255, 255, 255, 0.08); transform: translateX(4px); }
.hero-mini img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.hero-mini-cat {
  --chip: var(--yellow);
  display: block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--chip) 55%, #fff);
  margin-bottom: 4px;
}
.hero-mini b {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.3;
}

.dest-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.dest-grid-all { grid-template-columns: repeat(4, 1fr); }
.dest-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--teal-deep);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.25s;
}
.dest-grid-all .dest-tile { aspect-ratio: 4 / 3; }
.dest-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.dest-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1); }
.dest-tile:hover img { transform: scale(1.07); }
.dest-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(13, 71, 68, 0.92)); }
.dest-tile-body { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; color: #fff; }
.dest-tile-name { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.15; }
.dest-tile-sub { display: block; font-size: 0.78rem; opacity: 0.9; margin-top: 4px; line-height: 1.35; }
.dest-tile-count { display: block; font-size: 0.72rem; font-weight: 700; color: var(--yellow); margin-top: 6px; }
.dest-tile-all { background: var(--teal); display: grid; place-items: center; }
.dest-tile-all::after { background: none; }
.dest-tile-all .italy { width: 56%; color: rgba(255, 255, 255, 0.32); margin-bottom: 44px; transition: transform 0.3s, color 0.3s; }
.dest-tile-all:hover .italy { transform: scale(1.06); color: rgba(255, 255, 255, 0.45); }
.dest-tile-all .dest-tile-name { font-size: 1rem; }
.dest-map { height: 340px; border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; }
.chip-region { display: inline-flex; align-items: center; gap: 5px; }
.dest-hero .breadcrumb { margin-bottom: 8px; }

.tv-band-light { background: var(--paper); color: var(--ink); margin: 42px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tv-band-light::before { display: none; }
.tv-band-light .script-accent { color: var(--teal); }
.tv-band-light .section { padding-top: 44px; padding-bottom: 44px; }
.tv-band-light .next-ep { margin-bottom: 28px; }
.tv-grid { display: grid; grid-template-columns: 240px 1fr 330px; gap: 28px; align-items: stretch; }
.tv-intro { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.tv-intro p { color: var(--ink-soft); font-size: 0.95rem; margin: 10px 0 18px; }
.tv-name { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin: 4px 0 0; text-transform: uppercase; letter-spacing: 0.02em; color: var(--teal-deep); line-height: 1.15; }
.tv-main { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--teal-deep); min-height: 320px; box-shadow: var(--shadow-sm); }
.tv-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1); }
.tv-main:hover img { transform: scale(1.04); }
.tv-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(13, 71, 68, 0.9)); }
.tv-main .ep-play { z-index: 2; }
.tv-main:hover .ep-play svg { transform: scale(1.1); background: var(--teal); color: #fff; }
.tv-main-body { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; color: #fff; }
.tv-badge { display: inline-block; background: var(--yellow); color: #3a2f00; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.tv-main-body b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.25; }
.tv-list { display: flex; flex-direction: column; gap: 6px; }
.section-head-sm { margin-bottom: 8px; }
.section-head-sm .section-title { font-size: 1.05rem; }
.tv-item { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; color: var(--ink); transition: background 0.15s; }
.tv-item:hover { background: var(--teal-soft); }
.tv-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--teal-deep); }
.tv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ep-play-sm svg { width: 12px; height: 12px; padding: 7px; }
.tv-item b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; line-height: 1.3; }
.tv-item time { font-size: 0.75rem; color: var(--ink-soft); }

.mag-card .card-media { position: relative; aspect-ratio: 4 / 3; }
.chip-onphoto { position: absolute; left: 12px; bottom: 12px; background: var(--chip); color: #fff; }
.mag-card .card-body { gap: 6px; }
.mag-card time { font-size: 0.78rem; color: var(--ink-soft); }

/* menu a tendina, lingua */
.nav-chevron { opacity: 0.7; }
.main-nav .has-sub > a { display: inline-flex; align-items: center; gap: 3px; }
.has-sub .sub { min-width: 230px; padding: 10px; }
.has-sub .sub a { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.has-sub .sub a small { color: var(--ink-soft); font-weight: 600; font-size: 0.74rem; }
.has-sub .sub .sub-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; color: var(--teal); }
.lang-switch {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--teal-deep);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  transition: border-color 0.15s, color 0.15s;
}
.lang-switch:hover { border-color: var(--teal); color: var(--teal); }
.lang-bar { background: var(--teal-soft); color: var(--teal-deep); }

@media (max-width: 1240px) {
  .tv-grid { grid-template-columns: 200px 1fr 290px; }
}
@media (max-width: 1020px) {
  .hero-wrap { grid-template-columns: 1fr; }
  .hero-side { flex-direction: row; overflow-x: auto; padding: 12px 16px; gap: 8px; scrollbar-width: none; border-left: 0; }
  .hero-side::-webkit-scrollbar { display: none; }
  .hero-mini { flex: 0 0 270px; grid-template-columns: 84px 1fr; padding: 8px; }
  .hero-mini b { font-size: 0.88rem; -webkit-line-clamp: 2; }
  .tv-grid { grid-template-columns: 1fr 1fr; }
  .tv-intro { grid-column: 1 / -1; }
  .dest-grid-all { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  .tv-grid { grid-template-columns: 1fr; }
  .tv-main { min-height: 240px; }
  .hero-split .hero-slide .hero-content { padding: 60px 22px 92px; }
  .hero-split .hero-nav { left: 22px; right: 22px; }
  .dest-grid.mobile-scroll > * { flex: 0 0 46%; aspect-ratio: 4 / 5; }
  .mag-grid { grid-template-columns: 1fr 1fr; }
  .has-sub .sub a { justify-content: flex-start; }
  .lang-switch { width: 34px; height: 34px; min-width: 34px; }
}
@media (max-width: 560px) {
  .dest-grid-all { grid-template-columns: 1fr 1fr; }
  .mag-grid { grid-template-columns: 1fr; }
  .hero-split { min-height: 500px; }
  .tv-name { font-size: 1.3rem; }
}
:root[data-theme="dark"] .tv-name { color: var(--teal); }
:root[data-theme="dark"] .tv-band-light { background: var(--paper); }
@media (max-width: 1020px) {
  .hero-side { justify-content: flex-start; }
}
@media (max-width: 800px) {
  .dest-grid.mobile-scroll { display: flex; }
}

/* ---------- banner evento / partner ---------- */
.event-section { padding-top: 34px; }
.event-banner {
  display: grid;
  grid-template-columns: minmax(260px, 46%) 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(900px 300px at 100% 0%, rgba(249, 216, 90, 0.22), transparent 60%),
    var(--teal-deep);
  color: #fff;
  box-shadow: var(--shadow);
  min-height: 300px;
}
.event-art { position: relative; min-height: 240px; background: #f4e9d2; }
.event-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1); }
.event-banner:hover .event-art img { transform: scale(1.03); }
.event-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 70%, var(--teal-deep) 100%); pointer-events: none; }
.event-body { padding: 34px 38px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.event-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.event-kicker { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.event-status { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.25); padding: 3px 10px; border-radius: 999px; }
.event-status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 999px; background: var(--yellow); margin-right: 7px; box-shadow: 0 0 0 0 rgba(249, 216, 90, 0.6); animation: event-pulse 1.8s infinite; }
@keyframes event-pulse { to { box-shadow: 0 0 0 7px rgba(249, 216, 90, 0); } }
.event-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.1; margin: 0; }
.event-when { display: flex; align-items: center; gap: 7px; margin: 0; font-weight: 700; color: var(--yellow); font-size: 0.98rem; }
.event-text { margin: 0; color: rgba(255, 255, 255, 0.86); max-width: 560px; font-size: 0.98rem; }
.event-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
:root[data-theme="dark"] .event-banner { background: radial-gradient(900px 300px at 100% 0%, rgba(242, 207, 82, 0.14), transparent 60%), #0b2f2c; }
@media (max-width: 800px) {
  .event-banner { grid-template-columns: 1fr; }
  .event-art { min-height: 200px; }
  .event-art::after { background: linear-gradient(180deg, transparent 70%, var(--teal-deep) 100%); }
  .event-body { padding: 22px 20px 26px; }
}

/* ---------- richieste cliente: colonna hero scura, barra laterale a scorrimento ---------- */
.hero-side { background: #0a0f0e; border-left: 1px solid rgba(255, 255, 255, 0.06); }
.hero-wrap { background: #0a0f0e; }
.side-box-picks { padding-bottom: 0; overflow: hidden; }
.side-scroll { max-height: 430px; overflow: hidden; position: relative; margin-top: 8px; -webkit-mask-image: linear-gradient(180deg, #000 85%, transparent); mask-image: linear-gradient(180deg, #000 85%, transparent); }
.side-scroll-run { display: flex; flex-direction: column; animation: side-scroll calc(var(--n, 5) * 5s) linear infinite; }
.side-scroll:hover .side-scroll-run { animation-play-state: paused; }
@keyframes side-scroll { to { transform: translateY(-50%); } }
.pick { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.pick img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.pick b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; line-height: 1.3; margin: 4px 0 2px; }
.pick:hover b { color: var(--teal); }
.pick time { font-size: 0.75rem; color: var(--ink-soft); }
.chip-sm { font-size: 0.62rem; padding: 2px 8px; }
@media (prefers-reduced-motion: reduce) { .side-scroll-run { animation: none; } }

/* banner evento: locandina intera, mai tagliata (sfondo crema come il manifesto) */
.event-banner { grid-template-columns: minmax(300px, 54%) 1fr; }
.event-art { background: #f3e8d4; }
.event-art img { object-fit: contain; object-position: center; }
.event-art-cover img { object-fit: cover; object-position: left center; }
.event-art::after { background: linear-gradient(90deg, transparent 90%, rgba(13, 71, 68, 0.3) 100%); }
@media (max-width: 800px) {
  .event-art { aspect-ratio: 8 / 3; min-height: 0; }
  .event-art::after { display: none; }
}

/* hero fisso + colonna destra che scorre da sola */
.hero-static .hero-slide { position: relative; opacity: 1; visibility: visible; min-height: 540px; }
.hero-static .hero-slide .hero-content { padding-bottom: 70px; }
.hero-side-scroll { justify-content: flex-start; padding: 0 22px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent); }
.hero-side-run { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; animation: side-scroll calc(var(--n, 6) * 4.5s) linear infinite; will-change: transform; }
.hero-side-scroll:hover .hero-side-run { animation-play-state: paused; }
@media (max-width: 1020px) {
  .hero-side-scroll { padding: 12px 16px; -webkit-mask-image: none; mask-image: none; }
  .hero-side-run { flex-direction: row; animation: none; padding: 0; gap: 8px; }
  .hero-side-run .hero-mini:nth-child(n+11) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-side-run { animation: none; } }
/* la colonna destra non deve allungare la riga dell'hero */
.hero-side-scroll { height: 0; min-height: 100%; box-sizing: border-box; }
@media (max-width: 1020px) { .hero-side-scroll { height: auto; min-height: 0; } }
/* hero fisso: la slide deve riempire tutta la colonna (era un flex item largo quanto il testo) */
.hero-static { display: block; }
.hero-static .hero-slide { width: 100%; }
/* niente zoom al passaggio del mouse sulle locandine intere: uscirebbero dal riquadro */
.event-banner:hover .event-art img { transform: none; }
.event-banner:hover .event-art-cover img { transform: scale(1.03); }

/* ---------- accessibilità e prestazioni (Lighthouse) ---------- */
.lang-switch { color: var(--ink); }
:root[data-theme="dark"] .section-more, :root[data-theme="dark"] .side-all-eps, :root[data-theme="dark"] .footer-all-eps, :root[data-theme="dark"] .page-link { color: var(--teal); }
.dest-tile-body { background: rgba(6, 32, 30, 0.74); padding: 10px 12px; border-radius: 12px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); left: 10px; right: 10px; bottom: 10px; }
.dest-tile-count { color: #ffe680; }
.footer-col .footer-h { font-family: var(--font-body); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 12px; color: var(--yellow); }
.yt-facade { cursor: pointer; background: #000; }
.yt-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; padding: 0; cursor: pointer; }
.yt-play .ep-play svg { width: 34px; height: 34px; padding: 18px; }
.yt-facade:hover .ep-play svg { transform: scale(1.1); background: var(--teal); color: #fff; }
.prose img, .article-body img { height: auto; max-width: 100%; }
.cookie-close { position: absolute; top: 8px; right: 10px; border: 0; background: transparent; color: var(--ink-soft); font-size: 1.3rem; cursor: pointer; line-height: 1; padding: 4px 8px; }
.cookie-banner { position: fixed; }
.prose-plain p::first-letter, .prose-plain > p:first-of-type::first-letter { float: none; font-size: inherit; font-family: inherit; line-height: inherit; margin: 0; padding: 0; color: inherit; font-weight: inherit; }

/* ---------- immagini negli articoli: dimensione e allineamento scelti nell'editor ---------- */
.prose figure.img-s { width: 33% !important; } .prose figure.img-m { width: 60% !important; } .prose figure.img-full { width: 100% !important; }
.prose figure.img-left { float: left; margin: 0.4em 1.6em 1em 0; } .prose figure.img-right { float: right; margin: 0.4em 0 1em 1.6em; }
.prose figure.img-s img, .prose figure.img-m img, .prose figure.img-full img { width: 100%; max-height: none; }
.prose figcaption:empty { display: none; }
.prose::after { content: ""; display: block; clear: both; }
.prose hr { border: 0; border-top: 2px dashed var(--line); margin: 2em 0; }
.prose u { text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.95rem; } .prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; } .prose th { background: var(--teal-soft); }
.prose [style*="text-align: center"] { text-align: center; } .prose [style*="text-align: right"] { text-align: right; }
@media (max-width: 560px) { .prose figure.img-s, .prose figure.img-m { width: 100% !important; float: none; margin: 1.4em 0; } }
