/* v3 — pagine gruppi: templates/v3/events.php (caricato da erv3_assets) e
   templates/v3/seminars.php (caricato da v3g_style()). Tutto sotto body.er-v3,
   stessi token di v3.css: verde, terracotta, avorio. Niente blu. */

/* Link francese nell'hero verde: bianco sottolineato, area di tocco 44px. */
body.er-v3 .v3g-fr{margin:18px 0 0}
body.er-v3 .v3g-fr a{color:#fff;display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:3px}

/* Fascia di budget dentro il modulo erbk: l'etichetta va su una riga. */
body.er-v3 .erbk-form .v3g-budget{margin:0}
body.er-v3 .erbk-form .v3g-budget label{display:block}
body.er-v3 .erbk-form .v3g-budget .hint{font-weight:400;letter-spacing:0}

/* Formati di sede (.cap): il "dove" in corsivo, inchiostro pieno su bianco. */
body.er-v3 .cap em{display:block;margin-top:6px;font-style:italic;color:var(--ink)}

/* Figura laterale della logistica. */
body.er-v3 .v3g-fig{margin:0;position:relative;border-radius:var(--r);overflow:hidden}
body.er-v3 .v3g-fig img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}

/* Link nelle liste .ticks del riquadro laterale: 44px, verde scuro su bianco. */
body.er-v3 .box .ticks a{color:var(--night-ink);display:inline-flex;align-items:center;min-height:24px;text-underline-offset:3px}
body.er-v3 .box .ticks li{padding-block:10px}
body.er-v3 .box .btns{display:grid;gap:10px}

/* ---- Pianificatore eventi ---- */
body.er-v3 .v3g-controls{display:grid;gap:4px 28px;background:var(--white);border:1px solid var(--line);border-radius:var(--r);padding:clamp(18px,3vw,28px)}
@media(min-width:900px){body.er-v3 .v3g-controls{grid-template-columns:1fr 1fr}}
body.er-v3 .v3g-controls .choice{margin:0 0 14px}
body.er-v3 .v3g-verdict{margin:20px 0;font:500 clamp(19px,1.8vw,22px)/1.4 var(--serif);color:var(--ink);min-height:1.4em}
body.er-v3 .v3g-venues{list-style:none;display:grid;gap:12px;margin:0;padding:0}
@media(min-width:700px){body.er-v3 .v3g-venues{grid-template-columns:1fr 1fr}}
@media(min-width:1100px){body.er-v3 .v3g-venues{grid-template-columns:repeat(3,1fr)}}
body.er-v3 .v3g-venue{background:var(--white);color:var(--ink);border:1px solid var(--line);border-left:4px solid var(--line);border-radius:var(--r-s);padding:18px;display:flex;flex-direction:column;gap:8px}
body.er-v3 .v3g-venue-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
body.er-v3 .v3g-venue h3{font-size:25px;margin:0}
body.er-v3 .v3g-where{margin:0;font:600 12.5px/1.5 var(--sans);letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
body.er-v3 .v3g-good{margin:0;font-size:15.5px;line-height:1.5}
body.er-v3 .v3g-why{margin:0;padding-left:1.1em;font-size:14.5px;line-height:1.5;color:var(--mute)}
body.er-v3 .v3g-why li{margin:.25em 0}
body.er-v3 .v3g-why li::marker{color:var(--terra)}
body.er-v3 .v3g-why li[data-live]{color:var(--ink)}
body.er-v3 .v3g-venue .link-arrow{margin-top:auto;min-height:44px;display:inline-flex;align-items:center}
body.er-v3 .v3g-flag{flex:none;font:600 12px/1 var(--sans);letter-spacing:.1em;text-transform:uppercase;padding:8px 10px;border-radius:var(--r-pill);background:var(--ivory);color:var(--ink);border:1px solid var(--line)}
/* Stati: colore pieno + testo scuro o bianco, contrasto AA in tutti e tre. */
body.er-v3 .v3g-venue[data-state="works"]{border-left-color:var(--night)}
body.er-v3 .v3g-venue[data-state="works"] .v3g-flag{background:var(--night-ink);border-color:var(--night-ink);color:#fff}
body.er-v3 .v3g-venue[data-state="depends"]{border-left-color:var(--gold)}
body.er-v3 .v3g-venue[data-state="depends"] .v3g-flag{background:#F3E7C4;border-color:#D9C48A;color:var(--ink)}
body.er-v3 .v3g-venue[data-state="out"]{border-left-color:var(--terra);background:#FBF7F1}
body.er-v3 .v3g-venue[data-state="out"] .v3g-flag{background:var(--terra-d);border-color:var(--terra-d);color:#fff}
body.er-v3 .v3g-venue[data-state="out"] h3,body.er-v3 .v3g-venue[data-state="out"] .v3g-good{color:var(--mute)}

/* Briciole sull hero verde: anche la voce corrente in bianco (v3.css la mette in inchiostro). */
body.er-v3 .g-copy .crumbs span[aria-current]{color:#fff}
