/* =============================================================
   NUOVO SALA GASSMAN — Stylesheet principale
   Stagione 2025 | Autore: Attilio Monti
   ============================================================= */

/* ----- Variabili colore ----- */
:root {
    --bg-color:       #614e37;
    --nsg-dark:       #1a1a1a;
    --nsg-darker:     #111111;
    /*--nsg-gold:       #c9a84c;*/
    --nsg-gold:       #fbf8bf;
    --nsg-gold-light: #e2c87a;
    --nsg-white:      #f8f5f0;
    --nsg-text:       #333333;
    --nsg-muted:      #888888;
    --nsg-font-serif: 'Playfair Display', Georgia, serif;
    --nsg-font-sans:  'Open Sans', Arial, sans-serif;
    --nsg-nav-height: 80px;
    --nsg-transition: 0.3s ease;
}

/* ----- Reset & base ----- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--nsg-font-sans);
    color: var(--nsg-text);
    background-color: var(--nsg-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

/* =============================================================
   NAVBAR
   ============================================================= */
#main-navbar {
    background-color: var(--bg-color);
    min-height: var(--nsg-nav-height);
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: 2px solid var(--nsg-gold);
    transition: box-shadow var(--nsg-transition);
    z-index: 1030;
}

/* Ombra quando si scrolla */
#main-navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* ----- Logo ----- */
.navbar-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    transition: opacity var(--nsg-transition);
}

.navbar-brand:hover .navbar-logo {
    opacity: 0.85;
}

/* ----- Toggler mobile ----- */
.navbar-toggler {
    border-color: var(--nsg-gold);
    padding: 6px 10px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23c9a84c' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.35);
}

/* ----- Voci di menu ----- */
#navbarMain .nav-link {
    font-family: var(--nsg-font-sans);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nsg-white) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color var(--nsg-transition);
}

/* Sottolineatura animata */
#navbarMain .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--nsg-gold);
    transition: width var(--nsg-transition);
}

#navbarMain .nav-link:hover::after,
#navbarMain .nav-link.active::after {
    width: calc(100% - 2rem);
}

#navbarMain .nav-link:hover,
#navbarMain .nav-link.active {
    color: var(--nsg-gold) !important;
}

/* ----- Dropdown ----- */
#navbarMain .dropdown-menu {
    background-color: var(--bg-color);
    border: 1px solid var(--nsg-gold);
    border-top: none;
    border-radius: 0 0 6px 6px;
    min-width: 220px;
    padding: 0.5rem 0;
}

#navbarMain .dropdown-item {
    color: var(--nsg-white);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    padding: 0.55rem 1.25rem;
    transition: background-color var(--nsg-transition), color var(--nsg-transition);
}

#navbarMain .dropdown-item:hover,
#navbarMain .dropdown-item:focus {
    background-color: rgba(201, 168, 76, 0.15);
    color: var(--nsg-gold);
}

#navbarMain .dropdown-divider {
    border-color: rgba(201, 168, 76, 0.25);
}

/* ----- CTA Button nel menu ----- */
#navbarMain .btn-nsg {
    background-color: var(--nsg-gold);
    color: var(--nsg-darker) !important;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    padding: 0.45rem 1.2rem;
    margin-left: 0.5rem;
    transition: background-color var(--nsg-transition), transform var(--nsg-transition);
}

#navbarMain .btn-nsg:hover {
    background-color: var(--nsg-gold-light);
    transform: translateY(-1px);
}

#navbarMain .btn-nsg.active,
#navbarMain .btn-nsg:focus {
    color: var(--nsg-darker) !important;
}

#navbarMain .btn-nsg::after {
    display: none; /* disabilita sottolineatura per il pulsante CTA */
}

/* ----- Mobile collapse ----- */
@media (max-width: 991.98px) {
    #navbarMain .nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    }

    #navbarMain .nav-link::after {
        display: none;
    }

    #navbarMain .dropdown-menu {
        border: none;
        background-color: rgba(255, 255, 255, 0.05);
    }

    #navbarMain .btn-nsg {
        margin: 0.75rem 1rem;
        display: block;
        text-align: center;
    }
}

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
    background-color: var(--nsg-white);
    border-top: 3px solid var(--bg-color);
    color: var(--nsg-text);
}

/* override Bootstrap text-muted dentro il footer */
.site-footer .text-muted {
    color: var(--nsg-muted) !important;
    opacity: 1;
}

.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
}

.footer-link {
    color: var(--nsg-muted) !important;
    text-decoration: none;
    transition: color var(--nsg-transition);
}

.footer-link:hover {
    color: var(--bg-color) !important;
}

/* =============================================================
   HERO CAROUSEL
   ============================================================= */

/* Wrapper sezione — altezza adattiva: ~45% dell'altezza schermo, min 360px, max 600px */
.hero-section {
    position: relative;
    width: 100%;
    height: clamp(360px, 45vh, 600px);
    overflow: hidden;
    background-color: var(--nsg-darker);
}

/* Sfondo header stagione */
.hero-bg {
    position: absolute;
    inset: 0;
    background-attachment: scroll;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Overlay scuro sfumato dal basso */
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.30) 0%,
        rgba(0, 0, 0, 0.75) 100%
    );
}

/* Il carousel Bootstrap deve coprire tutto il wrapper */
#heroCarousel,
.carousel-inner,
.carousel-item {
    position: absolute !important;
    inset: 0;
}

/* Contenuto di ogni slide */
.hero-slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

/* Locandina (portrait poster) */
.hero-locandina-wrap {
    flex-shrink: 0;
    width: clamp(90px, 13vw, 185px);
    height: clamp(120px, 20vw, 265px);
    margin-right: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-locandina-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.hero-locandina {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 3px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
    display: block;
    transition: opacity .2s, transform .2s;
}
.hero-locandina-link:hover .hero-locandina {
    opacity: .88;
    transform: scale(1.03);
}

/* Titolo cliccabile */
.hero-show-title a {
    color: inherit;
    text-decoration: none;
}
.hero-show-title a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Testi info spettacolo */
.hero-info {
    color: #fff;
}

.hero-label {
    font-family: var(--nsg-font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--nsg-gold);
}

.hero-show-title {
    font-family: var(--nsg-font-serif);
    font-size: clamp(1.4rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
    margin-bottom: 0.5rem;
}

.hero-date {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
}

.hero-meta {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0.35rem;
    font-style: italic;
}

.hero-tipo-badge {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 3px;
    padding: 0.25em 0.6em;
}

.hero-sinossi {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Bottone acquista biglietti */
.btn-nsg-gold {
    background-color: var(--nsg-gold);
    color: var(--nsg-darker) !important;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    border: none;
    transition: background-color var(--nsg-transition), transform var(--nsg-transition);
}

.btn-nsg-gold:hover {
    background-color: var(--nsg-gold-light);
    transform: translateY(-1px);
}

/* Indicatori carousel */
#heroCarousel .carousel-indicators [data-bs-target] {
    background-color: var(--nsg-gold);
    opacity: 0.5;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
}

#heroCarousel .carousel-indicators .active {
    opacity: 1;
}

/* Schermi medi: nascondo sinossi ma tengo autore/regia e tipo */
@media (max-width: 991.98px) {
    .hero-sinossi {
        display: none;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .hero-section {
        height: 220px;
    }

    .hero-bg {
        background-attachment: scroll; /* fixed non funziona su iOS */
    }

    .hero-slide-content {
        padding: 0.75rem 0;
    }

    .hero-locandina-wrap {
        width: clamp(60px, 18vw, 100px);
        height: clamp(80px, 24vw, 140px);
        margin-right: 1rem;
    }

    .hero-show-title {
        font-size: clamp(1rem, 5vw, 1.6rem);
    }
}

/* =============================================================
   SEZIONE "I PROSSIMI SPETTACOLI"
   ============================================================= */
.prossimi-spettacoli {
    padding: 3.5rem 0 4rem;
    background-color: #f0ece6;
    border-top: 3px solid var(--bg-color);
}

.sezione-titolo {
    font-family: var(--nsg-font-serif);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    color: var(--nsg-dark);
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    position: relative;
}

.sezione-titolo::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--bg-color);
    margin: 0.6rem auto 0;
    border-radius: 2px;
}

/* --- Card spettacolo (è un <a>, non ha stile link) --- */
.card-spettacolo {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card-spettacolo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
    color: inherit;
}

/* Immagine */
.card-sp-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--nsg-darker);
}

.card-sp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.card-spettacolo:hover .card-sp-img {
    transform: scale(1.04);
}

.card-sp-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--nsg-darker) 100%);
}

/* Badge tipo spettacolo */
.card-sp-badge {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25em 0.65em;
    border-radius: 3px;
}

/* Body */
.card-sp-body {
    padding: 1rem 1.1rem 0.6rem;
    flex: 1;
}

.card-sp-titolo {
    font-family: var(--nsg-font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--nsg-dark);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.card-sp-meta {
    font-size: 0.75rem;
    font-style: italic;
    color: var(--nsg-muted);
    margin-bottom: 0.5rem;
}

.card-sp-data {
    font-size: 0.8rem;
    color: var(--nsg-text);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.card-sp-ora {
    color: var(--nsg-muted);
}

/* Footer card con "Scopri lo spettacolo" */
.card-sp-footer {
    padding: 0.6rem 1.1rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bg-color);
    border-top: 1px solid rgba(0,0,0,0.07);
    transition: color 0.3s ease;
}

.card-spettacolo:hover .card-sp-footer {
    color: var(--nsg-dark);
}

.card-sp-footer .bi-arrow-right-short {
    font-size: 1.1rem;
    vertical-align: middle;
}

/* =============================================================
   SEZIONE CTA (stile analogo a info-parallax)
   ============================================================= */
.cta-strip {
    background-color: var(--bg-color);
    border-top: 3px solid var(--nsg-gold);
    border-bottom: 3px solid var(--nsg-gold);
    padding: 3rem 0;
}

@media (max-width: 767.98px) {
    .cta-strip { padding: 2rem 0; }
}

/* =============================================================
   SEZIONE SPONSOR
   ============================================================= */
.sponsor-section {
    padding: 3rem 0 2.5rem;
    background-color: #f7f4ef;
    border-bottom: 1px solid #e0d8cc;
}

/* Titolo variante scura (sfondo chiaro) */
.sezione-titolo--dark {
    color: var(--bg-color);
}

.sezione-titolo--dark::after {
    background-color: var(--bg-color);
}

.sponsor-splide {
    padding: 0 1.5rem 1rem;
}

/* Ogni slide occupa 1/3 della larghezza visibile */
.sponsor-splide .splide__slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card sponsor */
.sponsor-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem 2rem;
    background: #fff;
    border: 1px solid #e0d8cc;
    border-radius: 6px;
    width: 100%;
    height: 140px;
    text-decoration: none;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

a.sponsor-card:hover {
    box-shadow: 0 4px 18px rgba(97, 78, 55, 0.15);
    border-color: var(--bg-color);
}

.sponsor-logo {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

a.sponsor-card:hover .sponsor-logo {
    filter: grayscale(0%);
}

/* =============================================================
   SEZIONE INFO TEATRO
   ============================================================= */
.info-parallax {
    background-color: var(--bg-color);
    border-top: 3px solid var(--nsg-gold);
    border-bottom: 3px solid var(--nsg-gold);
    padding: 3rem 0;
}

@media (max-width: 767.98px) {
    .info-parallax { padding: 2rem 0; }
}

/* Colonne — pannello semi-trasparente */
.info-col-row {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--nsg-white);
    padding: 1.6rem 1.2rem;
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    transition: background-color 0.35s ease;
}

@media (max-width: 575.98px) {
    .info-col-row {
        gap: 0.4rem;
    }
    .info-col {
        padding: 0.7rem 0.3rem;
    }
    .info-col-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }
    .info-col-titolo {
        font-size: 0.65rem;
        letter-spacing: 0.02em;
        margin-bottom: 0.4rem;
        padding-bottom: 0.4rem;
    }
    .info-col-titolo::after {
        display: none;
    }
    .info-col-testo {
        font-size: 0.62rem;
        line-height: 1.4;
        margin-bottom: 0.3rem;
    }
    .info-col-link {
        font-size: 0.6rem;
    }
    .info-col-tel .bi {
        font-size: 0.65rem;
    }
    .info-social-links {
        gap: 0.6rem;
    }
    .info-social-icon {
        font-size: 1.4rem;
    }
}

.info-col:hover {
    background-color: rgba(0, 0, 0, 0.28);
}

/* Cerchio icona */
.info-col-icon {
    font-size: 1.9rem;
    color: var(--nsg-gold);
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(251, 248, 191, 0.35);
    border-radius: 50%;
    margin-bottom: 0.8rem;
    flex-shrink: 0;
}

/* Titolo colonna */
.info-col-titolo {
    font-family: var(--nsg-font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nsg-gold);
    margin-bottom: 0.9rem;
    padding-bottom: 0.7rem;
    position: relative;
}

.info-col-titolo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 2px;
    background-color: var(--nsg-gold);
    opacity: 0.45;
}

.info-col-testo {
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(248, 245, 240, 0.85);
    margin-bottom: 0.4rem;
}

.info-col-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    color: rgba(248, 245, 240, 0.6);
    text-decoration: none;
    margin-top: 0.25rem;
    transition: color 0.3s ease;
}

.info-col-link:hover {
    color: var(--nsg-gold);
    text-decoration: none;
}

/* Icone social affiancate, solo icona */
.info-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.4rem;
    margin-top: 0.4rem;
}

.info-social-icon {
    font-size: 2.6rem;
    line-height: 1;
    color: var(--nsg-white);
    text-decoration: none;
    display: inline-flex;
    transition: color 0.3s ease, transform 0.3s ease;
}

.info-social-icon:hover {
    color: var(--nsg-gold);
    transform: scale(1.18);
    text-decoration: none;
}

/* =============================================================
   SEZIONE STAGIONE — layout + intestazione
   ============================================================= */
.stagione-wrap {
    padding: 3rem 0 4rem;
    background-color: var(--nsg-white);
}

.stagione-locandina {
    width: 100%;
    max-width: 230px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 6px 28px rgba(0,0,0,0.18);
    position: sticky;
    top: calc(var(--nsg-nav-height) + 1rem);
}

.stagione-teatro-nome {
    font-family: var(--nsg-font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--nsg-muted);
    margin-bottom: 0.3rem;
}

.stagione-anno-label {
    font-family: var(--nsg-font-sans);
    font-size: 1rem;
    color: var(--nsg-text);
    margin-bottom: 0.5rem;
}

.stagione-titolo-grande {
    font-family: var(--nsg-font-serif);
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--nsg-dark);
    margin-bottom: 1.8rem;
}

/* --- Pulsanti circolari --- */
.stagione-actions {
    margin-bottom: 2.5rem;
}

.circle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(64px, 12vw, 90px);
    height: clamp(64px, 12vw, 90px);
    border-radius: 50%;
    border: 2px solid var(--nsg-gold);
    background-color: var(--bg-color);
    color: var(--nsg-gold);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    text-decoration: none;
    transition: background-color 0.6s ease, color 0.6s ease, border-color 0.6s ease, transform 0.6s ease;
    margin-bottom: 0.5rem;
}

.circle-btn:hover {
    background-color: var(--nsg-gold);
    border-color: var(--bg-color);
    color: var(--bg-color);
    transform: translateY(-3px);
}

.circle-label {
    font-family: var(--nsg-font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--nsg-text);
    margin: 0;
}

/* --- Dettaglio testuale --- */
.stagione-det-titolo {
    font-family: var(--nsg-font-serif);
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--nsg-dark);
    margin-bottom: 0.3rem;
}

.stagione-det-sottotitolo {
    font-family: var(--nsg-font-sans);
    font-size: 1rem;
    font-style: italic;
    color: var(--nsg-muted);
    margin-bottom: 1.5rem;
}

.stagione-det-testo {
    font-family: var(--nsg-font-sans);
    font-size: 0.96rem;
    line-height: 1.85;
    color: var(--nsg-text);
    margin-top: 1.2rem;
}

.stagione-det-testo p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* --- Firma --- */
.stagione-firma {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 2rem;
    gap: 0.4rem;
}

.firma-ruolo {
    font-family: var(--nsg-font-sans);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--nsg-muted);
}

.firma-img {
    width: 180px;
    height: auto;
}

/* =============================================================
   BREADCRUMB PAGINE INTERNE
   ============================================================= */
.page-breadcrumb {
    background-color: var(--bg-color);
    border-bottom: 2px solid rgba(251, 248, 191, 0.4);
    padding: 0.6rem 0;
}

.page-breadcrumb .breadcrumb {
    margin: 0;
    font-size: 0.8rem;
    font-family: var(--nsg-font-sans);
}

.page-breadcrumb .breadcrumb-item a {
    color: rgba(248, 245, 240, 0.7);
    text-decoration: none;
    transition: color var(--nsg-transition);
}

.page-breadcrumb .breadcrumb-item a:hover {
    color: var(--nsg-gold);
}

.page-breadcrumb .breadcrumb-item.active {
    color: var(--nsg-gold);
    font-weight: 600;
}

.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(248, 245, 240, 0.35);
    content: "›";
}

/* =============================================================
   SEZIONE MAPPA
   ============================================================= */
.map-section {
    line-height: 0; /* elimina gap sotto iframe */
}

.map-embed-wrap iframe {
    display: block;
    width: 100%;
    height: 440px;
    border: 0;
}

@media (max-width: 767.98px) {
    .map-embed-wrap iframe {
        height: 280px;
    }
}

/* =============================================================
   SEZIONE FORM CONTATTI
   ============================================================= */
.contact-section {
    padding: 3.5rem 0 4rem;
    background-color: #f7f4ef;
    border-top: 1px solid #e0d8cc;
}

/* Honeypot: assolutamente invisibile */
.contact-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 0;
    overflow: hidden;
}

.contact-label {
    font-family: var(--nsg-font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--nsg-text);
    margin-bottom: 0.4rem;
}

.contact-input {
    border: 1px solid #ccc4b6;
    background-color: #fff;
    border-radius: 4px;
    font-size: 0.92rem;
    color: var(--nsg-text);
    transition: border-color var(--nsg-transition), box-shadow var(--nsg-transition);
}

.contact-input:focus {
    border-color: var(--bg-color);
    box-shadow: 0 0 0 0.2rem rgba(97, 78, 55, 0.18);
    outline: none;
}

.contact-input::placeholder {
    color: #aaa;
}

.btn-nsg-contact {
    background-color: var(--bg-color);
    color: var(--nsg-gold);
    font-family: var(--nsg-font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 2px solid var(--bg-color);
    border-radius: 4px;
    padding: 0.65rem 2rem;
    transition: background-color var(--nsg-transition), color var(--nsg-transition), border-color var(--nsg-transition);
}

.btn-nsg-contact:hover {
    background-color: transparent;
    color: var(--bg-color);
    border-color: var(--bg-color);
}

/* Alert esito form */
.contact-alert-success {
    background-color: rgba(97, 78, 55, 0.12);
    border: 1px solid var(--bg-color);
    color: var(--bg-color);
    border-radius: 4px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.contact-alert-error {
    background-color: rgba(200, 50, 50, 0.08);
    border: 1px solid #c83232;
    color: #8b1a1a;
    border-radius: 4px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

/* Note privacy */
.contact-privacy {
    font-size: 0.78rem;
    color: var(--nsg-muted);
    line-height: 1.7;
    border-top: 1px solid #e0d8cc;
    padding-top: 1rem;
}

.contact-privacy a {
    color: var(--bg-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-privacy a:hover {
    color: var(--nsg-dark);
}

/* =============================================================
   UTILITIES
   ============================================================= */
.text-gold {
    color: var(--nsg-gold) !important;
}

.bg-dark-nsg {
    background-color: var(--nsg-dark) !important;
}

/* =============================================================
   TARIFFE — Abbonamenti & Biglietti
   ============================================================= */
.tariffe-section {
    padding: 3.5rem 0 4rem;
}

.tariffe-section--abbonamenti {
    background-color: var(--nsg-white);
    border-bottom: 3px solid var(--bg-color);
}

.tariffe-section--biglietti {
    background-color: #f0ece6;
}

.tariffe-stagione-label {
    display: block;
    font-family: var(--nsg-font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--nsg-muted);
    text-transform: none;
    margin-top: 0.3rem;
}

/* Card comune */
.tariffa-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tariffa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.16);
}

/* ---- Card ABBONAMENTO ---- */
.tariffa-card--abbonamento .tariffa-card-header {
    background-color: var(--bg-color);
    color: var(--nsg-gold);
    padding: 1.6rem 1.5rem 1.2rem;
    text-align: center;
    border-bottom: 2px solid rgba(251,248,191,0.3);
}

.tariffa-card--abbonamento .tariffa-card-body {
    background-color: #fff;
    padding: 1.4rem 1.5rem;
    flex: 1;
}

.tariffa-card--abbonamento .tariffa-card-footer {
    background-color: #fff;
    padding: 0.8rem 1.5rem 1.2rem;
    text-align: center;
    border-top: 1px solid #ece7e0;
}

/* ---- Card BIGLIETTO ---- */
.tariffa-card--biglietto .tariffa-card-header {
    background-color: var(--nsg-dark);
    color: var(--nsg-gold);
    padding: 1.6rem 1.5rem 1.2rem;
    text-align: center;
    border-bottom: 2px solid rgba(251,248,191,0.2);
}

.tariffa-card--biglietto .tariffa-card-body {
    background-color: #fff;
    padding: 1.4rem 1.5rem;
    flex: 1;
}

/* Icona + titolo header */
.tariffa-icon {
    font-size: 2rem;
    margin-bottom: 0.6rem;
    opacity: 0.85;
}

.tariffa-nome {
    font-family: var(--nsg-font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: inherit;
}

/* Prezzo principale */
.tariffa-prezzo-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.15rem;
    margin-bottom: 0.6rem;
}

.tariffa-euro {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--bg-color);
    line-height: 1;
}

.tariffa-prezzo {
    font-family: var(--nsg-font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--bg-color);
    line-height: 1;
}

.tariffa-tipo-label {
    font-size: 0.72rem;
    color: var(--nsg-muted);
    margin-left: 0.3rem;
    align-self: flex-end;
    padding-bottom: 0.3rem;
}

/* Badge prevendita */
.tariffa-prevendita-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: 0.9rem;
}

.tariffa-prevendita-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background-color: rgba(97, 78, 55, 0.1);
    border: 1px solid rgba(97, 78, 55, 0.25);
    color: var(--bg-color);
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 20px;
    padding: 0.3em 0.9em;
}

.tariffa-prevendita-nota {
    font-size: 0.72rem;
    color: var(--nsg-muted);
    font-style: italic;
}

/* Note */
.tariffa-note {
    font-size: 0.8rem;
    color: var(--nsg-muted);
    line-height: 1.6;
    text-align: center;
    margin-bottom: 0.3rem;
}

.tariffa-note-agg {
    font-size: 0.75rem;
    color: var(--nsg-muted);
    font-style: italic;
    text-align: center;
    margin-bottom: 0;
}

/* Bottone abbonamento */
.btn-tariffa {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--bg-color);
    text-decoration: none;
    border: 1.5px solid var(--bg-color);
    border-radius: 4px;
    padding: 0.45em 1.2em;
    transition: background-color var(--nsg-transition), color var(--nsg-transition);
}

.btn-tariffa:hover {
    background-color: var(--bg-color);
    color: var(--nsg-gold);
}

/* Nota a piè di sezione biglietti */
.tariffe-footnote {
    font-size: 0.82rem;
    color: var(--nsg-muted);
    margin-top: 2.5rem;
    text-align: center;
    line-height: 1.7;
}

.tariffe-footnote a {
    color: var(--bg-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* =============================================================
   CALENDARIO E TURNI
   ============================================================= */

/* Colore personalizzato bg-rosa per tipo Danza */
.bg-rosa { background-color: #d63384 !important; }

/* Sezione wrapper */
.calendario-section {
    padding: 60px 0 80px;
}

/* Scrollable tabs mesi */
.cal-tabs-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--bg-color) transparent;
    margin-bottom: 32px;
    padding-bottom: 4px;
}
.cal-tabs-wrap::-webkit-scrollbar { height: 4px; }
.cal-tabs-wrap::-webkit-scrollbar-thumb { background: var(--bg-color); border-radius: 2px; }

.cal-tabs-wrap--bottom {
    margin-top: 40px;
    margin-bottom: 0;
    padding-top: 24px;
    border-top: 1px solid rgba(97,78,55,0.15);
}

.cal-bottom-nav-lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--nsg-muted);
    margin-bottom: 10px;
}

/* Nav pills mesi */
.cal-tab-nav {
    flex-wrap: nowrap;
    min-width: max-content;
    gap: 8px;
}
.cal-tab-nav .nav-link {
    background: transparent;
    border: 2px solid var(--bg-color);
    color: var(--bg-color);
    border-radius: 30px;
    padding: 7px 20px;
    font-family: var(--nsg-font-sans);
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    transition: var(--nsg-transition);
}
.cal-tab-nav .nav-link:hover,
.cal-tab-nav .nav-link.active {
    background: var(--bg-color);
    color: var(--nsg-gold);
    border-color: var(--bg-color);
}

/* Stato vuoto */
.cal-empty {
    text-align: center;
    padding: 40px 0;
    color: var(--nsg-muted);
    font-style: italic;
}

/* =============================================================
   PIANTA E DATI TECNICI
   ============================================================= */

.dati-tecnici-section { padding: 60px 0; }
.dati-tecnici-section--hero  { background: var(--nsg-white); }
.dati-tecnici-section--full  { background: #fff; padding-top: 0; }
.dati-tecnici-section--cta   { background: var(--nsg-white); padding: 40px 0 70px; }

.dati-intro {
    color: var(--nsg-muted);
    font-size: 0.97rem;
    max-width: 680px;
    margin: -10px 0 36px;
}

/* Schede quick */
.dati-quick-row { margin-bottom: 0; }

.dati-quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-color);
    color: var(--nsg-gold);
    border-radius: 10px;
    padding: 28px 16px 22px;
    height: 100%;
}

.dati-quick-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.85;
}

.dati-quick-val {
    font-family: var(--nsg-font-serif);
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
}

.dati-quick-lbl {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

/* Contenuto dati tecnici (HTML dal DB) */
.dati-tecnici-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.07);
    padding: 40px 48px;
}

.dati-tecnici-content p { margin-bottom: 0.6rem; }

.dati-tecnici-content p strong {
    display: block;
    font-family: var(--nsg-font-serif);
    font-size: 1.05rem;
    color: var(--bg-color);
    margin-top: 28px;
    margin-bottom: 4px;
    padding-bottom: 6px;
    border-bottom: 2px solid rgba(97,78,55,0.2);
}

.dati-tecnici-content p:first-child strong { margin-top: 0; }

.dati-tecnici-content ul {
    margin-bottom: 0.4rem;
    padding-left: 1.4rem;
}

.dati-tecnici-content ul li {
    font-size: 0.9rem;
    color: var(--nsg-text);
    margin-bottom: 4px;
    line-height: 1.55;
}

.dati-tecnici-content em {
    color: var(--nsg-muted);
    font-size: 0.85rem;
}

/* CTA */
.dati-cta-testo {
    font-size: 1rem;
    color: var(--nsg-muted);
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 767.98px) {
    .dati-tecnici-content { padding: 24px 20px; }
    .dati-quick-val       { font-size: 1.55rem; }
}

/* ============================================================
   STAGIONI PASSATE
   ============================================================ */
.stagioni-passate-section {
    padding: 60px 0 80px;
    background: var(--nsg-white);
}

/* Card stagione */
.stpass-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(97,78,55,0.15);
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.stpass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 36px rgba(97,78,55,0.18);
}

/* Immagine — proporzione locandina portrait 2:3 */
.stpass-img-wrap {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #ede8e1;
}

.stpass-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.stpass-card:hover .stpass-img { transform: scale(1.02); }

/* Badge anno sul'immagine */
.stpass-anno-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--bg-color);
    color: var(--nsg-gold);
    font-family: var(--nsg-font-serif);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Body */
.stpass-body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.stpass-stagione-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--nsg-muted);
    margin-bottom: 6px;
}

.stpass-titolo {
    font-family: var(--nsg-font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bg-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.stpass-sottotitolo {
    font-size: 0.88rem;
    color: var(--nsg-muted);
    margin-bottom: 10px;
    font-style: italic;
    line-height: 1.4;
}

.stpass-meta {
    font-size: 0.82rem;
    color: var(--nsg-muted);
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.stpass-meta-sep {
    color: rgba(0,0,0,0.2);
    font-size: 0.9rem;
}

@media (max-width: 575.98px) {
    .stpass-titolo { font-size: 1.1rem; }
}

/* ============================================================
   DETTAGLIO SPETTACOLO
   ============================================================ */

/* --- Scheda principale --- */
.sp-detail-section {
    padding: 56px 0 64px;
    background: var(--nsg-white);
}

/* Locandina */
.sp-locandina-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(97,78,55,0.12);
    background: #ede8e1;
}

.sp-locandina-img {
    width: 100%;
    display: block;
    object-fit: contain;
}

.sp-locandina-placeholder {
    aspect-ratio: 2 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--nsg-muted);
    background: #ede8e1;
}

/* Badge tipo / stagione */
.sp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sp-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 20px;
}

.sp-badge--tipo {
    background: rgba(97,78,55,0.12);
    color: var(--bg-color);
}

.sp-badge--corrente {
    background: var(--bg-color);
    color: var(--nsg-gold);
}

/* Tags */
.sp-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.sp-tag {
    font-size: 0.72rem;
    color: var(--nsg-muted);
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
    padding: 2px 8px;
}

/* ── Condividi ───────────────────────────────────────────────── */
.sp-share { border-top: 1px solid rgba(0,0,0,0.08); padding-top: 1rem; }

.sp-share-label {
    font-size: 0.78rem;
    color: var(--nsg-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.sp-share-buttons { display: flex; gap: 8px; }

.sp-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.18s ease, opacity 0.18s ease;
    text-decoration: none;
    color: #fff;
}
.sp-share-btn:hover { transform: scale(1.1); opacity: 0.9; color: #fff; }

.sp-share-btn--wa   { background: #25d366; }
.sp-share-btn--fb   { background: #1877f2; }
.sp-share-btn--copy { background: var(--bg-color); border: 1px solid var(--nsg-gold); color: var(--nsg-gold); }
.sp-share-btn--copy.copied { background: #2a8a4a; border-color: #2a8a4a; color: #fff; }

/* Tipo badge sopra il titolo (usa le classi Bootstrap dal DB) */
.sp-tipo-badge {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-block;
}

/* Custom: bg-rosa (Danza) */
.bg-rosa { background-color: #d63384 !important; }

/* Date inline nella colonna destra (sotto tipo, sopra titolo) */
.sp-inline-dates {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 22px;
}

.sp-inline-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 6px 14px;
    width: fit-content;
}

.sp-inline-date--future {
    background: var(--bg-color);
    color: var(--nsg-gold);
}

.sp-inline-date--past {
    background: rgba(0,0,0,0.06);
    color: var(--nsg-muted);
    font-weight: 400;
}
.sp-inline-date-concluso {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #888;
    background: rgba(0,0,0,0.09);
    border-radius: 4px;
    padding: 1px 6px;
    margin-left: 4px;
    vertical-align: middle;
}

.sp-inline-date-ora {
    font-weight: 400;
    opacity: 0.8;
    font-size: 0.82rem;
}

/* Titolo */
.sp-titolo {
    font-family: var(--nsg-font-serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--bg-color);
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Credits (autore/regia/interpreti) — verticali */
.sp-credits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-bottom: 16px;
}

.sp-credits--vertical {
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.sp-credit-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.sp-credit-lbl {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--nsg-muted);
}

.sp-credit-val {
    font-family: var(--nsg-font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--nsg-text);
}

/* Interpreti */
.sp-interpreti {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 0.92rem;
    color: var(--nsg-text);
}

.sp-interpreti-lbl {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nsg-muted);
    flex-shrink: 0;
}

/* Stagioni frequentate (colonna sinistra) */
.sp-stagioni-storia { }

.sp-stagioni-lbl {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--nsg-muted);
    margin-bottom: 6px;
}

.sp-stagioni-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.sp-stagione-pill {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--bg-color);
    background: rgba(97,78,55,0.1);
    border: 1px solid rgba(97,78,55,0.2);
    border-radius: 12px;
    padding: 2px 10px;
    letter-spacing: 0.04em;
}

/* Aiuti inline nella colonna destra */
.sp-aiuti-inline {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--nsg-muted);
    border-left: 3px solid rgba(97,78,55,0.2);
    padding-left: 14px;
}

.sp-aiuti-inline p { margin-bottom: 0.4rem; }
.sp-aiuti-inline p:last-child { margin-bottom: 0; }
.sp-aiuti-inline strong { color: var(--bg-color); font-weight: 600; }
.sp-aiuti-inline em { font-style: normal; color: var(--nsg-muted); }

/* Section title */
.sp-section-title {
    font-family: var(--nsg-font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-color);
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(97,78,55,0.15);
}

.sp-section-title--white {
    color: var(--nsg-gold);
    border-bottom-color: rgba(251,248,191,0.25);
}

/* Sinossi */
.sp-sinossi-body {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--nsg-text);
}

.sp-sinossi-body p { margin-bottom: 1rem; }
.sp-sinossi-body p:last-child { margin-bottom: 0; }

/* --- Striscia date compatta sotto breadcrumb --- */
.sp-date-strip {
    background: var(--bg-color);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.sp-date-strip .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.sp-date-strip-lbl {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(251,248,191,0.6);
    flex-shrink: 0;
    padding-right: 4px;
}

.sp-date-strip-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.sp-date-strip-pill {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 12px;
    padding: 3px 10px;
}

.sp-date-strip-pill--future {
    background: rgba(251,248,191,0.18);
    color: var(--nsg-gold);
    border: 1px solid rgba(251,248,191,0.3);
}

.sp-date-strip-pill--past {
    background: transparent;
    color: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.1);
}

/* --- Date e Turni --- */
.sp-date-section {
    padding: 56px 0 64px;
    background: var(--bg-color);
}

.sp-stagione-group { margin-bottom: 40px; }
.sp-stagione-group:last-child { margin-bottom: 0; }

.sp-stagione-label {
    font-family: var(--nsg-font-serif);
    font-size: 1rem;
    color: rgba(251,248,191,0.7);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.sp-eventi-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sp-evento-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 16px 20px;
    transition: background 0.2s;
}

.sp-evento-card--futuro {
    background: rgba(251,248,191,0.07);
    border-color: rgba(251,248,191,0.2);
}

.sp-evento-card--passato { opacity: 0.5; }

.sp-evento-card:hover { background: rgba(255,255,255,0.1); }

/* Data sinistra */
.sp-evento-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    text-align: center;
}

.sp-ev-day {
    font-family: var(--nsg-font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--nsg-gold);
    line-height: 1;
}

.sp-ev-month {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: rgba(251,248,191,0.7);
    text-transform: uppercase;
}

.sp-ev-year {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.4);
}

/* Info centro */
.sp-evento-info { flex: 1; }

.sp-ev-giorno {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2px;
}

.sp-ev-ora {
    font-size: 0.96rem;
    color: var(--nsg-white);
    font-weight: 600;
    margin-bottom: 2px;
}

.sp-ev-tipo {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    margin-bottom: 0;
}

.sp-ev-note {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    margin-top: 4px;
    font-style: italic;
}

/* CTA destra */
.sp-evento-cta { flex-shrink: 0; }

.btn-sp-ticket {
    background: var(--nsg-gold);
    color: var(--bg-color);
    font-weight: 700;
    font-size: 0.82rem;
    border-radius: 8px;
    padding: 8px 16px;
    border: none;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s;
}

.btn-sp-ticket--block {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    padding: 12px 16px;
    border-radius: 10px;
    white-space: normal;
}

.btn-sp-ticket:hover {
    background: var(--nsg-gold-light);
    color: var(--bg-color);
    transform: translateY(-1px);
}

.sp-ev-ticket-ok {
    font-size: 0.78rem;
    color: var(--nsg-gold);
    font-weight: 600;
    opacity: 0.85;
}

.btn-sp-info {
    background: transparent;
    color: rgba(255,255,255,0.7);
    font-size: 0.82rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    padding: 7px 14px;
    white-space: nowrap;
    transition: border-color 0.2s, color 0.2s;
}

.btn-sp-info:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.7);
}

.sp-ev-passato-badge {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* --- Tariffe --- */
.sp-tariffe-section {
    padding: 56px 0 64px;
    background: var(--nsg-white);
}

.sp-tariffa-box {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(97,78,55,0.12);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    padding: 28px 32px;
    height: 100%;
}

.sp-tariffa-title {
    font-family: var(--nsg-font-serif);
    font-size: 1.15rem;
    color: var(--bg-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(97,78,55,0.12);
}

.sp-tariffa-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sp-tariffa-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    gap: 12px;
}

.sp-tariffa-item:last-child { border-bottom: none; }

.sp-tf-nome-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.sp-tf-nome {
    font-size: 0.92rem;
    color: var(--nsg-text);
}

.sp-tf-nota-inline {
    font-size: 0.72rem;
    color: var(--nsg-muted);
    font-style: italic;
}

.sp-tf-prezzi {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
}

.sp-tf-prezzo {
    font-family: var(--nsg-font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bg-color);
}

.sp-tf-prevendita {
    font-size: 0.75rem;
    color: var(--nsg-muted);
}

.sp-tf-note {
    font-size: 0.75rem;
    color: var(--nsg-muted);
    font-style: italic;
    padding: 4px 0 8px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.sp-tariffe-cta-txt {
    font-size: 0.88rem;
    color: var(--nsg-muted);
}

.sp-tariffe-cta-txt a {
    color: var(--bg-color);
    font-weight: 600;
    text-decoration: underline;
}

/* --- Aiuti (section standalone rimossa, stile mantenuto per retrocompat.) ---*/
.sp-aiuti-section {
    padding: 56px 0 64px;
    background: #fff;
}

.sp-aiuti-body {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--nsg-text);
    max-width: 820px;
}

.sp-aiuti-body p { margin-bottom: 0.6rem; }
.sp-aiuti-body strong { color: var(--bg-color); }
.sp-aiuti-body em { color: var(--nsg-muted); }

/* --- Video --- */
.sp-video-section {
    padding: 56px 0 64px;
    background: var(--bg-color);
}

/* Card elegante che contiene il video sotto la sinossi */
.sp-video-area {
    max-width: 600px;
    background: rgba(97, 78, 55, 0.06);
    border: 1px solid rgba(226, 200, 122, 0.35);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem 1.5rem;
}

.sp-video-area .sp-section-title {
    font-size: 1rem;
    letter-spacing: .08em;
    opacity: .75;
    margin-bottom: .9rem;
}

.sp-video-area .sp-section-title .bi {
    color: var(--nsg-gold-light);
    font-size: 1.1em;
}

.sp-video-wrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: .6rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

.sp-video-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

/* ── YouTube placeholder (consenso cookie) ───────────────────── */
.yt-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: .6rem;
    overflow: hidden;
}
.yt-placeholder-thumb {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .45;
}
.yt-placeholder-overlay {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 1rem;
}
.yt-placeholder-icon {
    font-size: 3rem;
    color: #fff;
    display: block;
    margin-bottom: .5rem;
    opacity: .9;
}
.yt-placeholder-msg {
    color: rgba(255,255,255,.8);
    font-size: .85rem;
    margin-bottom: .75rem;
}
.yt-placeholder-btn {
    background: var(--nsg-gold);
    color: var(--nsg-darker);
    border: none;
    border-radius: 20px;
    padding: 6px 20px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s;
}
.yt-placeholder-btn:hover { opacity: .85; }

/* ── Cookie banner ───────────────────────────────────────────── */
#cookie-banner {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: min(92vw, 640px);
    background: var(--nsg-darker);
    border: 1px solid rgba(251,248,191,.25);
    border-radius: .75rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 8px 32px rgba(0,0,0,.55);
    animation: cookie-slide-up .35s ease;
}
#cookie-banner[hidden] { display: none; }
@keyframes cookie-slide-up {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
#cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
#cookie-banner-text {
    flex: 1;
    font-size: .85rem;
    color: rgba(255,255,255,.8);
    margin: 0;
    min-width: 180px;
}
.cookie-banner-link {
    color: var(--nsg-gold);
    text-decoration: underline;
}
#cookie-banner-actions {
    display: flex;
    gap: .5rem;
    flex-shrink: 0;
}
.cookie-btn {
    border: none;
    border-radius: 20px;
    padding: 6px 18px;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .18s;
}
.cookie-btn:hover { opacity: .85; }
.cookie-btn--accept { background: var(--nsg-gold); color: var(--nsg-darker); }
.cookie-btn--reject { background: transparent; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.25); }

.sp-video-interno { max-width: 900px; margin: 0 auto; }
.sp-video-interno iframe { width: 100%; border: none; border-radius: 12px; }

/* Video MP4 locale */
.sp-video-locale { margin-top: 1rem; }
.sp-video-player {
    display: block;
    width: 100%;
    max-height: 340px;
    border-radius: .6rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
    background: #000;
}

/* --- Responsive --- */
@media (max-width: 767.98px) {
    .sp-evento-card  { flex-wrap: wrap; gap: 12px; }
    .sp-evento-cta   { width: 100%; }
    .btn-sp-ticket,
    .btn-sp-info     { width: 100%; text-align: center; }
    .sp-tariffa-box  { padding: 20px 18px; }
}

@media (max-width: 575.98px) {
    .sp-detail-section { padding: 36px 0 48px; }
    .sp-date-section,
    .sp-tariffe-section,
    .sp-aiuti-section,
    .sp-video-section  { padding: 36px 0 48px; }
    .sp-video-area { max-width: 100%; }
}

/* ==========================================================================
   NEWS IN BLUE — Flipbook viewer
   ========================================================================== */

.nib-section { padding: 3rem 0 4rem; }

/* ── Intro ────────────────────────────────────────────────────────────────── */
.nib-intro {
    margin-bottom: 2rem;
    padding: 1rem 1.4rem;
    border-left: 4px solid #1a4fa0;
    background: rgba(26, 79, 160, .05);
    border-radius: 0 8px 8px 0;
}

.nib-intro-label {
    font-family: 'Playfair Display', serif;
    font-size: .8rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #1a4fa0;
    font-weight: 600;
    margin-bottom: .3rem;
}

.nib-intro-text {
    margin-bottom: 0;
    color: var(--nsg-text, #333);
    font-size: .97rem;
    line-height: 1.65;
}

.nib-intro-autore {
    display: block;
    margin-top: .35rem;
    font-style: italic;
    font-size: .88rem;
    color: var(--nsg-muted);
}
.nib-sidebar {
    background: #0d1b3e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.25);
}

.nib-sidebar-header {
    padding: .85rem 1.1rem;
    font-family: 'Playfair Display', serif;
    font-size: .95rem;
    font-weight: 600;
    color: #a8c4f0;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.nib-archive-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 520px;
    overflow-y: auto;
}

.nib-archive-list li + li {
    border-top: 1px solid rgba(255,255,255,.06);
}

.nib-archive-item {
    display: block;
    padding: .6rem 1.1rem;
    font-size: .88rem;
    color: #c8d8f0;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s, color .15s;
    line-height: 1.4;
}

.nib-archive-item:hover {
    background: rgba(74,127,212,.25);
    color: #fff;
}

.nib-archive-item.active {
    background: #1a4fa0;
    color: #fff;
    font-weight: 600;
}

.nib-archive-num {
    font-size: .78rem;
    color: #6a8fc0;
    margin-right: .35rem;
}

.nib-archive-item.active .nib-archive-num { color: #a8c4f0; }

/* ── Header edizione corrente ─────────────────────────────────────────────── */
.nib-edition-header { margin-bottom: .65rem; }

.nib-edition-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--bg-color);
    font-weight: 600;
}

/* ── Viewer ───────────────────────────────────────────────────────────────── */
.nib-viewer {
    background: #111827;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 36px rgba(0,0,0,.35);
}

/* Fullscreen */
.nib-viewer:fullscreen,
.nib-viewer:-webkit-full-screen {
    display: flex;
    flex-direction: column;
    background: #0a0f1e;
}

.nib-viewer:fullscreen .nib-book-wrap,
.nib-viewer:-webkit-full-screen .nib-book-wrap {
    flex: 1;
    overflow: auto;
}

/* ── Barra controlli ──────────────────────────────────────────────────────── */
.nib-controls {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem .8rem;
    background: #0d1b3e;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.nib-ctrl-btn {
    background: rgba(255,255,255,.1);
    border: none;
    color: #d0dff8;
    border-radius: 5px;
    padding: .3rem .65rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background .15s, color .15s;
    flex-shrink: 0;
    text-decoration: none;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nib-ctrl-btn:hover { background: rgba(74,127,212,.5); color: #fff; }
.nib-ctrl-btn:disabled { opacity: .35; cursor: default; pointer-events: none; }
.nib-ctrl-btn--icon { padding: .3rem .55rem; }

.nib-page-info {
    color: #a0b8e0;
    font-size: .85rem;
    min-width: 60px;
    text-align: center;
    flex-shrink: 0;
}

.nib-page-sep { margin: 0 .2rem; }

.nib-ctrl-sep {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,.15);
    flex-shrink: 0;
    margin: 0 .15rem;
}

/* ── Area libro ───────────────────────────────────────────────────────────── */
.nib-book-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 1.25rem .5rem 1.5rem;
    min-height: 380px;
    overflow: hidden;
}

#nib-book {
    position: relative;
}

.nib-page {
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.4);
}

/* ── Loader ─────────────────────────────────────────────────────── */
.nib-loader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #111827;
    z-index: 20;
}

.nib-loader.d-none { display: none !important; }

.nib-loader-txt {
    color: #6a8fc0;
    font-size: .9rem;
}

/* ── Hint sfogliatura ─────────────────────────────────────────────────────── */
.nib-sfoglia-hint {
    font-size: .8rem;
    color: var(--nsg-muted);
    text-align: center;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .nib-sidebar { margin-bottom: 1.5rem; }
    .nib-archive-list { max-height: 220px; }
}

@media (max-width: 575.98px) {
    .nib-section { padding: 2rem 0 3rem; }
    .nib-edition-title { font-size: 1.1rem; }
    .nib-book-wrap { padding: .75rem .25rem 1rem; min-height: 280px; }
}

/* ==========================================================================
   SALA GASSMAN — Staff & Team
   ========================================================================== */

/* ── Intro ─────────────────────────────────────────────────────────────────── */
.staff-intro-section {
    padding: 4rem 0 3rem;
    background: #fff;
}

.staff-intro-lead {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--bg-color);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.staff-intro-body {
    color: var(--nsg-text, #444);
    font-size: .97rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.staff-intro-facts {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.staff-fact {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    font-size: .9rem;
    color: var(--nsg-text, #444);
}

.staff-fact i {
    color: var(--bg-color);
    margin-top: .15rem;
    flex-shrink: 0;
    font-size: 1rem;
}

.staff-intro-img {
    max-height: 340px;
    object-fit: contain;
    opacity: .92;
}

.staff-intro-locandina {
    max-height: 360px;
    object-fit: contain;
    border-radius: 1.25rem;
    box-shadow: 0 8px 32px rgba(0,0,0,.35);
}

/* ── Sezione staff ─────────────────────────────────────────────────────────── */
.staff-section {
    padding: 3rem 0 5rem;
    background: var(--nsg-white, #f8f5f0);
}

/* ── Gruppo per ruolo ──────────────────────────────────────────────────────── */
.staff-gruppo {
    margin-bottom: 3rem;
}

.staff-gruppo--compact {
    margin-bottom: 2.5rem;
}

.staff-ruolo-titolo {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--bg-color);
    border-bottom: 2px solid var(--nsg-gold-light, #e2c87a);
    padding-bottom: .4rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.staff-ruolo-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    color: var(--nsg-gold, #fbf8bf);
    font-family: 'Open Sans', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    padding: 0 5px;
}

/* ── Card membro ───────────────────────────────────────────────────────────── */
.staff-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    text-align: center;
    height: 100%;
}

.staff-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0,0,0,.12);
}

.staff-card-foto-wrap {
    background: var(--bg-color);
    padding: 1.5rem 1.5rem .75rem;
}

.staff-card--sm .staff-card-foto-wrap {
    padding: .85rem .85rem .5rem;
}

.staff-card-foto {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--nsg-gold-light, #e2c87a);
    background: #fff;
}

.staff-card--sm .staff-card-foto {
    width: 60px;
    height: 60px;
    border-width: 2px;
}

.staff-card-body {
    padding: .75rem 1rem 1.1rem;
}

.staff-card--sm .staff-card-body {
    padding: .5rem .75rem .75rem;
}

.staff-card-nome {
    font-family: 'Playfair Display', serif;
    font-size: .95rem;
    font-weight: 700;
    color: var(--bg-color);
    margin-bottom: .25rem;
    line-height: 1.3;
}

.staff-card--sm .staff-card-nome {
    font-size: .83rem;
}

.staff-card-bio {
    font-size: .83rem;
    color: var(--nsg-text, #555);
    line-height: 1.55;
    margin-bottom: .4rem;
}

.staff-card-email {
    font-size: .78rem;
    color: var(--bg-color);
    text-decoration: none;
    word-break: break-all;
}

.staff-card-email:hover { text-decoration: underline; }

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .staff-intro-img { max-height: 220px; }
    .staff-intro-section { padding: 3rem 0 2rem; }
}

@media (max-width: 767.98px) {
    .staff-card-foto { width: 72px; height: 72px; }
    .staff-section { padding: 2rem 0 4rem; }
}

/* =============================================================================
   PRIVACY & COOKIE POLICY
   ============================================================================= */
.privacy-section {
    padding: 3.5rem 0 5rem;
    background: var(--nsg-white, #f8f5f0);
}

/* Indice */
.privacy-toc {
    background: #fff;
    border-left: 4px solid var(--nsg-gold-light, #e2c87a);
    border-radius: 0 .5rem .5rem 0;
    padding: 1.25rem 1.5rem;
    font-size: .95rem;
}
.privacy-toc li + li { margin-top: .4rem; }
.privacy-toc a { color: var(--bg-color, #614e37); text-decoration: none; }
.privacy-toc a:hover { text-decoration: underline; }

/* Card articolo */
.privacy-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    overflow: hidden;
}
.privacy-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bg-color, #614e37);
    background: var(--nsg-gold, #fbf8bf);
    padding: 1rem 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}
.privacy-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color, #614e37);
    color: var(--nsg-gold, #fbf8bf);
    font-size: .8rem;
    font-weight: 700;
    border-radius: .375rem;
    padding: .2em .6em;
    white-space: nowrap;
}
.privacy-card-body {
    padding: 1.75rem 1.5rem;
    font-size: .97rem;
    line-height: 1.75;
    color: #3a2e24;
}
.privacy-card-body p { margin-bottom: 1rem; }
.privacy-card-body a { color: var(--bg-color, #614e37); }

/* Titoli interni */
.privacy-h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bg-color, #614e37);
    margin: 1.75rem 0 .6rem;
    padding-bottom: .3rem;
    border-bottom: 1px solid #e2c87a44;
}

/* Disclaimer cookie */
.privacy-disclaimer {
    background: #f3f0e8;
    border-left: 3px solid var(--nsg-gold-light, #e2c87a);
    border-radius: 0 .375rem .375rem 0;
    padding: .75rem 1rem;
    font-size: .93rem;
    margin-bottom: 1.25rem;
}

/* Liste */
.privacy-list { padding-left: 1.25rem; }
.privacy-list > li { margin-bottom: .6rem; }
.privacy-list ol { margin-top: .4rem; padding-left: 1.2rem; }
.privacy-list ol li { margin-bottom: .3rem; }

.privacy-browser-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .75rem;
}
.privacy-browser-list a {
    color: var(--bg-color, #614e37);
    text-decoration: none;
    font-weight: 600;
}
.privacy-browser-list a:hover { text-decoration: underline; }

/* Tabella cookie */
.privacy-cookie-table-wrap {
    overflow-x: auto;
    margin-bottom: 1.25rem;
}
.privacy-cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}
.privacy-cookie-table th,
.privacy-cookie-table td {
    padding: .55rem .85rem;
    border: 1px solid #ddd;
    vertical-align: top;
}
.privacy-cookie-table thead th {
    background: var(--bg-color, #614e37);
    color: var(--nsg-gold, #fbf8bf);
    font-weight: 600;
    white-space: nowrap;
}
.privacy-cookie-table tbody tr:nth-child(even) { background: #f8f5f0; }
.privacy-cookie-table code {
    background: #eee;
    padding: .1em .35em;
    border-radius: .25rem;
    font-size: .88em;
}

/* Box contatto finale */
.privacy-contact-box {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    font-size: .97rem;
    line-height: 1.6;
}
.privacy-contact-icon {
    font-size: 2rem;
    color: var(--bg-color, #614e37);
    flex-shrink: 0;
    margin-top: .1rem;
}
.privacy-contact-box a { color: var(--bg-color, #614e37); font-weight: 600; }

@media (max-width: 767.98px) {
    .privacy-section { padding: 2rem 0 4rem; }
    .privacy-card-title { font-size: 1rem; }
    .privacy-card-body { padding: 1.25rem 1rem; }
    .privacy-contact-box { flex-direction: column; gap: .75rem; }
}

/* =============================================================================
   CONVENZIONI
   ============================================================================= */
.conv-section {
    padding: 3.5rem 0 5rem;
    background: var(--nsg-white, #f8f5f0);
}

.conv-intro {
    color: #4a3b2a;
    font-size: 1.05rem;
    max-width: 780px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* Stato vuoto */
.conv-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: #7a6a56;
}
.conv-empty-icon {
    font-size: 4rem;
    color: var(--nsg-gold-light, #e2c87a);
    display: block;
    margin-bottom: 1rem;
}
.conv-empty-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--bg-color, #614e37);
    margin-bottom: .75rem;
}
.conv-empty-body { font-size: 1rem; }
.conv-empty-body a { color: var(--bg-color, #614e37); font-weight: 600; }

/* Filtri categoria */
.conv-filtri {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.conv-filtro {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .35rem .9rem;
    border: 2px solid var(--nsg-gold-light, #e2c87a);
    border-radius: 2rem;
    background: #fff;
    color: var(--bg-color, #614e37);
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s, color .18s;
}
.conv-filtro:hover,
.conv-filtro.active {
    background: var(--bg-color, #614e37);
    color: var(--nsg-gold, #fbf8bf);
    border-color: var(--bg-color, #614e37);
}
.conv-filtro-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.12);
    border-radius: 1rem;
    font-size: .75rem;
    min-width: 1.4em;
    padding: 0 .35em;
    height: 1.4em;
    margin-left: .1rem;
}
.conv-filtro.active .conv-filtro-count { background: rgba(255,255,255,.2); }

/* Griglia */
.conv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Card */
.conv-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.conv-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 28px rgba(0,0,0,.13);
}

/* Logo */
.conv-card-logo-wrap {
    height: 120px;
    background: #f3f0e8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    flex-shrink: 0;
}
.conv-card-logo {
    max-height: 90px;
    max-width: 100%;
    object-fit: contain;
}
.conv-card-logo-placeholder {
    width: 60px;
    height: 60px;
    background: var(--nsg-gold-light, #e2c87a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--bg-color, #614e37);
}

/* Body */
.conv-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.conv-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: .75rem;
}

/* Badge categoria */
.conv-cat-badge {
    display: inline-flex;
    align-items: center;
    padding: .2em .65em;
    border-radius: 1rem;
    font-size: .78rem;
    font-weight: 700;
    background: var(--nsg-gold, #fbf8bf);
    color: var(--bg-color, #614e37);
}

/* Scadenza */
.conv-scadenza {
    font-size: .78rem;
    color: #888;
}

.conv-card-nome {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bg-color, #614e37);
    margin-bottom: .3rem;
}
.conv-card-partner {
    font-size: .88rem;
    color: #7a6a56;
    margin-bottom: .6rem;
}

/* Box sconto */
.conv-sconto-box {
    background: var(--bg-color, #614e37);
    color: var(--nsg-gold, #fbf8bf);
    border-radius: .5rem;
    padding: .5rem .85rem;
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.conv-card-desc {
    font-size: .9rem;
    color: #4a3b2a;
    line-height: 1.6;
    margin-bottom: .75rem;
    flex: 1;
}

/* Contatti */
.conv-card-contatti {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .75rem;
    margin-top: auto;
    padding-top: .75rem;
    border-top: 1px solid #eee;
}
.conv-contact-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .85rem;
    color: var(--bg-color, #614e37);
    text-decoration: none;
    font-weight: 600;
}
.conv-contact-link:hover { text-decoration: underline; }

@media (max-width: 575.98px) {
    .conv-grid { grid-template-columns: 1fr; }
    .conv-section { padding: 2rem 0 4rem; }
}

/* Divisore tra le due sezioni */
.conv-divisore {
    border: none;
    border-top: 2px solid var(--nsg-gold-light, #e2c87a);
    margin: 3.5rem 0;
    opacity: 1;
}

/* Blocco sezione (sopra / sotto) */
.conv-blocco {
    margin-bottom: 1rem;
}
.conv-blocco-header {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    margin-bottom: 1.75rem;
}
.conv-blocco-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: var(--bg-color, #614e37);
    color: var(--nsg-gold, #fbf8bf);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}
.conv-blocco-titolo {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--bg-color, #614e37);
    margin: 0 0 .25rem;
    letter-spacing: -.01em;
}
.conv-blocco-sottotitolo {
    font-size: .95rem;
    color: #6b5a44;
    margin: 0;
    line-height: 1.55;
}

.conv-empty--small {
    padding: 2rem 1rem;
    text-align: center;
    color: #888;
}
.conv-empty--small .conv-empty-icon { font-size: 2.5rem; margin-bottom: .5rem; }
