/* Testata 2026 del .it (idea B) — vedi testata-2026.php. Tutto sotto .t26 / .ldp-t26. */
.ldp-t26 .ldp-topbar, .ldp-t26 .ldp-overlay, .ldp-t26 .ldp-drawer, .ldp-t26 .ldp-chips-wrap { display: none !important; }

.ldp-t26, .t26 { --t26-scuro: #1f1a14; --t26-oro: #c8922a; --t26-oro-scuro: #8a6420; --t26-verde: #4cba39; --t26-verde-scuro: #2f6b24; --t26-crema: #f6f1e7; --t26-filo: #e6dcc6;
}
.t26 { position: relative; z-index: 9500; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--t26-scuro); }
.t26 *, .t26-basso *, .t26-p-sezioni * { box-sizing: border-box; }
.t26 a, .t26-p-sezioni a { text-decoration: none; }
.t26-dentro { max-width: 1296px; margin: 0 auto; padding: 0 24px; }

.t26-barra { background: #fff; border-top: 5px solid var(--t26-verde); border-bottom: 1px solid var(--t26-filo); }
.t26-barra .t26-dentro { display: flex; align-items: center; gap: 20px; min-height: 84px; }
.t26-logo { display: flex; flex-direction: column; gap: 6px; line-height: 1; flex: 0 0 auto; }
.t26-logo img { height: 42px; width: auto; display: block; }
.t26-logo span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--t26-oro-scuro); }
.t26-nav { display: flex; gap: 2px; flex: 1; justify-content: center; flex-wrap: wrap; }
.t26-voce { border: 0; background: none; font: inherit; font-size: 15px; font-weight: 500; color: var(--t26-scuro); padding: 11px 14px; border-radius: 999px; cursor: pointer; }
.t26-voce:hover { background: var(--t26-crema); }
.t26-voce[aria-expanded="true"] { background: var(--t26-scuro); color: #fff; font-weight: 600; }
.t26-cerca { display: flex; align-items: center; border: 1px solid #d9ccb0; border-radius: 999px; padding: 2px 2px 2px 14px; width: 230px; background: #fff; }
.t26-cerca input { border: 0; outline: none; background: transparent; font: inherit; font-size: 14px; flex: 1; min-width: 0; padding: 8px 0; color: var(--t26-scuro); }
.t26-cerca button { width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--t26-scuro); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.t26-cerca button svg { width: 18px; height: 18px; }
.t26-lingua { height: 44px; border-radius: 999px; border: 1px solid #d9ccb0; background: #fff; display: flex; align-items: center; gap: 7px; padding: 0 12px; font: inherit; font-weight: 600; font-size: 14px; color: var(--t26-scuro); cursor: pointer; }
.t26-lingua svg:first-child { border-radius: 2px; box-shadow: 0 0 0 1px #d9ccb0; }
.t26-lingua svg:last-child { width: 14px; height: 14px; }
.t26-lingua[aria-expanded="true"] { border: 2px solid var(--t26-scuro); }
.t26-shop { background: var(--t26-verde); color: #10240c !important; border-radius: 999px; padding: 12px 20px; font-weight: 600; font-size: 15px; }
.t26-shop:hover { background: #3fa52e; }

.t26-mese { background: var(--t26-scuro); color: #f3e6c8; font-size: 14px; }
.t26-mese .t26-dentro { display: flex; align-items: center; gap: 22px; min-height: 44px; }
.t26-mese a { color: #f3e6c8 !important; }
.t26-mese a:hover { color: #fff !important; text-decoration: underline; }
.t26-mese-tit { color: var(--t26-oro) !important; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; white-space: nowrap; }
.t26-mese-voci { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; flex: 1; white-space: nowrap; }
.t26-mese-voci::-webkit-scrollbar { display: none; }
.t26-mese-tutto { color: var(--t26-oro) !important; font-weight: 600; white-space: nowrap; }

.t26-velo { position: fixed; inset: 0; background: rgba(31,26,20,.35); z-index: 9400; }
.t26-pannello { position: absolute; left: 0; right: 0; background: #fff; box-shadow: 0 18px 40px rgba(31,26,20,.18); z-index: 9600; padding: 28px 0 32px; }
.t26-pannello[hidden], .t26-velo[hidden] { display: none !important; }
.t26-chiudi { position: absolute; top: 12px; right: 18px; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--t26-filo); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--t26-scuro); }
.t26-foglio-tit { display: none; }
.t26-occhiello { margin: 0 0 10px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--t26-oro-scuro); font-weight: 600; }

.t26-p-dove .t26-dentro { display: grid; grid-template-columns: 520px minmax(0, 1fr); gap: 48px; position: relative; }
.t26-mappa { position: relative; width: 520px; height: 420px; background: #eef5ea; border-radius: 16px; overflow: hidden; }
.t26-sagoma { position: absolute; inset: 0; width: 520px; height: 420px; }
.t26-sagoma path { fill: #d9ebd2; stroke: #9ccb8e; stroke-width: 2; }
.t26-zona { position: absolute; background: #fff; border: 1px solid #9ccb8e; border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 600; font-size: 14px; color: var(--t26-scuro); cursor: pointer; white-space: nowrap; }
.t26-zona:hover, .t26-zona.t26-scelta { background: var(--t26-scuro); border-color: var(--t26-scuro); color: #fff; }
.t26-pin { position: absolute; width: 64px; height: 64px; pointer-events: none; transition: left .2s, top .2s; }
.t26-mappa-nota { position: absolute; left: 20px; bottom: 14px; margin: 0; font-size: 13px; color: #4b5d44; }
.t26-zona-box .t26-zona-tit { margin: 0 0 14px; font-family: "Playfair Display", Georgia, serif; font-size: 30px; line-height: 1.15; }
.t26-zona-box .t26-zona-tit a { color: var(--t26-scuro); }
.t26-paesi { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.t26-paesi a { border: 1px solid #d9ccb0; border-radius: 999px; padding: 7px 13px; font-size: 14px; color: var(--t26-scuro); }
.t26-paesi a:hover { border-color: var(--t26-scuro); }
.t26-schede { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.t26-scheda { display: flex; flex-direction: column; gap: 7px; color: var(--t26-scuro) !important; }
.t26-scheda img { width: 100%; height: auto; object-fit: cover; border-radius: 10px; display: block; background: var(--t26-crema); }
.t26-eti { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--t26-verde-scuro); font-weight: 600; }
.t26-tit { font-family: "Playfair Display", Georgia, serif; font-size: 17px; line-height: 1.25; font-weight: 700; }
.t26-scheda:hover .t26-tit { color: var(--t26-oro-scuro); }

.t26-griglia { display: grid; grid-template-columns: 240px 280px minmax(0, 1fr); gap: 40px; position: relative; }
.t26-colonna { display: flex; flex-direction: column; }
.t26-colonna > a { font-size: 16px; padding: 8px 0; border-bottom: 1px solid #efe7d6; color: var(--t26-scuro); }
.t26-colonna > a:hover { color: var(--t26-oro-scuro); }
.t26-colonna > a.t26-allo-shop { display: flex; align-items: center; gap: 12px; margin-top: 14px; background: #eef5ea; border-radius: 12px; padding: 10px 12px; border: 0; }
.t26-allo-shop span { display: flex; flex-direction: column; }
.t26-allo-shop small { color: var(--t26-verde-scuro); font-size: 13px; }

.t26-p-lingue { left: auto; right: max(24px, calc((100vw - 1296px) / 2 + 120px)); width: 360px; border-radius: 14px; padding: 14px; top: 92px; }
.t26-lingue-box { display: flex; flex-direction: column; gap: 4px; position: relative; }
.t26-lingue-box .t26-chiudi { display: none; }
.t26-lingue-dice { margin: 0 8px 6px; font-size: 12px; color: #6b5e45; line-height: 1.45; }
.t26-p-lingue .t26-occhiello { margin: 4px 8px 2px; }
.t26-lingua-voce { display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 10px; color: var(--t26-scuro) !important; }
.t26-lingua-voce > svg:first-child { border-radius: 3px; box-shadow: 0 0 0 1px #d9ccb0; flex: 0 0 auto; }
.t26-lingua-voce span { display: flex; flex-direction: column; flex: 1; }
.t26-lingua-voce strong { font-size: 16px; }
.t26-lingua-voce small { font-size: 12px; color: #6b5e45; }
.t26-lingua-voce.t26-qui { background: #eef5ea; }
.t26-lingua-voce.t26-qui > svg:last-child { color: var(--t26-verde-scuro); }
a.t26-lingua-voce:hover { background: var(--t26-crema); }

.t26-basso, .t26-p-sezioni { display: none; }

/* ---------- telefono e tablet ---------- */
@media (max-width: 1023px) {
  .t26-nav, .t26-shop, .t26-logo span { display: none; }
  .t26-barra { position: sticky; top: 0; }
  .t26-barra .t26-dentro { min-height: 60px; gap: 8px; padding: 0 12px; }
  .t26-logo { flex: 1; }
  .t26-logo img { height: 28px; }
  .t26-cerca { width: auto; border: 0; padding: 0; }
  .t26-cerca input { display: none; }
  .t26-cerca button { width: 44px; height: 44px; background: #fff; color: var(--t26-scuro); border: 1px solid #d9ccb0; }
  .t26-cerca.t26-aperta { position: absolute; left: 12px; right: 12px; top: 8px; border: 1px solid #d9ccb0; padding: 0 0 0 14px; background: #fff; z-index: 2; }
  .t26-cerca.t26-aperta input { display: block; }
  .t26-lingua { padding: 0 10px; }
  .t26-lingua svg:last-child { display: none; }
  .t26-mese { font-size: 13px; }
  .t26-mese .t26-dentro { padding: 0 12px; gap: 12px; }
  .t26-mese-tutto { display: none; }

  .t26-pannello, .t26-p-lingue, .t26-p-sezioni { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; max-height: 86vh; overflow-y: auto; border-radius: 18px 18px 0 0; padding: 18px 0 calc(84px + env(safe-area-inset-bottom)); z-index: 9700; box-shadow: 0 -10px 30px rgba(31,26,20,.25); background: #fff; }
  .t26-p-sezioni:not([hidden]) { display: block; }
  .t26-chiudi { display: flex !important; top: 10px; right: 12px; }
  .t26-foglio-tit { display: block; margin: 4px 0 14px; font-family: "Playfair Display", Georgia, serif; font-size: 24px; }
  .t26-p-dove .t26-dentro, .t26-griglia { display: block; padding: 0 16px; }
  .t26-mappa { display: none; }
  .t26-zona-box[hidden] { display: block !important; }
  .t26-zona-box { border-bottom: 1px solid #efe7d6; padding: 12px 0 14px; }
  .t26-zona-box .t26-zona-tit { font-size: 20px; margin-bottom: 8px; }
  .t26-schede { display: flex; overflow-x: auto; gap: 10px; scroll-snap-type: x mandatory; }
  .t26-scheda { flex: 0 0 150px; scroll-snap-align: start; }
  .t26-tit { font-size: 14px; }
  .t26-colonna { margin-bottom: 14px; }
  .t26-lingue-box { padding: 0 16px; }
  .t26-lingua-voce { padding: 14px 12px; border: 1px solid #efe7d6; }
  .t26-lingua-voce.t26-qui { border-color: transparent; }

  .t26-p-sezioni .t26-dentro { padding: 0 16px; }
  .t26-sez-mese { display: flex; flex-direction: column; background: var(--t26-scuro); color: #fff !important; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
  .t26-sez-mese small { color: var(--t26-oro); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }
  .t26-sez-mese strong { font-family: "Playfair Display", Georgia, serif; font-size: 18px; }
  .t26-p-sezioni details { border-bottom: 1px solid #efe7d6; }
  .t26-p-sezioni summary { font-weight: 600; font-size: 17px; padding: 14px 0; cursor: pointer; color: var(--t26-scuro); }
  .t26-sez-schede { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 10px; }
  .t26-sez-schede .t26-scheda { flex: 0 0 150px; }
  .t26-sez-link { display: flex; flex-direction: column; padding-bottom: 10px; }
  .t26-sez-link a { padding: 8px 0; color: var(--t26-scuro); }
  .t26-sez-esplora { display: block; padding: 16px 0; font-weight: 600; color: var(--t26-oro-scuro) !important; }

  .t26-basso { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--t26-filo); z-index: 9800; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
  .t26-basso a, .t26-basso button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font: inherit; font-size: 12px; color: #1f1a14; background: none; border: 0; cursor: pointer; text-decoration: none; }
  .t26-basso [aria-expanded="true"] { color: #8a6420; font-weight: 600; }
  .t26-basso .t26-basso-shop { color: #2f6b24; font-weight: 600; }
  body.ldp-t26 { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  body.ldp-t26 #ldp-launcher { bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
  body.ldp-t26 #ldp-chat { bottom: calc(150px + env(safe-area-inset-bottom)) !important; }
}

/* ritocchi dopo la prova del 28/11 */
.t26 .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.t26-nav { flex-wrap: nowrap; }
.t26-voce { padding: 10px 12px; white-space: nowrap; }
.t26-cerca { width: 200px; }
.t26-pin { width: 52px; height: 52px; }
.t26-p-sezioni, .t26-basso { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1f1a14; }
@media (max-width: 1180px) and (min-width: 1024px) { .t26-logo span { display: none; } .t26-cerca { width: 150px; } }
@media (max-width: 1023px) { .t26, .t26-barra { max-width: 100vw; overflow-x: clip; } .t26-logo { min-width: 0; } .t26-logo img { max-width: 100%; height: auto; max-height: 28px; } }
@media (max-width: 1023px) { .t26-logo { overflow: hidden; } .t26-logo img { height: 30px !important; width: auto !important; max-width: none !important; max-height: none !important; } }
.t26-logo img { align-self: flex-start; object-fit: contain; }
@media (min-width: 1024px) { .t26-pannello > .t26-dentro { padding-right: 88px; } .t26-p-lingue .t26-lingue-box { padding-right: 0; } }
@media (max-width: 1023px) { .t26-cerca { width: auto !important; } }

/* il tema impone misure alle immagini e il colore oro a tutti i link: qui vince la testata (28/11) */
.t26 .t26-logo img { height: 42px !important; width: auto !important; max-width: none !important; }
@media (max-width: 1023px) { .t26 .t26-logo img { height: 30px !important; } }
.t26 .t26-pin { width: 52px !important; height: 52px !important; max-width: none !important; }
.t26 .t26-allo-shop img { width: 44px !important; height: 44px !important; }
.t26 .t26-zona-box .t26-zona-tit a, .t26 .t26-paesi a, .t26 .t26-colonna > a, .t26 .t26-scheda, .t26-p-sezioni .t26-sez-link a, .t26-p-sezioni summary { color: #1f1a14 !important; }
.t26 .t26-zona-box .t26-zona-tit a:hover, .t26 .t26-colonna > a:hover { color: #8a6420 !important; }
.t26 .t26-allo-shop small { color: #2f6b24 !important; }
.t26 h2, .t26 h3, .t26 p { letter-spacing: normal; }
.t26 .t26-occhiello { letter-spacing: .12em; }

/* zone nella posizione geografica vera: left/top sono il centro (28/11) */
.t26 .t26-zona { transform: translate(-50%, -50%); }
.t26-sagoma path { stroke-linejoin: round; }

/* pannelli con 2 o 3 colonne di link (Eventi e sagre ne ha tre) */
@media (min-width: 1024px) {
  .t26-griglia { grid-template-columns: repeat(var(--t26-col, 2), minmax(170px, 250px)) minmax(0, 1fr); gap: 36px; }
  .t26-griglia .t26-schede { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}
/* bandiere sulla riga delle briciole */
.t26-riga-briciole { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; }
.t26-riga-briciole .ldp-briciole { flex: 1 1 auto; min-width: 0; }
.t26-leggi-in { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.t26-leggi-in > span { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: #9a9086; }
.t26-leggi-in a { display: inline-flex; align-items: center; gap: 6px; color: #2b2620 !important; text-decoration: none; }
.t26-leggi-in a:hover { color: #c8922a !important; }
.t26-leggi-in svg { border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.18); }
@media (max-width: 600px) { .t26-leggi-in a span { display: none; } .t26-leggi-in { gap: 10px; } }
/* telefono: la fascia del mese non deve allargare la pagina */
.t26-mese-voci { min-width: 0; }
@media (max-width: 1023px) { html body.ldp-t26 { overflow-x: hidden; } .t26-mese .t26-dentro { overflow: hidden; } }
@media (min-width: 1024px) {
  .t26-griglia .t26-schede { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-content: start; }
  .t26-griglia .t26-scheda img { aspect-ratio: 4 / 3 !important; }
}

/* Il badge di reCAPTCHA sta per meta' fuori schermo (right: -186px, largo 256):
   sul telefono allarga la pagina a 443 px su 390 e porta la barra in basso fuori
   vista. Misurato il 28/11/2026, succedeva anche con la testata vecchia. Lo si
   tiene dentro lo schermo, stretto e invisibile: reCAPTCHA continua a funzionare. */
.ldp-t26 .grecaptcha-badge { right: 0 !important; width: 70px !important; overflow: hidden !important; visibility: hidden !important; }
/* Il banner dei cookie (plugin-in-codice.php) e' una griglia senza colonne fissate:
   sul telefono il testo non andava a capo, il banner usciva di qualche pixel e la
   pagina intera diventava larga 443 px su 390 (misurato il 28/11/2026). */
.ldp-t26 .ldp-cc { grid-template-columns: minmax(0, 1fr); }
.ldp-t26 .ldp-cc-t, .ldp-t26 .ldp-cc-a { min-width: 0; overflow-wrap: anywhere; }

.t26-zone { display: flex; flex-direction: column; }
.t26-dove-link { order: 2; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; padding-top: 14px; border-top: 1px solid #efe7d6; font-size: 14px; }
.t26 .t26-dove-link a { color: #8a6420 !important; font-weight: 600; }

/* voci del mese non ancora uscite: testo, senza link (28/11/2026) */
.t26-mese-voci span { white-space: nowrap; color: #f3e6c8; }
.t26-colonna > span { font-size: 16px; padding: 8px 0; border-bottom: 1px solid #efe7d6; color: #6b6257; }
span.t26-mese-tit { cursor: default; }

/* 28/11/2026, prova sul .fr di Marco: le voci francesi sono piu' lunghe e il tasto
   Boutique usciva dallo schermo; e un pannello con una scheda sola la allargava
   a tutta pagina. */
.t26-barra .t26-shop, .t26-barra .t26-lingua, .t26-barra .t26-logo { flex-shrink: 0; }
.t26-nav { min-width: 0; }
.t26-griglia .t26-schede { grid-template-columns: repeat(auto-fill, minmax(160px, 240px)); }
.t26-scheda img { aspect-ratio: 4 / 3; }
/* il contenitore si ferma a 1296 px: lo spazio della barra e' lo stesso su ogni
   schermo grande, quindi il menu compatto vale sempre sul computer */
@media (min-width: 1024px) {
  .t26-voce { font-size: 14px; padding: 9px 9px; }
  .t26-barra .t26-dentro { gap: 14px; }
  .t26-cerca { width: 160px; }
}
@media (min-width: 1024px) and (max-width: 1300px) {
  .t26-logo span { display: none; }
  .t26-cerca { width: 120px; }
}
/* con tre colonne di link le schede non stanno a fianco: vanno su una riga sotto (28/11/2026) */
@media (min-width: 1024px) {
  .t26-griglia[style*="--t26-col:3"] .t26-schede { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 220px)); }
}

/* 28/11/2026: niente titoli h2/h3 nella testata (sono in cima a ogni pagina e Google
   li leggerebbe come la struttura del contenuto): paragrafi con lo stesso aspetto */
.t26 .t26-zona-tit { font-weight: 700; color: #1f1a14; }
.t26 p.t26-foglio-tit { font-weight: 700; line-height: 1.2; color: #1f1a14; }

/* barra in basso del telefono scura, con lo Shop in verde (Marco, 28/11: «non si nota troppo») */
@media (max-width: 1023px) {
  .t26-basso { background: #1f1a14; border-top: 3px solid #c8922a; box-shadow: 0 -4px 14px rgba(0,0,0,.18); }
  .t26-basso a, .t26-basso button { color: #f6f1e7 !important; }
  .t26-basso [aria-expanded="true"] { color: #e0b155 !important; }
  .t26-basso .t26-basso-shop { color: #10240c !important; background: #4cba39; border-radius: 12px; margin: 7px 8px; font-weight: 700; }
}

/* pagina larga come la testata e senza lo sfondo a righe del tema (Marco, 28/11) */
body.ldp-t26 { background: #fff !important; }
@media (min-width: 1200px) {
  body.ldp-t26 .container { width: min(1278px, calc(100% - 18px)); max-width: none; }
}
@media (min-width: 1200px) {
  body.ldp-t26 .featured-slider { width: 100%; height: auto; aspect-ratio: 750 / 410; }
  body.ldp-t26 .featured-slider .item, body.ldp-t26 .featured-slider img, body.ldp-t26 .featured-slider iframe { width: 100% !important; height: auto !important; aspect-ratio: 750 / 410; object-fit: cover; }
}
