/*
 * cineverdi.css — l'unico foglio del sito pubblico.
 *
 * 1. Token del design system "Cineverdi" (tokens.json v2)
 * 2. Temi d'area: <body data-area="neutra|cineforum|cinema">
 * 3. Base
 * 4. Componenti del design system (classi cv-* di components/bundle.css, invariate)
 * 5. Struttura del sito (testata, tendine, menu mobile, footer, sezioni)
 * 6. Estensioni dei componenti (stati che il bundle non copre)
 *
 * I componenti usano solo le variabili --area*; --cf-* e --cv-* solo per i segni d'ente
 * (pallino, etichetta ente, matrice del biglietto).
 */

/* 1. Token ------------------------------------------------------------- */
:root {
    --ink: #1F2229;
    --ink-2: #3A3D45;
    --ink-3: #5C606B;
    --sand: #B8B29E;
    --ground: #F4F3F0;
    --surface: #FFFFFF;
    --line-soft: #ECEBE7;
    --line: #E2E1DC;
    --line-2: #DDDCD6;
    --line-strong: #C9C8C1;

    --cf-600: #2777CC;
    --cf-700: #1F5FA8;
    --cf-50: #E6EEF8;

    --cv-accent: #99BC85;
    --cv-600: #5B7653;
    --cv-700: #4F6B48;
    --cv-800: #3E5A37;
    --cv-50: #EEF5E8;
    --logo-green-100: #D4E7C5;
    --logo-green-200: #BFD8AF;
    --logo-grey: #565954;

    --buy: #F2C230;
    --alert: #C8331F;
    --star: #F2B705;
    --star-soft: #F7D774;
    --breff-600: #D92329;
    --breff-700: #B81D22;
    --natale-600: #B4141E;
    --natale-700: #A3121B;
    --natale-900: #7A0812;
    --natale-oro: #F5C542;
    --natale-50: #FBE3E3;

    --on-area: #FFFFFF;

    --font-ui: Archivo, system-ui, sans-serif;
    --font-read: "Source Serif 4", Georgia, serif;

    --s-1: 4px;
    --s-2: 8px;
    --s-3: 12px;
    --s-4: 16px;
    --s-5: 24px;
    --s-6: 32px;
    --s-7: 48px;
    --control-h: 46px;
    --control-h-sm: 32px;
    --field-h: 52px;

    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-pill: 999px;
    --radius-lg: 12px;

    --shadow-menu: 0 24px 48px rgba(31, 34, 41, .18);
    --shadow-poster: 0 20px 50px rgba(0, 0, 0, .45);
    --shadow-sticky: 0 -8px 24px rgba(0, 0, 0, .2);

    /* Struttura */
    --container: 1240px;
    --gutter: var(--s-5);
}

/* 2. Temi d'area ------------------------------------------------------- */
:root,
[data-area="neutra"] {
    --area: var(--ink);
    --area-dark: var(--ink);
    --area-hover: var(--ink-2);
    --area-accent: var(--sand);
    --area-tint: var(--ground);
}

[data-area="cineforum"] {
    --area: var(--cf-600);
    --area-dark: var(--cf-700);
    --area-hover: var(--cf-700);
    --area-accent: var(--cf-600);
    --area-tint: var(--cf-50);
}

[data-area="cinema"] {
    --area: var(--cv-600);
    --area-dark: var(--cv-700);
    --area-hover: var(--cv-800);
    --area-accent: var(--cv-accent);
    --area-tint: var(--cv-50);
}

/* 3. Base -------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

a {
    color: var(--area-dark);
}

:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 2px;
}

.cv-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.cv-salta {
    position: absolute;
    left: var(--s-4);
    top: -100px;
    z-index: 100;
    padding: var(--s-2) var(--s-4);
    background: var(--surface);
    color: var(--ink);
    font-weight: 700;
}

.cv-salta:focus {
    top: var(--s-2);
}

.cv-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.cv-lead {
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink-2);
    margin: 0;
}

.cv-read {
    font-family: var(--font-read);
    font-size: 19px;
    line-height: 1.65;
    color: var(--ink-2);
}

.cv-read-title {
    font-family: var(--font-read);
    font-size: 40px;
    line-height: 1.1;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 600px) {
    :root {
        --gutter: var(--s-4);
    }
}

/* 4. Componenti del design system (bundle.css) ------------------------- */
.cv-display,.cv-h1,.cv-h2,.cv-h3{font-family:var(--font-ui);font-weight:800;text-transform:uppercase;margin:0;text-wrap:balance}
.cv-display{font-size:84px;line-height:.92;font-stretch:72%}
.cv-h1{font-size:56px;line-height:1;font-stretch:72%}
.cv-h2{font-size:40px;line-height:1.05;font-stretch:72%}
.cv-h3{font-size:24px;line-height:1.15;font-stretch:78%}
.cv-orario{font-family:var(--font-ui);font-size:20px;line-height:1;font-weight:800;font-stretch:80%;font-variant-numeric:tabular-nums}
.cv-label{font-family:var(--font-ui);font-size:12px;line-height:1.3;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3)}

/* Button */
.cv-btn{height:var(--control-h);box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:var(--s-2);padding:0 18px;border-radius:var(--radius-sm);border:2px solid transparent;font-family:var(--font-ui);font-size:15px;font-weight:700;line-height:1;text-decoration:none;cursor:pointer;white-space:nowrap}
.cv-btn:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.cv-btn--buy{background:var(--buy);border-color:var(--buy);color:var(--ink)}
.cv-btn--area{background:var(--area);border-color:var(--area);color:var(--on-area)}
.cv-btn--area:hover{background:var(--area-hover);border-color:var(--area-hover)}
.cv-btn--outline{background:var(--surface);border-color:var(--area-dark);color:var(--area-dark)}
.cv-btn--quiet{background:var(--ground);border-color:var(--ground);color:var(--ink-2);cursor:default}
.cv-btn--sm{height:var(--control-h-sm);padding:0 12px;font-size:13px}
.cv-btn--pillola{height:var(--field-h);padding:0 26px;border-radius:var(--radius-pill);font-size:15px;letter-spacing:.04em;text-transform:uppercase}
.cv-btn--pillola.cv-btn--sm{height:42px;padding:0 16px;font-size:13px}

/* Pill */
.cv-pill{display:inline-flex;align-items:center;gap:6px;font-family:var(--font-ui);font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:5px 10px;border-radius:var(--radius-pill);border:1px solid var(--line-strong);background:var(--surface);color:var(--ink)}
.cv-pill--cf{background:var(--cf-600);border-color:var(--cf-600);color:var(--on-area)}
.cv-pill--cv{background:var(--cv-600);border-color:var(--cv-600);color:var(--on-area)}
.cv-pill--evento{background:var(--ink);border-color:var(--ink);color:var(--surface)}
.cv-pill--live{background:var(--buy);border-color:var(--buy);color:var(--ink)}
.cv-pill--alert{border-color:var(--alert);color:var(--alert)}
.cv-dot{width:8px;height:8px;border-radius:50%;display:inline-block}
.cv-dot--cf{background:var(--cf-600)}
.cv-dot--cv{background:var(--cv-accent)}

/* Slot */
.cv-slot{display:inline-flex;flex-direction:column;gap:2px;min-width:74px;box-sizing:border-box;padding:8px 14px;border-radius:var(--radius-sm);border:1px solid var(--line-strong);background:var(--surface);color:var(--ink);font-family:var(--font-ui);text-decoration:none}
.cv-slot__stato{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.cv-slot--buy{background:var(--buy);border-color:var(--buy)}
.cv-slot--soci{background:var(--cf-50);border-color:var(--cf-600);color:var(--cf-700)}
.cv-slot--passato{background:var(--ground);border-color:var(--line);color:var(--ink-3)}
.cv-slot--passato .cv-orario{text-decoration:line-through}
.cv-slot--esaurito{border-color:var(--alert);color:var(--alert)}

/* Nota */
.cv-nota{display:flex;gap:10px;align-items:flex-start;font-family:var(--font-ui);font-size:14px;line-height:1.5;border-radius:var(--radius-sm);padding:10px 14px}
.cv-nota--info{background:var(--ground);color:var(--ink-2);border-left:3px solid var(--sand);border-radius:0 var(--radius-sm) var(--radius-sm) 0}
.cv-nota--imp{background:var(--alert);color:var(--on-area);font-weight:600;padding:12px 14px}
.cv-nota__icona{flex:none;width:22px;height:22px;border-radius:50%;background:var(--surface);color:var(--alert);display:grid;place-items:center;font-weight:800;font-size:14px}

/* Card spettacolo */
.cv-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);display:flex;flex-direction:column;font-family:var(--font-ui);color:var(--ink);overflow:hidden}
.cv-card__giorno{display:flex;justify-content:space-between;align-items:baseline;padding:14px 16px;border-bottom:1px solid var(--line-soft)}
.cv-card__gruppo{display:flex;flex-direction:column;gap:var(--s-3);padding:14px 16px;flex:1 1 auto}
.cv-card__gruppo + .cv-card__gruppo{border-top:1px solid var(--line-soft)}
.cv-card__accesso{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s-2);font-size:14px;font-weight:700}
.cv-prezzo{font-size:13px;font-weight:700;padding:3px 8px;border-radius:var(--radius-sm);background:var(--ground);color:var(--ink);font-variant-numeric:tabular-nums}
.cv-card__azione{margin-top:auto;height:var(--control-h);display:flex;align-items:stretch}
.cv-card__azione .cv-btn{flex:1}

/* Biglietto */
.cv-ticket{display:grid;grid-template-columns:74px 1fr;border:1px solid var(--line-2);border-radius:var(--radius-md);overflow:hidden;background:var(--surface);font-family:var(--font-ui);color:var(--ink)}
.cv-ticket__stub{color:var(--on-area);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 4px;border-right:2px dashed var(--surface)}
.cv-ticket__stub--cf{background:var(--cf-700)}
.cv-ticket__stub--cv{background:var(--cv-600)}
.cv-ticket__num{font-size:28px;font-weight:800;font-stretch:78%;line-height:1}
.cv-ticket__small{font-size:11px;font-weight:700;text-transform:uppercase}
.cv-ticket__body{padding:10px 14px;display:flex;flex-direction:column;gap:6px}
.cv-ticket__bar{height:6px;background:var(--line-soft);border-radius:3px;overflow:hidden}
.cv-ticket__bar > span{display:block;height:100%}
.cv-star{color:var(--star)}

/* Testata */
.cv-head{font-family:var(--font-ui);background:var(--surface);color:var(--ink);border-bottom:1px solid var(--line)}
.cv-head__bar{background:var(--area);color:var(--on-area);font-size:13px;font-weight:600;padding:7px 20px}
.cv-head__main{display:flex;align-items:center;gap:var(--s-5);padding:12px 20px}
.cv-head__nav{display:flex;gap:18px;font-size:15px;font-weight:700;margin-left:auto}
.cv-head__nav a{color:var(--ink);text-decoration:none;padding-bottom:4px;border-bottom:3px solid transparent}
.cv-head__nav a[aria-current]{color:var(--area-dark);border-bottom-color:var(--area-accent)}
.cv-head__search{width:40px;height:40px;border-radius:var(--radius-sm);border:1px solid var(--line-strong);display:grid;place-items:center;color:var(--ink);background:var(--surface)}

/* Breadcrumb */
.cv-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-family:var(--font-ui);font-size:13px;color:var(--ink-3);margin:0;padding:0;list-style:none}
.cv-crumb a{color:var(--ink-2);text-decoration:none}
.cv-crumb a:hover{text-decoration:underline}
.cv-crumb li+li::before{content:"›";margin-right:6px;color:var(--ink-3)}
.cv-crumb__area a{color:var(--area-dark);font-weight:700}
.cv-crumb [aria-current]{color:var(--ink);font-weight:600}
.cv-crumb--mobile{font-weight:700}
.cv-crumb--mobile a{color:var(--area-dark)}

/* Barra news / avviso urgente */
.cv-newsbar{display:flex;align-items:center;gap:10px;min-height:36px;padding:0 16px;background:var(--ink);color:var(--surface);font-family:var(--font-ui);font-size:13px}
.cv-newsbar a{color:inherit;font-weight:700;margin-left:auto;white-space:nowrap}
.cv-newsbar--alert{background:var(--alert);font-weight:600}
.cv-newsbar__icona{flex:none;width:20px;height:20px;border-radius:50%;background:var(--surface);color:var(--alert);display:grid;place-items:center;font-weight:800;font-size:13px}

/* Banner (Da non perdere) */
.cv-banner{display:grid;grid-template-columns:88px 1fr auto;gap:16px;align-items:center;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);font-family:var(--font-ui);color:var(--ink)}
.cv-banner__img{width:88px;height:66px;border-radius:var(--radius-sm);object-fit:cover;background:var(--ground)}
.cv-banner__titolo{font-size:18px;font-weight:800;font-stretch:78%;text-transform:uppercase;line-height:1.1;margin:2px 0 0}

/* Card grandi della homepage: regole complete più sotto, "Card grandi" */

/* In evidenza */
.cv-evidenza{position:relative;min-height:360px;box-sizing:border-box;padding:40px;display:flex;flex-direction:column;justify-content:flex-end;gap:12px;border-radius:var(--radius-md);overflow:hidden;font-family:var(--font-ui);color:var(--surface);background:var(--ink)}
.cv-evidenza--area{background:var(--area)}
.cv-evidenza--testo{background:var(--ground);color:var(--ink)}
.cv-evidenza__azioni{display:flex;flex-wrap:wrap;gap:10px}

/* Selettore stagione */
.cv-stagione{display:inline-flex;align-items:stretch;height:var(--control-h);border:1px solid var(--line-strong);border-radius:var(--radius-sm);overflow:hidden;font-family:var(--font-ui);background:var(--surface)}
.cv-stagione button{border:0;background:none;font:inherit;cursor:pointer;color:var(--ink)}
.cv-stagione__freccia{width:42px;font-size:20px}
.cv-stagione__freccia:disabled{color:var(--line-strong);cursor:default}
.cv-stagione__valore{padding:0 16px;font-weight:800;font-size:16px;border-inline:1px solid var(--line) !important;font-variant-numeric:tabular-nums}
.cv-stagioni{display:grid;grid-template-columns:64px repeat(10,1fr);gap:4px;font-family:var(--font-ui);font-size:12px;font-variant-numeric:tabular-nums}
.cv-stagioni__decennio{font-weight:700;color:var(--ink-3);align-self:center}
.cv-stagioni button{height:32px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);font:inherit;cursor:pointer;color:var(--ink)}
.cv-stagioni button[aria-current]{background:var(--area);border-color:var(--area);color:var(--on-area);font-weight:700}

/* Tabella */
.cv-table{width:100%;border-collapse:collapse;font-family:var(--font-ui);font-size:14px;color:var(--ink)}
.cv-table th{text-align:left;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);padding:10px 12px;border-bottom:2px solid var(--ink)}
.cv-table td{padding:12px;border-bottom:1px solid var(--line)}
.cv-table .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.cv-table a{color:var(--area-dark);font-weight:700}

/* 5. Struttura del sito ------------------------------------------------ */

/* Barra news dentro il contenitore della pagina */
.cv-newsbar__testo {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cv-newsbar__occhiello {
    flex: none;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 11px;
    color: var(--sand);
}

.cv-newsbar--alert .cv-newsbar__testo {
    white-space: normal;
}

.cv-newsbar > .cv-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-block: 8px;
}

.cv-newsbar {
    padding: 0;
}

/* Testata */
.cv-head {
    position: relative;
    z-index: 20;
}

.cv-head__main {
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px var(--gutter);
    flex-wrap: nowrap;
}

.cv-head__loghi {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: none;
    text-decoration: none;
}

.cv-head__logo {
    display: block;
    height: 52px;
    width: auto;
}

.cv-head__sep {
    width: 1px;
    height: 40px;
    background: var(--line-2);
}

.cv-head__nav {
    align-items: center;
    gap: 4px;
}

.cv-head__nav a,
.cv-head__voce {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: none;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.cv-head__voce[aria-current],
.cv-head__nav a[aria-current] {
    color: var(--area-dark);
    border-bottom-color: var(--area-accent);
}

.cv-head__voce[aria-expanded="true"] {
    color: var(--area-dark);
    background: var(--area-tint);
}

.cv-head__voce svg {
    transition: transform .2s;
}

.cv-head__voce[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.cv-head__azioni {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    flex: none;
}

.cv-head__search,
.cv-head__menu {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line-2);
    background: var(--surface);
    color: var(--ink);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.cv-head__menu {
    display: none;
}

@media (max-width: 1080px) {
    .cv-head__nav,
    .cv-head__azioni .cv-btn--area {
        display: none;
    }

    .cv-head__menu {
        display: grid;
    }

    .cv-head__azioni {
        margin-left: auto;
    }
}

@media (max-width: 600px) {
    .cv-head__logo {
        height: 34px;
    }

    .cv-head__sep {
        height: 28px;
    }

    .cv-head__loghi {
        gap: 12px;
    }

    .cv-head__main {
        padding-block: 12px;
    }
}

/* Tendine desktop (tavola MenuDesktop) */
.cv-tendina {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--area-tint);
    border-top: 4px solid var(--area-accent);
    box-shadow: var(--shadow-menu);
}

.cv-tendina[hidden] {
    display: none;
}

.cv-tendina__dentro {
    max-width: var(--container);
    margin: 0 auto;
    padding: 36px var(--gutter) 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 32px 56px;
}

.cv-tendina__intro {
    flex: 1 1 260px;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}

.cv-tendina__occhiello {
    color: var(--area-dark);
}

.cv-tendina__testo {
    margin: 0;
    font-family: var(--font-read);
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink-2);
}

.cv-tendina__azioni {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-top: var(--s-2);
}

.cv-tendina__azioni a:not(.cv-btn) {
    font-weight: 700;
    color: var(--area-dark);
}

.cv-tendina__voci {
    flex: 999 1 520px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 4px 16px;
    align-content: start;
}

.cv-tendina__voci a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    color: var(--ink);
    text-decoration: none;
}

.cv-tendina__voci a:hover {
    background: var(--surface);
}

.cv-tendina__voci strong {
    font-size: 18px;
}

.cv-tendina__voci span {
    font-size: 14px;
    color: var(--ink-3);
}

.cv-velo {
    position: fixed;
    inset: 0;
    z-index: 10;
    border: 0;
    background: rgba(31, 34, 41, .45);
    cursor: pointer;
}

.cv-velo[hidden] {
    display: none;
}

/* Menu mobile (tavola Menu-Mobile) */
.cv-menumob {
    position: fixed;
    inset: 0;
    z-index: 50;
    overflow-y: auto;
    background: var(--ink);
    color: var(--surface);
    display: flex;
    flex-direction: column;
}

.cv-menumob[hidden] {
    display: none;
}

.cv-menumob a {
    color: var(--surface);
}

.cv-menumob__testa {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--s-4) 20px;
    border-bottom: 1px solid var(--ink-2);
}

.cv-menumob__testa .cv-label {
    color: var(--sand);
}

.cv-menumob__chiudi {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-pill);
    border: 1px solid #4A4D56;
    background: transparent;
    color: var(--surface);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.cv-menumob__cerca {
    padding: var(--s-4) 20px var(--s-2);
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.cv-menumob__cerca label {
    font-size: 13px;
    color: #A9A8A1;
}

.cv-menumob__cerca div {
    display: flex;
    gap: var(--s-2);
}

.cv-menumob__cerca input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: var(--control-h);
    padding: 0 14px;
    border-radius: var(--radius-sm);
    border: 1px solid #4A4D56;
    background: #2A2D34;
    color: var(--surface);
    font: inherit;
    font-size: 16px;
}

.cv-menumob__cerca button {
    width: var(--control-h);
    min-height: var(--control-h);
    border-radius: var(--radius-sm);
    border: 0;
    background: var(--sand);
    color: var(--ink);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.cv-menumob__nav {
    display: flex;
    flex-direction: column;
    padding: var(--s-2) 0;
}

.cv-menumob__voce {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-3);
    width: 100%;
    min-height: 56px;
    padding: 14px 20px;
    border: 0;
    border-top: 1px solid var(--ink-2);
    background: transparent;
    color: var(--surface);
    font-family: inherit;
    font-size: 26px;
    font-weight: 800;
    font-stretch: 75%;
    text-transform: uppercase;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.cv-menumob__voce:first-child {
    border-top: 0;
}

.cv-menumob__voce > span {
    display: flex;
    align-items: center;
    gap: var(--s-3);
}

.cv-menumob__voce svg {
    transition: transform .2s;
}

.cv-menumob__voce[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.cv-menumob__sotto {
    display: flex;
    flex-direction: column;
    padding: 0 20px 14px 40px;
}

.cv-menumob__sotto[hidden] {
    display: none;
}

.cv-menumob__sotto a {
    padding: 10px 0;
    font-size: 17px;
    color: var(--line);
    text-decoration: none;
}

.cv-menumob__home {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: var(--s-4) 20px;
    border-top: 1px solid var(--ink-2);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
}

.cv-menumob .cv-dot--neutra {
    background: var(--sand);
}

/* Breadcrumb: percorso completo su desktop, solo il passo indietro su telefono */
.cv-percorso {
    padding-block: var(--s-5) var(--s-4);
}

.cv-crumb--mobile {
    display: none;
}

@media (max-width: 600px) {
    .cv-crumb:not(.cv-crumb--mobile) {
        display: none;
    }

    .cv-crumb--mobile {
        display: flex;
    }

    .cv-crumb--mobile a {
        text-decoration: none;
    }
}

/* Sezioni e intestazioni */
.cv-sezione {
    padding-block: var(--s-7);
}

.cv-sezione--chiara {
    background: var(--surface);
    border-block: 1px solid var(--line);
}

.cv-intestazione {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--s-4) var(--s-5);
    margin-bottom: var(--s-6);
}

.cv-intestazione__titoli {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.cv-intestazione__link {
    font-weight: 700;
    color: var(--area-dark);
}

@media (max-width: 600px) {
    .cv-display {
        font-size: 56px;
    }

    .cv-h1 {
        font-size: 40px;
    }

    .cv-h2 {
        font-size: 32px;
    }
}

/* Footer */
.cv-footer {
    margin-top: var(--s-7);
    background: var(--ink);
    color: #D9D8D3;
    font-size: 14px;
    line-height: 1.6;
}

.cv-footer a {
    color: #D9D8D3;
}

.cv-footer__dentro {
    padding-block: 64px 32px;
    display: flex;
    flex-direction: column;
    gap: var(--s-7);
}

.cv-footer__colonne {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.cv-footer__colonna {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cv-footer__titolo {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--surface);
}

.cv-footer em {
    color: #A9A8A1;
}

.cv-footer__fondo {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--s-3);
    padding-top: var(--s-5);
    border-top: 1px solid var(--ink-2);
    font-size: 13px;
    color: #A9A8A1;
}

.cv-footer__fondo nav {
    display: flex;
    gap: var(--s-4);
}

/* 6. Estensioni dei componenti ----------------------------------------- */

/* Card spettacolo: giorno, oggi, annullata, griglia */
.cv-card__giorno .cv-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cv-card__riga {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-2);
}

.cv-card__ico {
    color: var(--ink-3);
}

.cv-card--oggi {
    border-color: var(--buy);
    box-shadow: inset 0 3px 0 var(--buy);
}

.cv-card--annullata {
    opacity: .85;
}

.cv-card--annullata .cv-card__giorno .cv-h3 {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.cv-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--s-5);
    align-items: stretch;
}

/* Slot: stati che il bundle non ha */
.cv-slot--annullato {
    background: var(--surface);
    border-color: var(--line-2);
    color: var(--ink-3);
}

.cv-slot--annullato .cv-orario {
    text-decoration: line-through;
}

.cv-slot--prossimo {
    box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink);
}

a.cv-slot:hover {
    border-color: var(--ink);
}

/* Riga d'azione: avviso al posto del pulsante */
.cv-btn--avviso {
    background: var(--surface);
    border-color: var(--alert);
    color: var(--alert);
    cursor: default;
}

/* Biglietto: riga in alto */
.cv-ticket__top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--s-2);
}

.cv-ticket__ente {
    font-size: 14px;
    font-weight: 700;
}

.cv-ticket__voto {
    font-size: 18px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.cv-ticket__meta {
    font-size: 12px;
    color: var(--ink-3);
}

.cv-biglietti {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--s-4);
}

.cv-ticket__ente {
    white-space: nowrap;
}

.cv-ticket__bar--cf > span {
    background: var(--cf-700);
}

.cv-ticket__bar--cv > span {
    background: var(--cv-600);
}

/* Banner */
.cv-banners {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cv-banner__testo {
    min-width: 0;
}

.cv-banner__testo .cv-label {
    display: flex;
    align-items: center;
    gap: var(--s-2);
}

.cv-banner__sigla {
    width: 88px;
    height: 66px;
    border-radius: var(--radius-sm);
    background: var(--area-tint);
    color: var(--area-dark);
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 800;
    font-stretch: 72%;
}

@media (max-width: 600px) {
    .cv-banner {
        grid-template-columns: 64px 1fr;
    }

    .cv-banner__img,
    .cv-banner__sigla {
        width: 64px;
        height: 64px;
    }

    .cv-banner .cv-btn {
        grid-column: 1 / -1;
    }
}

/* In evidenza */
.cv-evidenza__sfondo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .45;
}

.cv-evidenza--area .cv-evidenza__sfondo {
    opacity: .2;
}

.cv-evidenza__velo {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(31, 34, 41, .92) 0%, rgba(31, 34, 41, .6) 45%, rgba(31, 34, 41, 0) 80%);
}

.cv-evidenza > :not(.cv-evidenza__sfondo):not(.cv-evidenza__velo):not(.cv-evidenza__copertina):not(.cv-evidenza__parola) {
    position: relative;
    max-width: 760px;
}

.cv-evidenza .cv-pill {
    align-self: flex-start;
}

.cv-evidenza__occhiello {
    color: var(--sand);
}

.cv-evidenza--area .cv-evidenza__occhiello {
    color: var(--on-area);
}

.cv-evidenza--testo .cv-evidenza__occhiello {
    color: var(--ink-3);
}

.cv-evidenza__titolo {
    font-size: clamp(44px, 8vw, 120px);
    line-height: .9;
    overflow-wrap: anywhere;
}

/* Giornalino e solo testo hanno titoli lunghi (tavola InEvidenza-Esempi: 88 px) */
.cv-evidenza--testo .cv-evidenza__titolo,
.cv-evidenza__copertina ~ .cv-evidenza__titolo {
    font-size: clamp(40px, 6vw, 88px);
}

.cv-evidenza--testo > .cv-evidenza__titolo,
.cv-evidenza__copertina ~ * {
    max-width: 62%;
}

@media (max-width: 760px) {
    .cv-evidenza--testo > .cv-evidenza__titolo,
    .cv-evidenza__copertina ~ * {
        max-width: none;
    }
}

.cv-evidenza__testo {
    margin: 0;
    font-family: var(--font-read);
    font-size: 19px;
    line-height: 1.45;
}

.cv-evidenza__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2) var(--s-5);
    font-weight: 600;
}

.cv-evidenza__copertina {
    position: absolute;
    right: 8%;
    top: 50%;
    width: min(260px, 28%);
    transform: translateY(-50%) rotate(4deg);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-poster);
}

.cv-evidenza__parola {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(96px, 16vw, 220px);
    font-weight: 800;
    font-stretch: 72%;
    line-height: .85;
    text-transform: uppercase;
    color: var(--area-tint);
}

/* Tesseramento e giornalino in evidenza (tavola Main, tweak "tesseramento" e "giornalino";
   InEvidenza-Mobile). */
.cv-evidenza--area[data-area="cineforum"] {
    background: var(--cf-700);
}

.cv-evidenza--area[data-area="cinema"] {
    background: var(--cv-800);
}

.cv-evidenza--area[data-area] .cv-evidenza__sfondo {
    opacity: .35;
}

.cv-evidenza--area[data-area="cineforum"] .cv-evidenza__velo {
    background: linear-gradient(90deg, rgba(31, 95, 168, .95) 0%, rgba(31, 95, 168, .7) 50%, rgba(31, 95, 168, .2) 100%);
}

.cv-evidenza--area[data-area="cinema"] .cv-evidenza__velo {
    background: linear-gradient(90deg, rgba(62, 90, 55, .95) 0%, rgba(62, 90, 55, .7) 50%, rgba(62, 90, 55, .2) 100%);
}

.cv-evidenza--area[data-area] {
    min-height: 480px;
    padding: 56px;
    justify-content: center;
    gap: 20px;
}

.cv-evidenza--area[data-area] .cv-evidenza__occhiello,
.cv-evidenza--area[data-area] .cv-evidenza__testo {
    color: var(--area-tint);
}

.cv-evidenza--area[data-area] .cv-evidenza__titolo {
    font-size: clamp(56px, 8vw, 112px);
    text-wrap: balance;
}

.cv-evidenza--area[data-area] .cv-evidenza__testo {
    font-size: 22px;
}

.cv-evidenza:has(.cv-evidenza__copertina) {
    min-height: 480px;
    padding: 56px;
    justify-content: center;
    gap: 20px;
}

.cv-evidenza:has(.cv-evidenza__copertina) .cv-evidenza__velo {
    background: linear-gradient(120deg, rgba(39, 119, 204, .35) 0%, rgba(31, 34, 41, 0) 60%);
}

.cv-evidenza .cv-evidenza__copertina {
    right: 56px;
    width: min(300px, 28%);
    transform: translateY(-50%) rotate(2deg);
}

.cv-evidenza__copertina ~ .cv-evidenza__titolo {
    font-size: clamp(56px, 7vw, 96px);
    text-wrap: balance;
}

@media (max-width: 760px) {
    .cv-evidenza.cv-evidenza--area[data-area]:has(.cv-evidenza__sfondo) {
        min-height: 0;
        padding: 172px 20px 28px;
        justify-content: flex-start;
        gap: 12px;
    }

    .cv-evidenza--area[data-area] .cv-evidenza__sfondo,
    .cv-evidenza--area[data-area] .cv-evidenza__velo {
        height: 220px;
        bottom: auto;
    }

    .cv-evidenza--area[data-area] .cv-evidenza__sfondo {
        opacity: .45;
    }

    .cv-evidenza--area[data-area="cineforum"] .cv-evidenza__velo {
        background: linear-gradient(180deg, rgba(31, 95, 168, .2) 0%, var(--cf-700) 100%);
    }

    .cv-evidenza--area[data-area="cinema"] .cv-evidenza__velo {
        background: linear-gradient(180deg, rgba(62, 90, 55, .2) 0%, var(--cv-800) 100%);
    }

    .cv-evidenza--area[data-area] .cv-evidenza__titolo,
    .cv-evidenza__copertina ~ .cv-evidenza__titolo {
        font-size: clamp(40px, 12vw, 56px);
    }

    .cv-evidenza--area[data-area] .cv-evidenza__testo {
        font-size: 17px;
    }

    .cv-evidenza.cv-evidenza:has(.cv-evidenza__copertina) {
        min-height: 0;
        padding: 28px 20px;
        gap: 12px;
    }

    .cv-evidenza .cv-evidenza__copertina {
        right: auto;
        width: 150px;
        transform: rotate(2deg);
    }

    .cv-evidenza--area[data-area] .cv-evidenza__azioni .cv-btn,
    .cv-evidenza:has(.cv-evidenza__copertina) .cv-evidenza__azioni .cv-btn {
        flex: 1 1 100%;
    }
}

/* Evidenza da film (tavola Main, 2026-11-17): foto piena, testo sul lato libero (Cockpit: "Lato del
   testo") sopra una sfumatura nel colore dell'area. Su telefono la foto sta sopra, il testo sotto. */
.cv-evidenza--lato {
    --tinta: var(--ink);
    --tinta-testo: #E9E8E4;
    --sfuma-1: rgba(31, 34, 41, .95);
    --sfuma-2: rgba(31, 34, 41, .85);
    --sfuma-3: rgba(31, 34, 41, .3);
    --sfuma-0: rgba(31, 34, 41, 0);
    min-height: 480px;
    padding: 56px;
    justify-content: center;
    gap: 20px;
    background: var(--tinta);
}

.cv-evidenza--lato[data-area="cineforum"] {
    --tinta: var(--cf-700);
    --tinta-testo: var(--cf-50);
    --sfuma-1: rgba(23, 74, 132, .97);
    --sfuma-2: rgba(31, 95, 168, .9);
    --sfuma-3: rgba(31, 95, 168, .35);
    --sfuma-0: rgba(31, 95, 168, 0);
}

.cv-evidenza--lato[data-area="cinema"] {
    --tinta: var(--cv-800);
    --tinta-testo: var(--cv-50);
    --sfuma-1: rgba(62, 90, 55, .97);
    --sfuma-2: rgba(79, 107, 72, .9);
    --sfuma-3: rgba(79, 107, 72, .35);
    --sfuma-0: rgba(79, 107, 72, 0);
}

.cv-evidenza--lato .cv-evidenza__sfondo {
    opacity: 1;
    object-position: 80% 30%;
}

.cv-evidenza--lato-destra .cv-evidenza__sfondo {
    object-position: 20% 30%;
}

.cv-evidenza--lato .cv-evidenza__velo {
    background: linear-gradient(90deg, var(--sfuma-1) 0%, var(--sfuma-2) 46%, var(--sfuma-3) 60%, var(--sfuma-0) 70%);
}

.cv-evidenza--lato-destra .cv-evidenza__velo {
    background: linear-gradient(270deg, var(--sfuma-1) 0%, var(--sfuma-2) 46%, var(--sfuma-3) 60%, var(--sfuma-0) 70%);
}

.cv-evidenza--lato > :not(.cv-evidenza__sfondo):not(.cv-evidenza__velo):not(.cv-evidenza__copertina):not(.cv-evidenza__parola) {
    width: min(600px, 100%);
    max-width: none;
}

.cv-evidenza--lato-destra > :not(.cv-evidenza__sfondo):not(.cv-evidenza__velo):not(.cv-evidenza__copertina):not(.cv-evidenza__parola) {
    margin-left: auto;
}

.cv-evidenza--lato .cv-evidenza__occhiello,
.cv-evidenza--lato .cv-evidenza__testo {
    color: var(--tinta-testo);
}

.cv-evidenza--lato .cv-evidenza__titolo {
    font-size: clamp(56px, 7vw, 104px);
    text-wrap: balance;
}

.cv-evidenza--lato .cv-evidenza__testo {
    font-size: 22px;
}

.cv-pill--bianca {
    background: var(--surface);
    border-color: var(--surface);
    color: var(--area-dark);
}

.cv-pill--breff {
    color: var(--breff-700);
}

@media (max-width: 760px) {
    .cv-evidenza.cv-evidenza--lato {
        min-height: 0;
        padding: 172px 20px 28px;
        justify-content: flex-start;
        gap: 12px;
    }

    .cv-evidenza--lato .cv-evidenza__sfondo,
    .cv-evidenza--lato .cv-evidenza__velo {
        height: 220px;
        bottom: auto;
    }

    .cv-evidenza--lato .cv-evidenza__sfondo,
    .cv-evidenza--lato-destra .cv-evidenza__sfondo {
        object-position: 50% 20%;
    }

    .cv-evidenza--lato .cv-evidenza__velo,
    .cv-evidenza--lato-destra .cv-evidenza__velo {
        background: linear-gradient(180deg, var(--sfuma-0) 40%, var(--tinta) 100%);
    }

    .cv-evidenza--lato > :not(.cv-evidenza__sfondo):not(.cv-evidenza__velo):not(.cv-evidenza__copertina):not(.cv-evidenza__parola) {
        width: 100%;
        margin-left: 0;
    }

    .cv-evidenza--lato .cv-evidenza__titolo {
        font-size: clamp(40px, 12vw, 56px);
    }

    .cv-evidenza--lato .cv-evidenza__testo {
        font-size: 17px;
    }

    .cv-evidenza--lato .cv-evidenza__azioni .cv-btn {
        flex: 1 1 100%;
    }
}

/* Pulsanti su fondo scuro o colorato (hero, card grandi) */
.cv-btn--chiaro {
    background: var(--surface);
    border-color: var(--surface);
    color: var(--ink);
}

.cv-btn--trasparente {
    background: transparent;
    border-color: rgba(255, 255, 255, .6);
    color: var(--surface);
}

@media (max-width: 760px) {
    .cv-evidenza {
        min-height: 420px;
        padding: var(--s-5);
    }

    .cv-evidenza__copertina {
        position: relative;
        right: auto;
        top: auto;
        width: 150px;
        transform: rotate(2deg);
        align-self: center;
        margin-bottom: auto;
    }

    .cv-evidenza__parola {
        display: none;
    }
}

/* Card grandi (tavola Main, "Due card"): testi in basso a sinistra, pulsante a pillola,
   copertina o locandina inclinata in una colonna a destra. */
.cv-cardhome {
    --card-fondo: var(--ink);
    --card-occhiello: var(--sand);
    --card-testo: #E9E8E4;
    --card-btn: var(--surface);
    --card-btn-testo: var(--ink);
    position: relative;
    height: 440px;
    box-sizing: border-box;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: stretch;
    background: var(--card-fondo);
    color: #FFFFFF;
    font-family: var(--font-ui);
}

.cv-cardhome__sfondo,
.cv-cardhome__velo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.cv-cardhome__sfondo {
    object-fit: cover;
}

.cv-cardhome__corpo {
    position: relative;
    flex: 1;
    min-width: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 16px;
}

.cv-cardhome__occhiello {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--card-occhiello);
}

.cv-cardhome__titolo {
    margin: 0;
    font-size: 44px;
    line-height: 1;
    font-weight: 800;
    font-stretch: 72%;
    text-transform: uppercase;
}

.cv-cardhome__testo {
    margin: 0;
    max-width: 420px;
    font-size: 17px;
    line-height: 1.5;
    color: var(--card-testo);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cv-cardhome__prezzo {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 14px;
}

.cv-cardhome__cifra {
    font-size: 64px;
    line-height: .9;
    font-weight: 800;
    font-stretch: 72%;
    font-variant-numeric: tabular-nums;
}

.cv-cardhome__unita {
    font-size: 20px;
    font-weight: 700;
    color: var(--card-testo);
}

.cv-cardhome .cv-btn--pillola {
    background: var(--card-btn);
    border-color: var(--card-btn);
    color: var(--card-btn-testo);
}

.cv-cardhome__lato {
    position: relative;
    flex: none;
    width: 200px;
    padding: 40px 40px 40px 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.cv-cardhome__lato img {
    display: block;
    width: 100%;
    aspect-ratio: 7 / 10;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: var(--shadow-poster);
    transform: rotate(3deg);
}

/* Campagna di tesseramento: foto in trasparenza, pulsante sabbia */
.cv-cardhome--tess .cv-cardhome__sfondo {
    opacity: .5;
}

.cv-cardhome--tess {
    --card-btn: var(--sand);
}

/* Ultimo giornalino: riflesso blu dall'alto a sinistra */
.cv-cardhome--giornalino .cv-cardhome__velo {
    background: linear-gradient(120deg, rgba(39, 119, 204, .35) 0%, rgba(31, 34, 41, 0) 60%);
}

.cv-cardhome--giornalino .cv-cardhome__testo {
    max-width: 300px;
}

/* Abbonamento Cinema Verdi */
.cv-cardhome--abb {
    --card-fondo: var(--cv-600);
    --card-occhiello: #EEF5E8;
    --card-testo: #EEF5E8;
    --card-btn-testo: var(--cv-800);
}

.cv-cardhome--abb .cv-cardhome__sfondo {
    opacity: .25;
    mix-blend-mode: luminosity;
}

.cv-cardhome--abb .cv-cardhome__velo {
    background: linear-gradient(0deg, rgba(62, 90, 55, .95) 0%, rgba(91, 118, 83, .55) 100%);
}

/* Mini abbonamento BreFF: righe sottili, logo grande, locandina a destra */
.cv-cardhome--breff {
    --card-fondo: var(--breff-600);
    --card-testo: #FFFFFF;
    --card-btn-testo: var(--breff-700);
}

.cv-cardhome--breff .cv-cardhome__velo {
    background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .07) 0 2px, rgba(0, 0, 0, 0) 2px 28px);
}

.cv-cardhome__logo {
    display: block;
    height: 112px;
    width: auto;
    margin: -16px 0 -12px -8px;
}

.cv-cardhome--breff .cv-cardhome__lato {
    width: 190px;
    padding-right: 36px;
}

.cv-cardhome--breff .cv-cardhome__lato img {
    aspect-ratio: 900 / 1286;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

/* Tessera regalo di Natale: foto piena, velo rosso dal basso, prezzi gialli, nota */
.cv-cardhome--regalo {
    --card-fondo: var(--natale-600);
    --card-occhiello: #FFFFFF;
    --card-testo: #FFFFFF;
    --card-btn-testo: var(--natale-700);
}

.cv-cardhome--regalo .cv-cardhome__sfondo {
    object-position: center top;
}

.cv-cardhome--regalo .cv-cardhome__velo {
    background: linear-gradient(0deg, rgba(122, 8, 18, .96) 0%, rgba(150, 12, 24, .85) 45%, rgba(160, 14, 26, 0) 66%);
}

.cv-cardhome--regalo .cv-cardhome__corpo {
    padding: 36px 40px;
    gap: 12px;
    align-items: stretch;
}

.cv-cardhome--regalo .cv-cardhome__occhiello {
    align-self: flex-start;
}

.cv-cardhome__riga {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
}

.cv-cardhome__prezzi {
    display: flex;
    gap: 24px;
}

.cv-cardhome__prezzi > span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cv-cardhome--regalo .cv-cardhome__cifra {
    font-size: 48px;
    color: var(--natale-oro);
}

.cv-cardhome--regalo .cv-cardhome__unita {
    font-size: 14px;
}

.cv-cardhome__nota {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--natale-50);
}

@media (max-width: 600px) {
    .cv-cardhome {
        height: 400px;
    }

    .cv-cardhome__corpo {
        padding: 28px 24px;
    }

    .cv-cardhome__titolo {
        font-size: 36px;
    }

    .cv-cardhome__lato {
        width: 120px;
        padding: 24px 20px 24px 0;
    }

    .cv-cardhome--breff .cv-cardhome__lato {
        width: 110px;
        padding-right: 16px;
    }
}

.cv-cardhomes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: 28px;
}

/* Tabella che scorre su mobile */
.cv-tabella {
    overflow-x: auto;
}

.cv-tabella .cv-table {
    min-width: 560px;
}

/* Selettore stagione con pannello */
.cv-selettore {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: flex-start;
    gap: var(--s-3);
    max-width: 100%;
}

.cv-selettore__pannello {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-menu);
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}

.cv-selettore__pannello[hidden] {
    display: none;
}

.cv-stagione a.cv-stagione__freccia,
.cv-stagione a.cv-stagione__valore {
    display: grid;
    place-items: center;
    color: var(--ink);
    text-decoration: none;
}

.cv-stagioni a {
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
}

.cv-stagioni a[aria-current] {
    background: var(--area);
    border-color: var(--area);
    color: var(--on-area);
    font-weight: 700;
}

@media (max-width: 600px) {
    /* Su telefono il decennio sta su una riga sua, le sue 10 stagioni su due righe da 5 */
    .cv-stagioni {
        grid-template-columns: repeat(5, 1fr);
    }

    .cv-stagioni__decennio {
        grid-column: 1 / -1;
        padding-top: var(--s-1);
    }
}

/* 6b. Componenti della homepage (fase 2) -------------------------------- */

.cv-dot--neutra {
    background: var(--sand);
}

.cv-home__evidenza {
    padding-top: var(--s-5);
}

.cv-home__occhiello {
    margin: 0 0 var(--s-4);
}

.cv-sezione--stretta {
    padding-top: 0;
}

/* Filtro per ente a pillole */
.cv-filtro {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: var(--s-6);
}

.cv-filtro__voce {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
}

.cv-filtro__conteggio {
    font-weight: 500;
    opacity: .75;
}

.cv-filtro__voce[aria-current] {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--surface);
}

.cv-filtro__voce--cf[aria-current] {
    background: var(--cf-700);
    border-color: var(--cf-700);
}

.cv-filtro__voce--cv[aria-current] {
    background: var(--cv-600);
    border-color: var(--cv-600);
}

.cv-filtro__voce[aria-current] .cv-dot {
    background: var(--surface);
}

/* Locandine della programmazione */
.cv-films {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: var(--s-7) 28px;
}

.cv-film {
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
    color: var(--ink);
    text-decoration: none;
}

.cv-film__locandina {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--line-2);
}

.cv-film__locandina img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.cv-film:hover .cv-film__locandina img {
    transform: scale(1.04);
}

.cv-film:hover .cv-film__titolo {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cv-film__enti {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cv-film__enti .cv-pill {
    border-color: var(--surface);
}

.cv-film__testo {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.cv-film__tipo--cf {
    color: var(--cf-700);
}

.cv-film__tipo--cv {
    color: var(--cv-700);
}

.cv-film__date {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cv-film__date .cv-prezzo {
    background: var(--surface);
    border: 1px solid var(--line-2);
}

.cv-film__meta {
    font-size: 14px;
    color: var(--ink-3);
}

/* Telefono: due locandine per riga */
@media (max-width: 600px) {
    .cv-films {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--s-6) var(--s-4);
    }

    .cv-film__titolo {
        font-size: 19px;
    }

    .cv-film__enti {
        top: 8px;
        left: 8px;
    }

    .cv-film__enti .cv-pill {
        font-size: 10px;
        padding: 3px 7px;
    }

    .cv-film__date .cv-prezzo {
        font-size: 12px;
    }

    .cv-film__meta {
        font-size: 13px;
    }
}

/* Serate speciali */
.cv-eventi {
    display: grid;
    /* auto-fill: anche con una sola serata la card resta larga un terzo */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.cv-evento {
    display: flex;
    flex-direction: column;
    background: var(--ground);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.cv-evento__img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.cv-evento__testo {
    padding: var(--s-5);
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.cv-evento__quando {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-3);
}

.cv-evento .cv-prezzo {
    background: var(--surface);
}

.cv-evento__link {
    margin-top: auto;
    font-weight: 700;
}

/* Hero con riquadro di numeri (versione estiva) */
.cv-evidenza--riepilogo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    column-gap: var(--s-7);
    align-content: end;
}

.cv-evidenza--riepilogo > :not(.cv-evidenza__riepilogo):not(.cv-evidenza__sfondo):not(.cv-evidenza__velo) {
    grid-column: 1;
}

.cv-evidenza__riepilogo {
    position: relative;
    grid-column: 2;
    grid-row: 1 / span 6;
    align-self: center;
    margin: 0;
    padding: var(--s-5);
    border-radius: var(--radius-md);
    background: rgba(31, 34, 41, .72);
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}

.cv-evidenza__riepilogo .cv-label {
    color: var(--sand);
}

.cv-evidenza__riepilogo div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--s-3);
    padding-top: var(--s-3);
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.cv-evidenza__riepilogo dt {
    font-size: 15px;
    color: var(--line-2);
}

.cv-evidenza__riepilogo dd {
    margin: 0;
    font-size: 32px;
    line-height: 1;
    font-weight: 800;
    font-stretch: 72%;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 860px) {
    .cv-evidenza--riepilogo {
        display: flex;
    }

    .cv-evidenza__riepilogo {
        align-self: stretch;
    }
}

/* Classifica: podio e posizioni dal quarto in poi */
.cv-podio {
    display: grid;
    grid-template-columns: 1fr 1.25fr 1fr;
    gap: var(--s-5);
    align-items: end;
}

.cv-podio__voce {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
    color: var(--ink);
    text-decoration: none;
}

.cv-podio__locandina {
    position: relative;
    aspect-ratio: 2 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--line-2);
    margin-bottom: var(--s-2);
}

.cv-podio__locandina img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cv-podio__posto {
    position: absolute;
    left: 12px;
    top: 12px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 28px;
    font-weight: 800;
    font-stretch: 72%;
    color: var(--ink);
    background: var(--line-2);
}

.cv-podio__voce--1 .cv-podio__posto {
    width: 64px;
    height: 64px;
    font-size: 40px;
    background: var(--buy);
}

.cv-podio__voce--3 .cv-podio__posto {
    background: #C9A27E;
}

.cv-podio__regia {
    font-size: 14px;
    color: var(--ink-3);
}

.cv-podio__voto {
    font-size: 14px;
    color: var(--ink-3);
}

.cv-podio__voto strong {
    font-size: 28px;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.cv-classifica {
    margin: var(--s-6) 0 0;
    padding: 0;
    list-style: none;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.cv-classifica li + li {
    border-top: 1px solid var(--line-soft);
}

.cv-classifica a {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) minmax(80px, 200px) 70px;
    gap: var(--s-4);
    align-items: center;
    padding: 12px var(--s-4);
    color: var(--ink);
    text-decoration: none;
}

.cv-classifica__posto {
    font-size: 24px;
    font-weight: 800;
    font-stretch: 72%;
    color: var(--ink-3);
    font-variant-numeric: tabular-nums;
}

.cv-classifica__titolo {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cv-classifica__titolo span {
    font-size: 13px;
    color: var(--ink-3);
}

.cv-classifica__voto {
    text-align: right;
    font-size: 18px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 700px) {
    .cv-podio {
        grid-template-columns: 1fr;
        gap: var(--s-4);
    }

    /* Podio in elenco: locandina piccola a sinistra, primo in alto */
    .cv-podio__voce {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        column-gap: var(--s-4);
        row-gap: 4px;
        align-content: center;
    }

    .cv-podio__locandina {
        grid-row: 1 / span 3;
        margin-bottom: 0;
    }

    .cv-podio__posto,
    .cv-podio__voce--1 .cv-podio__posto {
        left: 6px;
        top: 6px;
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    .cv-podio__voce--1 {
        order: -1;
    }

    .cv-classifica a {
        grid-template-columns: 32px minmax(0, 1fr) 60px;
    }

    .cv-classifica .cv-ticket__bar {
        display: none;
    }
}

/* Film dall'archivio */
.cv-archivi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.cv-archivio {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: var(--s-5);
    background: var(--ground);
    border-radius: var(--radius-md);
    overflow: hidden;
    color: var(--ink);
    text-decoration: none;
}

.cv-archivio__img {
    width: 100%;
    height: 100%;
    min-height: 270px;
    object-fit: cover;
    display: block;
}

.cv-archivio__testo {
    padding: var(--s-5) var(--s-5) var(--s-5) 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 15px;
}

.cv-archivio__testo .cv-label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cv-archivio__link {
    margin-top: auto;
    font-weight: 700;
    color: var(--area-dark);
}

@media (max-width: 600px) {
    .cv-archivio {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .cv-archivio__img {
        min-height: 170px;
    }
}

/* Resta in contatto (home). Classi proprie: .cv-contatti è della pagina Contatti. */
.cv-resta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 28px;
}

.cv-resta__box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
}

.cv-resta__titolo {
    display: flex;
    align-items: center;
    gap: var(--s-3);
}

.cv-resta__titolo svg {
    flex: none;
}

.cv-resta__box p {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
    color: var(--ink-2);
}

.cv-resta__box label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.cv-resta__riga {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cv-resta__riga input {
    flex: 1 1 220px;
    min-width: 0;
    height: 48px;
    box-sizing: border-box;
    margin: 0;
    padding: 0 var(--s-4);
    border-radius: var(--radius-sm);
    border: 1px solid #A9A8A1;
    background: var(--surface);
    font: inherit;
    font-size: 16px;
    color: var(--ink);
}

.cv-resta__riga input:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 1px;
    border-color: var(--ink);
}

.cv-resta__riga .cv-btn {
    height: 48px;
    padding: 0 24px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cv-resta__whatsapp {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--ground);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    font-size: 14px;
    color: var(--ink-3);
}

.cv-resta__numero {
    align-self: flex-start;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 800;
    font-stretch: 80%;
    letter-spacing: .02em;
    color: var(--ink);
    text-decoration: none;
}

.cv-resta__numero:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cv-resta__whatsapp code {
    align-self: flex-start;
    font-family: ui-monospace, Menlo, monospace;
    font-size: 16px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line-2);
    padding: var(--s-2) var(--s-3);
    border-radius: var(--radius-sm);
}

.cv-resta__box .cv-resta__nota {
    font-size: 14px;
    color: var(--ink-3);
}

.cv-resta__nota strong {
    color: var(--ink);
}

@media (max-width: 600px) {
    .cv-resta__box {
        padding: 24px;
    }
}

/* 6c. Scheda film (fase 3) --------------------------------------------- */

.cv-pill--vetro {
    background: rgba(255, 255, 255, .14);
    border-color: transparent;
    color: var(--surface);
}

.cv-dot--pomeriggio {
    background: var(--sand);
}

.cv-dot--sera {
    background: var(--area-accent);
}

/* Hero */
.cv-filmhero {
    position: relative;
    overflow: hidden;
    background: #0E1A2E;
    color: var(--surface);
}

.cv-filmhero__sfondo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
    opacity: .7;
}

.cv-filmhero--archivio .cv-filmhero__sfondo,
.cv-filmhero--archivio .cv-filmhero__locandina {
    filter: grayscale(1);
}

.cv-filmhero--archivio .cv-filmhero__sfondo {
    opacity: .4;
}

.cv-filmhero__velo {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(14, 18, 26, .96) 0%, rgba(14, 18, 26, .4) 55%, rgba(14, 18, 26, .15) 100%);
}

.cv-filmhero__corpo {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--s-6) 40px;
    padding-top: 96px;
    padding-bottom: var(--s-7);
}

.cv-filmhero__locandina {
    width: 200px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-poster);
    display: block;
}

.cv-filmhero__testo {
    flex: 1 1 520px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
}

.cv-filmhero__pillole {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
}

.cv-filmhero__titolo {
    font-size: clamp(56px, 8vw, 112px);
    line-height: .9;
    overflow-wrap: anywhere;
}

.cv-filmhero__meta,
.cv-filmhero__voto {
    margin: 0;
    font-size: 18px;
    color: #DCE3EE;
}

.cv-filmhero__meta strong {
    color: var(--surface);
}

.cv-filmhero__voto {
    font-size: 14px;
}

.cv-filmhero__media {
    font-size: 40px;
    font-weight: 800;
    font-stretch: 75%;
    color: var(--surface);
    font-variant-numeric: tabular-nums;
}

.cv-filmhero__concluso {
    margin: var(--s-2) 0 0;
    max-width: 780px;
    padding: var(--s-4) 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .25);
    font-size: 16px;
    line-height: 1.5;
}

/* Prossimo spettacolo nell'hero */
.cv-prossimo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-4) var(--s-5);
    max-width: 780px;
    margin-top: var(--s-2);
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--ink);
}

.cv-prossimo__testo {
    flex: 1 1 260px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.cv-prossimo__info {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    font-size: 14px;
    color: var(--ink-2);
}

/* Spettacoli */
.cv-scheda__spettacoli .cv-container {
    display: flex;
    flex-direction: column;
    gap: var(--s-6);
}

.cv-scheda__spettacoli .cv-intestazione {
    margin-bottom: 0;
}

.cv-legenda {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2) 18px;
    font-size: 14px;
    color: var(--ink-3);
}

.cv-legenda li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cv-altre,
.cv-passati {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}

.cv-altre > summary {
    align-self: flex-start;
    list-style: none;
}

.cv-altre > summary::-webkit-details-marker,
.cv-passati > summary::-webkit-details-marker {
    display: none;
}

.cv-altre__chiudi,
[open] > summary .cv-altre__apri {
    display: none;
}

[open] > summary .cv-altre__chiudi {
    display: inline;
}

.cv-altre__freccia {
    font-size: 18px;
    line-height: 1;
    transition: transform .2s ease;
}

.cv-altre[open] .cv-altre__freccia {
    transform: rotate(180deg);
}

.cv-datecompatte {
    margin: var(--s-3) 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line-soft);
}

.cv-datecompatte__giorno {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px var(--s-5);
    padding: 14px 4px;
    border-bottom: 1px solid var(--line-soft);
}

.cv-datecompatte__data {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-width: 210px;
}

.cv-datecompatte__conta {
    font-size: 14px;
    color: var(--ink-3);
}

.cv-datecompatte__gruppi {
    flex: 1 1 520px;
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.cv-datecompatte__gruppo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-2) 14px;
}

.cv-passati > summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--s-3);
    cursor: pointer;
    list-style: none;
}

.cv-passati > summary .cv-h3 {
    color: var(--ink-3);
}

.cv-passati__azione {
    font-weight: 700;
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cv-passati__corpo {
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
}

/* Sintesi del voto */
.cv-riepilogo {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 28px var(--s-7);
    padding: 28px var(--s-6);
    border-radius: var(--radius-md);
    background: var(--ink);
    color: var(--surface);
}

.cv-riepilogo .cv-label {
    color: var(--sand);
}

.cv-riepilogo__media {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cv-riepilogo__numero {
    font-size: 88px;
    line-height: .9;
    font-weight: 800;
    font-stretch: 72%;
    font-variant-numeric: tabular-nums;
}

.cv-riepilogo__numero span {
    font-size: 22px;
    color: #A9A8A1;
}

.cv-stelle {
    display: flex;
    gap: 3px;
    font-size: 22px;
    line-height: 1;
}

.cv-stella--piena {
    color: var(--star);
}

.cv-stella--mezza {
    color: var(--star-soft);
}

.cv-stella--vuota {
    color: var(--ink-2);
}

.cv-riepilogo__conta {
    font-size: 15px;
    color: #D9D8D3;
}

.cv-riepilogo__conta strong {
    color: var(--surface);
}

.cv-riepilogo__confronto {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.cv-riepilogo__riga {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 44px;
    align-items: center;
    gap: var(--s-3);
    font-size: 14px;
}

.cv-riepilogo__riga strong {
    text-align: right;
    font-size: 16px;
}

.cv-riepilogo__nome {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    font-weight: 600;
}

.cv-riepilogo__barra {
    height: 8px;
    border-radius: var(--radius-pill);
    background: var(--ink-2);
    overflow: hidden;
}

.cv-riepilogo__barra > span {
    display: block;
    height: 100%;
    border-radius: var(--radius-pill);
}

.cv-riepilogo__barra--cf > span {
    background: var(--cf-600);
}

.cv-riepilogo__barra--cv > span {
    background: var(--cv-accent);
}

.cv-riepilogo__barra--pomeriggio > span {
    background: var(--sand);
}

.cv-riepilogo__barra--sera > span {
    background: var(--area-accent);
}

.cv-riepilogo__nota {
    font-size: 13px;
    color: #A9A8A1;
}

.cv-riepilogo__serate {
    flex: 1 1 300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--s-3);
}

.cv-riepilogo__serata {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--s-4);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .07);
    font-size: 14px;
    color: #D9D8D3;
}

.cv-riepilogo__serata strong {
    font-size: 30px;
    line-height: 1;
    font-stretch: 75%;
    color: var(--surface);
    font-variant-numeric: tabular-nums;
}

.cv-ticket__distintivo {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: var(--ink);
    color: var(--surface);
}

/* Regia e cast */
.cv-scheda__fonte {
    font-size: 14px;
    color: var(--ink-3);
}

.cv-cast {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 40px;
}

.cv-cast__gruppo {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.cv-cast__gruppo .cv-label {
    margin: 0;
}

.cv-cast__gruppo--interpreti {
    flex: 1 1 600px;
}

.cv-persone {
    display: flex;
    gap: 20px;
}

.cv-persone--scorre {
    overflow-x: auto;
    padding-bottom: var(--s-2);
    scrollbar-width: thin;
}

.cv-persona {
    flex: 0 0 132px;
    width: 132px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cv-persona__foto {
    position: relative;
    aspect-ratio: 2 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--line-soft);
    color: var(--ink-3);
    display: grid;
    place-items: center;
    font-size: 36px;
    font-weight: 800;
    font-stretch: 75%;
}

.cv-persona__foto img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-persona--regia .cv-persona__foto {
    background: var(--area-tint);
    color: var(--area-dark);
    box-shadow: inset 0 0 0 2px var(--area);
}

.cv-persona--regia .cv-persona__foto img {
    inset: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border-radius: calc(var(--radius-md) - 2px);
}

.cv-persona__film {
    position: absolute;
    left: var(--s-2);
    right: var(--s-2);
    bottom: var(--s-2);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    background: var(--area-dark);
    color: var(--on-area);
    font-size: 12px;
    font-weight: 700;
    font-stretch: 100%;
    text-align: center;
}

.cv-persona__nome {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    color: var(--ink-3);
}

.cv-persona__nome strong {
    font-size: 16px;
    line-height: 1.2;
    color: var(--ink);
}

.cv-crediti {
    margin: var(--s-6) 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--line-2);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--s-4) var(--s-6);
    font-size: 15px;
}

.cv-crediti div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cv-crediti dt {
    color: var(--ink-3);
}

.cv-crediti dd {
    margin: 0;
    font-weight: 600;
}

/* Recensione, trailer, informazioni */
.cv-scheda__corpo {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 96px;
}

.cv-scheda__principale {
    flex: 999 1 600px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--s-6);
}

.cv-scheda__lato {
    flex: 1 1 300px;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cv-recensione {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: clamp(28px, 5vw, 56px);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.cv-recensione__testata {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--s-3);
    font-size: 14px;
    color: var(--ink-3);
}

.cv-recensione__testata strong {
    color: var(--ink);
}

.cv-recensione__testo {
    color: #2A2D34;
    line-height: 1.7;
}

.cv-recensione__testo > :first-child {
    margin-top: 0;
}

.cv-recensione__testo > :last-child {
    margin-bottom: 0;
}

.cv-recensione__testo p {
    margin: 0 0 1em;
}

.cv-recensione__testo blockquote {
    margin: 8px 0 1em;
    padding: 8px 0 8px 28px;
    border-left: 4px solid var(--area);
    font-size: 24px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--ink);
}

.cv-trailer {
    position: relative;
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #0E1A2E;
    aspect-ratio: 16 / 9;
}

.cv-trailer__link,
.cv-trailer iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.cv-trailer__link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .8;
}

.cv-trailer__play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 88px;
    height: 88px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.cv-trailer__play::after {
    content: "";
    position: absolute;
    left: 36px;
    top: 28px;
    border-style: solid;
    border-width: 16px 0 16px 26px;
    border-color: transparent transparent transparent var(--ink);
}

.cv-trailer__link:hover .cv-trailer__play {
    transform: translate(-50%, -50%) scale(1.06);
}

.cv-trailer__didascalia {
    position: absolute;
    left: var(--s-5);
    bottom: 20px;
    color: var(--surface);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    pointer-events: none;
}

.cv-trailer--video .cv-trailer__didascalia {
    display: none;
}

.cv-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: var(--s-5);
    border-radius: var(--radius-md);
    background: var(--surface);
    font-size: 15px;
    line-height: 1.5;
}

.cv-info__dati {
    margin: 0;
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 10px var(--s-3);
}

.cv-info__dati dt {
    color: var(--ink-3);
}

.cv-info__dati dd {
    margin: 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.cv-info__link {
    font-weight: 700;
}

.cv-condividi {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cv-condividi .cv-label {
    margin: 0;
}

.cv-condividi__voci {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
}

.cv-condividi__voce {
    padding: 10px var(--s-4);
    border-radius: var(--radius-pill);
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.cv-condividi__voce:hover {
    border-color: var(--ink);
}

/* Grafico "Voto per spettacolo": solo su telefono (tavola SchedaFilm-Mobile) */
.cv-grafico {
    display: none;
}

.cv-grafico__titolo {
    font-size: 15px;
}

.cv-grafico__legenda {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
    color: var(--ink-3);
}

.cv-grafico__legenda li {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cv-grafico__segno {
    width: 9px;
    height: 9px;
    border-radius: 2px;
}

.cv-grafico__segno--cf,
.cv-grafico__barra--cf {
    background: var(--cf-700);
}

.cv-grafico__segno--cv,
.cv-grafico__barra--cv {
    background: var(--cv-600);
}

.cv-grafico__segno--media {
    width: 14px;
    height: 0;
    border-top: 2px dashed var(--ink);
    border-radius: 0;
}

.cv-grafico__scorre {
    overflow-x: auto;
    margin-inline: calc(var(--s-4) * -1);
    padding-inline: var(--s-4);
}

.cv-grafico__area {
    width: calc(var(--colonne) * 58px);
    min-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 20px;
}

.cv-grafico__barre,
.cv-grafico__etichette {
    display: grid;
    grid-template-columns: repeat(var(--colonne), 50px);
    gap: 8px;
}

.cv-grafico__barre {
    position: relative;
    height: 130px;
    border-bottom: 1px solid var(--line-strong);
}

.cv-grafico__media {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    border-top: 2px dashed var(--ink);
    opacity: .55;
}

.cv-grafico__colonna {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
}

.cv-grafico__barra {
    position: relative;
    width: 34px;
    border-radius: 5px 5px 0 0;
}

.cv-grafico__barra--vuota {
    border: 1.5px dashed var(--line-strong);
    border-bottom: 0;
}

.cv-grafico__barra > span {
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    padding-bottom: 3px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.cv-grafico__etichetta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 11px;
    line-height: 1.3;
    color: var(--ink-3);
}

.cv-grafico__etichetta strong {
    color: var(--ink);
}

.cv-grafico__etichetta--futura strong {
    color: var(--ink-3);
}

.cv-grafico__nota {
    font-size: 12px;
    color: var(--ink-3);
}

/* Barra del prossimo spettacolo: solo su telefono */
.cv-barraprossimo {
    display: none;
}

@media (max-width: 760px) {
    /* Telefono: locandina piccola accanto a titolo e regia (tavola SchedaFilm-Mobile) */
    .cv-filmhero__corpo {
        display: grid;
        grid-template-columns: 84px minmax(0, 1fr);
        align-items: end;
        gap: var(--s-3) 14px;
        padding-top: 120px;
        padding-bottom: 20px;
    }

    .cv-filmhero__corpo:not(:has(.cv-filmhero__locandina)) {
        grid-template-columns: minmax(0, 1fr);
    }

    .cv-filmhero__testo {
        display: contents;
    }

    .cv-filmhero__testo > * {
        grid-column: 1 / -1;
    }

    .cv-filmhero__pillole {
        grid-row: 1;
    }

    .cv-filmhero__locandina {
        grid-column: 1;
        grid-row: 2 / 4;
        width: 84px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
    }

    .cv-filmhero__testo > .cv-filmhero__titolo,
    .cv-filmhero__testo > .cv-filmhero__meta {
        grid-column: -2;
    }

    .cv-filmhero__titolo {
        grid-row: 2;
        font-size: 46px;
    }

    .cv-filmhero__meta {
        grid-row: 3;
        font-size: 14px;
    }

    .cv-filmhero__media {
        font-size: 24px;
    }

    .cv-prossimo {
        display: none;
    }

    .cv-riepilogo {
        padding: var(--s-5);
        gap: var(--s-5);
    }

    .cv-riepilogo__numero {
        font-size: 64px;
    }

    .cv-persone--scorre {
        margin-inline: calc(var(--gutter) * -1);
        padding-inline: var(--gutter);
    }

    .cv-persona {
        flex-basis: 96px;
        width: 96px;
    }

    .cv-persona__foto {
        font-size: 26px;
    }

    .cv-persona__film {
        left: 5px;
        right: 5px;
        bottom: 5px;
        padding: 3px 4px;
        font-size: 10px;
    }

    .cv-persona__nome {
        font-size: 12px;
    }

    .cv-persona__nome strong {
        font-size: 13px;
    }

    .cv-scheda__corpo {
        gap: var(--s-4);
        padding-top: var(--s-4);
        padding-bottom: 120px;
    }

    .cv-scheda__lato {
        max-width: none;
    }

    .cv-recensione {
        padding: 20px;
        gap: var(--s-3);
    }

    .cv-recensione__testo {
        font-size: 18px;
        line-height: 1.55;
    }

    .cv-trailer__play {
        width: 60px;
        height: 60px;
    }

    .cv-trailer__play::after {
        left: 24px;
        top: 19px;
        border-width: 11px 0 11px 18px;
    }

    .cv-trailer__didascalia {
        display: none;
    }

    .cv-datecompatte__data {
        min-width: 0;
    }

    .cv-grafico {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 14px var(--s-4) 12px;
        border-radius: var(--radius-md);
        background: var(--surface);
    }

    .cv-barraprossimo {
        position: sticky;
        bottom: 0;
        z-index: 20;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--s-3);
        padding: 10px var(--gutter) 14px;
        background: var(--ink);
        color: var(--surface);
        box-shadow: var(--shadow-sticky);
    }

    .cv-barraprossimo__testo {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
        font-size: 12px;
        color: #D9D8D3;
    }

    .cv-barraprossimo__testo .cv-label {
        color: var(--sand);
        font-size: 11px;
    }

    .cv-barraprossimo__testo strong {
        font-size: 18px;
        color: var(--surface);
    }
}

/* 6d. Archivio (fase 4) ------------------------------------------------- */
.cv-archivio-pagina {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: var(--s-6);
    padding-bottom: 96px;
}

.cv-archivio-pagina__testa {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.cv-archivio-pagina__sotto {
    margin: 0;
    font-size: 17px;
    color: var(--ink-2);
}

/* Barra con ricerca, ordine e stagione */
.cv-strumenti {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--s-4) var(--s-5);
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.cv-strumenti__cerca {
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.cv-strumenti__cerca label,
.cv-strumenti__etichetta {
    font-size: 14px;
    font-weight: 600;
}

.cv-strumenti__campo {
    display: flex;
    gap: var(--s-2);
}

.cv-strumenti__campo input {
    flex: 1;
    min-width: 0;
    min-height: var(--control-h);
    box-sizing: border-box;
    padding: 0 var(--s-4);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font: inherit;
    font-size: 16px;
    color: var(--ink);
}

.cv-strumenti__gruppo {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Il pannello delle stagioni si apre sotto la barra, sopra i risultati */
.cv-strumenti .cv-selettore__pannello {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 10;
    width: min(640px, calc(100vw - 2 * var(--gutter)));
}

.cv-segmenti {
    display: flex;
    gap: var(--s-1);
    padding: var(--s-1);
    border-radius: var(--radius-pill);
    background: var(--ground);
}

.cv-segmenti a {
    display: grid;
    place-items: center;
    min-height: 38px;
    padding: 0 var(--s-4);
    border-radius: var(--radius-pill);
    color: var(--ink);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.cv-segmenti a[aria-current] {
    background: var(--ink);
    color: var(--surface);
}

.cv-archivio-pagina__conta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--s-3);
}

.cv-archivio-pagina__conta p {
    margin: 0;
    font-size: 18px;
}

.cv-archivio-pagina__azzera {
    color: var(--area-dark);
    font-weight: 700;
    font-size: 15px;
    text-underline-offset: 3px;
}

.cv-archivio-pagina__vuoto {
    margin: 0;
    padding: var(--s-7);
    border-radius: var(--radius-md);
    background: var(--surface);
    text-align: center;
    font-size: 18px;
    color: var(--ink-3);
}

/* Griglia di locandine */
.cv-filmarchivi {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 44px var(--s-5);
}

.cv-filmarchivio {
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: var(--ink);
    text-decoration: none;
}

.cv-filmarchivio__locandina {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--line-2);
}

.cv-filmarchivio__locandina img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.cv-filmarchivio:hover img {
    transform: scale(1.04);
}

.cv-filmarchivio__stagione {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 9px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.cv-filmarchivio__testo {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cv-filmarchivio__titolo {
    font-size: 22px;
    line-height: 1.05;
    font-weight: 800;
    font-stretch: 78%;
    text-transform: uppercase;
}

.cv-filmarchivio:hover .cv-filmarchivio__titolo {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cv-filmarchivio__dettagli {
    font-size: 14px;
    color: var(--ink-3);
}

.cv-filmarchivio__voto {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    font-size: 14px;
    font-weight: 700;
}

/* Stelle nel colore dell'area (archivio): il giallo resta all'acquisto */
.cv-stelle--area {
    font-size: 16px;
    gap: 2px;
}

.cv-stelle--area .cv-stella--piena {
    color: var(--area-dark);
}

.cv-stelle--area .cv-stella--mezza {
    color: color-mix(in srgb, var(--area-dark) 45%, var(--surface));
}

.cv-stelle--area .cv-stella--vuota {
    color: var(--line-strong);
}

.cv-paginazione {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--s-4);
}

.cv-paginazione > :last-child {
    justify-self: end;
}

.cv-paginazione__stato {
    font-size: 15px;
    color: var(--ink-3);
    font-variant-numeric: tabular-nums;
}

@media (max-width: 760px) {
    .cv-archivio-pagina {
        gap: 20px;
        padding-top: 20px;
        padding-bottom: 56px;
    }

    .cv-strumenti {
        padding: var(--s-4);
    }

    .cv-strumenti__gruppo {
        flex: 1 1 100%;
    }

    .cv-strumenti .cv-selettore__pannello {
        left: 0;
        right: auto;
        width: calc(100vw - 4 * var(--s-4));
    }

    .cv-filmarchivi {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 14px;
    }

    .cv-filmarchivio__titolo {
        font-size: 18px;
    }

    .cv-paginazione .cv-btn {
        padding-inline: 14px;
    }
}

/* 6e. Pagine dell'area Cineforum (fase 5) ------------------------------ */
/* Intestazione delle pagine d'area */
.cv-testa {
    position: relative;
    overflow: hidden;
    background: var(--area-dark);
    color: var(--surface);
}

.cv-testa__foto {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .28;
    mix-blend-mode: luminosity;
}

.cv-testa__corpo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-4);
    padding-top: 56px;
    padding-bottom: 64px;
}

.cv-testa__titolo {
    margin: 0;
    font-size: clamp(48px, 8vw, 104px);
    line-height: .9;
    font-weight: 800;
    font-stretch: 72%;
    text-transform: uppercase;
    text-wrap: balance;
}

.cv-testa__sotto {
    margin: 0;
    max-width: 720px;
    font-size: 20px;
    line-height: 1.45;
}

.cv-testa--articolo {
    background: var(--ink);
}

.cv-testa--articolo .cv-testa__foto {
    opacity: .55;
    mix-blend-mode: normal;
    filter: grayscale(1);
}

.cv-testa--articolo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(31, 34, 41, .95) 0%, color-mix(in srgb, var(--area-dark) 35%, transparent) 100%);
}

.cv-testa--articolo .cv-testa__corpo {
    z-index: 1;
    padding-top: 120px;
    padding-bottom: 56px;
}

.cv-testa--articolo .cv-testa__titolo {
    font-size: clamp(44px, 7vw, 88px);
}

/* Sezione su fondo scuro (articoli precedenti) */
.cv-sezione--scura {
    background: var(--ink);
    color: var(--surface);
}

.cv-sezione--scura .cv-btn--outline {
    border-color: var(--surface);
    background: transparent;
    color: var(--surface);
}

.cv-sezione--scura .cv-paginazione__stato {
    color: var(--sand);
}

/* Articolo in evidenza */
.cv-articolo-evidenza {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--surface);
}

.cv-articolo-evidenza__foto {
    position: relative;
    flex: 1 1 420px;
    min-height: 320px;
    background: var(--line-2);
}

.cv-articolo-evidenza__foto img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-articolo-evidenza__testo {
    flex: 1 1 420px;
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
    padding: 36px;
}

.cv-articolo-evidenza__quando {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    font-size: 14px;
    color: var(--ink-3);
}

.cv-datablocco {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 76px;
    border-radius: var(--radius-md);
    background: var(--ink);
    color: var(--surface);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cv-datablocco strong {
    font-size: 32px;
    line-height: 1;
    font-stretch: 75%;
    letter-spacing: 0;
}

.cv-articolo-evidenza__titolo {
    margin: 0;
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    font-stretch: 75%;
    text-transform: uppercase;
}

.cv-articolo-evidenza__titolo a {
    color: inherit;
    text-decoration: none;
}

.cv-articolo-evidenza__titolo a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cv-articolo-evidenza__sotto {
    margin: 0;
    font-family: var(--font-read);
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink-2);
}

.cv-articolo-evidenza__link {
    margin-top: auto;
    color: var(--area-dark);
    font-weight: 700;
}

/* Griglia degli articoli precedenti */
.cv-cardarticoli {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: var(--s-5);
    margin-bottom: var(--s-6);
}

.cv-cardarticolo {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    color: var(--surface);
    text-decoration: none;
}

.cv-cardarticolo__foto {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--ink-2);
}

.cv-cardarticolo__foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-cardarticolo__data {
    font-size: 13px;
    color: var(--sand);
}

.cv-cardarticolo__titolo {
    font-size: 22px;
    line-height: 1.1;
    font-weight: 800;
    font-stretch: 78%;
    text-transform: uppercase;
}

.cv-cardarticolo:hover .cv-cardarticolo__titolo {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Articolo */
.cv-articolo {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 96px;
}

.cv-articolo__corpo {
    flex: 999 1 600px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: clamp(28px, 5vw, 56px);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.cv-articolo__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2) 20px;
    font-size: 14px;
    color: var(--ink-3);
}

.cv-articolo__meta strong {
    color: var(--ink);
}

.cv-articolo__testo {
    font-family: var(--font-read);
    font-size: 19px;
    line-height: 1.7;
    color: var(--ink-2);
}

.cv-articolo__testo p {
    margin: 0 0 1em;
}

.cv-articolo__testo a {
    color: var(--area-dark);
}

/* Blocchi dell'editor del Cockpit (Html::articolo) */
.cv-articolo__testo h2,
.cv-articolo__testo h3 {
    margin: 1.4em 0 .5em;
    font-family: var(--font-ui);
    font-weight: 800;
    font-stretch: 78%;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--ink);
}

.cv-articolo__testo h2 { font-size: 30px; }
.cv-articolo__testo h3 { font-size: 22px; }

.cv-articolo__testo blockquote {
    margin: 0 0 1em;
    padding: 4px 0 4px 20px;
    border-left: 3px solid var(--area);
    font-style: italic;
}

.cv-articolo__testo ul,
.cv-articolo__testo ol {
    margin: 0 0 1em;
    padding-left: 1.4em;
}

.cv-articolo__testo hr {
    margin: 2em 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.cv-articolo__testo figure {
    margin: 0 0 1.4em;
}

.cv-figura img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.cv-figura figcaption {
    margin-top: var(--s-2);
    font-family: var(--font-ui);
    font-size: 14px;
    line-height: 1.45;
    color: var(--ink-3);
}

.cv-video {
    position: relative;
    margin: 0 0 1.4em;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--ink);
}

.cv-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.cv-riquadro {
    margin: 0 0 1.4em;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: var(--area-tint);
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink);
}

.cv-riquadro p:last-child {
    margin-bottom: 0;
}

.cv-articolo__testo table {
    width: 100%;
    margin: 0 0 1.4em;
    border-collapse: collapse;
    font-family: var(--font-ui);
    font-size: 15px;
    line-height: 1.4;
    display: block;
    overflow-x: auto;
}

.cv-articolo__testo th,
.cv-articolo__testo td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.cv-articolo__testo th {
    font-weight: 700;
    color: var(--ink);
}

.cv-bloccofilm {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: var(--s-4);
    align-items: center;
    margin: 0 0 1.4em;
    padding: var(--s-3);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    font-family: var(--font-ui);
    color: var(--ink);
    text-decoration: none;
}

.cv-articolo__testo a.cv-bloccofilm {
    color: var(--ink);
}

a.cv-bloccofilm:hover {
    border-color: var(--area);
}

.cv-bloccofilm__locandina {
    width: 70px;
    aspect-ratio: 2 / 3;
    border-radius: 3px;
    overflow: hidden;
    background: var(--line-soft);
}

.cv-bloccofilm__locandina img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cv-bloccofilm__testo {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    line-height: 1.35;
    color: var(--ink-3);
}

.cv-bloccofilm__testo strong {
    font-size: 20px;
    font-stretch: 80%;
    text-transform: uppercase;
    color: var(--ink);
}

.cv-articolo__collegati {
    margin-top: var(--s-7);
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
}

.cv-articolo__collegati h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    font-stretch: 78%;
    text-transform: uppercase;
}

.cv-articolo__griglia {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--s-4);
}

.cv-articolo__lato {
    flex: 1 1 280px;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cv-filmcollegati {
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
    padding: var(--s-5);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.cv-filmcollegati__titolo {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    font-stretch: 78%;
    text-transform: uppercase;
}

.cv-filmcollegato {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
    text-decoration: none;
}

.cv-filmcollegato__locandina {
    flex: none;
    width: 56px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--line-2);
}

.cv-filmcollegato__locandina img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-filmcollegato__testo {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    color: var(--ink-3);
}

.cv-filmcollegato__testo strong {
    font-size: 17px;
    font-stretch: 80%;
    text-transform: uppercase;
    color: var(--ink);
}

a.cv-filmcollegato:hover strong {
    text-decoration: underline;
}

/* Pagine con menu laterale (Associazione, Trasparenza) */
.cv-paginaarea {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
    padding-top: 56px;
    padding-bottom: 96px;
}

.cv-paginaarea__lato {
    position: sticky;
    top: var(--s-5);
    display: flex;
    flex-direction: column;
    gap: var(--s-5);
}

.cv-paginaarea__corpo {
    display: flex;
    flex-direction: column;
    gap: var(--s-7);
    min-width: 0;
}

.cv-paginaarea__corpo > .cv-intestazione {
    margin-bottom: calc(var(--s-6) * -1);
}

.cv-paginaarea__riquadro {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
    border-radius: var(--radius-md);
    background: var(--surface);
    font-size: 14px;
    color: var(--ink-3);
}

.cv-paginaarea__riquadro strong {
    color: var(--ink);
    font-size: 15px;
}

.cv-paginaarea__riquadro a {
    color: var(--area-dark);
    font-weight: 700;
}

.cv-paginaarea__foto {
    margin: 0;
}

.cv-paginaarea__foto img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.cv-navarea {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cv-navarea__titolo {
    padding: 0 12px 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.cv-navarea a {
    display: flex;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: var(--radius-md);
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}

.cv-navarea a:hover {
    background: var(--area-tint);
}

.cv-navarea a[aria-current] {
    background: var(--area-dark);
    color: var(--on-area);
}

.cv-navarea a span {
    color: var(--ink-3);
    font-weight: 400;
}

/* Associazione: numeri, storia, documento, invito */
.cv-cifre {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--s-5);
    margin: 0;
}

.cv-cifre div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: var(--s-4);
    border-top: 3px solid var(--area-dark);
}

.cv-cifre dt {
    font-size: 48px;
    line-height: 1;
    font-weight: 800;
    font-stretch: 72%;
    color: var(--area-dark);
}

.cv-cifre dd {
    margin: 0;
    font-size: 15px;
    color: var(--ink-2);
}

.cv-storia {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.cv-storia__capitolo {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: var(--s-5);
}

.cv-storia__quando {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cv-storia__quando span {
    font-size: 32px;
    line-height: 1;
    font-weight: 800;
    font-stretch: 72%;
    color: var(--area-dark);
}

.cv-storia__quando strong {
    font-size: 15px;
}

.cv-storia__testo {
    font-family: var(--font-read);
    font-size: 18px;
    line-height: 1.7;
    color: var(--ink-2);
}

.cv-storia__testo p {
    margin: 0 0 1em;
}

.cv-storia__testo p:last-child {
    margin-bottom: 0;
}

.cv-storia__testo blockquote {
    margin: 0 0 1em;
    padding-left: 20px;
    border-left: 3px solid var(--area-dark);
    font-size: 22px;
    line-height: 1.5;
    color: var(--ink);
}

.cv-documento {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-4) 20px;
    padding: var(--s-5);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.cv-documento__segno {
    display: grid;
    place-items: center;
    width: 52px;
    height: 64px;
    border-radius: var(--radius-sm);
    background: var(--area-tint);
    color: var(--area-dark);
    font-size: 13px;
    font-weight: 800;
}

.cv-documento__testo {
    flex: 1 1 240px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 18px;
}

.cv-invito {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
    padding: 28px 32px;
    border-radius: var(--radius-md);
    background: var(--area-dark);
    color: var(--on-area);
}

.cv-invito div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 16px;
}

.cv-invito strong {
    font-size: 28px;
    line-height: 1.05;
    font-weight: 800;
    font-stretch: 75%;
    text-transform: uppercase;
}

/* Trasparenza */
.cv-documenti {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.cv-documenti__card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: var(--s-4);
    align-items: start;
    padding: 22px 24px;
    background: var(--surface);
    border: 1px solid #E2E1DC;
    border-radius: 6px;
}

.cv-documenti__segno {
    width: 56px;
    height: 70px;
    display: grid;
    place-items: center;
    background: #E6EEF8;
    border: 1px solid #C9D9EE;
    border-radius: 4px;
    color: var(--area-dark);
    font-family: var(--font-read);
    font-size: 30px;
    font-weight: 600;
}

.cv-documenti__testo {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.cv-documenti__titolo {
    margin: 0;
    font-size: 24px;
    line-height: 1.05;
    font-weight: 800;
    font-stretch: 75%;
    text-transform: uppercase;
}

.cv-documenti__testo p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #5C606B;
}

/* Link di testo dell'area, con la freccia ›  */
.cv-link {
    align-self: flex-start;
    margin-top: 4px;
    font-size: 15px;
    font-weight: 700;
    color: var(--area-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cv-link:hover {
    text-decoration-thickness: 2px;
}

.cv-trasparenza .cv-intestazione {
    margin-bottom: var(--s-5);
}

.cv-trasparenza .cv-tabella {
    padding: 0 var(--s-4);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.cv-trasparenza__nota {
    margin: var(--s-3) 0 0;
    font-size: 14px;
    color: var(--ink-3);
}

.cv-presidente {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-4) 20px;
    margin-bottom: var(--s-5);
    padding: var(--s-5);
    border-radius: var(--radius-md);
    background: var(--area-tint);
}

.cv-presidente__iniziali {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-pill);
    background: var(--area-dark);
    color: var(--on-area);
    font-size: 22px;
    font-weight: 800;
}

.cv-presidente__testo {
    flex: 1 1 240px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    color: var(--ink-3);
}

.cv-presidente__testo strong {
    font-size: 24px;
    color: var(--ink);
}

.cv-presidente__cv {
    color: var(--area-dark);
    font-weight: 700;
}

/* Riviste */
.cv-rivistatesta {
    overflow: hidden;
    background: var(--ink);
    color: var(--surface);
}

.cv-rivistatesta__griglia {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 56px;
    align-items: end;
    padding-top: 48px;
}

.cv-rivistatesta__testo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 64px;
}

.cv-rivistatesta__intro {
    margin: 0;
    max-width: 560px;
    font-family: var(--font-read);
    font-size: 20px;
    line-height: 1.5;
    color: #D9D8D3;
}

.cv-rivistatesta__ultimo {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    max-width: 560px;
    padding-top: 20px;
    border-top: 1px solid var(--ink-2);
    color: #D9D8D3;
}

.cv-rivistatesta__sommario {
    margin: 4px 0 0;
    font-family: var(--font-read);
    font-size: 16px;
    line-height: 1.5;
}

.cv-rivistatesta__ultimo .cv-label {
    color: var(--sand);
}

.cv-rivistatesta__ultimo strong {
    font-size: 36px;
    line-height: 1;
    font-weight: 800;
    font-stretch: 75%;
    text-transform: uppercase;
    color: var(--surface);
}

.cv-rivistatesta__copertine {
    position: relative;
    display: block;
    min-height: 460px;
}

.cv-rivistatesta__copertine img {
    position: absolute;
    aspect-ratio: 7 / 10;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cv-rivistatesta__dietro {
    right: 120px;
    bottom: -40px;
    width: 230px;
    transform: rotate(-6deg);
    opacity: .55;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
}

.cv-rivistatesta__davanti {
    right: 8px;
    bottom: -24px;
    width: 300px;
    transform: rotate(3deg);
    box-shadow: var(--shadow-poster);
}

.cv-riviste {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: var(--s-7);
    align-items: start;
    padding-top: 64px;
    padding-bottom: 96px;
}

.cv-riviste__indice {
    position: sticky;
    top: var(--s-5);
    max-height: calc(100vh - 2 * var(--s-5));
    overflow-y: auto;
}

.cv-riviste__stagioni {
    display: flex;
    flex-direction: column;
    gap: 64px;
    min-width: 0;
}

.cv-riviste__stagione {
    scroll-margin-top: var(--s-5);
}

.cv-riviste__testa .cv-h2 {
    color: var(--ink);
}

.cv-riviste__testa {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--s-3);
    font-size: 14px;
    color: var(--ink-3);
}

.cv-numeri {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px;
    padding-top: var(--s-5);
}

.cv-numero {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--ink);
    text-decoration: none;
}

.cv-numero__copertina {
    position: relative;
    display: block;
    margin-bottom: 8px;
}

.cv-numero__copertina img,
.cv-numero__segnaposto {
    display: block;
    width: 100%;
    aspect-ratio: 7 / 10;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 8px 18px rgba(31, 34, 41, .18);
    transition: transform .3s ease, box-shadow .3s ease;
}

.cv-numero__segnaposto {
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    padding: var(--s-4);
    background: var(--area-dark);
    color: var(--on-area);
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
    font-stretch: 72%;
    text-transform: uppercase;
}

.cv-numero:hover img,
.cv-numero:hover .cv-numero__segnaposto {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 0 22px 40px rgba(31, 34, 41, .3);
}

.cv-numero__pdf {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 9px;
    border-radius: var(--radius-pill);
    background: var(--buy);
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    transition: opacity .2s;
}

.cv-numero:hover .cv-numero__pdf,
.cv-numero:focus-visible .cv-numero__pdf {
    opacity: 1;
}

.cv-numero strong {
    font-size: 16px;
}

.cv-numero__titolo {
    font-size: 13px;
    color: var(--ink-3);
}

@media (max-width: 960px) {
    .cv-paginaarea,
    .cv-riviste {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--s-6);
    }

    .cv-paginaarea__lato,
    .cv-riviste__indice {
        position: static;
        max-height: none;
    }

    /* Su telefono le voci dell'area sono già nel menu: il menu laterale non si ripete */
    .cv-navarea--area {
        display: none;
    }

    .cv-riviste__indice {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .cv-riviste__indice .cv-navarea__titolo {
        flex-basis: 100%;
    }

    .cv-riviste__indice a {
        gap: 6px;
        border: 1px solid var(--line);
        background: var(--surface);
    }

    .cv-rivistatesta__griglia {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .cv-rivistatesta__testo {
        padding-bottom: 32px;
    }

    .cv-rivistatesta__copertine {
        min-height: 300px;
    }

    .cv-rivistatesta__davanti {
        right: auto;
        left: 50%;
        width: 200px;
        transform: translateX(-30%) rotate(3deg);
    }

    .cv-rivistatesta__dietro {
        right: auto;
        left: 50%;
        width: 160px;
        transform: translateX(-90%) rotate(-6deg);
    }

    .cv-numeri {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .cv-testa__corpo {
        padding-top: 36px;
        padding-bottom: 40px;
    }

    .cv-testa--articolo .cv-testa__corpo {
        padding-top: 80px;
    }

    .cv-testa__sotto {
        font-size: 17px;
    }

    .cv-articolo {
        padding-top: var(--s-5);
        padding-bottom: 56px;
    }

    .cv-articolo__lato {
        max-width: none;
    }

    .cv-articolo-evidenza__foto {
        min-height: 220px;
    }

    .cv-articolo-evidenza__testo {
        padding: var(--s-5);
    }

    .cv-articolo-evidenza__titolo {
        font-size: 28px;
    }

    .cv-storia__capitolo {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--s-2);
    }

    .cv-storia__testo {
        font-size: 17px;
    }

    .cv-paginaarea {
        padding-top: var(--s-5);
        padding-bottom: 56px;
    }

    .cv-numeri {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* 6f. Pagine dell'area Cinema Verdi (fase 6) ---------------------------- */
.cv-testa__azioni {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-3);
    padding-top: var(--s-2);
}

/* Testo lungo con sottotitoli (Il comitato) */
.cv-prosa {
    font-family: var(--font-read);
    font-size: 18px;
    line-height: 1.7;
    color: var(--ink-2);
}

.cv-prosa p {
    margin: 0 0 1em;
}

.cv-prosa h2 {
    margin: 1.4em 0 .5em;
    font-family: var(--font-ui);
    font-size: 28px;
    line-height: 1.1;
    font-weight: 800;
    font-stretch: 78%;
    text-transform: uppercase;
    color: var(--ink);
}

.cv-prosa > :first-child {
    margin-top: 0;
}

.cv-prosa > :last-child {
    margin-bottom: 0;
}

.cv-paginaarea__foto figcaption {
    margin-top: var(--s-2);
    font-size: 14px;
    color: var(--ink-3);
}

/* Richiesta sala */
.cv-sala {
    display: flex;
    flex-direction: column;
    gap: 64px;
    padding-top: 48px;
    padding-bottom: 96px;
}

.cv-sala .cv-intestazione {
    margin-bottom: var(--s-5);
}

.cv-tour {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--s-4);
}

.cv-tour__voce {
    position: relative;
    display: block;
    min-height: 260px;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--area-dark);
    color: var(--surface);
    text-decoration: none;
}

.cv-tour__voce img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.cv-tour__voce:hover img {
    transform: scale(1.04);
}

.cv-tour__voce::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(31, 34, 41, .75) 0%, transparent 55%);
}

.cv-tour__segno {
    position: absolute;
    z-index: 1;
    top: 14px;
    right: 14px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
}

.cv-tour__nome {
    position: absolute;
    z-index: 1;
    left: 20px;
    bottom: 16px;
    font-size: 28px;
    font-weight: 800;
    font-stretch: 75%;
    text-transform: uppercase;
}

.cv-scheda-tecnica {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-4);
}

.cv-scheda-tecnica__gruppo {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    padding: 20px;
    border-radius: var(--radius-md);
    background: var(--surface);
}

.cv-scheda-tecnica__gruppo--largo {
    grid-column: span 2;
}

.cv-scheda-tecnica__gruppo--largo dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--s-5);
}

.cv-scheda-tecnica h3 {
    margin: 0;
}

.cv-scheda-tecnica dl,
.cv-gestore dl {
    margin: 0;
}

.cv-scheda-tecnica dl div,
.cv-gestore dl div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--s-2) 0;
    border-top: 1px solid var(--line-soft);
    font-size: 14px;
}

.cv-scheda-tecnica dt,
.cv-gestore dt {
    color: var(--ink-3);
}

.cv-scheda-tecnica dd,
.cv-gestore dd {
    margin: 0;
    font-weight: 600;
}

.cv-sala__pdf {
    display: inline-block;
    margin-top: var(--s-4);
    color: var(--area-dark);
    font-weight: 700;
}

.cv-richiesta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: start;
    scroll-margin-top: var(--s-5);
}

.cv-modulo {
    display: flex;
    flex-direction: column;
    gap: var(--s-5);
    padding: clamp(24px, 4vw, 40px);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.cv-modulo .cv-intestazione {
    margin-bottom: 0;
}

.cv-modulo__campi {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-4) 20px;
}

.cv-modulo__campi label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
}

.cv-modulo__largo {
    grid-column: 1 / -1;
}

.cv-modulo input:not([type="checkbox"]),
.cv-modulo textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: var(--control-h);
    padding: 10px 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font: inherit;
    font-size: 16px;
    font-weight: 400;
    color: var(--ink);
}

.cv-modulo textarea {
    resize: vertical;
}

.cv-modulo__servizi {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
    margin: 0;
    padding: 0;
    border: 0;
}

.cv-modulo__servizi legend {
    margin-bottom: var(--s-2);
    padding: 0;
    font-size: 14px;
    font-weight: 600;
}

.cv-modulo__servizi label {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.cv-modulo__servizi label:has(input:checked) {
    border-color: var(--area-dark);
    background: var(--area-tint);
    color: var(--area-hover);
}

.cv-modulo__servizi input {
    accent-color: var(--area-dark);
}

.cv-modulo__invio {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
    padding-top: var(--s-4);
    border-top: 1px solid var(--line-soft);
}

.cv-modulo__invio p {
    flex: 1 1 280px;
    margin: 0;
    font-size: 14px;
    color: var(--ink-3);
}

.cv-richiesta__lato {
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
}

.cv-gestore {
    padding: 18px;
    border-radius: var(--radius-md);
    background: var(--surface);
}

.cv-gestore summary {
    cursor: pointer;
    font-weight: 700;
}

.cv-gestore dl {
    margin-top: var(--s-3);
}

@media (max-width: 960px) {
    .cv-richiesta {
        grid-template-columns: minmax(0, 1fr);
    }

    .cv-scheda-tecnica {
        grid-template-columns: minmax(0, 1fr);
    }

    .cv-scheda-tecnica__gruppo--largo {
        grid-column: auto;
    }

    .cv-tour {
        grid-template-columns: minmax(0, 1fr);
    }

    .cv-tour__voce {
        min-height: 180px;
    }
}

@media (max-width: 600px) {
    .cv-sala {
        gap: 40px;
        padding-top: var(--s-5);
        padding-bottom: 56px;
    }

    .cv-modulo__campi,
    .cv-scheda-tecnica__gruppo--largo dl {
        grid-template-columns: minmax(0, 1fr);
    }

    .cv-cifre dt {
        font-size: 34px;
    }
}

/* 6g. Pagine comuni (fase 7) -------------------------------------------- */
/* Persona */
.cv-personatesta {
    background: var(--ink);
    color: var(--surface);
}

.cv-personatesta__corpo {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--s-6) var(--s-7);
    padding-top: 56px;
    padding-bottom: 64px;
}

.cv-personatesta__foto {
    flex: none;
    display: grid;
    place-items: center;
    width: 220px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--ink-2);
    color: #D9D8D3;
    font-size: 64px;
    font-weight: 800;
    font-stretch: 72%;
}

.cv-personatesta__foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-personatesta__testo {
    flex: 1 1 520px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
}

.cv-personatesta__testo .cv-label {
    color: var(--sand);
}

.cv-personatesta__bio {
    max-width: 680px;
    font-family: var(--font-read);
    font-size: 18px;
    line-height: 1.6;
    color: #D9D8D3;
}

.cv-personatesta__bio p {
    margin: 0 0 .8em;
}

.cv-personatesta__numeri {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--s-3);
    max-width: 720px;
    margin: 0;
    padding-top: var(--s-3);
}

.cv-personatesta__numeri div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--s-4) 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .07);
}

.cv-personatesta__numeri dt {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    font-size: 40px;
    line-height: 1;
    font-weight: 800;
    font-stretch: 72%;
}

.cv-personatesta__numeri dd {
    margin: 0;
    font-size: 14px;
    color: #D9D8D3;
}

.cv-filmografia {
    padding-top: 64px;
    padding-bottom: 40px;
}

.cv-filmografia__elenco {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cv-filmografia__voce {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: var(--s-5);
    padding: var(--s-5) 0;
    border-top: 1px solid var(--line-2);
}

.cv-filmografia__stagione {
    padding-top: 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink-3);
    font-variant-numeric: tabular-nums;
}

.cv-filmografia__film {
    display: flex;
    gap: var(--s-5);
    color: var(--ink);
    text-decoration: none;
}

.cv-filmografia__locandina {
    flex: none;
    width: 96px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--line-2);
}

.cv-filmografia__locandina img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-filmografia__testo {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
    min-width: 0;
    font-size: 16px;
}

.cv-filmografia__ente {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.cv-filmografia__titolo {
    font-size: 30px;
    line-height: 1.05;
    font-weight: 800;
    font-stretch: 75%;
    text-transform: uppercase;
}

.cv-filmografia__film:hover .cv-filmografia__titolo {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cv-filmografia__voto {
    font-size: 14px;
    color: var(--ink-3);
}

.cv-personacollegamenti {
    display: flex;
    flex-direction: column;
    gap: var(--s-5);
    padding-bottom: 96px;
}

.cv-personacollegamenti__riquadro {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--s-4);
    padding: 28px;
    border-radius: var(--radius-md);
    background: var(--surface);
}

.cv-personacollegamenti__riquadro h2 {
    grid-column: 1 / -1;
}

.cv-insieme {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
    text-decoration: none;
}

.cv-insieme__foto {
    flex: none;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    overflow: hidden;
    border-radius: var(--radius-pill);
    background: var(--line-soft);
    color: var(--ink-3);
    font-weight: 800;
}

.cv-insieme__foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-insieme__testo {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: var(--ink-3);
}

.cv-insieme__testo strong {
    font-size: 16px;
    color: var(--ink);
}

.cv-insieme:hover strong {
    text-decoration: underline;
}

.cv-personacollegamenti__fonte {
    margin: 0;
    font-size: 14px;
    color: var(--ink-3);
}

.cv-personacollegamenti__fonte a {
    color: var(--ink);
    font-weight: 600;
}

/* Ricerca */
.cv-cercatesta {
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.cv-cercatesta__modulo {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    padding-top: 28px;
    padding-bottom: 28px;
}

.cv-cercatesta__modulo svg {
    flex: none;
}

.cv-cercatesta__modulo input {
    flex: 1;
    min-width: 0;
    padding: var(--s-2) 0;
    border: 0;
    outline: none;
    background: transparent;
    font: inherit;
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 600;
    color: var(--ink);
}

.cv-cercatesta__modulo:focus-within {
    box-shadow: inset 0 -3px 0 var(--ink);
}

.cv-risultati {
    display: flex;
    flex-direction: column;
    gap: 36px;
    min-height: 40vh;
    padding-top: var(--s-6);
    padding-bottom: 64px;
}

.cv-risultati__vuoto {
    margin: 0;
    font-size: 20px;
    color: var(--ink-2);
}

.cv-risultati__gruppo {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cv-risultati__titolo {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.cv-risultati__titolo::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line-2);
}

.cv-risultati__titolo span {
    font-weight: 600;
}

.cv-risultati__griglia {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 4px;
}

.cv-risultati__elenco {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cv-risultato {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    padding: var(--s-3);
    border-radius: var(--radius-md);
    color: var(--ink);
    text-decoration: none;
}

.cv-risultato:hover,
.cv-risultato:focus-visible {
    background: var(--surface);
}

.cv-risultato--riga {
    justify-content: space-between;
}

.cv-risultato__locandina {
    flex: none;
    width: 52px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--line-2);
}

.cv-risultato__locandina img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-risultato__testo {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    font-size: 14px;
    color: var(--ink-3);
}

.cv-risultato__testo strong {
    font-size: 18px;
    line-height: 1.15;
    color: var(--ink);
}

.cv-risultato__ente {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
}

.cv-risultati__altri {
    margin: 0;
    padding-left: var(--s-3);
    font-size: 14px;
    color: var(--ink-3);
}

.cv-risultati__altri a {
    color: var(--ink);
    font-weight: 700;
}

/* Contatti */
.cv-contatti {
    display: flex;
    flex-direction: column;
    gap: var(--s-6);
    padding-top: 56px;
    padding-bottom: 96px;
}

.cv-contatti__sala {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: var(--s-6);
    align-items: center;
    padding: var(--s-6);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.cv-contatti__sala address {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
    font-style: normal;
    font-size: 20px;
}

.cv-contatti__azioni {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-3);
    margin-top: var(--s-5);
}

.cv-contatti__enti {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-5);
}

.cv-ente {
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
    padding: 28px;
    border-top: 4px solid var(--ente);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.cv-ente--cf {
    --ente: var(--cf-600);
}

.cv-ente--cv {
    --ente: var(--cv-600);
}

.cv-ente h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    font-stretch: 75%;
    text-transform: uppercase;
}

.cv-ente dl {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    margin: 0;
}

.cv-ente dt {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.cv-ente dd {
    margin: 2px 0 0;
    font-size: 16px;
    line-height: 1.5;
}

.cv-ente a,
.cv-contatti a:not(.cv-btn) {
    color: var(--ink);
    font-weight: 600;
}

.cv-contatti__altri {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-5);
}

.cv-contatti__riquadro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-3) var(--s-4);
    padding: var(--s-5) 28px;
    border-radius: var(--radius-md);
    background: var(--surface);
}

.cv-contatti__riquadro div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 15px;
    color: var(--ink-2);
}

.cv-contatti__riquadro strong {
    font-size: 18px;
    color: var(--ink);
}

/* Mappa caricata al clic (Contatti, Dove parcheggiare) */
.cv-mappa {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 320px;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--ground);
    text-align: center;
}

.cv-mappa--grande {
    min-height: 520px;
}

.cv-mappa iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.cv-mappa__invito {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 380px;
    padding: var(--s-5);
    font-size: 14px;
    line-height: 1.45;
    color: var(--ink-2);
}

.cv-mappa__titolo {
    font-size: 18px;
    color: var(--ink);
}

.cv-mappa__apri {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

@media (max-width: 960px) {
    .cv-contatti__sala,
    .cv-contatti__enti,
    .cv-contatti__altri {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .cv-contatti {
        padding-top: var(--s-5);
        padding-bottom: 56px;
    }

    .cv-contatti__sala {
        padding: var(--s-5);
    }

    .cv-mappa--grande {
        min-height: 420px;
    }
}

/* Persona del cast come link (scheda film) */
a.cv-persona {
    color: inherit;
    text-decoration: none;
}

a.cv-persona:hover .cv-persona__nome strong {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 600px) {
    .cv-personatesta__corpo {
        padding-top: var(--s-6);
        padding-bottom: 40px;
    }

    .cv-personatesta__foto {
        width: 140px;
    }

    .cv-filmografia__voce {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--s-2);
    }

    .cv-filmografia__locandina {
        width: 72px;
    }

    .cv-filmografia__titolo {
        font-size: 24px;
    }
}

/* 6h. Tesseramento e regolamento ---------------------------------------- */
.cv-num {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.cv-label--area {
    color: var(--area-dark);
}

.cv-dot--area {
    background: var(--area);
}

.cv-dot--spento {
    background: var(--line-strong);
}

.cv-pill--chiaro {
    border-color: var(--surface);
    text-transform: none;
    letter-spacing: 0;
    font-size: 13px;
}

/* Messaggio di errore di un modulo (rosso: avviso, regola 3) */
.cv-avviso {
    margin: 0;
    padding: var(--s-3) var(--s-4);
    border-left: 4px solid var(--alert);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background: color-mix(in srgb, var(--alert) 9%, var(--surface));
    color: var(--ink);
    font-size: 15px;
    line-height: 1.45;
}

/* Campo di modulo (site/campo) */
.cv-campo {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.cv-campo--largo {
    grid-column: 1 / -1;
}

.cv-campo > label,
.cv-campo > legend {
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
}

.cv-campo__opz {
    font-weight: 400;
    color: var(--ink-3);
}

.cv-campo__cornice {
    position: relative;
    display: flex;
    align-items: center;
}

.cv-campo input {
    width: 100%;
    height: 52px;
    padding: 0 14px;
    border: 1px solid #B9B8B1;
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--ink);
    font-family: inherit;
    font-size: 16px;
}

.cv-campo input:focus {
    outline: none;
    border: 2px solid var(--area-dark);
    padding: 0 13px;
    box-shadow: 0 0 0 3px var(--area-tint);
}

.cv-campo--errore input {
    border-color: var(--alert);
}

.cv-campo__auto {
    position: absolute;
    right: 10px;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    background: var(--area-tint);
    color: var(--area-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    pointer-events: none;
}

.cv-campo__aiuto {
    font-size: 13px;
    line-height: 1.4;
    color: var(--ink-3);
}

.cv-campo__errore {
    font-size: 13px;
    font-weight: 600;
    color: var(--alert);
}

/* Suggerimenti del comune (cineverdi.js, data-comune) */
.cv-suggerimenti {
    position: absolute;
    z-index: 5;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    margin: 0;
    padding: var(--s-1) 0;
    list-style: none;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-menu);
}

.cv-suggerimenti li {
    padding: 10px 14px;
    font-size: 15px;
    cursor: pointer;
}

.cv-suggerimenti li[aria-selected="true"],
.cv-suggerimenti li:hover {
    background: var(--area-tint);
}

/* Scelta a segmenti (Genere) */
.cv-segmento__scelte {
    display: flex;
    height: 52px;
    overflow: hidden;
    border: 1px solid #B9B8B1;
    border-radius: var(--radius-md);
}

.cv-segmento__scelte label {
    flex: 1;
    display: flex;
}

.cv-segmento__scelte label + label {
    border-left: 1px solid #B9B8B1;
}

.cv-segmento__scelte input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.cv-segmento__scelte span {
    flex: 1;
    display: grid;
    place-items: center;
    background: var(--surface);
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
}

.cv-segmento__scelte input:checked + span {
    background: var(--area-dark);
    color: var(--on-area);
}

.cv-segmento__scelte input:focus-visible + span {
    outline: 3px solid var(--ink);
    outline-offset: -3px;
}

/* Pagina Tesseramento: hero con le due porte */
.cv-tesshero {
    position: relative;
    overflow: hidden;
    background: var(--area-dark);
    color: var(--on-area);
}

.cv-tesshero__foto {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .28;
    mix-blend-mode: luminosity;
}

.cv-tesshero__corpo {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: var(--s-7);
    align-items: end;
    padding-top: 48px;
    padding-bottom: 64px;
}

.cv-tesshero__testo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.cv-tesshero__titolo {
    margin: 0;
    font-size: clamp(56px, 8vw, 104px);
    line-height: .9;
    font-weight: 800;
    font-stretch: 72%;
    text-transform: uppercase;
}

.cv-tesshero__sotto {
    margin: 0;
    max-width: 560px;
    font-family: var(--font-read);
    font-size: 22px;
    line-height: 1.45;
}

.cv-porte {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.cv-porta {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    padding: var(--s-5);
    border-radius: 10px;
    background: var(--surface);
    color: var(--ink);
}

.cv-porta .cv-label {
    color: var(--area-dark);
}

.cv-porta .cv-h3 {
    font-size: 30px;
    line-height: 1;
}

.cv-porta p {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    color: var(--ink-2);
}

.cv-porta__modulo {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    flex: 1;
}

.cv-porta__azione {
    margin-top: auto;
    height: 52px;
}

.cv-porta__codice {
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

.cv-porta__codice .cv-campo {
    flex: 1;
}

.cv-porta__tessera {
    position: relative;
    flex: none;
    width: 40px;
    aspect-ratio: 638 / 1012;
    margin-bottom: 2px;
}

.cv-porta__tessera img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 6px rgba(31, 34, 41, .25);
}

/* Riquadro del codice sulla card: il giallo qui è il colore della card stessa, non un'azione. */
.cv-porta__segno {
    position: absolute;
    left: 58%;
    right: -3px;
    top: 90%;
    height: 9%;
    border: 2px solid var(--ink);
    border-radius: 3px;
}

.cv-tesspagina {
    display: flex;
    flex-direction: column;
    gap: 72px;
    padding-top: 56px;
    padding-bottom: 96px;
}

.cv-tesspagina .cv-intestazione {
    margin-bottom: 20px;
}

/* Le tessere */
.cv-tessere {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-4);
}

.cv-tessera {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 26px 26px 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.cv-tessera .cv-h3 {
    font-size: 34px;
}

.cv-tessera p {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    color: var(--ink-2);
}

.cv-tessera--richiesta {
    background: #FAFAF8;
}

.cv-tessera--richiesta .cv-btn {
    margin-top: auto;
}

.cv-tessera__prezzo {
    margin-top: var(--s-2);
    font-size: 56px;
    line-height: .9;
    font-weight: 800;
    font-stretch: 72%;
    color: var(--area-dark);
}

.cv-tessere__note {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin: var(--s-4) 0 0;
    font-size: 15px;
    color: var(--ink-2);
}

.cv-tessere__note strong {
    color: var(--ink);
}

/* Le serate */
.cv-serate {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--s-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

.cv-serata {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.cv-serata .cv-h3 {
    font-size: 26px;
}

.cv-serata__ora {
    font-size: 40px;
    line-height: .9;
    font-weight: 800;
    font-stretch: 72%;
    color: var(--area-dark);
}

.cv-serata--esaurita {
    opacity: .62;
}

.cv-serata .cv-pill {
    white-space: nowrap;
    font-size: 10px;
    letter-spacing: .04em;
    padding: 4px 8px;
}

/* Online / in cassa */
.cv-dove {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-5);
}

.cv-dove__voce {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    padding: var(--s-6);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    font-size: 15px;
    color: var(--ink-2);
}

.cv-dove__voce .cv-h3 {
    font-size: 36px;
    line-height: 1;
    color: var(--ink);
}

.cv-dove__voce p {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
}

.cv-dove__azioni {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-3);
    margin-top: auto;
}

.cv-dove__giorni {
    margin: 0;
}

.cv-dove__giorni div {
    display: flex;
    justify-content: space-between;
    gap: var(--s-3);
    padding: 10px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 16px;
    color: var(--ink);
}

.cv-dove__giorni dt {
    font-weight: 700;
}

.cv-dove__giorni dd {
    margin: 0;
}

.cv-dove__metodi {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-2);
    margin-top: var(--s-2);
    font-size: 14px;
    font-weight: 600;
}

/* Due colonne: regolamento in 4 punti, domande */
.cv-tessdue {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: var(--s-7);
    align-items: start;
}

.cv-tessdue__testa {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-4);
}

.cv-tessdue__lead {
    margin: 0;
    font-family: var(--font-read);
    font-size: 19px;
    line-height: 1.55;
    color: var(--ink-2);
}

.cv-tessdue__nota {
    font-size: 14px;
    color: var(--ink-3);
}

.cv-tessdue .cv-dove__azioni {
    margin-top: 0;
}

.cv-punti {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 28px;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.cv-punti li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
    font-size: 15px;
    color: var(--ink-2);
}

.cv-punti li > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cv-punti strong {
    font-size: 17px;
    color: var(--ink);
}

.cv-punti__numero {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--area-tint);
    color: var(--area-dark);
    font-size: 14px;
    font-weight: 800;
}

.cv-domande details {
    padding: var(--s-4) 0;
    border-bottom: 1px solid var(--line);
}

.cv-domande summary {
    display: flex;
    justify-content: space-between;
    gap: var(--s-4);
    font-size: 17px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

.cv-domande summary::-webkit-details-marker {
    display: none;
}

.cv-domande summary::after {
    content: "+";
    color: var(--area-dark);
}

.cv-domande details[open] summary::after {
    content: "–";
}

.cv-domande p {
    margin: 10px 0 0;
    font-family: var(--font-read);
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink-2);
}

/* Percorso a passi: testata ridotta */
.cv-flussotesta {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.cv-flussotesta__main {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    max-width: var(--container);
    margin: 0 auto;
    padding: var(--s-4) var(--gutter);
}

.cv-flussotesta__logo img {
    display: block;
    height: 44px;
    width: auto;
}

.cv-flussotesta__sep {
    width: 1px;
    height: 30px;
    background: var(--line-2);
}

.cv-flussotesta__titolo {
    display: flex;
    flex-direction: column;
    font-size: 18px;
    font-weight: 800;
    font-stretch: 78%;
    text-transform: uppercase;
}

.cv-flussotesta__passo {
    display: none;
    font-size: 13px;
    font-weight: 600;
    font-stretch: 100%;
    text-transform: none;
    color: var(--ink-3);
}

.cv-flussotesta__indietro {
    display: none;
    font-size: 28px;
    line-height: 1;
    text-decoration: none;
    color: var(--ink);
}

.cv-flussotesta__esci {
    margin-left: auto;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
}

.cv-flussotesta__fatto {
    margin-left: auto;
    font-weight: 700;
    color: var(--area-dark);
}

.cv-flussotesta__fatto + .cv-flussotesta__esci {
    margin-left: var(--s-5);
}

.cv-passi {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 0 auto;
    padding: 0;
    list-style: none;
}

.cv-passi__voce {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--ink-3);
}

.cv-passi__voce + .cv-passi__voce::before {
    content: "";
    width: 40px;
    height: 2px;
    margin-right: 4px;
    background: var(--line-2);
}

.cv-passi__numero {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 2px solid var(--line-strong);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}

.cv-passi__voce[aria-current] {
    color: var(--ink);
    font-weight: 800;
}

.cv-passi__voce[aria-current] .cv-passi__numero {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--surface);
}

.cv-passi__voce--fatto {
    color: var(--area-dark);
    font-weight: 600;
}

.cv-passi__voce--fatto .cv-passi__numero {
    border-color: var(--area-dark);
    background: var(--area-dark);
    color: var(--on-area);
}

/* Percorso a passi: corpo e riepilogo */
.cv-flusso__griglia {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: var(--s-6);
    align-items: start;
    padding-top: 36px;
    padding-bottom: 64px;
}

.cv-flusso__corpo,
.cv-flusso__modulo {
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-width: 0;
}

.cv-flusso__titolo {
    margin: 0 0 10px;
    font-size: clamp(36px, 5vw, 56px);
    line-height: .9;
    font-weight: 800;
    font-stretch: 72%;
    text-transform: uppercase;
}

.cv-flusso__lead {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-2);
}

.cv-flusso__navigazione {
    display: flex;
    justify-content: space-between;
}

.cv-saluto {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.cv-saluto__iniziali {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--area-tint);
    color: var(--area-dark);
    font-weight: 800;
}

.cv-saluto__testo {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: var(--ink-3);
}

.cv-saluto__testo strong {
    font-size: 17px;
    color: var(--ink);
}

.cv-saluto__esci {
    margin-left: auto;
    font-size: 14px;
    font-weight: 600;
}

/* Scelta della serata */
.cv-scelte {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
}

.cv-scelta {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    gap: var(--s-4);
    align-items: center;
    min-height: 64px;
    padding: 18px 20px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--surface);
    cursor: pointer;
}

.cv-scelta input {
    width: 22px;
    height: 22px;
    margin: 0;
    accent-color: var(--area-dark);
}

.cv-scelta:has(input:checked) {
    padding: 17px 19px;
    border: 2px solid var(--area-dark);
    background: color-mix(in srgb, var(--area-tint) 55%, var(--surface));
}

.cv-scelta--esaurita {
    opacity: .55;
    cursor: not-allowed;
}

.cv-scelta__testo {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cv-scelta__nome {
    font-size: 19px;
    font-weight: 800;
}

.cv-scelta__nome span {
    font-weight: 600;
    color: var(--ink-3);
}

.cv-scelta__nota {
    font-size: 12px;
    font-weight: 700;
    color: var(--area-dark);
}

.cv-scelta__lato {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cv-scelta__ora {
    font-size: 26px;
    font-weight: 800;
    font-stretch: 80%;
}

/* Gruppi del modulo dati */
.cv-gruppi,
.cv-gruppo {
    display: flex;
    flex-direction: column;
    gap: var(--s-6);
    margin: 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.cv-gruppi .cv-gruppo {
    padding: 0;
    border: 0;
    border-radius: 0;
    gap: 14px;
}

.cv-gruppo {
    gap: var(--s-3);
}

.cv-gruppo > legend {
    float: left;
    width: 100%;
    margin-bottom: 14px;
    padding: 0;
    font-size: 13px;
    color: var(--ink);
}

.cv-gruppo p {
    margin: 0;
    font-size: 16px;
}

.cv-gruppo__campi {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-4);
    clear: both;
}

.cv-gruppo__testa {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cv-gruppo__testa .cv-label {
    color: var(--ink);
}

.cv-gruppo__testa a {
    font-size: 14px;
    font-weight: 700;
}

.cv-gruppo__dati {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-4) var(--s-5);
    margin: 0;
}

.cv-gruppo__dati div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cv-gruppo__dati dt {
    font-size: 13px;
    color: var(--ink-3);
}

.cv-gruppo__dati dd {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.cv-gruppo__cap[hidden] {
    display: none;
}

/* Riepilogo "Il tuo tesseramento" */
.cv-tessriepilogo {
    position: sticky;
    top: var(--s-5);
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: var(--s-5);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.cv-tessriepilogo__righe {
    margin: 0;
}

.cv-tessriepilogo__righe div {
    display: flex;
    justify-content: space-between;
    gap: var(--s-4);
    padding: var(--s-2) 0;
    font-size: 16px;
}

.cv-tessriepilogo__righe div[hidden] {
    display: none;
}

.cv-tessriepilogo__righe dd {
    margin: 0;
}

.cv-tessriepilogo__righe dt span {
    color: var(--ink-3);
}

.cv-tessriepilogo__totale {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--s-4);
    margin-top: 6px;
    padding-top: var(--s-3);
    border-top: 2px solid var(--ink);
    font-weight: 700;
}

.cv-tessriepilogo__totale[hidden] {
    display: none;
}

.cv-tessriepilogo__totale strong {
    font-size: 32px;
    font-weight: 800;
    font-stretch: 80%;
    color: var(--area-dark);
}

.cv-tessriepilogo__nota {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--ink-3);
}

.cv-tessriepilogo__barra {
    display: flex;
    flex-direction: column;
    margin-top: 14px;
}

.cv-tessriepilogo__breve {
    display: none;
}

.cv-tessriepilogo__barra .cv-btn {
    height: 52px;
}

/* Controlla e paga */
.cv-gruppo__dati--tre {
    padding: var(--s-5) 28px;
}

.cv-paga {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.cv-accetto {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px var(--s-5);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
}

.cv-accetto:has(input:checked) {
    border: 2px solid var(--area-dark);
    padding: 19px 23px;
}

.cv-accetto input {
    flex: none;
    width: 24px;
    height: 24px;
    margin: 0;
    accent-color: var(--area-dark);
}

.cv-accetto > span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cv-accetto a {
    font-weight: 700;
}

.cv-paga__metodi {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}

.cv-paga__metodi .cv-label {
    color: var(--ink);
}

.cv-paga__pulsanti {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.cv-paga__pulsante {
    height: 64px;
    font-size: 16px;
    border-radius: 8px;
}

.cv-paga__pulsante:disabled {
    border-color: var(--line);
    background: var(--line);
    color: var(--ink-3);
    cursor: not-allowed;
}

/* Colori del marchio PayPal (pulsante ufficiale), non --buy. */
.cv-paga__pulsante--paypal:not(:disabled) {
    border-color: #FFC439;
    background: #FFC439;
    color: var(--ink);
}

.cv-paga__pulsante--paypal b {
    font-style: italic;
    color: #003087;
}

.cv-paga__pulsante--paypal:disabled b {
    color: inherit;
}

/* Pannello laterale del regolamento */
.cv-pannello {
    width: min(560px, 100vw);
    max-width: none;
    height: 100vh;
    max-height: none;
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
    background: var(--surface);
    color: var(--ink);
}

.cv-pannello[open] {
    display: flex;
    flex-direction: column;
}

.cv-pannello::backdrop {
    background: rgba(31, 34, 41, .5);
}

.cv-pannello__testa,
.cv-pannello__piede {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
    padding: var(--s-4) var(--s-5);
    border-bottom: 1px solid var(--line);
}

.cv-pannello__piede {
    justify-content: flex-end;
    border-top: 1px solid var(--line);
    border-bottom: 0;
}

.cv-pannello__chiudi {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    background: var(--surface);
    font-size: 16px;
    cursor: pointer;
}

.cv-pannello__corpo {
    flex: 1;
    overflow-y: auto;
    padding: var(--s-5);
}

/* Conferma */
.cv-grazie {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: var(--s-7);
    align-items: center;
    padding-top: 48px;
    padding-bottom: 80px;
}

.cv-grazie__testo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.cv-grazie__testo .cv-gruppo {
    align-self: stretch;
}

.cv-grazie__titolo {
    margin: 0;
    font-size: clamp(48px, 7vw, 72px);
    line-height: .9;
    font-weight: 800;
    font-stretch: 72%;
    text-transform: uppercase;
}

.cv-grazie__lead {
    margin: 0;
    font-family: var(--font-read);
    font-size: 20px;
    line-height: 1.5;
    color: var(--ink-2);
}

.cv-grazie__card {
    display: flex;
    align-items: center;
    gap: 28px;
}

.cv-grazie__tessera {
    flex: none;
    width: 220px;
    aspect-ratio: 638 / 1012;
    overflow: hidden;
    border-radius: 12px;
    transform: rotate(-3deg);
    box-shadow: 0 24px 50px color-mix(in srgb, var(--area-dark) 35%, transparent);
}

.cv-grazie__tessera img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-grazie__socio {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
    font-size: 15px;
    line-height: 1.45;
    color: var(--ink-2);
}

.cv-grazie__socio .cv-label {
    color: var(--ink);
}

.cv-grazie__socio strong {
    font-size: 22px;
    font-weight: 800;
    font-stretch: 80%;
    text-transform: uppercase;
    color: var(--ink);
}

/* Regolamento */
.cv-regolamento {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.cv-regolamento__articolo {
    scroll-margin-top: var(--s-5);
}

.cv-regolamento__titolo {
    display: flex;
    align-items: baseline;
    gap: var(--s-3);
    margin: 0 0 var(--s-3);
    font-size: 28px;
    line-height: 1.1;
    font-weight: 800;
    font-stretch: 75%;
    text-transform: uppercase;
}

.cv-pannello .cv-regolamento__titolo {
    font-size: 20px;
}

.cv-regolamento__numero {
    color: var(--area-dark);
}

.cv-regolamento__ancora {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: var(--ink-3);
    opacity: 0;
}

.cv-regolamento__titolo:hover .cv-regolamento__ancora,
.cv-regolamento__ancora:focus-visible {
    opacity: 1;
}

.cv-regolamento p,
.cv-regolamento li {
    margin: 0;
    font-family: var(--font-read);
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink-2);
}

.cv-pannello .cv-regolamento p,
.cv-pannello .cv-regolamento li {
    font-size: 16px;
}

.cv-regolamento strong {
    color: var(--ink);
}

.cv-regolamento__comma {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: var(--s-3);
    margin-top: var(--s-3);
}

.cv-regolamento__punto {
    font-weight: 800;
    color: var(--area-dark);
    font-variant-numeric: tabular-nums;
}

.cv-regolamento__voci {
    margin: var(--s-2) 0 0;
    padding-left: 22px;
}

.cv-regolamento__stampa {
    align-self: flex-start;
}

.cv-inbreve {
    padding: var(--s-5);
    border-radius: 8px;
    background: var(--area-tint);
}

.cv-inbreve ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-4) var(--s-5);
    margin: var(--s-3) 0 0;
    padding: 0;
    list-style: none;
}

.cv-inbreve li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 15px;
    color: var(--ink-2);
}

.cv-inbreve strong {
    font-size: 17px;
    color: var(--ink);
}

@media (max-width: 1080px) {
    .cv-tesshero__corpo,
    .cv-tessdue,
    .cv-grazie {
        grid-template-columns: 1fr;
    }

    .cv-serate {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .cv-passi {
        display: none;
    }

    .cv-flussotesta__passo {
        display: block;
    }

    .cv-flusso__griglia {
        grid-template-columns: 1fr;
        padding-bottom: 120px;
    }

    /* Riepilogo come barra fissa in basso */
    .cv-tessriepilogo {
        position: fixed;
        z-index: 20;
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        padding: var(--s-3) var(--gutter);
        border: 0;
        border-top: 1px solid var(--line);
        border-radius: 0;
        box-shadow: var(--shadow-sticky);
    }

    .cv-tessriepilogo > .cv-label,
    .cv-tessriepilogo__righe,
    .cv-tessriepilogo__totale,
    .cv-tessriepilogo__nota {
        display: none;
    }

    .cv-tessriepilogo__totale[hidden] {
        display: none;
    }

    .cv-tessriepilogo__barra {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: var(--s-4);
        margin: 0;
    }

    .cv-tessriepilogo__breve {
        display: flex;
        flex-direction: column;
        font-size: 13px;
        color: var(--ink-3);
    }

    .cv-tessriepilogo__breve strong {
        font-size: 22px;
        font-weight: 800;
        font-stretch: 80%;
        color: var(--ink);
    }

    .cv-tessriepilogo__barra .cv-btn {
        flex: none;
        min-width: 150px;
    }

    .cv-porte,
    .cv-tessere,
    .cv-dove,
    .cv-gruppo__dati {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .cv-flussotesta__main {
        gap: var(--s-3);
    }

    .cv-flussotesta__indietro {
        display: block;
    }

    .cv-flussotesta__logo,
    .cv-flussotesta__sep {
        display: none;
    }

    .cv-flussotesta__titolo {
        font-size: 16px;
    }

    .cv-tesshero__corpo {
        padding-top: 32px;
        padding-bottom: 40px;
        gap: var(--s-6);
    }

    .cv-tesshero__sotto {
        font-size: 18px;
    }

    .cv-serate {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cv-tessera__prezzo {
        font-size: 44px;
    }

    .cv-dove__voce,
    .cv-punti,
    .cv-gruppo {
        padding: var(--s-5) var(--s-4);
    }

    .cv-gruppi .cv-gruppo {
        padding: 0;
    }

    .cv-gruppo__campi,
    .cv-inbreve ul {
        grid-template-columns: 1fr;
    }

    .cv-scelta {
        grid-template-columns: 22px 1fr auto;
        gap: var(--s-3);
        padding: 14px;
    }

    .cv-scelta:has(input:checked) {
        padding: 13px;
    }

    .cv-scelta__lato {
        flex-direction: column-reverse;
        align-items: flex-end;
        gap: 4px;
    }

    .cv-scelta__lato .cv-pill {
        font-size: 10px;
        padding: 3px 7px;
    }

    .cv-grazie__card {
        flex-direction: column;
        align-items: flex-start;
    }

    .cv-grazie__tessera {
        width: 160px;
    }

    .cv-regolamento__comma {
        grid-template-columns: 36px 1fr;
    }
}

@media print {
    .cv-head,
    .cv-newsbar,
    .cv-footer,
    .cv-percorso,
    .cv-testa__azioni,
    .cv-paginaarea__lato,
    .cv-invito {
        display: none !important;
    }
}

/* 6i. Consenso ai cookie (tavola CookieBanner) --------------------------- */
/* Neutro su tutto il sito. Scheda fissa in basso, sotto il menu mobile (z-index 50).
   "Accetta tutti" e "Rifiuta" uguali per forma e peso; "Scegli tu" / "Salva le scelte" a contorno. */
.cv-consenso {
    position: fixed;
    left: var(--s-5);
    right: var(--s-5);
    bottom: var(--s-5);
    z-index: 40;
    max-width: 760px;
    margin-inline: auto;
    font-family: var(--font-ui);
    color: var(--ink);
}

.cv-consenso__scheda {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 26px 28px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: 0 18px 50px rgba(31, 34, 41, .25), 0 0 0 1px var(--line);
}

.cv-consenso__testa,
.cv-preferenze__testa {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
}

.cv-consenso__titolo {
    margin: 0;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 800;
    font-stretch: 80%;
    text-transform: uppercase;
    color: var(--ink);
}

.cv-consenso__chiudi {
    flex: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: -10px -12px -10px 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--ink-2);
    cursor: pointer;
}

.cv-consenso__chiudi:hover {
    background: var(--ground);
}

.cv-consenso__chiudi:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 0;
}

.cv-consenso__testo {
    margin: -8px 0 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-2);
}

.cv-consenso__testo a {
    font-weight: 700;
    color: var(--ink);
}

.cv-consenso__breve {
    display: none;
}

.cv-consenso__azioni,
.cv-preferenze__azioni {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cv-consenso__azioni .cv-btn,
.cv-preferenze__azioni .cv-btn {
    flex: 1 1 0;
    padding: 0 16px;
}

.cv-consenso__pieno {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--surface);
}

.cv-consenso__pieno:hover {
    background: var(--ink-2);
    border-color: var(--ink-2);
}

.cv-consenso__vuoto {
    background: var(--surface);
    border-color: var(--ink);
    color: var(--ink);
}

.cv-consenso__vuoto:hover {
    background: var(--ground);
}

/* Pannello "Le tue preferenze" */
.cv-preferenze {
    width: min(560px, calc(100vw - 32px));
    max-width: none;
    box-sizing: border-box;
    padding: 26px 28px;
    border: 0;
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--ink);
    font-family: var(--font-ui);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}

.cv-preferenze::backdrop {
    background: rgba(31, 34, 41, .5);
}

.cv-preferenze__elenco {
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.cv-preferenze__voce {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    padding: var(--s-4) 0;
    border-bottom: 1px solid var(--line);
}

.cv-preferenze__etichetta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--s-1);
    cursor: pointer;
}

.cv-preferenze__etichetta b {
    font-size: 17px;
}

.cv-preferenze__etichetta span {
    font-size: 15px;
    line-height: 1.45;
    color: var(--ink-2);
}

.cv-preferenze__azioni {
    margin-top: var(--s-4);
}

/* Interruttore: checkbox con role="switch" */
.cv-interruttore {
    flex: none;
    position: relative;
    width: 50px;
    height: 28px;
    margin: 0;
    border-radius: var(--radius-pill);
    background: var(--line-strong);
    appearance: none;
    cursor: pointer;
}

.cv-interruttore::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--surface);
    transition: left .15s;
}

.cv-interruttore:checked {
    background: var(--ink);
}

.cv-interruttore:checked::after {
    left: 25px;
}

.cv-interruttore:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.cv-interruttore:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 2px;
}

.cv-footer__preferenze {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: #D9D8D3;
    cursor: pointer;
}

@media (max-width: 600px) {
    .cv-consenso {
        left: 0;
        right: 0;
        bottom: 0;
    }

    .cv-consenso__scheda {
        gap: var(--s-3);
        padding: 22px 18px 26px;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -10px 30px rgba(31, 34, 41, .2);
    }

    .cv-consenso__titolo {
        font-size: 20px;
    }

    .cv-consenso__testo {
        margin: 0;
        font-size: 15px;
        line-height: 1.45;
    }

    .cv-consenso__lungo {
        display: none;
    }

    .cv-consenso__breve {
        display: inline;
    }

    .cv-consenso__vuoto {
        flex-basis: 100% !important;
        order: 1;
    }

    /* Il pannello sale dal basso, a tutta larghezza */
    .cv-preferenze {
        width: 100vw;
        max-height: calc(100dvh - 90px);
        margin: auto 0 0;
        padding: 20px 18px 24px;
        border-radius: 18px 18px 0 0;
    }

    .cv-preferenze__etichetta span {
        font-size: 14px;
    }
}

/* Video degli articoli, caricati al clic come i trailer */
.cv-articolo__testo .cv-trailer {
    margin: 0 0 1.4em;
}

/* 6j. Testi legali: Privacy e Cookie (tavole Privacy, Cookie) ---------- */
/* Intestazione chiara della Privacy: fondo bianco, riga sotto in serif */
.cv-testa--chiara {
    background: var(--surface);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.cv-testa--chiara .cv-testa__corpo {
    padding-top: 36px;
    padding-bottom: 40px;
}

.cv-testa--chiara .cv-testa__sotto {
    max-width: 760px;
    font-family: var(--font-read);
    font-size: 21px;
    line-height: 1.5;
    color: var(--ink-2);
}

.cv-testa__azioni {
    align-items: center;
}

.cv-testa__dettaglio {
    font-size: 14px;
    color: var(--ink-3);
}

/* Sul fondo d'area (o sulla foto scura) il dettaglio è chiaro. */
.cv-testa--area .cv-testa__dettaglio,
.cv-testa--articolo .cv-testa__dettaglio {
    color: var(--on-area);
}

.cv-legale .cv-paginaarea__corpo {
    gap: 56px;
}

.cv-legale__stretto {
    max-width: 860px;
}

.cv-legale .cv-paginaarea__corpo.cv-legale__stretto {
    gap: 40px;
}

.cv-legale__sezione,
.cv-legale__sezione--scheda {
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
    scroll-margin-top: var(--s-5);
}

/* Intestazione di sezione con la riga sotto (sec-head delle tavole) */
.cv-legale .cv-intestazione {
    margin-bottom: var(--s-1);
    padding-bottom: var(--s-3);
    border-bottom: 2px solid var(--ink);
}

.cv-legale .cv-intestazione .cv-h2 {
    font-size: 38px;
}

.cv-legale__scheda {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.cv-legale__scheda .cv-table {
    font-size: 15px;
    line-height: 1.45;
}

.cv-legale__scheda .cv-table th,
.cv-legale__scheda .cv-table td {
    padding: 13px 16px;
    vertical-align: top;
}

.cv-legale__scheda .cv-table td:first-child {
    font-weight: 700;
}

.cv-legale__scheda .cv-table td:first-child a {
    color: var(--ink);
}

.cv-legale__scheda .cv-table tr:last-child td {
    border-bottom: 0;
}

.cv-legale__scheda .cv-table td:first-child,
.cv-legale__scheda .cv-table th:first-child {
    white-space: nowrap;
}

/* Titolare con i pallini d'ente */
.cv-legale__ente {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    font-weight: 700;
    color: var(--ink);
}

.cv-legale__pallini {
    display: inline-flex;
    flex: none;
}

.cv-legale__pallini .cv-dot + .cv-dot {
    margin-left: -3px;
}

/* I due titolari */
.cv-legale__titolari {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-4);
}

.cv-legale__titolare {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
    padding: var(--s-5);
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 4px solid;
    border-radius: var(--radius-md);
    font-size: 15px;
    line-height: 1.5;
}

.cv-legale__titolare--cf {
    border-top-color: var(--cf-600);
}

.cv-legale__titolare--cv {
    border-top-color: var(--cv-accent);
}

.cv-legale__titolare .cv-label,
.cv-legale__riquadro .cv-label {
    color: var(--ink);
}

.cv-legale__titolare strong {
    font-size: 19px;
}

.cv-legale__titolare a {
    margin-top: 6px;
    font-weight: 700;
    color: var(--area-dark);
}

/* Riquadro con il bordo a sinistra: contitolarità, contitolari dei cookie */
.cv-legale__riquadro {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px var(--s-5);
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--ink);
    border-radius: var(--radius-md);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink-2);
}

.cv-legale__riquadro strong {
    color: var(--ink);
}

.cv-legale__riquadro > strong {
    font-size: 18px;
}

.cv-legale__riquadro p {
    margin: 0;
}

.cv-legale__riquadro a {
    color: var(--area-dark);
}

.cv-legale__riquadro--enti {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--s-4);
}

.cv-legale__riquadro--enti .cv-legale__pallini {
    padding-top: 10px;
}

.cv-legale__riquadro--enti .cv-read {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink);
}

/* Schede: attività della Privacy, gruppi di cookie */
.cv-legale__attivita {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: var(--s-5) 28px;
    scroll-margin-top: var(--s-5);
}

.cv-legale__testa {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--s-4);
}

.cv-legale__attivita .cv-h3 {
    font-size: 26px;
}

.cv-legale__titolare-di {
    font-size: 14px;
    color: var(--ink-3);
}

.cv-legale__voci {
    margin: 0;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 10px 20px;
    font-size: 16px;
    line-height: 1.5;
}

.cv-legale__voci dt {
    color: var(--ink-3);
}

.cv-legale__voci dd {
    margin: 0;
}

.cv-legale__voci a {
    color: var(--area-dark);
}

.cv-legale__sezione--scheda .cv-legale__testa {
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 20px;
    padding: 22px var(--s-5);
}

.cv-legale__testa-testo {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
    max-width: 680px;
}

.cv-legale__testa-testo p {
    margin: 0;
    font-family: var(--font-read);
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink-2);
}

.cv-legale__sezione--scheda .cv-table th {
    background: #FAFAF8;
    border-bottom: 0;
}

.cv-legale__sezione--scheda .cv-table td:first-child {
    font-family: ui-monospace, Menlo, monospace;
}

/* Stato del consenso: "Sempre attivi", "Attivi per te: no" con l'interruttore */
.cv-legale__stato {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-2);
    white-space: nowrap;
}

.cv-legale__stato[hidden] {
    display: none;
}

.cv-legale__stato--sempre {
    color: var(--cv-700);
}

.cv-legale__interruttore {
    position: relative;
    width: 46px;
    height: 26px;
    border-radius: var(--radius-pill);
    background: var(--line-strong);
}

.cv-legale__interruttore::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--surface);
}

.cv-legale__stato.is-attivo .cv-legale__interruttore {
    background: var(--ink);
}

.cv-legale__stato.is-attivo .cv-legale__interruttore::after {
    left: auto;
    right: 3px;
}

.cv-legale__seguito {
    margin-top: calc(var(--s-4) * -1);
}

.cv-legale .cv-prosa a {
    color: var(--area-dark);
}

.cv-legale__nota {
    margin: 0;
    font-size: 15px;
    color: var(--ink-2);
}

/* Diritti: testo e pulsante a sinistra, elenco a destra */
.cv-legale__diritti {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-6);
    align-items: start;
}

.cv-legale__diritti-testo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-4);
}

.cv-legale__diritti-testo .cv-intestazione {
    align-self: stretch;
}

.cv-legale__diritti-testo .cv-read {
    margin: 0;
}

.cv-legale__diritti-testo .cv-read a {
    color: var(--area-dark);
}

.cv-legale__elenco {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cv-legale__elenco li {
    padding: var(--s-3) 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 16px;
}

/* Tabella a schede su telefono: ogni riga è una scheda, la prima cella fa da titolo */
@media (max-width: 600px) {
    .cv-tabella--schede .cv-table {
        min-width: 0;
    }

    .cv-tabella--schede thead {
        display: none;
    }

    .cv-tabella--schede tr,
    .cv-tabella--schede td {
        display: block;
    }

    .cv-tabella--schede tr {
        padding: var(--s-3) 0;
        border-bottom: 1px solid var(--line);
    }

    .cv-tabella--schede tr:last-child {
        border-bottom: 0;
    }

    .cv-legale__scheda .cv-tabella--schede td,
    .cv-tabella--schede td {
        padding: 2px 16px;
        border-bottom: 0;
        white-space: normal;
    }

    .cv-tabella--schede td:first-child {
        padding-bottom: 6px;
        font-size: 16px;
    }

    .cv-tabella--schede td + td::before {
        content: attr(data-colonna) " · ";
        color: var(--ink-3);
    }

    .cv-legale__titolari,
    .cv-legale__diritti {
        grid-template-columns: minmax(0, 1fr);
    }

    .cv-legale__voci {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }

    .cv-legale__voci dd + dt {
        margin-top: var(--s-3);
    }

    .cv-legale__attivita {
        padding: 20px var(--s-4);
    }

    .cv-legale__sezione--scheda .cv-legale__testa {
        flex-wrap: wrap;
        padding: 20px var(--s-4);
    }

    .cv-legale .cv-intestazione .cv-h2 {
        font-size: 30px;
    }
}

/* 6k. Collaboratori, su invito (tavole Collaboratori, Collaboratori-Mobile) - */
/* Stesso percorso a passi del tesseramento (6h). Le parti che si aprono seguono le scelte con :has(),
   così funzionano anche senza JavaScript. */
.cv-collab {
    display: flex;
    flex-direction: column;
    gap: var(--s-5);
    padding-top: 48px;
    padding-bottom: 72px;
}

.cv-collab--stretto {
    max-width: calc(560px + 2 * var(--gutter));
}

.cv-collab--grazie {
    max-width: calc(620px + 2 * var(--gutter));
    align-items: flex-start;
}

.cv-collab__griglia {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 72px;
}

.cv-collab__occhiello {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--area-dark);
}

.cv-collab__verifica {
    gap: 18px;
}

.cv-collab__errore {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cv-collab__errore span {
    color: var(--ink-2);
}

.cv-collab__largo {
    width: 100%;
    height: 52px;
}

.cv-collab__nota {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-3);
}

.cv-collab__nota svg {
    flex: none;
    margin-top: 1px;
}

.cv-collab__verificata {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: var(--area-tint);
    color: var(--area-dark);
    font-size: 13px;
    font-weight: 700;
}

.cv-collab__solotelefono {
    display: none !important;
}

.cv-collab__azioni .cv-btn {
    height: 52px;
}

.cv-collab__etichettascura,
.cv-collab__attestati > .cv-label {
    color: var(--ink);
}

.cv-collab__opz {
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink-3);
}

.cv-collab__testo {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink-2);
}

.cv-collab__link {
    font-size: 15px;
    font-weight: 700;
}

/* Ruoli: caselle grandi, due per riga */
.cv-collab__ruoli {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-3);
    margin: 0;
    padding: 0;
    border: 0;
}

.cv-collab__ruolo {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px 18px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--surface);
    cursor: pointer;
}

.cv-collab__ruolo:has(input:checked) {
    padding: 15px 17px;
    border: 2px solid var(--area-dark);
    background: color-mix(in srgb, var(--area-tint) 50%, var(--surface));
}

.cv-collab__ruolo input,
.cv-collab__spunta input,
.cv-collab__pillola input,
.cv-collab__file input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.cv-collab__casella {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 2px solid var(--ink);
    border-radius: 5px;
    background: var(--surface);
    color: var(--on-area);
}

.cv-collab__casella svg {
    visibility: hidden;
}

input:checked + .cv-collab__casella {
    border-color: var(--area-dark);
    background: var(--area-dark);
}

input:checked + .cv-collab__casella svg {
    visibility: visible;
}

input:focus-visible + .cv-collab__casella,
.cv-collab__pillola input:focus-visible + span,
.cv-collab__file:has(input:focus-visible) {
    outline: 3px solid var(--ink);
    outline-offset: 2px;
}

.cv-collab__ruolotesto {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cv-collab__ruolotesto strong {
    font-size: 17px;
}

.cv-collab__ruolotesto span {
    font-size: 13px;
    line-height: 1.4;
    color: var(--ink-3);
}

.cv-collab__altro {
    display: none;
    grid-column: 1 / -1;
}

.cv-collab__ruoli:has(input[value="altro"]:checked) .cv-collab__altro {
    display: block;
}

/* Direttivo: si vede ma non si cambia (lo segna il Cockpit) */
.cv-collab__ruolo--bloccato,
.cv-collab__ruolo--bloccato:has(input:checked) {
    grid-column: 1 / -1;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    padding: 16px 18px;
    border: 1px dashed var(--line-strong);
    background: var(--ground);
    cursor: not-allowed;
}

.cv-collab__ruolo--bloccato:has(input:checked) {
    background: color-mix(in srgb, var(--area-tint) 50%, var(--surface));
}

.cv-collab__ruolo--bloccato .cv-collab__casella {
    border-color: var(--line-strong);
}

.cv-collab__ruolo--bloccato input:checked + .cv-collab__casella {
    opacity: .55;
}

.cv-collab__ruolo--bloccato:not(:has(input:checked)) strong {
    color: var(--ink-3);
}

.cv-collab__bloccato {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-3);
    white-space: nowrap;
}

/* Attestati: No / Sì, ne ho; poi livello, data e file per ciascuno */
.cv-collab__attestati {
    gap: 14px;
}

.cv-collab__domanda,
.cv-collab__attestato {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    margin: 0;
    padding: 0;
    border: 0;
}

.cv-collab__domanda legend {
    float: left;
    width: 100%;
    margin-bottom: 14px;
    padding: 0;
    font-size: 19px;
    font-weight: 700;
}

.cv-collab__pillole {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
    clear: both;
}

.cv-collab__pillola span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    padding: 0 22px;
    border: 1px solid #B9B8B1;
    border-radius: var(--radius-pill);
    background: var(--surface);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.cv-collab__pillola input:checked + span {
    padding: 0 21px;
    border: 2px solid var(--area-dark);
    background: color-mix(in srgb, var(--area-tint) 50%, var(--surface));
}

.cv-collab__pillola--radio span {
    height: 44px;
    padding: 0 14px;
    border-color: var(--line-strong);
    font-size: 15px;
    font-weight: 500;
}

.cv-collab__pillola--radio span::before {
    content: "";
    flex: none;
    width: 18px;
    height: 18px;
    border: 2px solid #8A8D96;
    border-radius: 50%;
}

.cv-collab__pillola--radio input:checked + span {
    padding: 0 13px;
    font-weight: 700;
}

.cv-collab__pillola--radio input:checked + span::before {
    border-color: var(--area-dark);
    background: radial-gradient(circle, var(--area-dark) 0 4px, transparent 5px);
}

.cv-collab__con,
.cv-collab__dettagli {
    display: none;
}

.cv-collab__attestati:has(input[name="attestati"][value="si"]:checked) .cv-collab__con,
.cv-collab__attestati:has(input[name="attestati"][value="si"]:checked) .cv-collab__dettagli {
    display: block;
}

.cv-collab__attestati:has(input[name="attestati"][value="si"]:checked) .cv-collab__senza {
    display: none;
}

.cv-collab__attestato {
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.cv-collab__attestato + .cv-collab__attestato {
    margin-top: 18px;
}

.cv-collab__attestato legend {
    float: left;
    width: 100%;
    margin-bottom: var(--s-3);
    padding: 0;
    font-size: 17px;
    font-weight: 800;
}

.cv-collab__quando {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: var(--s-4);
    align-items: start;
}

.cv-collab__attestato:has(input[type="radio"][value=""]:checked) .cv-collab__quando {
    display: none;
}

.cv-collab__etichetta {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
}

.cv-collab__file span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 var(--s-4);
    overflow: hidden;
    border: 2px dashed #B9B8B1;
    border-radius: var(--radius-md);
    background: var(--surface);
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-2);
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
}

/* Dichiarazioni */
.cv-collab__dichiaro {
    gap: 20px;
}

.cv-collab__dichiaro > legend {
    float: left;
    width: 100%;
    margin-bottom: 0;
    padding: 0;
}

.cv-collab__spunta {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    font-size: 16px;
    line-height: 1.45;
    cursor: pointer;
}

.cv-collab__spunta--copia {
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.cv-collab__obbligatorio {
    font-weight: 800;
    color: var(--ink);
}

.cv-collab__data {
    margin-top: -12px;
    text-align: right;
}

/* Grazie */
.cv-collab__fatto {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--area-dark);
    color: var(--on-area);
}

.cv-collab__riepilogo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-4) var(--s-5);
    align-self: stretch;
}

.cv-collab__riepilogo div,
.cv-collabscheda__dati div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cv-collab__riepilogo dt,
.cv-collabscheda__dati dt {
    font-size: 13px;
    color: var(--ink-3);
}

.cv-collab__riepilogo dd,
.cv-collabscheda__dati dd {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

/* "La tua scheda" */
.cv-collabscheda {
    position: sticky;
    top: var(--s-5);
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: var(--s-5);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.cv-collabscheda__testa {
    display: flex;
    align-items: center;
    gap: var(--s-3);
}

.cv-collabscheda__iniziali {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--area-tint);
    color: var(--area-dark);
    font-weight: 800;
}

.cv-collabscheda__dati {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    margin: 0;
}

.cv-collabscheda__dati + .cv-collabscheda__dati {
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.cv-collabscheda__ricomincia {
    font-size: 14px;
    font-weight: 600;
}

/* Piede di una riga dei percorsi senza footer */
.cv-flussopiede {
    padding: 20px var(--gutter);
    border-top: 1px solid var(--line);
    font-size: 13px;
    text-align: center;
    color: var(--ink-3);
}

@media (max-width: 860px) {
    .cv-collab__griglia {
        grid-template-columns: 1fr;
        padding-top: 28px;
        padding-bottom: 40px;
    }

    /* Spazio sotto il piede per la barra fissa del pulsante */
    .cv-flusso:has(.cv-collab__azioni) + .cv-flussopiede {
        padding-bottom: 100px;
    }

    .cv-collabscheda {
        display: none;
    }

    .cv-collab__solotelefono {
        display: flex !important;
    }

    /* Il pulsante del passo diventa una barra fissa in basso; si torna indietro con ‹ in testata. */
    .cv-collab__azioni {
        position: fixed;
        z-index: 20;
        left: 0;
        right: 0;
        bottom: 0;
        padding: var(--s-3) var(--gutter);
        border-top: 1px solid var(--line);
        background: var(--surface);
        box-shadow: var(--shadow-sticky);
    }

    .cv-collab__azioni > :first-child {
        display: none;
    }

    .cv-collab__azioni .cv-btn {
        flex: 1;
    }

    .cv-collab__data {
        margin-top: 0;
        text-align: left;
    }

    .cv-collab--stretto,
    .cv-collab--grazie {
        padding-top: 28px;
    }
}

@media (max-width: 600px) {
    .cv-collab__ruoli,
    .cv-collab__riepilogo,
    .cv-collab__quando {
        grid-template-columns: minmax(0, 1fr);
    }

    .cv-collab__ruolo {
        padding: 12px 14px;
    }

    .cv-collab__ruolo:has(input:checked) {
        padding: 11px 13px;
    }

    .cv-collab__ruolo--bloccato,
    .cv-collab__ruolo--bloccato:has(input:checked) {
        grid-template-columns: 24px minmax(0, 1fr);
        padding: 12px 14px;
    }

    .cv-collab__bloccato {
        grid-column: 2;
    }
}

/* 7. Pagina di prova /dev/componenti (solo sviluppo) ------------------- */
.cv-dev__temi {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
}

.cv-dev__pila {
    display: flex;
    flex-direction: column;
    gap: var(--s-5);
}

.cv-dev__pila p {
    margin: 0;
}

.cv-dev__stretto {
    max-width: 440px;
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}

.cv-dev__campioni {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--s-3);
    margin: var(--s-2) 0 var(--s-5);
}

.cv-dev__campione {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
}

.cv-dev__campione span {
    height: 56px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
}

.cv-dev__caso {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.cv-dev__caso .cv-card {
    flex: 1;
}

.cv-dev__nome {
    margin: 0;
    font-size: 13px;
    color: var(--ink-2);
    min-height: 3em;
}

/* 6l. Statuto e atto costitutivo (tavola Statuto) ---------------------------- */
.cv-documenti {
    display: flex;
    border: 1px solid var(--area-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.cv-documenti a {
    flex: 1;
    display: grid;
    place-items: center;
    min-height: 44px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--area-dark);
    text-decoration: none;
    text-align: center;
    background: var(--surface);
}

.cv-documenti a + a {
    border-left: 1px solid var(--area-dark);
}

.cv-documenti a[aria-current] {
    background: var(--area-dark);
    color: var(--on-area);
}

.cv-documento__testo span:not(.cv-label) {
    font-size: 14px;
    color: var(--ink-3);
}

.cv-statuto__firma {
    margin: 0;
    font-size: 14px;
    color: var(--ink-3);
}

.cv-statuto__sintesi {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-3) var(--s-5);
    margin: var(--s-3) 0 0;
}

.cv-statuto__sintesi dt {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-3);
}

.cv-statuto__sintesi dd {
    margin: 2px 0 0;
    font-size: 15px;
    color: var(--ink);
}

.cv-statuto__trascrizione {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 17px;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .cv-statuto__sintesi {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Paragrafo senza numero (Statuto): tutta la larghezza, senza la colonna del numero. */
.cv-regolamento__comma--libero {
    display: block;
}
