/* ============================================================
   ViviToscana — Design System
   Portale turistico della Toscana
   ============================================================ */

/* ---------- TOKEN ---------- */
:root {
  --cream:        #FAF7F0;
  --cream-2:      #F3EEE3;
  --white:        #FFFFFF;
  --ink:          #272320;
  --ink-soft:     #5F584F;
  --olive:        #6B7444;
  --olive-deep:   #535C32;
  --terracotta:   #BA6A45;
  --blush:        #F3E6DB;
  --line:         #E7E0D2;
  --radius:       13px;
  --radius-sm:    9px;
  --shadow:       0 8px 30px rgba(39,35,32,.09);
  --shadow-sm:    0 4px 16px rgba(39,35,32,.07);
  --serif:        "Fraunces", Georgia, serif;
  --sans:         "Inter", system-ui, sans-serif;
  --wrap:         1200px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }

/* Rimuovi stili Joomla / Bootstrap se iniettati */
.container, .container-fluid { max-width: none !important; padding: 0 !important; }
.joomla-script-options { display: none; }

/* ---------- UTILITIES ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; line-height: 1.08; letter-spacing: -.01em; }
.eyebrow {
  font: 600 11px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--olive);
}

/* ============================================================
   HEADER
   ============================================================ */
.vt-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,247,240,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
.logo .name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
}
.logo .name svg { color: var(--olive); }
.logo .tag {
  font: 600 9px/1 var(--sans);
  letter-spacing: .22em;
  color: var(--ink-soft);
  margin-top: 5px;
  margin-left: 2px;
}
nav.main {
  display: flex;
  gap: 26px;
  align-items: center;
}
nav.main a {
  font: 500 15px/1 var(--sans);
  color: var(--ink);
  padding: 6px 0;
  position: relative;
  text-decoration: none;
}
nav.main a .car { font-size: 10px; color: var(--ink-soft); margin-left: 3px; }
nav.main a:hover { color: var(--olive); }
.actions {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink);
}
.ic {
  width: 21px;
  height: 21px;
  color: var(--ink);
  cursor: pointer;
  display: block;
}
.ic.dt { display: block; }
.lang {
  font: 600 14px/1 var(--sans);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink);
  padding: 0;
}
.mobnav { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #cdbfa3;
}
.hero .scene {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero .scene svg { width: 100%; height: 100%; display: block; }
.hero .veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(28,24,20,.62) 0%, rgba(28,24,20,.34) 42%, rgba(28,24,20,0) 72%);
}
.hero .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero h1 {
  color: #fff;
  font-size: clamp(44px, 6.4vw, 84px);
  font-weight: 500;
  max-width: 13ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero p.sub {
  color: rgba(255,255,255,.92);
  font-size: clamp(16px, 1.5vw, 20px);
  max-width: 42ch;
  margin: 22px 0 30px;
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 600 15px/1 var(--sans);
  padding: 15px 26px;
  border-radius: 999px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: .18s;
  text-decoration: none;
}
.btn .ar { transition: transform .18s; }
.btn:hover .ar { transform: translateX(3px); }
.btn-primary { background: var(--olive); color: #fff; }
.btn-primary:hover { background: var(--olive-deep); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }

/* Pannello flottante hero */
.float {
  position: absolute;
  right: max(28px, calc((100vw - var(--wrap)) / 2 + 28px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 300px;
  background: rgba(30,26,22,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  padding: 8px;
}
.float a {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 15px 16px;
  border-radius: 11px;
  transition: .15s;
  text-decoration: none;
}
.float a:hover { background: rgba(255,255,255,.08); }
.float a + a { border-top: 1px solid rgba(255,255,255,.12); }
.float .ti {
  font-family: var(--serif);
  font-size: 18px;
  color: #fff;
  font-weight: 500;
  display: block;
}
.float .de {
  font-size: 12.5px;
  color: rgba(255,255,255,.74);
  margin-top: 3px;
  line-height: 1.45;
  display: block;
}
.float svg { flex: 0 0 auto; color: #dcd2bf; margin-top: 2px; }

/* ============================================================
   INTRO BAND
   ============================================================ */
.intro {
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
}
.intro .wrap {
  display: grid;
  grid-template-columns: 170px 1.1fr 2fr;
  gap: 40px;
  align-items: center;
  padding: 42px 28px;
}
.intro .art { color: var(--olive); opacity: .85; }
.intro .lead {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { padding: 0 20px; border-left: 1px solid var(--line); }
.pillar:first-child { padding-left: 0; border-left: 0; }
.pillar svg { color: var(--olive); margin-bottom: 10px; }
.pillar .pt { font: 600 13.5px/1.3 var(--sans); margin-bottom: 5px; }
.pillar .pd { font-size: 12.5px; color: var(--ink-soft); line-height: 1.45; }

/* ============================================================
   SEZIONI CONTENUTO
   ============================================================ */
section.block { padding: 62px 0; }
section.block.alt { background: var(--white); }
.head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
  gap: 20px;
}
.head h2 { font-size: clamp(26px, 3vw, 34px); }
.seeall {
  font: 600 14px/1 var(--sans);
  color: var(--olive);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  text-decoration: none;
}
.seeall:hover { color: var(--olive-deep); }
.seeall .ar { transition: transform .18s; }
.seeall:hover .ar { transform: translateX(3px); }

/* ---------- RAIL (scroll orizzontale) ---------- */
.rail {
  display: grid;
  grid-auto-flow: column;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 9px; }
.rail.five  { grid-auto-columns: minmax(210px, 1fr); }
.rail.three { grid-auto-columns: minmax(300px, 1fr); }
.card { scroll-snap-align: start; }

/* ---------- PLACEHOLDER IMMAGINI (gradients) ---------- */
.ph {
  aspect-ratio: 4/3;
  position: relative;
}
.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 10%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.18));
}
.ph.h1 { background: linear-gradient(160deg, #cdb78a, #9c8a5d 55%, #6f7a48); }
.ph.h2 { background: linear-gradient(160deg, #c9b489, #8f9a5e 60%, #5f6c3c); }
.ph.h3 { background: linear-gradient(160deg, #a9c2c4, #7fa39a 55%, #5d7e6e); }
.ph.h4 { background: linear-gradient(160deg, #bcd0d6, #8fb0b6 55%, #caa57e); }
.ph.h5 { background: linear-gradient(160deg, #d6c2a0, #b89a74 55%, #8a6f54); }
.ph.w1 { background: linear-gradient(150deg, #cbb98c, #94935a 55%, #6c7846); }
.ph.w2 { background: linear-gradient(150deg, #c9a878, #b07f4f 55%, #7c5638); }
.ph.w3 { background: linear-gradient(150deg, #c2b79c, #9a8a72 55%, #746049); }
.ph.e1 { background: linear-gradient(160deg, #c8b888, #929a5d 60%, #5f6c3c); }
.ph.e2 { background: linear-gradient(160deg, #caa477, #9a5f3e 60%, #6f4326); }
.ph.e3 { background: linear-gradient(160deg, #c3ad8a, #8d7d56 60%, #5f5638); }
.ph.e4 { background: linear-gradient(160deg, #a9c2c4, #7497a0 55%, #566f74); }
.ph.e5 { background: linear-gradient(160deg, #c6bb90, #8f9a5e 60%, #5f6c3c); }

/* ---------- CARD DESTINAZIONE ---------- */
.dest {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: .2s;
  text-decoration: none;
  display: block;
}
.dest:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.dest .body { padding: 16px 17px 19px; }
.dest .body h3 { font-size: 21px; margin-bottom: 5px; }
.dest .body p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- CARD ESPERIENZA ---------- */
.exp { display: block; text-decoration: none; }
.exp .ph {
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  overflow: hidden;
}
.chip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font: 600 10px/1 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--olive);
  padding: 7px 11px;
  border-radius: 999px;
}
.chip.tc { background: var(--terracotta); }
.exp h3 { font-size: 18px; margin: 14px 0 4px; }
.exp p { font-size: 13px; color: var(--ink-soft); margin-bottom: 9px; line-height: 1.5; }
.meta {
  font: 500 12px/1 var(--sans);
  color: var(--ink-soft);
  display: flex;
  gap: 9px;
  align-items: center;
}
.meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-soft);
  opacity: .5;
}

/* ---------- CARD STORIA ---------- */
.story {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: .2s;
  text-decoration: none;
  display: block;
}
.story:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.story .ph { aspect-ratio: 16/10; }
.story .body { padding: 17px 18px 20px; }
.story .kc { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.story .kc .dt { font: 500 11.5px/1 var(--sans); color: var(--ink-soft); }
.story .body h3 { font-size: 21px; line-height: 1.18; margin-bottom: 6px; }
.story .body p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.news { background: var(--blush); }
.news .wrap {
  display: grid;
  grid-template-columns: 120px 1.3fr 1.3fr;
  gap: 34px;
  align-items: center;
  padding: 46px 28px;
}
.news .art { color: var(--olive); opacity: .75; }
.news h2 { color: var(--terracotta); font-size: 30px; font-weight: 500; }
.news p { font-size: 14.5px; color: var(--ink-soft); margin: 8px 0 0; line-height: 1.6; }
.nlform {
  display: flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  box-shadow: var(--shadow-sm);
}
.nlform input {
  border: 0;
  outline: 0;
  flex: 1;
  font: 500 15px/1 var(--sans);
  background: transparent;
  color: var(--ink);
}
.nlform input::placeholder { color: #a59c8f; }
.nlform button {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--olive);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .18s;
}
.nlform button:hover { background: var(--olive-deep); }

/* ============================================================
   FOOTER
   ============================================================ */
.vt-footer {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  padding: 48px 0 26px;
}
.fgrid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}
.fbrand .name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
}
.fbrand .name svg { color: var(--olive); }
.fbrand .tag {
  font: 600 9px/1 var(--sans);
  letter-spacing: .22em;
  color: var(--ink-soft);
  margin: 6px 0 18px;
}
.social { display: flex; gap: 14px; color: var(--ink-soft); }
.social a { text-decoration: none; }
.social a:hover { color: var(--olive); }
.fcol h4 {
  font: 600 12px/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 14px;
}
.fcol a {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 9px;
  text-decoration: none;
}
.fcol a:hover { color: var(--olive); }
.fbot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-soft);
}
.fbot .links { display: flex; gap: 18px; flex-wrap: wrap; }
.fbot a { text-decoration: none; }
.fbot a:hover { color: var(--olive); }

/* ============================================================
   PAGINE INTERNE (hub, articolo, tema, itinerario)
   ============================================================ */
.vt-main {
  min-height: 60vh;
  padding: 40px 0 64px;
}
.vt-main.no-hero {
  border-top: none;
}
.vt-content-area {
  max-width: 820px;
}

/* Breadcrumbs */
.vt-breadcrumb,
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}
.vt-breadcrumb a,
.breadcrumb a { color: var(--olive); text-decoration: none; }
.vt-breadcrumb a:hover,
.breadcrumb a:hover { color: var(--olive-deep); text-decoration: underline; }
.vt-breadcrumb .divider { opacity: .45; }

/* Joomla article output overrides */
.item-page h1,
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 20px;
}
.item-page h2 { font-family: var(--serif); font-size: 28px; font-weight: 500; margin: 40px 0 14px; }
.item-page h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 32px 0 10px; }
.item-page p  { font-size: 16px; line-height: 1.75; color: var(--ink); margin: 0 0 20px; }
.item-page img { border-radius: var(--radius-sm); }
.item-page ul, .item-page ol { padding-left: 22px; margin: 0 0 20px; }
.item-page li { margin-bottom: 8px; font-size: 16px; line-height: 1.6; }
.article-info { font-size: 13px; color: var(--ink-soft); margin-bottom: 28px; }
.article-info a { color: var(--olive); text-decoration: none; }

/* Blog/featured layout */
.blog .page-header h1,
.blog-featured .page-header h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 32px;
}
.blog-item { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.blog-item:last-child { border-bottom: 0; }
.blog-item h2 a { color: var(--ink); text-decoration: none; font-family: var(--serif); }
.blog-item h2 a:hover { color: var(--olive); }

/* Category list */
.category-list { list-style: none; padding: 0; }
.category-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.category-list li a { color: var(--ink); text-decoration: none; font-size: 16px; }
.category-list li a:hover { color: var(--olive); }

/* Hub macroarea / hub comune — struttura per contenuti futuri */
.vt-hub-header {
  margin-bottom: 48px;
}
.vt-hub-header .eyebrow { margin-bottom: 10px; display: block; }
.vt-hub-header h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 18px;
  line-height: 1.05;
}
.vt-hub-header .intro-text {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.65;
}
.vt-hub-hero-img {
  width: 100%;
  aspect-ratio: 16/7;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 48px;
}
.vt-hub-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vt-section-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 20px;
}
.vt-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vt-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ============================================================
   MODULO LANGUAGE SWITCHER
   ============================================================ */
.mod-languages { display: flex; gap: 8px; align-items: center; }
.mod-languages ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; }
.mod-languages li a {
  font: 600 14px/1 var(--sans);
  color: var(--ink);
  text-transform: uppercase;
  text-decoration: none;
  padding: 4px 0;
}
.mod-languages li.lang-active a { color: var(--olive); }
.mod-languages li a:hover { color: var(--olive); }

/* ============================================================
   RESPONSIVE MOBILE-FIRST
   ============================================================ */
@media (max-width: 980px) {
  nav.main { display: none; }
  .actions .ic.dt { display: none; }
  .burger { display: block; }
  .float { display: none; }

  .intro .wrap {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 32px 18px;
  }
  .intro .art { display: none; }
  .pillars {
    grid-template-columns: 1fr 1fr;
    gap: 22px 0;
  }
  .pillar { border-left: 0; padding: 0 14px 0 0; }

  .news .wrap { grid-template-columns: 1fr; gap: 20px; }
  .news .art { display: none; }

  .fgrid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .fbrand { grid-column: 1 / -1; }

  .mobnav.open {
    display: block;
    border-top: 1px solid var(--line);
    background: var(--cream);
  }
  .mobnav a {
    display: block;
    padding: 14px 28px;
    font: 500 16px/1 var(--sans);
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
  }
  .mobnav a:hover { color: var(--olive); }

  .vt-grid-2 { grid-template-columns: 1fr; }
  .vt-grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .hero { min-height: 78vh; }
  .pillars { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  section.block { padding: 44px 0; }
}

/* ============================================================
   HUB MACROAREA / HUB COMUNE (override category)
   ============================================================ */
.vt-page { background: var(--cream); }

/* override: le pagine interne non devono ereditare il padding di .vt-main */
.vt-interior .vt-main { padding: 0; }
.vt-interior .vt-content-area { max-width: none; }

/* ---- HERO HUB ---- */
.hub-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hub-hero.ph { aspect-ratio: auto; }
.hub-hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,14,.10) 0%, rgba(20,17,14,.20) 45%, rgba(20,17,14,.72) 100%);
}
.hub-hero__inner { position: relative; z-index: 2; width: 100%; padding-top: 28px; padding-bottom: 44px; }
.hub-hero .vt-breadcrumb { color: rgba(255,255,255,.85); margin-bottom: 22px; }
.hub-hero .vt-breadcrumb a { color: #fff; }
.hub-hero .vt-breadcrumb .divider { color: rgba(255,255,255,.6); }
.hub-hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 500;
  line-height: 1.02;
  text-shadow: 0 2px 24px rgba(0,0,0,.3);
  margin: 0;
}
.hub-hero .hub-sub {
  font-size: clamp(16px, 1.6vw, 21px);
  color: rgba(255,255,255,.92);
  max-width: 48ch;
  margin: 16px 0 0;
}
.hub-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.hub-badge {
  font: 600 11px/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.5);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 8px 13px;
  border-radius: 999px;
}
.hub-hero__actions { margin-top: 26px; }
.hub-hero__actions .btn-ghost.on { background: var(--terracotta); border-color: var(--terracotta); }

/* ---- INTRO + FACT CHIPS ---- */
.hub-intro { background: var(--cream-2); border-bottom: 1px solid var(--line); }
.hub-intro__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 44px 28px;
}
.hub-intro__text p { font-size: 16.5px; line-height: 1.75; color: var(--ink-soft); }
.hub-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fact-chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.fact-chip__label { display: block; font: 600 11px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--olive); }
.fact-chip__value { display: block; font-family: var(--serif); font-size: 18px; color: var(--ink); margin-top: 5px; }

/* ---- TEMA CARD ---- */
.tema-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: .2s; display: block; }
.tema-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.tema-card .ph { aspect-ratio: 16/11; }
.tema-card .body { padding: 18px 19px 20px; }
.tema-card .body h3 { font-size: 22px; margin-bottom: 7px; }
.tema-card .body p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 12px; }

/* ---- ITINERARIO CARD ---- */
.itin-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: .2s; padding-bottom: 16px; }
.itin-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.itin-card .ph { aspect-ratio: 16/10; border-radius: 0; }
.itin-card h3 { font-size: 19px; margin: 14px 18px 5px; }
.itin-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; margin: 0 18px 10px; }
.itin-card .meta { margin: 0 18px; }

/* ---- MAPPA ---- */
.vt-map {
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

@media (max-width: 980px) {
  .hub-intro__inner { grid-template-columns: 1fr; gap: 26px; padding: 32px 18px; }
  .tema-grid.vt-grid-3 { grid-template-columns: 1fr; }
  .hub-hero { min-height: 52vh; }
  .vt-map { height: 320px; }
}

/* ============================================================
   HUB COMUNE
   ============================================================ */
.comune-tabs {
  position: sticky; top: 74px; z-index: 30;
  background: rgba(250,247,240,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.comune-tabs__inner { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.comune-tabs__inner::-webkit-scrollbar { display: none; }
.comune-tabs a {
  font: 500 14px/1 var(--sans);
  color: var(--ink-soft);
  padding: 16px 0;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.comune-tabs a:hover { color: var(--olive); border-bottom-color: var(--olive); }

.comune-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 44px;
  padding-top: 48px;
  padding-bottom: 64px;
  align-items: start;
}
.comune-sec { margin-bottom: 52px; scroll-margin-top: 130px; }
.comune-sec:last-child { margin-bottom: 0; }
.comune-intro { font-size: 16.5px; line-height: 1.75; color: var(--ink); margin-bottom: 22px; }
.comune-intro p { margin-bottom: 16px; }
.comune-facts { margin-top: 8px; }
.muted { color: var(--ink-soft); }
.comune-empty {
  font-size: 14.5px; color: var(--ink-soft);
  background: var(--cream-2); border: 1px dashed var(--line);
  border-radius: var(--radius-sm); padding: 20px 22px;
}

/* Sidebar */
.comune-aside { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 20px; }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.aside-card h3 { font-family: var(--serif); font-size: 19px; font-weight: 500; margin: 0 0 14px; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; flex-direction: column; gap: 2px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-k { font: 600 11px/1.2 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--olive); }
.info-v { font-size: 14.5px; color: var(--ink); }
.aside-map { padding: 22px; }
.vt-map--mini { height: 200px; margin-top: 2px; }
.nearby-list { list-style: none; padding: 0; margin: 0; }
.nearby-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.nearby-list li:last-child { border-bottom: 0; }
.nearby-list a { font-size: 15px; color: var(--ink); }
.nearby-list a:hover { color: var(--olive); }
.nearby-dist { font: 500 12.5px/1 var(--sans); color: var(--ink-soft); }
.aside-itin { background: linear-gradient(155deg, var(--olive), var(--olive-deep)); color: #fff; border: 0; }
.aside-itin h3 { color: #fff; margin: 6px 0 8px; }
.aside-itin p { font-size: 14px; color: rgba(255,255,255,.9); line-height: 1.55; margin-bottom: 16px; }
.aside-itin .btn-primary { background: #fff; color: var(--olive-deep); }
.aside-itin .btn-primary:hover { background: var(--cream); }

@media (max-width: 980px) {
  .comune-layout { grid-template-columns: 1fr; gap: 32px; }
  .comune-aside { position: static; }
  .comune-tabs { top: 0; }
}

/* ============================================================
   ARTICOLO "COSA VEDERE" (override article/default.php — classi vt-*)
   ============================================================ */
.vt-article .vt-hero, .vt-hub .vt-hero {
  position: relative; min-height: 56vh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: linear-gradient(160deg, #c9b489, #8f9a5e 60%, #5f6c3c);
}
/* Hero articolo: banner contenuto e centrato, allineato alla colonna di lettura */
.vt-article .vt-hero-article { max-width: 1040px; margin: 28px auto 0; border-radius: var(--radius); overflow: hidden; min-height: 52vh; }
.vt-article .vt-hero-article .vt-wrap { max-width: 100%; padding: 0 36px 40px; }
.vt-hero .scene { position: absolute; inset: 0; z-index: 0; }
.vt-hero .scene img { width: 100%; height: 100%; object-fit: cover; }
.vt-hero .veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,17,14,.1), rgba(20,17,14,.7)); }
.vt-hero .vt-wrap { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; width: 100%; padding: 0 28px 46px; }
.vt-chip { display: inline-block; font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.5); color: #fff; padding: 8px 13px; border-radius: 999px; margin-bottom: 14px; }
.vt-hero h1 { font-family: var(--serif); font-size: clamp(38px, 6vw, 72px); font-weight: 500; line-height: 1.03; text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.vt-hero .sub { font-size: clamp(16px,1.6vw,21px); color: rgba(255,255,255,.92); max-width: 50ch; margin-top: 14px; }
.vt-article .vt-content, .vt-hub .vt-wrap .vt-content { max-width: 720px; margin: 0 auto; padding: 40px 28px 64px; }
.vt-article .vt-content p { font-size: 17px; line-height: 1.8; color: var(--ink); margin-bottom: 22px; }
.vt-article .vt-content h2 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin: 44px 0 14px; }
.vt-article .vt-content h3 { font-family: var(--serif); font-size: 23px; font-weight: 500; margin: 32px 0 10px; }
.vt-article .vt-content img { border-radius: var(--radius-sm); margin: 24px 0; }
/* hub vt-* (blog.php) */
.vt-hub .vt-block { padding: 56px 0; }
.vt-hub .vt-block.alt { background: var(--white); }
.vt-hub .vt-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.vt-hub .vt-head h2 { font-family: var(--serif); font-size: clamp(26px,3vw,34px); font-weight: 500; margin-bottom: 24px; }
.vt-hub .vt-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.vt-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: .2s; display: block; }
.vt-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.vt-card .vt-ph { aspect-ratio: 4/3; background: linear-gradient(160deg, #cdb78a, #9c8a5d 55%, #6f7a48); }
.vt-card .vt-ph img { width: 100%; height: 100%; object-fit: cover; }
.vt-card .body { padding: 16px 17px 19px; }
.vt-card .body h3 { font-family: var(--serif); font-size: 20px; font-weight: 500; margin-bottom: 5px; }
.vt-card .body p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 980px) { .vt-hub .vt-grid { grid-template-columns: 1fr; } }
