/* Meeting del Volontariato 2026 — uniformita' strutturale rispetto al 2025.
 * Scope ESCLUSIVO body[data-edizione="2026"].
 * La palette ENEA ufficiale e applicata nelle regole scoped in coda.
 * I token del 2025 e lo storico restano invariati.
 * Nessuna modifica a archivio-2025.css, dati storici o runtime WordPress.
 */
body[data-edizione="2026"]{
  --ink:#222;
  --ink-subtle:#64616a;
  --paper:#f8f9fa;
  color:var(--ink);
  font-size:16px;
}

/* Testata, hero, gerarchia titoli: proporzioni e spazi ispirati al 2025. */
body[data-edizione="2026"] .site-header{background:var(--purple-deep)}
body[data-edizione="2026"] .section{padding-block:clamp(46px,5vw,70px)}
body[data-edizione="2026"] .section-top{margin-bottom:26px;align-items:flex-start}
body[data-edizione="2026"] .section-heading{font:600 clamp(27px,2.75vw,39px)/1.24 var(--head);letter-spacing:-.015em;color:inherit}
body[data-edizione="2026"] .section-heading::after{margin-top:13px;width:60px;height:3px}
body[data-edizione="2026"] .section-intro{font:400 15px/1.6 var(--serif);max-width:560px;color:#504752;text-wrap:pretty}
body[data-edizione="2026"] .section-place{display:block;margin-top:5px;color:var(--purple);font:500 clamp(19px,1.8vw,24px)/1.35 var(--head)}
body[data-edizione="2026"] .hero{min-height:0;background:linear-gradient(115deg,var(--purple-deep) 0%,var(--purple) 100%)}
body[data-edizione="2026"] .hero::after{display:none}
body[data-edizione="2026"] .hero-inner{padding-block:45px 57px;gap:40px;align-items:center}
body[data-edizione="2026"] .hero-eyebrow{font:500 13px/1.5 var(--serif);text-transform:none;letter-spacing:0;margin-bottom:22px;max-width:none}
body[data-edizione="2026"] .hero-heading-group{gap:clamp(14px,1.6vw,24px);align-items:center}
body[data-edizione="2026"] .hero-heading-group .hero-title-small{font-size:clamp(23px,2.3vw,31px)}
body[data-edizione="2026"] .hero-heading-group .hero-title-big{font-size:clamp(34px,3.6vw,52px)}
body[data-edizione="2026"] .hero-heading-group .hero-title-year{font-size:clamp(42px,4vw,59px);color:#fff}
body[data-edizione="2026"] .hero-edition-logo{flex-basis:110px;width:110px;min-height:120px}
body[data-edizione="2026"] .hero-theme{margin-top:16px;margin-bottom:4px;font:600 clamp(21px,2.1vw,29px)/1.3 var(--head)}
body[data-edizione="2026"] .hero-subtitle{margin:0 0 12px;font:500 clamp(17px,1.55vw,21px)/1.4 var(--serif);font-style:italic;color:#fff}
body[data-edizione="2026"] .hero-details{margin:14px 0 0;font:400 14px/1.6 var(--serif);white-space:normal;max-width:72ch;text-wrap:pretty}
body[data-edizione="2026"] .hero-venues{display:block;margin-top:4px}
body[data-edizione="2026"] .hero-actions{margin-top:16px}
body[data-edizione="2026"] .hero-connect{margin-top:23px;padding-top:18px}
body[data-edizione="2026"] .hero-visual{min-height:0;aspect-ratio:4/5;box-shadow:none;border-radius:4px}
/* Immagine ufficiale verticale: nessun crop. Zoom volontario in una nuova scheda. */
body[data-edizione="2026"] .hero-cover-link{display:block;width:100%;height:100%;border-radius:inherit;cursor:zoom-in}
body[data-edizione="2026"] .hero-cover-link:focus-visible{outline:4px solid #fff;outline-offset:-5px}
body[data-edizione="2026"] .hero-cover-link:hover .hero-visual-image{filter:brightness(.985)}
body[data-edizione="2026"] .hero-visual-image{display:block;width:100%;height:100%;object-fit:contain;background:transparent}
body[data-edizione="2026"] .hero-cover-placeholder{height:100%;min-height:230px;padding:24px;gap:9px}
body[data-edizione="2026"] .hero-cover-placeholder strong{font-size:24px}
body[data-edizione="2026"] .hero-placeholder-note{line-height:1.35}
body[data-edizione="2026"] .hero-disclaimer{max-width:680px;font-size:12px}
body[data-edizione="2026"] .hero-social>span{font-size:13px}
body[data-edizione="2026"] .hero-social-links>a{border-radius:6px}

/* Programma: stile giorni e leggibilita' delle schede del 2025.
 * Restano attivi scrollspy, ricerca globale e filtro tipologia del 2026. */
body[data-edizione="2026"] .day-switcher .day-tab{background:#fff;color:var(--magenta);border:1px solid var(--magenta);box-shadow:none;border-radius:8px;padding:16px 17px;text-decoration:none}
body[data-edizione="2026"] .day-switcher .day-tab:hover:not(.active){background:var(--paper);color:var(--magenta-deep)}
body[data-edizione="2026"] .day-switcher .day-tab.active,
body[data-edizione="2026"] .day-switcher .day-tab[aria-current="location"]{background:var(--magenta);border-color:var(--magenta);color:#fff}
body[data-edizione="2026"] .day-switcher .day-tab.active .day-match-count{background:rgba(255,255,255,.2);color:#fff}
body[data-edizione="2026"] .day-tab .day-label{font:650 15px/1.35 var(--head);max-width:none}
body[data-edizione="2026"] .day-panel-intro h3{color:var(--purple);font:600 clamp(23px,2.15vw,28px)/1.3 var(--head)}
body[data-edizione="2026"] .day-panel-intro span[data-day-summary]{color:#666;font-size:12px}
body[data-edizione="2026"] .event-card{grid-template-columns:84px minmax(0,1fr) 22px;border-radius:10px;column-gap:18px;padding:22px 20px;box-shadow:none}
body[data-edizione="2026"] .event-time{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;align-self:start;gap:7px;min-height:0;padding-top:5px;padding-right:8px;color:#54515b;border-right:0;white-space:nowrap}
body[data-edizione="2026"] .event-time>span{display:inline-block;font:700 19px/1.25 var(--head);font-variant-numeric:tabular-nums;white-space:nowrap}
body[data-edizione="2026"] .event-time svg{display:block;width:17px;height:17px;flex:0 0 17px;stroke-width:1.4}
body[data-edizione="2026"] .event-time small{font-size:10px;white-space:normal}
body[data-edizione="2026"] .event-content h4{font:700 clamp(19px,1.8vw,24px)/1.3 var(--head);color:var(--magenta);text-wrap:pretty}
body[data-edizione="2026"] .event-content>p{font:400 16px/1.57 var(--serif);color:#303030;overflow-wrap:break-word}
body[data-edizione="2026"] .event-meta svg{vertical-align:-.18em;width:16px;height:16px;color:var(--purple)}
body[data-edizione="2026"] .event-anchor{display:inline-grid;place-items:center;min-height:27px;min-width:27px}
body[data-edizione="2026"] .event-tags span{font-size:10px}
body[data-edizione="2026"] .share-tools summary{border-radius:6px}
body[data-edizione="2026"] .program-layout{gap:clamp(20px,2.7vw,36px)}

/* Villaggio: elenco compatto, non grandi tessere dimostrative. */
body[data-edizione="2026"] .association-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 auto;padding:0;list-style:none}
body[data-edizione="2026"] .association-card{min-height:0;border:1px solid #e7dfe9;border-radius:7px;padding:14px 16px;background:var(--paper);overflow-wrap:anywhere}
body[data-edizione="2026"] .association-card h3{font:700 15px/1.45 var(--head);margin:0 0 5px}
body[data-edizione="2026"] .association-card p{font:400 14px/1.55 var(--serif);color:#4b4b4b}
body[data-edizione="2026"] .association-card a{font:700 12px/1.4 var(--head)}

/* Voci e incontri, archivio e partner. */
body[data-edizione="2026"] .guest-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body[data-edizione="2026"] .guest-card{border-radius:8px}
body[data-edizione="2026"] .guest-content h3{font:700 21px/1.3 var(--head);color:var(--magenta)}
body[data-edizione="2026"] .guest-role{color:var(--purple)}
body[data-edizione="2026"] .guest-biography{font:400 15px/1.55 var(--serif);color:#333}
body[data-edizione="2026"] .guest-biography p{margin:0}
body[data-edizione="2026"] .guest-archive-session{display:flex;flex-direction:column;gap:5px;margin-top:12px;border-top:1px solid #ece5ef;padding-top:13px;font:700 13px/1.45 var(--head);color:var(--purple)}
body[data-edizione="2026"] .guest-session-heading{display:flex;align-items:center;gap:8px;margin:0;font:700 13px/1.4 var(--head);color:var(--purple)}
body[data-edizione="2026"] .guest-session-heading svg{height:18px;width:18px}
body[data-edizione="2026"] .guest-archive-session>a{color:var(--magenta);font:700 13px/1.4 var(--head)}
body[data-edizione="2026"] .archive-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body[data-edizione="2026"] .archive-card{min-height:165px;background:#23272b;border-color:#848b92;border-radius:8px}
body[data-edizione="2026"] .archive-card .archive-title{font:600 15px/1.4 var(--head);color:#fff;max-width:none}
body[data-edizione="2026"] .archive-card .archive-title svg{display:inline-block;width:16px;height:16px;vertical-align:-.15em;margin-right:5px}
body[data-edizione="2026"] .archive-card .archive-year{font-size:25px;color:#fff;margin-bottom:13px}
body[data-edizione="2026"] .archive-card .archive-description{display:block;color:#e7e1e9;font:400 14px/1.5 var(--serif);margin-top:7px}
body[data-edizione="2026"] .archive-card .archive-arrow{color:#fff}
body[data-edizione="2026"] #edizioni.section--dark .section-intro{color:#e3e5e8}
body[data-edizione="2026"] #edizioni.section--dark .section-heading{color:#fff}
body[data-edizione="2026"] .partner-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body[data-edizione="2026"] .partner-card{border-radius:8px;min-height:0;padding:22px 18px}
body[data-edizione="2026"] .partner-card img{object-fit:contain;max-height:140px}

/* Sedi e footer: stessi nomi e ordine delle informazioni del 2025. */
body[data-edizione="2026"] .venue-card{border-radius:8px;gap:15px;padding:20px;background:#fff}
body[data-edizione="2026"] .venue-icon{border-radius:50%;font-size:20px}
body[data-edizione="2026"] .venue-icon svg{width:25px;height:25px}
body[data-edizione="2026"] .venue-card h3{font:700 21px/1.35 var(--head)}
body[data-edizione="2026"] .venue-card .venue-role{font:700 13px/1.45 var(--head)}
body[data-edizione="2026"] .site-footer{background:#212529}
body[data-edizione="2026"] .footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(24px,6vw,90px)}
body[data-edizione="2026"] .historic-footer-social{display:flex;flex-wrap:wrap;gap:13px}
body[data-edizione="2026"] .historic-footer-social a{display:grid;place-items:center;border:1px solid rgba(255,255,255,.54);border-radius:50%;width:40px;height:40px}
body[data-edizione="2026"] .historic-footer-social svg{width:20px;height:20px}
body[data-edizione="2026"] .footer-bottom{font-size:12px;line-height:1.5}

@media(max-width:940px){
  body[data-edizione="2026"] .association-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-edizione="2026"] .archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-edizione="2026"] .guest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  body[data-edizione="2026"] .section-top{flex-direction:column;align-items:flex-start;gap:15px}
  body[data-edizione="2026"] .hero-inner{padding-block:40px 45px;gap:20px}
  body[data-edizione="2026"] .hero-heading-group .hero-title-big{font-size:37px}
  body[data-edizione="2026"] .hero-heading-group .hero-title-year{font-size:45px}
  body[data-edizione="2026"] .hero-visual{aspect-ratio:4/5;width:min(100%,500px);margin-inline:auto}
  body[data-edizione="2026"] .hero-cover-placeholder{min-height:200px}
  body[data-edizione="2026"] .hero-details{white-space:normal}
  body[data-edizione="2026"] .event-card{grid-template-columns:minmax(0,1fr) 22px}
  body[data-edizione="2026"] .event-time{grid-column:1/-1}
  body[data-edizione="2026"] .association-grid{grid-template-columns:1fr}
  body[data-edizione="2026"] .guest-grid{grid-template-columns:1fr}
  body[data-edizione="2026"] .archive-grid{grid-template-columns:1fr}
  body[data-edizione="2026"] .partner-grid{grid-template-columns:1fr}
  body[data-edizione="2026"] .footer-main{grid-template-columns:1fr;gap:30px}
}
@media(max-width:440px){
  body[data-edizione="2026"] .hero-heading-group{gap:12px}
  body[data-edizione="2026"] .hero-heading-group .hero-title-small{font-size:clamp(21px,6vw,29px)}
  body[data-edizione="2026"] .hero-heading-group .hero-title-big{font-size:clamp(29px,9vw,37px)}
  body[data-edizione="2026"] .hero-heading-group .hero-title-year{font-size:45px}
  body[data-edizione="2026"] .hero-edition-logo{flex-basis:78px;width:78px;min-height:98px}
  body[data-edizione="2026"] .hero-newsletter p{flex:1 1 100%}
  body[data-edizione="2026"] .day-tab{min-width:154px}
  body[data-edizione="2026"] .event-card{padding:19px 16px}
  body[data-edizione="2026"] .venue-card{padding:16px}
}

/* v0.4.14 - Schede evento e selezione giornate come il 2025 (27 Ottobre 2026).
 * Solo annualita 2026: i dati originali restano testuali, il markup rende
 * titoli, sottotitoli e blocchi di partecipanti con attributi semantici.
 */
body[data-edizione="2026"] .event-subtitle{
  margin:0 0 15px;color:var(--purple);font:600 16px/1.5 var(--serif);text-wrap:pretty;
}
body[data-edizione="2026"] .event-rich-content{
  color:#212529;font:400 16px/1.57 var(--serif);overflow-wrap:break-word;
  word-break:normal;
}
body[data-edizione="2026"] .event-person-group + .event-person-group{margin-top:12px}
body[data-edizione="2026"] .event-person-group-label{
  display:flex;align-items:center;gap:7px;margin:0 0 5px;
  font:400 14px/1.5 var(--serif);color:#6d6871;
}
body[data-edizione="2026"] .event-person-group-label svg{
  display:inline-block;flex:0 0 16px;width:16px;height:16px;color:var(--purple);
}
body[data-edizione="2026"] .event-person-list{
  list-style:none;padding:0;margin:0 0 0 23px;
}
body[data-edizione="2026"] .event-person-list li{
  margin:0 0 3px;line-height:1.6;text-wrap:pretty;
}
body[data-edizione="2026"] .event-editorial-note{margin:10px 0 0;font:400 12px/1.55 var(--serif);color:#655c67;text-wrap:pretty}
body[data-edizione="2026"] .event-person-name{font-weight:700;color:var(--magenta)}
body[data-edizione="2026"] .event-person-role{font-weight:400;color:#212529}
body[data-edizione="2026"] .event-role-warning{
  display:inline-block;margin-left:5px;color:#655a68;font:600 11px/1.45 var(--sans);
  background:#f5f0f7;border-radius:3px;padding:1px 5px;
}
body[data-edizione="2026"] .event-time .event-time-options{
  display:inline-block;max-width:84px;white-space:normal;overflow-wrap:anywhere;
  font:700 14px/1.35 var(--head);font-variant-numeric:tabular-nums;
}
body[data-edizione="2026"] .event-time .event-time-pending{
  display:inline-block;max-width:84px;font:600 10px/1.35 var(--sans);color:#756a7a;
}
@media(max-width:700px){
  /* Il 2025 dispone le tre giornate in verticale. Non renderle sticky:
     un pannello di tre pulsanti sovrapporrebbe gran parte dello schermo. */
  body[data-edizione="2026"] .day-switcher,
  body[data-edizione="2026"].js-enabled .day-switcher{
    position:static;top:auto;z-index:auto;margin:0 0 21px;padding:0;
    background:transparent;box-shadow:none;border:0;overflow:visible;
  }
  body[data-edizione="2026"] .day-switcher-inner{
    display:grid;grid-template-columns:minmax(0,1fr);gap:11px;
    overflow:visible;scroll-snap-type:none;padding:0;
  }
  body[data-edizione="2026"] .day-switcher .day-tab{
    display:flex;min-width:0;max-width:none;width:100%;min-height:62px;
    flex:none;padding:17px 43px 17px 19px;scroll-snap-align:none;
    border-radius:9px;justify-content:center;
  }
  body[data-edizione="2026"] .day-switcher .day-tab .day-label{
    font:700 16px/1.35 var(--head);max-width:none;
  }
  body[data-edizione="2026"] .day-switcher .day-tab .day-arrow{
    top:50%;right:17px;transform:translateY(-50%);font-size:18px;
  }
  body[data-edizione="2026"] .day-panel{scroll-margin-top:98px}
  body[data-edizione="2026"] .event-card{scroll-margin-top:105px}
  body[data-edizione="2026"] .event-person-list{margin-left:19px}
  body[data-edizione="2026"] .event-time .event-time-options{max-width:none}
  body[data-edizione="2026"] .event-time .event-time-pending{max-width:none}
}

/* ENEA 2026: sottotitolo esplicito anche nella sezione Tema. Non incide sul 2025. */
body[data-edizione="2026"] #tema .theme-claim{
  margin:12px 0 0; color:var(--purple);
  font:600 clamp(18px,2vw,24px)/1.35 var(--head);
  font-style:italic; text-wrap:pretty;
}

/* Motivazioni della selezione storica ENEA, proposte editoriali 2026.
   Contenuti storici, attribuzioni e siti delle altre edizioni restano invariati. */
body[data-edizione="2026"] .memory-video-motivation{
  margin:2px 0 0;padding:0;
  color:#423945;font:400 13px/1.55 var(--serif);text-wrap:pretty;overflow-wrap:break-word;
}
body[data-edizione="2026"] .memory-video-motivation strong,
body[data-edizione="2026"] .memory-quote-motivation strong{
  display:block;margin:0 0 4px;color:var(--purple);
  font:700 12px/1.4 var(--sans);
}
body[data-edizione="2026"] .memory-quote-card figcaption .memory-quote-motivation{
  flex:1 1 100%;min-width:0;margin:9px 0 0;padding:0;color:#443c47;
  font:400 13px/1.55 var(--serif);text-wrap:pretty;overflow-wrap:break-word;
}

/* 27-10-2026: concept ENEA con lettura a colonna unica.
 * Titolo e sottotitolo precedono il testo; il limite in ch evita righe troppo
 * lunghe sui grandi monitor. Gli altri moduli e il 2025 restano invariati. */
body[data-edizione="2026"] #tema .section-grid{
  grid-template-columns:minmax(0,1fr);
  row-gap:clamp(24px,3vw,36px);
}
body[data-edizione="2026"] #tema .theme-copy{
  grid-column:1/-1;
  width:100%;
  max-width:80ch;
  padding-top:0;
}


/* Parita di comportamento con la versione statica 2025: condivisioni
 * immediatamente accessibili (Facebook, WhatsApp, email), non dropdown. */
body[data-edizione="2026"] .event-share{
  display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;
  margin-top:19px;padding-top:12px;border-top:1px solid #e6dfe8;
  font:400 13px/1.5 var(--serif);color:#5b5060;
}
body[data-edizione="2026"] .event-share__label{font-weight:500}
body[data-edizione="2026"] .event-share__links{display:flex;flex-wrap:wrap;gap:7px}
body[data-edizione="2026"] .event-share__links a,
body[data-edizione="2026"] .event-share__links .event-share__disabled{
  display:inline-grid;place-items:center;flex:0 0 36px;width:36px;height:36px;
  border-radius:5px;background:#fff;border:1px solid #dad4dd;color:#5d3975;
}
body[data-edizione="2026"] .event-share__links a:hover,
body[data-edizione="2026"] .event-share__links a:focus-visible{
  border-color:var(--magenta);background:#fff2fa;color:var(--magenta);
}
body[data-edizione="2026"] .event-share__links .event-share__disabled{opacity:.52;cursor:not-allowed}
body[data-edizione="2026"] .event-share__links svg{height:17px;width:17px}
body[data-edizione="2026"] .event-share__preview-note{
  flex:1 1 100%;font:400 11px/1.4 var(--sans);color:#766a77;
}
/* Il cambio p -> h3/h5 non altera dimensioni e spazi della v0.4.14. */
body[data-edizione="2026"] .hero-subtitle{margin:0 0 12px}
body[data-edizione="2026"] #tema .theme-claim{margin:12px 0 0}
body[data-edizione="2026"] .event-subtitle{margin:0 0 15px}

/* =====================================================================
   MV26 | ENEA - Identita' cromatica ufficiale | 30 ottobre 2026
   Ambito: SOLO il 2026. Non modifica la presentazione del 2025.
   ROSSO #b6271e, ARANCIO #d7903d, BIANCO MURO #e8d2d0,
   PAVIMENTO #a49882, NERO #000000, BIANCO #ffffff.
   L'arancio non e' usato per testi piccoli su bianco (contrasto 2.64:1).
   ===================================================================== */
body[data-edizione="2026"] {
  --enea-red: #b6271e;
  --enea-orange: #d7903d;
  --enea-wall: #e8d2d0;
  --enea-stone: #a49882;
  --enea-black: #000000;
  --enea-white: #ffffff;
  /* Alias compatibili con il template storico, senza toccare il 2025. */
  --purple: #000000;
  --purple-deep: #000000;
  --purple-ink: #000000;
  --magenta: #b6271e;
  --magenta-deep: #b6271e;
  --ink: #000000;
  --ink-subtle: rgba(0,0,0,.72);
  --line: rgba(0,0,0,.17);
  --paper: #e8d2d0;
  color: #000000;
  background: #ffffff;
}
body[data-edizione="2026"] :focus-visible {
  outline: 3px solid #b6271e;
  outline-offset: 3px;
}
body[data-edizione="2026"] .site-header :focus-visible,
body[data-edizione="2026"] .hero :focus-visible,
body[data-edizione="2026"] .site-footer :focus-visible,
body[data-edizione="2026"] #edizioni :focus-visible {
  outline-color: #d7903d;
}
body[data-edizione="2026"] .skip-link {background:#ffffff;color:#000000}

/* Testata e banda di anteprima. L'avviso rimane riconoscibile. */
body[data-edizione="2026"] .preview-ribbon {
  background: #d7903d; color: #000000;
  border-bottom: 1px solid #000000;
}
body[data-edizione="2026"] .preview-pulse {background:#b6271e}
body[data-edizione="2026"] .site-header {
  background: #000000; color: #ffffff;
  border-bottom: 1px solid #a49882;
  backdrop-filter: none;
}
body[data-edizione="2026"] .brand-wordmark,
body[data-edizione="2026"] .brand-wordmark span {color:#ffffff}
body[data-edizione="2026"] .brand-wordmark small {color:#d7903d}
body[data-edizione="2026"] .primary-nav a {color:#ffffff}
body[data-edizione="2026"] .primary-nav a:hover,
body[data-edizione="2026"] .primary-nav a:focus-visible {color:#d7903d}
body[data-edizione="2026"] .primary-nav .nav-newsletter {
  border-color:#d7903d; color:#ffffff;
}
body[data-edizione="2026"] .primary-nav .nav-newsletter:hover {
  background:#d7903d; color:#000000;
}
body[data-edizione="2026"] .menu-toggle {border-color:#a49882;color:#ffffff}
body[data-edizione="2026"] .primary-nav {background:#000000}

/* Hero istituzionale: fondo nero, accenti caldi, immagine originale intatta. */
body[data-edizione="2026"] .hero {
  color:#ffffff;
  background: linear-gradient(112deg,#000000 0%,#000000 58%,rgba(182,39,30,.27) 100%),#000000;
  border-bottom:4px solid #d7903d;
}
body[data-edizione="2026"] .hero-eyebrow,
body[data-edizione="2026"] .hero-title-small,
body[data-edizione="2026"] .hero-title-big,
body[data-edizione="2026"] .hero-theme {color:#ffffff}
body[data-edizione="2026"] .hero-heading-group .hero-title-year {color:#d7903d}
body[data-edizione="2026"] .hero-subtitle,
body[data-edizione="2026"] .hero-details,
body[data-edizione="2026"] .hero-venues {color:#e8d2d0}
body[data-edizione="2026"] .hero-edition-logo--preview {
  border-color:#a49882; background:rgba(255,255,255,.04);
}
body[data-edizione="2026"] .hero-logo-empty {color:#ffffff}
body[data-edizione="2026"] .hero-logo-empty span {color:#d7903d}
body[data-edizione="2026"] .hero-placeholder-note {color:#e8d2d0}
body[data-edizione="2026"] .hero-visual {background:transparent}
body[data-edizione="2026"] .hero-cover-link:focus-visible {
  outline:4px solid #d7903d;outline-offset:-5px;
}
body[data-edizione="2026"] .button--primary {
  background:#b6271e;color:#ffffff;border:1px solid #b6271e;
}
body[data-edizione="2026"] .button--primary:hover,
body[data-edizione="2026"] .button--primary:focus-visible {
  background:#d7903d;color:#000000;border-color:#d7903d;
}
body[data-edizione="2026"] .button--ghost {border-color:#a49882;color:#ffffff}
body[data-edizione="2026"] .button--ghost:hover {background:#d7903d;color:#000000;border-color:#d7903d}
body[data-edizione="2026"] .hero-connect {border-color:rgba(232,210,208,.43)}
body[data-edizione="2026"] .hero-newsletter p,
body[data-edizione="2026"] .hero-social>span,
body[data-edizione="2026"] .hero-disclaimer {color:#e8d2d0}
body[data-edizione="2026"] .hero-newsletter a {
  color:#ffffff;border-color:#a49882;background:transparent;
}
body[data-edizione="2026"] .hero-newsletter a:hover,
body[data-edizione="2026"] .hero-newsletter a:focus-visible {
  color:#000000;background:#d7903d;border-color:#d7903d;
}
body[data-edizione="2026"] .hero-social-links>a {
  color:#ffffff;border-color:#a49882;
}
body[data-edizione="2026"] .hero-social-links>a:hover,
body[data-edizione="2026"] .hero-social-links>a:focus-visible {
  color:#000000;background:#d7903d;border-color:#d7903d;
}
body[data-edizione="2026"] .hero-social-links .hero-event-social {
  border-color:#d7903d;color:#ffffff;
}
body[data-edizione="2026"] .hero-social-links .hero-event-social:hover {
  background:#d7903d;color:#000000;
}
body[data-edizione="2026"] .hero-event-pending {color:#e8d2d0}

/* Sezioni e tipografia: nero sul bianco muro, rosso solo con contrasto valido. */
body[data-edizione="2026"] .section--white {background:#ffffff;color:#000000}
body[data-edizione="2026"] .section--tint {background:#e8d2d0;color:#000000}
body[data-edizione="2026"] .section--dark {background:#000000;color:#ffffff}
body[data-edizione="2026"] .section-kicker {color:#b6271e}
body[data-edizione="2026"] .section--tint .section-kicker {color:#000000}
body[data-edizione="2026"] .section--dark .section-kicker {color:#d7903d}
body[data-edizione="2026"] .section-heading,
body[data-edizione="2026"] .section-heading em {color:inherit}
body[data-edizione="2026"] .section-heading::after {background:#b6271e}
body[data-edizione="2026"] .section--tint .section-heading::after,
body[data-edizione="2026"] .section--dark .section-heading::after {background:#d7903d}
body[data-edizione="2026"] .section-intro,
body[data-edizione="2026"] .section--dark .section-intro {color:inherit}
body[data-edizione="2026"] .section--dark .section-intro {color:#e8d2d0}
body[data-edizione="2026"] #tema .theme-copy h3,
body[data-edizione="2026"] #tema .theme-claim {color:#b6271e}
body[data-edizione="2026"] #tema .theme-copy p {color:#000000}
body[data-edizione="2026"] .theme-copy blockquote {border-color:#b6271e;color:#000000}
body[data-edizione="2026"] .section-place {color:#000000}
body[data-edizione="2026"] .placeholder-panel {background:#e8d2d0;border-color:#a49882}
body[data-edizione="2026"] .example-tag {
  background:#e8d2d0;color:#000000;border:1px solid rgba(0,0,0,.16);
}

/* Programma: elementi attivi in rosso, testi neri, sfondi chiari. */
body[data-edizione="2026"] #programma {background:#e8d2d0;color:#000000}
body[data-edizione="2026"] .program-filters>label,
body[data-edizione="2026"] .search-guidance,
body[data-edizione="2026"] .results-note {color:#000000}
body[data-edizione="2026"] .search-holder input,
body[data-edizione="2026"] .select-holder select {
  border-color:#a49882;background:#ffffff;color:#000000;
}
body[data-edizione="2026"] .search-holder input::placeholder {color:rgba(0,0,0,.70)}
body[data-edizione="2026"] .search-holder span {color:#000000}
body[data-edizione="2026"] .day-switcher .day-tab {
  background:#ffffff;border-color:#b6271e;color:#b6271e;
}
body[data-edizione="2026"] .day-switcher .day-tab:hover:not(.active) {
  background:#ffffff;color:#000000;border-color:#000000;
}
body[data-edizione="2026"] .day-switcher .day-tab.active,
body[data-edizione="2026"] .day-switcher .day-tab[aria-current="location"] {
  background:#b6271e;border-color:#b6271e;color:#ffffff;
}
body[data-edizione="2026"] .day-tab .day-no,
body[data-edizione="2026"] .day-tab .day-date {color:#000000}
body[data-edizione="2026"] .day-tab.active .day-no,
body[data-edizione="2026"] .day-tab.active .day-date {color:#ffffff}
body[data-edizione="2026"] .day-tab--has-matches:not(.active) {box-shadow:inset 3px 0 #b6271e}
body[data-edizione="2026"] .day-match-count {
  background:#e8d2d0;color:#000000;border:1px solid rgba(0,0,0,.18);
}
body[data-edizione="2026"] .day-tab.active .day-match-count {
  background:#ffffff;color:#000000;
}
body[data-edizione="2026"] .day-panel-intro {
  border-color:#a49882;color:#000000;
}
body[data-edizione="2026"] .day-panel-intro h3,
body[data-edizione="2026"] .day-panel-intro span,
body[data-edizione="2026"] .day-panel-intro span[data-day-summary] {color:#000000}
body[data-edizione="2026"] .day-panel-kicker {color:#000000}
body[data-edizione="2026"] .event-card {
  background:#ffffff;border:1px solid rgba(0,0,0,.21);
  box-shadow:none;color:#000000;
}
body[data-edizione="2026"] .event-card:target,
body[data-edizione="2026"] .event-card--search-lead {
  outline-color:#b6271e;border-color:#b6271e;
  box-shadow:inset 4px 0 #b6271e;
}
body[data-edizione="2026"] .event-time,
body[data-edizione="2026"] .event-time>span,
body[data-edizione="2026"] .event-time .time-tbd,
body[data-edizione="2026"] .event-time small,
body[data-edizione="2026"] .event-time .event-time-pending,
body[data-edizione="2026"] .event-time .event-time-options {color:#000000}
body[data-edizione="2026"] .event-tags span {
  background:#e8d2d0;color:#000000;
}
body[data-edizione="2026"] .event-tags .tag-demo {
  background:#b6271e;color:#ffffff;
}
body[data-edizione="2026"] .event-content h4,
body[data-edizione="2026"] .event-content h4 a,
body[data-edizione="2026"] .event-person-name,
body[data-edizione="2026"] .event-anchor {color:#b6271e}
body[data-edizione="2026"] .event-content h4 a:hover,
body[data-edizione="2026"] .event-content h4 a:focus-visible {color:#000000}
body[data-edizione="2026"] .event-subtitle,
body[data-edizione="2026"] .event-person-group-label,
body[data-edizione="2026"] .event-person-role,
body[data-edizione="2026"] .event-rich-content,
body[data-edizione="2026"] .event-content>p,
body[data-edizione="2026"] .event-meta,
body[data-edizione="2026"] .event-meta svg,
body[data-edizione="2026"] .event-editorial-note {color:#000000}
body[data-edizione="2026"] .event-person-group-label svg {color:#b6271e}
body[data-edizione="2026"] .event-role-warning {
  background:#e8d2d0;color:#000000;
}
body[data-edizione="2026"] .event-share {
  border-color:#a49882;color:#000000;
}
body[data-edizione="2026"] .event-share__links a,
body[data-edizione="2026"] .event-share__links .event-share__disabled {
  background:#ffffff;color:#b6271e;border-color:#a49882;
}
body[data-edizione="2026"] .event-share__links a:hover,
body[data-edizione="2026"] .event-share__links a:focus-visible {
  background:#b6271e;color:#ffffff;border-color:#b6271e;
}
body[data-edizione="2026"] .event-share__preview-note {color:#000000}
body[data-edizione="2026"] .no-results {
  color:#000000;background:#ffffff;border-color:#a49882;
}

/* Villaggio, voci, partner, luoghi: nessun residuo rosa/viola. */
body[data-edizione="2026"] .association-card,
body[data-edizione="2026"] .guest-card,
body[data-edizione="2026"] .partner-card,
body[data-edizione="2026"] .venue-card {
  background:#ffffff;color:#000000;border-color:rgba(0,0,0,.18);
}
body[data-edizione="2026"] .association-card h3,
body[data-edizione="2026"] .association-card p,
body[data-edizione="2026"] .guest-content>p:not(.guest-role),
body[data-edizione="2026"] .guest-biography,
body[data-edizione="2026"] .venue-card p {color:#000000}
body[data-edizione="2026"] .association-symbol,
body[data-edizione="2026"] .association-card a,
body[data-edizione="2026"] .guest-content h3,
body[data-edizione="2026"] .guest-meetings a,
body[data-edizione="2026"] .partner-card a,
body[data-edizione="2026"] .venue-card h3 {color:#b6271e}
body[data-edizione="2026"] .guest-role,
body[data-edizione="2026"] .guest-meetings span,
body[data-edizione="2026"] .partner-category,
body[data-edizione="2026"] .venue-card .venue-role {color:#000000}
body[data-edizione="2026"] .guest-cover {
  background:linear-gradient(135deg,#e8d2d0,#a49882);
}
body[data-edizione="2026"] .guest-cover::before {border-color:rgba(0,0,0,.36)}
body[data-edizione="2026"] .guest-monogram {color:#000000}
body[data-edizione="2026"] .guest-demo-label {background:#000000;color:#ffffff}
body[data-edizione="2026"] .guest-meetings {border-color:#a49882}
body[data-edizione="2026"] .partner-text-logo {color:#b6271e}
body[data-edizione="2026"] .venue-icon {background:#e8d2d0;color:#000000}

/* Archivio: fascia nera, titoli bianchi, hover caldo. */
body[data-edizione="2026"] #edizioni,
body[data-edizione="2026"] .archive-card {background:#000000;color:#ffffff}
body[data-edizione="2026"] .archive-card {
  border-color:#a49882;
}
body[data-edizione="2026"] .archive-card:hover,
body[data-edizione="2026"] .archive-card:focus-visible {
  background:#b6271e;border-color:#d7903d;
}
body[data-edizione="2026"] .archive-year,
body[data-edizione="2026"] .archive-title,
body[data-edizione="2026"] .archive-card .archive-title,
body[data-edizione="2026"] .archive-card .archive-description {color:#ffffff}
body[data-edizione="2026"] .archive-arrow,
body[data-edizione="2026"] .archive-card .archive-arrow {color:#d7903d}
body[data-edizione="2026"] #edizioni .section-intro {color:#e8d2d0}

/* Video storici: copertine originali intatte, controlli con contrasto. */
body[data-edizione="2026"] .memory-strip--video {background:#ffffff;color:#000000}
body[data-edizione="2026"] .memory-strip-subtitle,
body[data-edizione="2026"] .memory-privacy-hint,
body[data-edizione="2026"] .memory-video-voices,
body[data-edizione="2026"] .memory-video-voices strong,
body[data-edizione="2026"] .memory-video-abstract,
body[data-edizione="2026"] .memory-video-motivation {color:#000000}
body[data-edizione="2026"] .memory-source-link,
body[data-edizione="2026"] .memory-video-footer a,
body[data-edizione="2026"] .memory-video-eyebrow {color:#b6271e}
body[data-edizione="2026"] .memory-preview-label,
body[data-edizione="2026"] .memory-review-warning {color:#000000}
body[data-edizione="2026"] .memory-carousel-track {scrollbar-color:#b6271e transparent}
body[data-edizione="2026"] .memory-carousel-button,
body[data-edizione="2026"] .memory-carousel-pause {
  background:#ffffff;color:#000000;border-color:#a49882;
}
body[data-edizione="2026"] .memory-carousel-button:hover,
body[data-edizione="2026"] .memory-carousel-pause:hover {
  background:#e8d2d0;border-color:#b6271e;color:#000000;
}
body[data-edizione="2026"] .memory-video-card {
  background:#ffffff;border-color:rgba(0,0,0,.18);
  box-shadow:none;
}
body[data-edizione="2026"] .memory-video-content h3 {color:#000000}
body[data-edizione="2026"] .memory-video-footer {border-color:#a49882}
body[data-edizione="2026"] .memory-player {background:#000000}
body[data-edizione="2026"] .memory-player-cover:not(.has-poster) {
  background:linear-gradient(130deg,#000000,#b6271e);
}
body[data-edizione="2026"] .memory-player-cover.has-poster {background:#000000}
body[data-edizione="2026"] .memory-player-cover.has-poster .memory-player-year {
  background:rgba(0,0,0,.88);color:#ffffff;
}
body[data-edizione="2026"] .memory-player-cover.has-poster .memory-player-icon {
  background:rgba(0,0,0,.65);border-color:#ffffff;color:#ffffff;
}
body[data-edizione="2026"] .memory-player-close {
  background:#ffffff;color:#000000;border-color:#a49882;
}
body[data-edizione="2026"] .memory-player-local {background:#000000;color:#ffffff}
body[data-edizione="2026"] .memory-player-local a {
  background:#d7903d;color:#000000;border-color:#d7903d;
}
body[data-edizione="2026"] .memory-player-external {
  background:#000000;color:#ffffff;border-color:#a49882;
}
body[data-edizione="2026"] .memory-video-consent {background:rgba(0,0,0,.97);color:#ffffff}
body[data-edizione="2026"] .memory-video-consent button {
  background:#d7903d;color:#000000;border-color:#d7903d;
}
body[data-edizione="2026"] .memory-video-consent .memory-video-consent-dismiss {
  background:transparent;color:#ffffff;border-color:#ffffff;
}
body[data-edizione="2026"] .memory-video-consent button:focus-visible {
  outline:3px solid #d7903d;
}

/* Parole e testimonianze: fondo bianco muro, citazioni nere su bianco. */
body[data-edizione="2026"] .memory-strip--quotes {
  background:#e8d2d0;color:#000000;
}
body[data-edizione="2026"] .memory-strip--quotes .memory-source-link {color:#000000;border-color:#000000}
body[data-edizione="2026"] .memory-strip--quotes .memory-strip-subtitle,
body[data-edizione="2026"] .memory-strip--quotes .memory-review-warning {color:#000000}
body[data-edizione="2026"] .memory-quote-card {
  background:#ffffff;color:#000000;border-color:rgba(0,0,0,.23);box-shadow:none;
}
body[data-edizione="2026"] .memory-quote-card::before {color:rgba(182,39,30,.17)}
body[data-edizione="2026"] .memory-quote-year,
body[data-edizione="2026"] .memory-quote-attribution,
body[data-edizione="2026"] .memory-quote-card figcaption a {color:#b6271e}
body[data-edizione="2026"] .memory-quote-year span,
body[data-edizione="2026"] .memory-quote-card blockquote p,
body[data-edizione="2026"] .memory-quote-context,
body[data-edizione="2026"] .memory-quote-motivation,
body[data-edizione="2026"] .memory-quote-card figcaption .memory-quote-motivation {color:#000000}
body[data-edizione="2026"] .memory-quote-card figcaption {border-color:#a49882}
body[data-edizione="2026"] .memory-video-motivation strong,
body[data-edizione="2026"] .memory-quote-motivation strong {color:#000000}

/* Footer: stesso nero del portale, accenti arancio leggibili. */
body[data-edizione="2026"] .site-footer {background:#000000;color:#ffffff}
body[data-edizione="2026"] .site-footer h2,
body[data-edizione="2026"] .site-footer p,
body[data-edizione="2026"] .site-footer a,
body[data-edizione="2026"] .footer-bottom {color:#ffffff}
body[data-edizione="2026"] .site-footer a:hover,
body[data-edizione="2026"] .site-footer a:focus-visible {color:#d7903d}
body[data-edizione="2026"] .historic-footer-social a {
  border-color:#a49882;color:#ffffff;
}
body[data-edizione="2026"] .historic-footer-social a:hover {
  border-color:#d7903d;background:#d7903d;color:#000000;
}
body[data-edizione="2026"] .footer-bottom {border-color:#a49882}

/* La navigazione mobile eredita gli stessi contrasti del desktop. */
@media (max-width: 940px) {
  body[data-edizione="2026"] .primary-nav {
    background:#000000;border-top:1px solid #a49882;
  }
  body[data-edizione="2026"] .primary-nav li {border-color:rgba(232,210,208,.32)}
}
@media (max-width: 700px) {
  body[data-edizione="2026"] .day-switcher,
  body[data-edizione="2026"].js-enabled .day-switcher {
    background:transparent;box-shadow:none;border:0;
  }
}

/* QA responsive: due orari proposti senza cifre spezzate in verticale.
   Correzione limitata agli appuntamenti con orario ancora da confermare. */
body[data-edizione="2026"] .event-card:has(.event-time-options) {
  grid-template-columns:124px minmax(0,1fr) 22px;
}
body[data-edizione="2026"] .event-time:has(.event-time-options) {
  display:grid;grid-template-columns:17px minmax(0,1fr);
  align-items:start;column-gap:7px;row-gap:3px;white-space:normal;
}
body[data-edizione="2026"] .event-time .event-time-options {
  display:block;max-width:none;min-width:0;
  overflow-wrap:normal;white-space:nowrap;
  font:700 12px/1.4 var(--head);
}
body[data-edizione="2026"] .event-time:has(.event-time-options) .event-time-pending {
  grid-column:1/-1;max-width:none;white-space:normal;
}
@media (max-width:700px) {
  body[data-edizione="2026"] .event-card:has(.event-time-options) {
    grid-template-columns:minmax(0,1fr) 22px;
  }
  body[data-edizione="2026"] .event-time:has(.event-time-options) {
    display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px;
  }
  body[data-edizione="2026"] .event-time:has(.event-time-options) .event-time-pending {
    flex:0 0 100%;
  }
}
