/* Lato ospitato in locale: nessuna chiamata a Google, nessun
   trasferimento dell'IP dei visitatori. Gli unicode-range sono quelli
   originali, così latin-ext si scarica solo se la pagina lo richiede. */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/font/lato-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/font/lato-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/font/lato-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/font/lato-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/font/lato-900-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/font/lato-900-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ════════════════════════════════════════════════════════
   style.css  –  Stile unificato · Vini di Vignaioli
   ════════════════════════════════════════════════════════ */

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── VARIABILI ───────────────────────────────────────────── */
:root {
  --green:        #33b752;
  /* Il verde del marchio va benissimo come fondo, ma come TESTO su bianco
     si ferma a 2,61:1 e resta illeggibile a chi ha una vista ridotta.
     Questo è lo stesso verde (tonalità 134°, identica saturazione) solo
     più scuro: 5,52:1 su bianco e 4,66:1 sui pannelli verde chiaro. */
  --green-link:   #217836;
  --green-light:  #63ed7f;
  --green-muted:  #89ce5f;
  --green-badge:  #56ab4e;
  --cream:        #f4ecbd;
  --yellow-green: #afca08;
  --orange:       #edae44;
  --yellow:       #eded76;
  --dark:         #1a1a1a;
  --text:         #333333;
  --white:        #ffffff;
  --shadow:       0 0 10px 0 rgba(10,10,10,.55);
  --max:          960px;
  --radius:       25px;
}

/* ── BASE ────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  font-size: 15px; line-height: 1.7;
  color: var(--text); background: var(--white);
  padding-top: 80px;
}
a { color: var(--green-link); text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { opacity: .75; }

/* Chi naviga da tastiera deve vedere dove si trova: senza questo il
   focus è invisibile e il sito diventa impraticabile senza mouse.
   :focus-visible e non :focus, così il contorno non compare al clic. */
:focus-visible {
  outline: 3px solid var(--green-link);
  outline-offset: 2px;
  border-radius: 2px;
}
/* Sui fondi verdi il contorno verde sparirebbe: lì si usa il quasi-nero. */
.sec-green :focus-visible,
.sec-dark-green :focus-visible,
.biglietto-box :focus-visible,
.biglietto-note :focus-visible,
.hero-cta:focus-visible,
.btn-back:focus-visible,
.filter-btn.active:focus-visible,
.map-invito button:focus-visible { outline-color: var(--dark); }

/* Salta al contenuto: invisibile finché non si arriva col TAB, dove
   compare in cima. Evita di riattraversare tutto il menu a ogni pagina. */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--white); color: var(--dark);
  padding: 12px 20px; border: 3px solid var(--dark);
  border-radius: 0 0 6px 0; font-weight: 700;
}
.skip-link:focus { left: 0; opacity: 1; }
h1, h2, h3, h4, h5 { line-height: 1.25; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; }
strong { font-weight: 700; }
em { font-style: italic; }
hr { border: none; border-top: 1px solid rgba(0,0,0,.15); margin: 14px 0; }

/* ── HEADER ──────────────────────────────────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,.10);
  height: 80px; display: flex; align-items: center;
}
.hdr-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}
.logo a img { height: 52px; width: auto; }
nav ul { display: flex; align-items: center; gap: 6px; list-style: none; }
nav ul li a {
  font-size: 13px; font-weight: 700; color: var(--dark);
  padding: 6px 12px; border-radius: 4px;
  letter-spacing: .3px; text-transform: uppercase; transition: color .2s;
}
nav ul li a:hover, nav ul li.current a { color: var(--green-link); }
.has-sub { position: relative; }
.has-sub .sub-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid #eee; border-radius: 6px;
  min-width: 180px; box-shadow: 0 4px 16px rgba(0,0,0,.12);
  z-index: 100; padding: 6px 0; list-style: none;
}
/* :focus-within oltre a :hover — con il solo hover il sottomenu è
   display:none, quindi le sue voci restano fuori dal giro del TAB e
   "Altri espositori" diventa irraggiungibile senza mouse. */
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu { display: block; }
.has-sub .sub-menu li a {
  display: block; padding: 8px 16px; font-size: 13px;
  text-transform: none; font-weight: 400; color: var(--dark); border-radius: 0;
}
.has-sub .sub-menu li a:hover { color: var(--green-link); background: #f9f9f9; }
.hdr-social { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.hdr-social a { color: rgba(0,0,0,.45); transition: color .2s; }
.hdr-social a:hover { color: var(--green-link); opacity: 1; }
.burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.burger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; }
.mob-nav {
  display: none; flex-direction: column;
  position: fixed; top: 80px; left: 0; right: 0;
  background: #fff; border-top: 1px solid #eee;
  z-index: 999; padding: 16px 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.mob-nav.open { display: flex; }
.mob-nav a {
  color: var(--dark); padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 700; font-size: 14px; text-transform: uppercase;
}
.mob-nav a:last-child { border-bottom: none; }
.mob-nav a:hover { color: var(--green-link); }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sec { padding: 50px 0; }
.sec + .sec { border-top: 1px solid #f0f0f0; }
.sec-green { background: #dff0e3; padding: 30px 0; }.sec-dark-green { background: #dff0e3; padding: 40px 0; }
.sec-dark-green a { color: var(--green-link); font-weight: 700; text-decoration: underline; }
.sec-white { background: var(--white); }

/* ── BADGE ───────────────────────────────────────────────── */
.sec-badge { display: flex; justify-content: center; margin-bottom: 32px; }
.badge {
  border-radius: var(--radius); border: 2px solid rgba(0,0,0,.15);
  padding: 10px 40px; text-align: center;
}
.badge h1, .badge h2 { font-size: 28px; font-weight: 900; color: var(--dark); }
.badge.yg  { background: var(--yellow-green); }
.badge.yel { background: var(--yellow); }
.badge.grn { background: var(--green-badge); }

/* ── TABELLE (base comune) ───────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
tbody tr { border-bottom: 1px solid #f0f0f0; transition: background .15s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: #f7fdf8; }
tbody td { padding: 10px 14px; vertical-align: top; color: var(--text); line-height: 1.5; }
tbody td a { color: var(--green-link); word-break: break-all; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: #f7f7f7; border-top: 1px solid #eee; padding: 36px 24px; }
.ft-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.ft-social { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.ft-social a { color: rgba(0,0,0,.45); transition: color .2s; }
.ft-social a:hover { color: var(--green-link); opacity: 1; }
footer h3 { font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
footer p, footer a { font-size: 13px; color: var(--text); }
footer a:hover { color: var(--green-link); opacity: 1; }
footer img { max-height: 45px; width: auto; align-self: center; }


/* ════════════════════════════════════════════════════════
   INDEX
   ════════════════════════════════════════════════════════ */

/* Hero: locandina a sinistra, informazioni essenziali a destra.
   I dati (date, sede, prezzi) stanno anche nel manifesto, ma lì sono
   dentro un'immagine: qui sono testo, quindi leggibili dai motori di
   ricerca e dai lettori di schermo. */
.hero { background: var(--cream); padding: 46px 0; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 420px) 1fr;
  gap: 48px; align-items: center;
}
.hero-poster {
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
}
.hero-poster img { display: block; width: 100%; }
.hero-overline {
  font-size: 13px; font-weight: 900; letter-spacing: 2px;
  text-transform: uppercase; color: #8a7a2e; margin-bottom: 10px;
}
.hero h1 { font-size: 42px; font-weight: 900; color: var(--dark); line-height: 1.05; margin-bottom: 6px; }
.hero-sub { font-size: 17px; color: var(--text); margin-bottom: 26px; }
.hero-dati { border-top: 1px solid rgba(0,0,0,.12); margin-bottom: 26px; }
.hero-dati div {
  display: flex; gap: 18px; padding: 13px 0;
  border-bottom: 1px solid rgba(0,0,0,.12);
}
.hero-dati dt {
  flex: 0 0 96px; font-size: 12px; font-weight: 900;
  letter-spacing: 1px; text-transform: uppercase; color: #8a7a2e; padding-top: 3px;
}
.hero-dati dd { font-size: 17px; font-weight: 700; color: var(--dark); }
.hero-dati dd small { display: block; font-size: 14px; font-weight: 400; color: var(--text); margin-top: 2px; }
.hero-cta {
  /* Scritta scura e non bianca: sul verde del marchio il bianco si legge
     a 2,61:1, il quasi-nero a 6,08:1. Il colore del fondo resta identico. */
  display: inline-block; background: var(--green); color: var(--dark);
  font-weight: 900; font-size: 15px; letter-spacing: .5px;
  padding: 14px 30px; border-radius: 40px; text-decoration: none;
}
.hero-cta:hover { background: #2aa045; opacity: 1; }
.hero-nota { font-size: 13px; color: #6b6b6b; margin-top: 10px; }
@media (max-width: 860px) {
  .hero { padding: 30px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-poster { max-width: 420px; margin: 0 auto; }
  .hero h1 { font-size: 32px; }
}

.biglietti-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.biglietto-box {
  background: var(--green); color: var(--dark);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px 16px; text-align: center;
}
.biglietto-box h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.biglietto-box p { font-size: 14px; line-height: 1.6; }
.biglietto-box a {
  display: inline-block; margin-top: 12px;
  background: rgba(255,255,255,.35); color: var(--dark);
  border: 2px solid rgba(0,0,0,.35);
  padding: 8px 20px; border-radius: 20px;
  font-weight: 700; font-size: 13px; transition: background .2s;
}
.biglietto-box a:hover { background: rgba(255,255,255,.3); opacity: 1; }
.biglietto-note {
  background: var(--green); color: var(--dark);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px 20px; text-align: center;
  margin-top: 16px; font-size: 14px;
}

.programma-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.programma-box {
  background: var(--cream); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 24px;
}
.programma-box h2 {
  font-size: 22px; font-weight: 900; margin-bottom: 6px;
  padding-bottom: 8px; border-bottom: 2px solid rgba(0,0,0,.12);
}
.programma-box h4 { font-size: 13px; font-weight: 700; text-align: center; margin: 12px 0 4px; color: #555; }
.programma-box h4.underline { text-decoration: underline; }
.programma-box h3 { font-size: 16px; font-weight: 900; text-align: center; margin-bottom: 8px; color: var(--dark); }
.programma-box p { font-size: 14px; margin-bottom: 8px; }
.programma-box ul { list-style: disc; padding-left: 18px; font-size: 14px; }
.programma-box ul li { margin-bottom: 4px; }
.programma-box .libro-img { max-width: 100px; margin: 10px auto; }
.programma-box a { color: var(--dark); font-weight: 700; }
.programma-box a:hover { color: var(--green-link); opacity: 1; }
.programma-box .rosso { color: #ff0000; }

.master-grid { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: start; }
.master-grid img { max-width: 160px; border-radius: 6px; }
.master-grid .txt h3 { font-size: 22px; font-weight: 900; color: var(--dark); margin-bottom: 12px; text-align: center; }
.master-grid .txt p { font-size: 14px; color: var(--dark); margin-bottom: 8px; text-align: center; }

.valori-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 30px; }
.valori-grid p { font-size: 14px; line-height: 1.7; }
.foto3-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.foto3-grid img { border-radius: 6px; width: 100%; height: 200px; object-fit: cover; }

.portacalice-sec { padding: 40px 0; text-align: center; }
.portacalice-sec h2 { font-size: 26px; font-weight: 900; margin-bottom: 6px; }
.portacalice-sec .prezzo { font-size: 15px; color: #777; margin-bottom: 24px; }
.foto2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 700px; margin: 0 auto; }
.foto2-grid img { width: 100%; border-radius: 8px; object-fit: cover; max-height: 380px; }

.collab-sec { padding: 40px 0; }
.collab-heading {
  background: var(--green-muted); border-radius: var(--radius);
  padding: 12px 24px; text-align: center; max-width: 360px; margin: 0 auto 24px;
}
.collab-heading h2 { font-size: 20px; font-weight: 900; color: var(--dark); }
.collab-logos { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; margin-bottom: 36px; }
.collab-logos img { max-height: 80px; width: auto; object-fit: contain; }
.patrocinio-logo { max-width: 280px; margin: 0 auto; display: block; }


/* ════════════════════════════════════════════════════════
   CHI SIAMO
   ════════════════════════════════════════════════════════ */

.intro-text p {
  font-size: 15px; line-height: 1.8; margin-bottom: 16px;
  max-width: 800px; margin-left: auto; margin-right: auto; text-align: justify;
}
.intro-text p:last-child { margin-bottom: 0; }

.vino-box { background: #dff0e3; border: 4px solid var(--green-badge); border-radius: var(--radius); padding: 28px 32px; }
.vino-box h3 { font-size: 18px; font-weight: 900; text-align: center; margin-bottom: 14px; color: var(--dark); text-transform: uppercase; }
.vino-box h4 { font-size: 16px; font-weight: 900; margin: 20px 0 8px; color: var(--dark); }
.vino-box p { font-size: 14px; line-height: 1.8; margin-bottom: 10px; text-align: justify; }
.vino-box ul { list-style: disc; padding-left: 22px; margin-top: 8px; }
.vino-box ul li { font-size: 14px; line-height: 1.7; text-align: justify; margin-bottom: 4px; }

.org-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.org-card { text-align: center; }
.org-card h3 { font-size: 18px; font-weight: 900; margin-bottom: 16px; color: var(--dark); text-transform: uppercase; letter-spacing: .5px; }
.org-card img { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; margin: 0 auto 16px; box-shadow: var(--shadow); }
.org-card p { font-size: 14px; line-height: 1.8; text-align: left; }
.org-card .quote-links { margin-top: 10px; }
.org-card .quote-links p { text-align: center; margin-bottom: 4px; }
.org-card .quote-links a { font-style: italic; color: var(--dark); font-weight: 700; font-size: 14px; }
.org-card .quote-links a:hover { color: var(--green-link); opacity: 1; }
.org-single { max-width: 560px; margin: 0 auto; text-align: center; }
.org-single h3 { font-size: 18px; font-weight: 900; margin-bottom: 16px; text-transform: uppercase; }
.org-single img { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; margin: 0 auto 16px; box-shadow: var(--shadow); }
.org-single p { font-size: 14px; line-height: 1.8; text-align: left; }
.org-single a { color: var(--green-link); font-weight: 700; }

.deg-wrap { text-align: center; }
.deg-wrap p { font-size: 16px; margin-bottom: 24px; }
.deg-wrap img { max-width: 280px; margin: 0 auto; border-radius: 8px; }


/* ════════════════════════════════════════════════════════
   DETTAGLIO
   ════════════════════════════════════════════════════════ */

.sec-hero { padding: 40px 0 0; }

.name-badge { display: flex; justify-content: center; margin-bottom: 28px; }
.name-badge .inner {
  background: var(--green-badge); border: 3px solid #fff;
  outline: 3px solid var(--green-badge);
  border-radius: var(--radius); padding: 10px 40px; text-align: center;
  box-shadow: 0 0 0 3px var(--green-badge);
}
.name-badge h1 { font-size: clamp(22px, 3.5vw, 30px); font-weight: 900; color: var(--dark); line-height: 1.2; }

.hero-img { max-width: 700px; margin: 0 auto; border-radius: 8px; overflow: hidden; }
.hero-img img { width: auto; max-width: 100%; max-height: 500px; border-radius: 8px; display: block; margin: 0 auto; }

.sec-dati { padding: 40px 0 50px; }
.sec-dati h2 { font-size: 26px; font-weight: 900; text-align: center; margin-bottom: 28px; color: var(--dark); }
.dati-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dati-box { border: 4px solid var(--green-badge); border-radius: var(--radius); padding: 20px 18px; background: #dff0e3; }
.dati-box table { width: 100%; border-collapse: collapse; background: transparent; }
.dati-box tr { border-bottom: 1px solid #f0f0f0; }
.dati-box tr:last-child { border-bottom: none; }
.dati-box td { padding: 8px 6px; font-size: 13px; vertical-align: top; line-height: 1.5; }
.dati-box td:first-child {
  color: #6f6f6f; font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .3px; width: 42%; white-space: nowrap;
}
.dati-box td:last-child { color: var(--dark); font-weight: 400; }
.dati-box td a { color: var(--green-link); word-break: break-all; }

.btn-back {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--dark);
  padding: 12px 28px; border-radius: 6px;
  font-weight: 700; font-size: 14px; letter-spacing: .5px;
  transition: background .2s; text-transform: uppercase;
  white-space: nowrap; flex-shrink: 0;
}
.btn-back:hover { background: #2a9e46; opacity: 1; }

.post-nav {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-top: 1px solid #f0f0f0; padding-top: 28px; margin-top: 40px;
}
.post-nav a:not(.btn-back) {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 13px; color: var(--dark);
  padding: 10px 14px; border: 1px solid var(--green); border-radius: 8px;
  max-width: 38%; transition: background .2s, border-color .2s;
  background: #d4f0db;
}
.post-nav a:not(.btn-back):hover { background: #aedcbb; border-color: var(--green); opacity: 1; }
.post-nav a img { width: 50px; height: 50px; object-fit: cover; border-radius: 50%; flex-shrink: 0; }
.post-nav .nav-label { font-size: 10px; color: #6f6f6f; text-transform: uppercase; letter-spacing: 1px; display: block; }
.post-nav .nav-next { text-align: right; flex-direction: row-reverse; }


/* ════════════════════════════════════════════════════════
   DOVE SIAMO
   ════════════════════════════════════════════════════════ */

.indirizzo { text-align: center; margin-bottom: 28px; }
.indirizzo h2 { font-size: 26px; font-weight: 900; color: var(--dark); line-height: 1.4; }
.indirizzo h3 { font-size: 18px; font-weight: 700; color: #ff0000; margin-top: 10px; }

.foto-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.foto-grid .col-left { display: flex; flex-direction: column; gap: 12px; }
.foto-grid .col-left img { width: 100%; border-radius: 8px; object-fit: cover; }
.foto-grid .col-right img { width: 100%; height: 100%; border-radius: 8px; object-fit: cover; object-position: center; }

.sec-map { background: #dff0e3; }
.map-wrap { width: 100%; height: 480px; border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
/* Riquadro mostrato al posto della mappa finché non la si carica. */
.map-invito {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 24px; text-align: center;
  background: #eef6f0; border: 1px dashed rgba(0,0,0,.2);
}
.map-invito p { font-size: 14px; color: #5c6b60; max-width: 420px; }
.map-invito button {
  background: var(--green); color: var(--dark); border: none; cursor: pointer;
  font-family: inherit; font-weight: 900; font-size: 15px; letter-spacing: .5px;
  padding: 13px 28px; border-radius: 40px; margin-top: 4px;
}
.map-invito button:hover { background: #2aa045; }
.map-invito .map-alt a { font-size: 13px; text-decoration: underline; }
.park-note { text-align: center; font-size: 15px; color: var(--text); }


/* ════════════════════════════════════════════════════════
   ESPOSITORI
   ════════════════════════════════════════════════════════ */

.table-section { margin-bottom: 48px; }
.table-section:last-child { margin-bottom: 0; }
.table-section h3 { font-size: 22px; font-weight: 900; text-align: center; margin-bottom: 8px; color: var(--dark); }
.table-section .sub { text-align: center; font-size: 14px; color: #666; margin-bottom: 20px; }
.table-section thead th {
  background: var(--green-badge); color: var(--dark);
  padding: 11px 14px; text-align: left;
  font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .5px; white-space: nowrap;
}
.table-section thead th:first-child { border-radius: 8px 0 0 0; }
.table-section thead th:last-child  { border-radius: 0 8px 0 0; }
.table-section tbody td:first-child { font-weight: 700; color: var(--dark); min-width: 160px; }


/* ════════════════════════════════════════════════════════
   VIGNAIOLI
   ════════════════════════════════════════════════════════ */

.maps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 40px; }
.maps-grid a img { width: 100%; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.12); transition: opacity .2s; }
.maps-grid a:hover img { opacity: .88; }
.maps-note { text-align: center; font-size: 13px; color: #6f6f6f; margin-bottom: 40px; }
.maps-note a { color: var(--green-link); font-weight: 700; }

.filter-wrap { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.filter-btn {
  background: #f0f0f0; border: 2px solid transparent;
  border-radius: 20px; padding: 6px 14px;
  font-family: 'Lato', sans-serif;
  font-size: 12px; font-weight: 700; color: var(--dark);
  cursor: pointer; transition: background .2s, border-color .2s, color .2s;
  text-transform: uppercase; letter-spacing: .5px;
}
.filter-btn:hover { background: #e0f5e6; border-color: var(--green); color: var(--green-link); }
.filter-btn.active { background: var(--green); border-color: var(--green); color: var(--dark); }

/* Nessun vignaiolo pubblicato: prende il posto di filtri e griglia. */
.lista-vuota { text-align: center; padding: 30px 0 20px; }
.lista-vuota img { max-width: 200px; margin: 0 auto; opacity: .3; }
.lista-vuota p { margin-top: 20px; font-size: 21px; font-weight: 700; color: #8a8a8a; }

.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.vig-card {
  position: relative; border-radius: 6px; overflow: hidden;
  aspect-ratio: 3/2; background: #ddd;
  transition: transform .25s, box-shadow .25s;
}
.vig-card:hover { transform: translateY(-3px); box-shadow: 8px 10px 22px rgba(0, 0, 0, 0.665); }
.vig-card.hidden { display: none; }
.vig-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.vig-card:hover img { transform: scale(1.06); }
.vig-card figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 100%);
  color: #fff; padding: 20px 10px 8px;
  font-size: 12px; font-weight: 700; line-height: 1.3; text-align: center;
  /* Su foto molto chiare la sfumatura da sola non basta a staccare il
     nome: l'ombra lo tiene leggibile su qualunque sfondo. */
  text-shadow: 0 1px 3px rgba(0,0,0,.9);
}

.sec-banco h3 { font-size: 26px; font-weight: 900; text-align: center; margin-bottom: 28px; color: var(--dark); }
.sec-banco thead th {
  background: var(--yellow-green); color: var(--dark);
  padding: 11px 14px; text-align: left;
  font-weight: 900; font-size: 12px;
  text-transform: uppercase; letter-spacing: .5px;
}
.sec-banco tbody td { padding: 9px 14px; font-size: 13px; }
.sec-banco tbody td:first-child { color: #6f6f6f; font-size: 12px; }
.sec-banco tbody td:nth-child(2) { font-weight: 700; }
.sec-banco tbody td:nth-child(3) { font-weight: 900; color: var(--green-link); font-size: 14px; white-space: nowrap; }


/* ════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  nav, .hdr-social { display: none; }
  .burger { display: flex; }

  /* index */
  .biglietti-grid  { grid-template-columns: 1fr; }
  .programma-grid  { grid-template-columns: 1fr; }
  .master-grid     { grid-template-columns: 1fr; text-align: center; }
  .master-grid img { margin: 0 auto; }
  .valori-grid     { grid-template-columns: 1fr; gap: 16px; }
  .foto3-grid      { grid-template-columns: 1fr; }
  .foto2-grid      { grid-template-columns: 1fr; }

  /* chi-siamo */
  .org-grid { grid-template-columns: 1fr; gap: 30px; }
  .vino-box { padding: 20px 18px; }

  /* dettaglio */
  .dati-grid              { grid-template-columns: 1fr; }
  .post-nav               { flex-wrap: wrap; }
  .post-nav a:not(.btn-back) { max-width: 100%; }
  .post-nav .btn-back     { order: -1; width: 100%; justify-content: center; }

  /* dove-siamo */
  .foto-grid { grid-template-columns: 1fr; }
  .foto-grid .col-right img { max-height: 340px; }

  /* vignaioli */
  .maps-grid  { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }

  /* espositori – tabella a blocchi su mobile */
  .table-section table,
  .table-section thead,
  .table-section tbody,
  .table-section tr,
  .table-section th,
  .table-section td { display: block; }
  .table-section thead { display: none; }
  .table-section tbody tr {
    border: 1px solid #e8e8e8; border-radius: 8px;
    margin-bottom: 12px; padding: 10px 14px;
    background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.06);
  }
  .table-section tbody td {
    padding: 4px 0; border: none;
    display: flex; gap: 8px; align-items: baseline;
  }
  .table-section tbody td::before {
    content: attr(data-label);
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .5px; color: #999; flex-shrink: 0; min-width: 68px;
  }
  .table-section tbody td:first-child {
    font-size: 14px; border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px; margin-bottom: 4px;
  }

  .ft-inner { flex-direction: column; text-align: center; align-items: center; }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
