:root {
  --cream: #FBF6F1;
  --cream-deep: #F4EBE3;
  --blush: #E3CFC8;
  --blush-soft: #EEDFD9;
  --maroon: #5A1F1B;
  --maroon-soft: #7A332B;
  --ink: #3A2A26;
  --gold: #C9A05B;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--ink);
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.serif { font-family: 'Fraunces', serif; }

/* ── TOP BAR ── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 0 20px;
  position: relative;
  z-index: 10;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-crest {
  width: 26px;
  height: auto;
}

.logo-text {
  font-size: 14px;
  color: var(--maroon);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.lang-switch {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.8);
  border-radius: 20px;
  padding: 4px 6px;
  font-size: 12px;
  font-weight: 600;
}

.lang-switch span {
  padding: 3px 10px;
  border-radius: 14px;
  cursor: pointer;
}

.lang-switch .active {
  background: var(--maroon);
  color: #fff;
}


/* ── HERO ── */
.hero {
  position: relative;
  padding: 40px 0 10px 24px;
  overflow: hidden;
}

.hero-swirl {
  position: absolute;
  top: -30px;
  left: -70px;
  width: 260px;
  z-index: 0;
  pointer-events: none;
}

.grand-tour-badge {
  position: absolute;
  top: 4px;
  right: 20px;
  width: 78px;
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-right: 24px;
}

.hero-dates {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}

.hero-presents {
  font-size: 12.5px;
  color: var(--maroon-soft);
  opacity: 0.85;
  margin-top: 3px;
}

.hero-logotype-wrap {
  margin: 12px 0 0 -4px;
}

.hero-logotype {
  width: 100%;
  max-width: 300px;
  display: block;
}

.hero-sub {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink);
  opacity: 0.8;
  max-width: 280px;
  line-height: 1.5;
}

.hero-photo-wrap {
  position: relative;
  z-index: 1;
  margin: 22px -24px -10px 18%;
}

.hero-photo {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 45% 92%;
  border-radius: 60px 0 0 60px;
  box-shadow: -10px 16px 36px rgba(90,31,27,0.22);
}

/* ── CTA ROW ── */
.cta-row {
  display: flex;
  gap: 10px;
  padding: 28px 20px 8px 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.cta-row::-webkit-scrollbar { display: none; }

.cta-btn {
  flex: 0 0 auto;
  background: #fff;
  border: 1.5px solid var(--blush);
  color: var(--maroon);
  font-size: 13px;
  font-weight: 500;
  padding: 11px 18px;
  border-radius: 24px;
  white-space: nowrap;
  text-decoration: none;
  font-family: 'Jost', sans-serif;
}

.cta-btn.primary {
  background: var(--maroon);
  color: #fff;
  border: none;
}

/* ── SECTIONS ── */
.section {
  padding: 32px 22px 10px 22px;
  position: relative;
  z-index: 2;
}

.section h2 {
  font-size: 26px;
  color: var(--maroon);
  font-weight: 600;
}

.section h2 span { font-style: italic; font-weight: 400; }

.section-sub {
  font-size: 13px;
  opacity: 0.65;
  margin-top: 4px;
}

/* ── DAY CARDS ── */
.day-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px 18px;
  margin-top: 16px;
  border: 1px solid var(--cream-deep);
  box-shadow: 0 4px 16px rgba(90,31,27,0.05);
}

.day-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.day-title {
  font-size: 20px;
  color: var(--maroon);
  margin-top: 3px;
  font-weight: 600;
}

.event-row {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  align-items: flex-start;
}

.event-time {
  font-size: 12px;
  font-weight: 700;
  color: var(--maroon-soft);
  width: 42px;
  flex-shrink: 0;
  padding-top: 2px;
}

.event-text strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

.event-text span {
  font-size: 12.5px;
  color: var(--ink);
  opacity: 0.6;
  line-height: 1.4;
}

.see-all {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--maroon);
  text-decoration: none;
  padding: 12px;
  border: 1.5px solid var(--blush);
  border-radius: 24px;
  background: #fff;
}

/* ── TAVOLOZZA ── */
.tavolozza-block {
  background: var(--maroon);
  border-radius: 22px;
  padding: 26px 22px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.tavolozza-block::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  top: -60px;
  right: -60px;
}

.tavolozza-block h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

.tavolozza-block p {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 8px;
  line-height: 1.6;
}

.tav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.tav-item {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 12px 6px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tav-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  display: block;
  border: 2px solid rgba(255,255,255,0.3);
}

.tav-link {
  display: block;
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  padding: 11px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 24px;
}

/* ── INSTALL BANNER ── */
.install-banner {
  margin: 28px 22px;
  background: var(--blush-soft);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.install-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--maroon);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.install-text strong {
  display: block;
  font-size: 13.5px;
  color: var(--maroon);
}

.install-text span {
  font-size: 11.5px;
  opacity: 0.7;
}

.install-banner button {
  margin-left: auto;
  background: var(--maroon);
  color: #fff;
  border: none;
  font-size: 12px;
  padding: 9px 16px;
  border-radius: 20px;
  font-weight: 600;
  flex-shrink: 0;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
}

/* ── BOTTOM NAV ── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: rgba(251,246,241,0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--blush-soft);
  display: flex;
  justify-content: space-around;
  padding: 10px 10px 20px 10px;
  z-index: 100;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: var(--ink);
  opacity: 0.45;
  text-decoration: none;
  font-weight: 500;
}

.nav-item.active {
  color: var(--maroon);
  opacity: 1;
  font-weight: 700;
}

.nav-icon { font-size: 18px; }

/* ── CORPO ARTICOLO (news) ── */
.article-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
}
.article-body > p:first-child {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--maroon-soft);
  font-weight: 500;
}
.article-body p { margin: 0 0 1.15em; }
.article-body h2,
.article-body h3 {
  font-family: 'Fraunces', serif;
  color: var(--maroon);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  margin: 1.7em 0 0.55em;
  padding-top: 0.9em;
  border-top: 1px solid var(--blush-soft);
}
.article-body h2:first-child,
.article-body h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.article-body strong { color: var(--maroon); font-weight: 600; }
.article-body a { color: var(--maroon); text-decoration: underline; text-underline-offset: 2px; }
.article-body ul, .article-body ol { margin: 0 0 1.15em; padding-left: 22px; }
.article-body li { margin-bottom: 0.4em; }
.article-body img { max-width: 100%; border-radius: 14px; display: block; margin: 1.2em 0; }
.article-body blockquote {
  margin: 1.2em 0;
  padding: 10px 16px;
  border-left: 3px solid var(--blush);
  background: var(--cream-deep);
  border-radius: 0 12px 12px 0;
  font-style: italic;
}

/* wordmark della home fuori stagione (al posto del logotype dell'evento) */
.hero-wordmark {
  font-size: 40px;
  line-height: 1.05;
  color: var(--maroon);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ── APPUNTAMENTI ──
   Il sito è sempre attivo: l'unica cosa che va e viene è il programma.
   Gli elementi .con-appuntamenti compaiono solo quando ci sono appuntamenti,
   .senza-appuntamenti solo quando non ce ne sono. */
html[data-appuntamenti="no"] .con-appuntamenti { display: none !important; }
html[data-appuntamenti="si"] .senza-appuntamenti { display: none !important; }

/* ── IN EVIDENZA: l'evento in corso, ospite della home ── */
.evidenza-box {
  background: var(--maroon);
  color: var(--cream);
  border-radius: 18px;
  padding: 20px 22px;
}
.evidenza-kicker {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.75;
}
.evidenza-title { font-size: 25px; line-height: 1.15; font-weight: 700; margin-top: 6px; }
.evidenza-when {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.85;
  margin-top: 6px;
}
.evidenza-sub { font-size: 14px; line-height: 1.55; opacity: 0.85; margin: 10px 0 0; }
.evidenza-cta {
  display: inline-block;
  margin-top: 14px;
  background: var(--cream);
  color: var(--maroon);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 24px;
}

/* ── COOKIEYES: il pulsante di revoca consenso non deve coprire la bottom-nav ── */
.cky-btn-revisit-wrapper {
  bottom: 92px !important;
}

/* ── NEWSLETTER: bannerino + modale ── */
.nl-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  width: calc(100% - 40px);
  max-width: 440px;
  margin: 22px auto 6px;
  padding: 13px 16px;
  background: var(--maroon);
  color: var(--cream);
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(90, 31, 27, 0.25);
}
.nl-banner .nl-banner-arrow { margin-left: auto; flex-shrink: 0; }
.nl-banner:hover { background: var(--maroon-soft); }

.nl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(58, 42, 38, 0.55);
  backdrop-filter: blur(3px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.nl-overlay[hidden] { display: none; }
.nl-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--cream);
  border-radius: 20px;
  padding: 26px 22px 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}
.nl-modal h2 {
  font-family: 'Fraunces', serif;
  color: var(--maroon);
  font-size: 23px;
  margin: 0 34px 6px 0;
  line-height: 1.15;
}
.nl-modal .nl-intro { font-size: 14px; line-height: 1.55; margin: 0 0 14px; opacity: 0.85; }
.nl-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--blush-soft);
  color: var(--maroon);
  font-size: 15px;
  cursor: pointer;
  line-height: 1;
}
.nl-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid var(--blush);
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  background: #fff;
}
.nl-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.45;
  cursor: pointer;
}
.nl-privacy { font-size: 12px; text-decoration: underline; color: inherit; opacity: 0.7; }
.nl-msg { display: none; margin: 10px 0 0; font-size: 13.5px; font-weight: 600; }

/* icone SVG inline nella bottom-nav: stessa altezza delle emoji,
   colore ereditato dallo stato della voce (currentColor) */
.nav-icon svg { display: block; height: 18px; width: auto; margin: 0 auto; }

/* spazio sotto per il nav fisso */
body { padding-bottom: 80px; }

/* ── CONTATTACI (FAB) ── */
.contact-fab {
  position: fixed;
  bottom: 92px;
  right: 18px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  border: none;
  padding: 13px 20px;
  border-radius: 30px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(0,0,0,0.28);
  cursor: pointer;
}

.contact-fab span {
  color: #fff;
  opacity: 1;
}

/* ── PAGE HEADER (subpages) ── */
.page-header {
  padding: 22px 22px 6px 22px;
  position: relative;
  z-index: 2;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--maroon-soft);
  text-decoration: none;
  opacity: 0.8;
}

.page-header h1 {
  font-size: 30px;
  color: var(--maroon);
  font-weight: 600;
  margin-top: 12px;
}

.page-header h1 em { font-style: italic; font-weight: 400; }

.page-header .section-sub { margin-top: 6px; }

/* ── SUBSECTION TITLES ── */
.subsection-title {
  font-size: 18px;
  color: var(--maroon);
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 4px;
}

.subsection-intro {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.6;
  margin-bottom: 6px;
}

/* ── FILTER CHIPS ── */
.filter-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 16px 0;
  scrollbar-width: none;
}

.filter-chips::-webkit-scrollbar { display: none; }

.filter-chip {
  flex: 0 0 auto;
  background: #fff;
  border: 1.5px solid var(--blush);
  color: var(--maroon);
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  white-space: nowrap;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
}

.filter-chip.active {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
}

/* ── VENUE / LIST CARDS ── */
.venue-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  margin-top: 12px;
  border: 1px solid var(--cream-deep);
  box-shadow: 0 4px 16px rgba(90,31,27,0.05);
}

.venue-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  font-family: 'Fraunces', serif;
}

.venue-place {
  font-size: 11.5px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 3px;
}

.venue-desc {
  font-size: 12.5px;
  color: var(--ink);
  opacity: 0.7;
  line-height: 1.5;
  margin-top: 6px;
}

.venue-meta {
  font-size: 11.5px;
  color: var(--maroon-soft);
  font-weight: 600;
  margin-top: 8px;
  display: block;
}

/* event description under event-text (programma) */
.event-desc {
  font-size: 12px;
  opacity: 0.6;
  line-height: 1.5;
  margin-top: 4px;
  display: block;
}

.event-meta {
  font-size: 11.5px;
  color: var(--maroon-soft);
  font-weight: 600;
  margin-top: 4px;
  display: block;
}

/* ── TAVOLOZZA DETAIL ── */
.tav-detail-card {
  display: flex;
  gap: 14px;
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  margin-top: 12px;
  border: 1px solid var(--cream-deep);
  box-shadow: 0 4px 16px rgba(90,31,27,0.05);
  align-items: center;
}

.tav-detail-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(90,31,27,0.15);
}

.tav-detail-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--maroon);
  font-family: 'Fraunces', serif;
}

.tav-detail-tag {
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tav-detail-text {
  font-size: 12.5px;
  opacity: 0.75;
  line-height: 1.5;
  margin-top: 4px;
}

/* callout box */
.callout {
  background: var(--blush-soft);
  border-radius: 16px;
  padding: 16px 18px;
  margin-top: 22px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--maroon);
}

.callout strong { font-weight: 700; }

/* ── MAP ── */
.map-embed {
  width: 100%;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  margin-top: 10px;
  border: 1px solid var(--cream-deep);
}

.map-embed iframe { width: 100%; height: 100%; border: 0; }

.map-cat-title {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 26px;
}

.map-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 13px 16px;
  margin-top: 10px;
  border: 1px solid var(--cream-deep);
  text-decoration: none;
  color: var(--ink);
}

.map-item-text { display: flex; flex-direction: column; }
.map-item-name { font-size: 13.5px; font-weight: 500; }
.map-item-place { font-size: 11px; opacity: 0.55; margin-top: 2px; }
.map-item-arrow { color: var(--maroon-soft); font-size: 14px; flex-shrink: 0; }

/* ── BOOKING BUTTON (programma) ── */
.book-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: #25D366;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 20px;
  font-family: 'Jost', sans-serif;
}

.book-btn.tel { background: var(--maroon-soft); }
.book-btn.ext { background: var(--maroon); }
.book-btn.wa { background: #25D366; }
.book-btn.wa span { color: #fff; }

a.book-btn span {
  color: #fff;
  opacity: 1;
  font-size: inherit;
  font-weight: inherit;
}

/* ── DIRECTIONS BUTTON (venue cards) ── */
.venue-directions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--maroon);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--blush);
  font-family: 'Jost', sans-serif;
}

/* ══════════════════════════════════════
   DESKTOP LANDING (solo su schermi larghi)
   ══════════════════════════════════════ */

.desktop-landing { display: none; }

@media (min-width: 860px) {
  body { max-width: none; padding-bottom: 0; }
  .mobile-view { display: none; }
  .desktop-landing { display: block; }
  .contact-fab { bottom: 24px; }
  .topbar { max-width: 1100px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
}

.dl-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 40px 40px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.dl-hero-text { position: relative; z-index: 2; }

.dl-hero-crest { width: 56px; margin-bottom: 22px; }

.dl-dates {
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}

.dl-presents {
  font-size: 14px;
  color: var(--maroon-soft);
  opacity: 0.85;
  margin-top: 4px;
}

.dl-logotype { width: 100%; max-width: 420px; display: block; margin-top: 18px; }

.dl-sub {
  margin-top: 20px;
  font-size: 17px;
  color: var(--ink);
  opacity: 0.8;
  max-width: 420px;
  line-height: 1.6;
}

.dl-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  background: var(--maroon);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 15px 28px;
  border-radius: 30px;
}

.dl-hero-photo { position: relative; z-index: 1; }

.dl-hero-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 100px 0 0 100px;
  box-shadow: -14px 20px 44px rgba(90,31,27,0.22);
  display: block;
}

.dl-badge { position: absolute; top: 0; right: 40px; width: 100px; z-index: 3; }

.dl-programma {
  max-width: 1100px;
  margin: 40px auto 0 auto;
  padding: 40px;
}

.dl-programma h2 { font-size: 34px; color: var(--maroon); font-weight: 600; }
.dl-programma .section-sub { margin-top: 6px; margin-bottom: 30px; }

.dl-days-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.dl-days-grid .day-card { margin-top: 0; }

.dl-tipicita-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  background: #fff;
  border: 1.5px solid var(--blush);
  color: var(--maroon);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 30px;
}

.dl-qr {
  max-width: 1100px;
  margin: 20px auto 60px auto;
  padding: 0 40px;
}

.dl-qr-inner {
  background: var(--maroon);
  border-radius: 28px;
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.dl-qr-inner h3 { color: #fff; font-size: 26px; font-weight: 600; }
.dl-qr-inner p { color: #fff; opacity: 0.85; margin-top: 10px; font-size: 15px; line-height: 1.6; max-width: 440px; }

.dl-qr-code {
  width: 140px;
  height: 140px;
  border-radius: 16px;
  background: var(--cream);
  padding: 10px;
}

.dl-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 40px 50px 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  opacity: 0.6;
  font-size: 13px;
}

.dl-footer img { width: 32px; }

.dl-footer-privacy {
  margin-left: auto;
  color: var(--ink);
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .dl-hero { grid-template-columns: 1fr; }
  .dl-hero-photo { max-width: 380px; margin: 0 auto; }
  .dl-days-grid { grid-template-columns: 1fr; }
  .dl-qr-inner { grid-template-columns: 1fr; text-align: center; }
  .dl-qr-inner p { max-width: none; margin-left: auto; margin-right: auto; }
  .dl-qr-code { margin: 0 auto; }
}

/* ── MOBILE FOOTER (privacy link) ── */
.mobile-footer {
  text-align: center;
  padding: 24px 22px 10px 22px;
}

.mobile-footer a {
  font-size: 12px;
  color: var(--ink);
  opacity: 0.5;
  text-decoration: underline;
}

/* ── PROPOSTA SPECIALE (accordion) ── */
.proposal-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  margin-right: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--maroon);
  background: var(--blush-soft);
  border: none;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
}

.venue-proposal {
  display: none;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--blush);
}

.venue-proposal.open { display: block; }

.venue-proposal p {
  font-size: 12.5px;
  color: var(--ink);
  opacity: 0.78;
  line-height: 1.6;
  margin-top: 8px;
}

.venue-proposal p:first-child { margin-top: 0; }

/* ── BOTTONE DISATTIVATO (in attesa di link) ── */
.book-btn.soldout {
  background: #c62828;
  color: #fff;
  cursor: default;
  pointer-events: none;
  letter-spacing: 0.06em;
}
.book-btn.soldout span { color: #fff; }

.book-btn.disabled {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  background: var(--cream-deep);
  color: var(--ink);
  opacity: 0.55;
  border: 1.5px dashed var(--blush);
  padding: 8px 14px;
  border-radius: 20px;
  cursor: not-allowed;
  font-family: 'Jost', sans-serif;
}

.book-btn.disabled span { color: var(--ink); opacity: 1; }
/* ── NEWS ── */
.news-list { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.news-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--cream-deep);
  box-shadow: 0 4px 16px rgba(90,31,27,0.05);
  overflow: hidden;
}
.news-cover { width: 100%; height: 150px; object-fit: cover; display: block; }
.news-card-in { padding: 16px 18px; }
.news-date {
  font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.news-title { font-size: 19px; color: var(--maroon); margin-top: 4px; font-weight: 600; line-height: 1.2; }
.news-summary { font-size: 13.5px; color: var(--ink); opacity: 0.8; margin-top: 8px; line-height: 1.55; }
.news-body { font-size: 14px; color: var(--ink); margin-top: 10px; line-height: 1.6; }
.news-body p { margin-top: 10px; }
.news-body p:first-child { margin-top: 0; }
.news-empty { font-size: 13.5px; opacity: 0.6; margin-top: 16px; text-align: center; }

/* ══════════════════════════════════════════════════════════════════════
   HOME DESKTOP — impaginazione "da giornale" (≥1024px)
   Tutto ciò che segue vale SOLO da 1024px in su: sotto questa soglia il
   sito resta identico a prima, per costruzione.
   ══════════════════════════════════════════════════════════════════════ */

/* moduli che esistono solo nella versione desktop */
.poi-modulo { display: none; }
.news-secondarie { display: none; }

@media (min-width: 1024px) {

  body { max-width: none; padding-bottom: 40px; }

  /* ── TESTATA ── */
  .topbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 40px 0;
  }

  /* l'hero diventa il masthead: niente foto, identità centrata */
  .hero { padding: 26px 40px 0; max-width: 1200px; margin: 0 auto; text-align: center; }
  .hero-swirl,
  .hero-photo-wrap { display: none; }
  .hero-content { max-width: none; }
  .hero-wordmark { font-size: 46px; }
  .hero-sub { margin: 10px auto 0; max-width: 620px; }

  /* la barra di navigazione lascia il fondo e si mette sotto la testata */
  .bottom-nav {
    position: static;
    transform: none;
    max-width: 1200px;
    margin: 22px auto 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    border-top: 1px solid var(--blush);
    border-bottom: 1px solid var(--blush);
    justify-content: center;
    gap: 40px;
    padding: 12px 40px;
  }
  .nav-item { flex-direction: row; gap: 8px; font-size: 14px; opacity: 0.7; }
  .nav-icon svg { height: 15px; }

  .cta-row { display: none; }          /* la navigazione basta */
  .install-banner { display: none; }   /* l'installazione è cosa da telefono */

  /* ── Pagine interne (programma, gusto, mappa, news): colonna singola centrata ── */
  .contenuto { max-width: 760px; margin: 0 auto; padding: 0 40px; }

  /* ── HOME: griglia a due colonne (contenuto principale + rail) ── */
  .contenuto--home {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    column-gap: 36px;
    align-items: start;
  }
  .contenuto--home > .hero { grid-column: 1 / -1; order: 0; padding-left: 0; padding-right: 0; }
  .contenuto--home > .evidenza { grid-column: 1 / -1; order: 1; }
  .contenuto--home .news-home { grid-column: 1; order: 2; }
  .contenuto--home .rail      { grid-column: 2; order: 3; border-left: 1px solid var(--blush); padding-left: 28px; }
  .contenuto--home .tav-home  { grid-column: 1 / -1; order: 4; border-top: 3px double var(--blush); }

  .contenuto--home > section,
  .contenuto--home .rail > section { padding-left: 0; padding-right: 0; }
  .rail > section + section {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--blush);
  }

  /* ── NEWS: apertura grande + due notizie affiancate ── */
  .news-home .news-card { box-shadow: none !important; background: transparent !important; }
  .news-home .news-card > div { padding: 0 !important; }
  .news-home .news-card .serif { font-size: 34px !important; line-height: 1.1 !important; }
  .news-home .news-card p { font-size: 16.5px !important; line-height: 1.6 !important; max-width: 62ch; }

  .news-secondarie {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--blush);
  }
  .news-mini { text-decoration: none; color: inherit; display: block; }
  .news-mini-data {
    font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
    color: #9a6b1f; font-weight: 700;
  }
  .news-mini-titolo { font-size: 19px; line-height: 1.25; color: var(--maroon); font-weight: 700; margin: 5px 0 6px; }
  .news-mini-testo { font-size: 13.5px; line-height: 1.55; opacity: 0.75; margin: 0; }

  /* ── MODULO LUOGHI (solo desktop) ── */
  .poi-modulo { display: block; }
  .poi-voce { padding: 13px 0; border-bottom: 1px solid var(--blush-soft); }
  .poi-voce:last-of-type { border-bottom: 0; }
  .poi-voce-nome { font-size: 15.5px; line-height: 1.25; color: var(--maroon); font-weight: 700; }
  .poi-voce-meta {
    font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
    color: #9a6b1f; font-weight: 700; margin-top: 3px;
  }
  .poi-voce-desc { font-size: 12.5px; line-height: 1.5; opacity: 0.7; margin: 5px 0 0; }

  /* ── TAVOLOZZA: fascia orizzontale ── */
  .tav-home .tav-detail-card {
    display: block; text-align: center; background: transparent; box-shadow: none; padding: 0;
  }
  .tav-home .tav-detail-icon { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 10px; }
  .tav-home .subsection-intro { max-width: 70ch; }

  /* ── RAIL: titoli dei moduli in stile "rubrica" ── */
  .rail h2 { font-size: 20px; }
  .rail .section-sub { font-size: 12.5px; }
  .rail .day-card { padding: 12px 0; background: transparent; box-shadow: none; border-bottom: 1px solid var(--blush-soft); border-radius: 0; }
  .rail .day-title { font-size: 15.5px; }

  .mobile-footer { max-width: 1200px; margin-left: auto; margin-right: auto; }
  .contact-fab { bottom: 24px; }
}

/* La fascia Tavolozza va a 6 colonne solo se c'è davvero spazio */
@media (min-width: 1180px) {
  .tav-home .tav-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
}

/* descrizione iniziativa del programma (puo contenere HTML: p, br, strong) */
.prog-desc { font-size: 14px; line-height: 1.6; color: var(--ink); opacity: 0.85; }
.prog-desc p { margin: 0 0 0.6em; }
.prog-desc p:last-child { margin-bottom: 0; }
.prog-desc strong { color: var(--maroon); }

/* ── NEWS in HOME: card con copertina ── */
.news-card { display: block; text-decoration: none; color: inherit; background: #fff;
  border-radius: 16px; overflow: hidden; box-shadow: 0 2px 12px rgba(90,31,27,.08); }
.news-cover { width: 100%; height: 200px; object-fit: cover; display: block; }
.news-card-body { padding: 14px 16px; }
.news-card-data { font-size: 12px; font-weight: 700; color: var(--gold);
  text-transform: uppercase; letter-spacing: .03em; margin-bottom: 4px; }
.news-card-titolo { font-size: 19px; color: var(--maroon); font-weight: 700; line-height: 1.2; }
.news-card-testo { margin: 8px 0 0; color: #5b5b5b; font-size: 14px; line-height: 1.5; }
.news-card-leggi { display: inline-block; margin-top: 10px; color: var(--maroon); font-weight: 700; font-size: 14px; }
.news-mini-cover { width: 100%; height: 120px; object-fit: cover; border-radius: 8px;
  display: block; margin-bottom: 8px; }

@media (min-width: 1024px) {
  .news-home .news-card { box-shadow: none; background: transparent; border-radius: 0; }
  .news-home .news-card.has-cover .news-cover { height: 340px; border-radius: 6px; }
  .news-home .news-card-body { padding: 14px 0 0; }
  .news-home .news-card-titolo { font-size: 34px; line-height: 1.1; }
  .news-home .news-card-testo { font-size: 16.5px; line-height: 1.6; max-width: 62ch; }
}

/* ══════════════════════════════════════════════════════════════════════
   PROGRAMMA — calendario ad accordion (<details>). Mobile first.
   ══════════════════════════════════════════════════════════════════════ */

/* pastiglie di stato (una per riga) */
.pill {
  font-size: 11px; font-weight: 700; letter-spacing: .02em;
  padding: 3px 9px; border-radius: 20px; white-space: nowrap;
  background: var(--blush-soft); color: var(--maroon);
}
.pill-free { background: #e7f2ea; color: #1f7a43; }
.pill-paid { background: var(--cream-deep); color: var(--maroon-soft); }
.pill-book { background: var(--blush-soft); color: var(--maroon); }
.pill-sold { background: #c62828; color: #fff; }

/* giorno */
.prog-giorno { margin-top: 26px; }
.prog-giorno.is-past { display: none; }
.prog-giorno-tit {
  font-size: 19px; color: var(--maroon); font-weight: 700;
  text-transform: capitalize; margin: 0 0 6px;
  padding-bottom: 8px; border-bottom: 2px solid var(--blush);
}

/* riga = <details> */
.prog-item { border-bottom: 1px solid var(--blush-soft); }
.prog-item > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: baseline; gap: 12px;
  padding: 13px 4px; min-height: 44px; box-sizing: border-box;
}
.prog-item > summary::-webkit-details-marker { display: none; }
.prog-item > summary:focus-visible { outline: 2px solid var(--maroon); outline-offset: 2px; border-radius: 6px; }
.prog-ora {
  flex: 0 0 auto; min-width: 88px;
  font-size: 13px; font-weight: 700; color: var(--maroon-soft);
  font-variant-numeric: tabular-nums;
}
.prog-tit { flex: 1 1 auto; font-size: 15.5px; font-weight: 600; color: var(--maroon); line-height: 1.25; }
.prog-dove { flex: 0 0 auto; font-size: 12px; color: var(--ink); opacity: .6; }
.prog-item > summary .pill { flex: 0 0 auto; align-self: center; }
/* freccetta discreta a destra */
.prog-item > summary::after {
  content: '⌄'; flex: 0 0 auto; align-self: center;
  color: var(--maroon-soft); font-size: 16px; line-height: 1;
  transition: transform .15s ease;
}
.prog-item[open] > summary::after { transform: rotate(180deg); }

/* corpo aperto */
.prog-corpo { padding: 2px 4px 16px 4px; }
.prog-corpo > * + * { margin-top: 10px; }
.prog-sub { font-size: 15px; font-weight: 600; color: var(--maroon-soft); }
.prog-abstract { font-size: 14px; line-height: 1.55; color: var(--ink); opacity: .9; }
.prog-altre { font-size: 12.5px; color: var(--maroon-soft); font-weight: 600; }
.prog-note { font-size: 13.5px; line-height: 1.5; opacity: .85; }
.prog-maps { display: inline-block; font-size: 13px; font-weight: 700; color: var(--maroon); text-decoration: none; }
.prog-booknote { font-size: 13px; line-height: 1.5; opacity: .85; }
.prog-scadenza { font-size: 12.5px; font-weight: 700; color: var(--maroon-soft); }
.prog-corpo .book-btn { margin-top: 12px; }

/* desktop: la colonna resta stretta e leggibile (già .contenuto a 760px) */
@media (min-width: 1024px) {
  .prog-tit { font-size: 16.5px; }
  .prog-giorno-tit { font-size: 22px; }
}

.prog-prezzo { font-size: 13.5px; font-weight: 700; color: var(--maroon-soft); }
