/* Generato da scripts/genera-eventi.mjs — non modificare a mano. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
       background: #fafaf8; color: #222; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
header { background: #FF6B35; color: #fff; padding: 14px 20px;
         display: flex; align-items: center; justify-content: space-between; }
.header-logo { font-size: 20px; font-weight: 800; }
.header-sub  { font-size: 13px; opacity: .85; margin-top: 1px; }
.header-app  { background: rgba(255,255,255,.2); border-radius: 20px;
               padding: 7px 14px; font-size: 13px; font-weight: 700; white-space: nowrap; }
main { max-width: 680px; margin: 0 auto; padding: 20px 16px 48px; }
.crumb { font-size: 13px; color: #999; margin-bottom: 14px; }
.crumb a { color: #FF6B35; font-weight: 600; }
.sponsor { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .5px;
           text-transform: uppercase; color: #9a7410; background: #fdf3d7;
           border-radius: 6px; padding: 3px 9px; margin-bottom: 8px; }
h1 { font-size: 25px; font-weight: 800; line-height: 1.25; margin-bottom: 8px; }
.quando { font-size: 16px; font-weight: 700; color: #FF6B35; margin-bottom: 2px; }
.dove   { font-size: 15px; color: #666; margin-bottom: 16px; }
/* La locandina è una storia IG 9:16: alta e stretta. Larghezza limitata, mai a
   tutta pagina su desktop, e altezza massima così non spinge il testo fuori schermo. */
.locandina { display: block; width: 100%; max-width: 330px; max-height: 68vh;
             object-fit: contain; border-radius: 12px; border: 1px solid #eee;
             background: #fff; margin: 0 auto 18px; }
.desc { font-size: 16px; color: #333; white-space: pre-line; margin-bottom: 18px; }
.dati { background: #fff; border: 1px solid #ffe7d4; border-radius: 12px;
        padding: 4px 16px; margin-bottom: 20px; }
.dato { display: flex; gap: 10px; padding: 10px 0; font-size: 15px;
        border-bottom: 1px solid #f6f0ea; }
.dato:last-child { border-bottom: none; }
.dato-k { color: #999; min-width: 84px; flex-shrink: 0; }
.dato-v { color: #222; font-weight: 600; }
.dato-v a { color: #FF6B35; }
.cta { display: block; text-align: center; background: #FF6B35; color: #fff;
       padding: 14px 20px; border-radius: 26px; font-weight: 700; font-size: 16px;
       margin-bottom: 10px; }
.cta-2 { display: block; text-align: center; background: #fff; color: #FF6B35;
         border: 1.5px solid #ffd7c2; padding: 12px 20px; border-radius: 26px;
         font-weight: 700; font-size: 15px; margin-bottom: 20px; }
.passato { display: none; background: #fff4f4; border: 1px solid #ffd6d6; color: #a33;
           border-radius: 10px; padding: 11px 14px; font-size: 14px; margin-bottom: 16px; }
.nota { font-size: 13px; color: #999; margin-top: 18px; }
footer { text-align: center; color: #aaa; font-size: 13px; padding: 22px 16px 34px; }
footer a { color: #FF6B35; }
@media (max-width: 480px) { h1 { font-size: 21px; } main { padding-top: 16px; } }
