/* Fix finale: niente scritte scorrevoli, intestazioni uniche, niente lampeggi */
.rfm-marquee-container,.rfm-marquee,.rfm-initial-child-container,.rfm-child,.marquee,.marquee-track,.marquee-item,.award-strip,[class*="marquee"],[class*="Marquee"]{display:none!important;animation:none!important;transform:none!important;}

.cp-section-head{position:relative!important;max-width:1400px!important;margin:0 auto 3.5rem auto!important;padding:0 1.5rem!important;color:inherit!important;z-index:2!important;display:block!important;}
.cp-section-kicker{display:block!important;margin:0 0 .42rem 0!important;text-transform:uppercase!important;letter-spacing:.16em!important;font-size:.78rem!important;font-weight:800!important;color:var(--persimmon,#b0442b)!important;font-family:var(--font-sans,"Outfit",system-ui,sans-serif)!important;}
.cp-section-title{display:block!important;margin:0!important;font-family:var(--font-serif-display,"Cormorant Garamond",serif)!important;font-size:clamp(2.6rem,6vw,5.8rem)!important;line-height:1.02!important;letter-spacing:-.03em!important;font-weight:400!important;color:currentColor!important;}

#gallery .cp-section-head,[data-testid="gallery-section"] .cp-section-head,#backstage .cp-section-head{color:var(--bone,#efe4d3)!important;}
#crew .cp-section-head,[data-testid="crew-section"] .cp-section-head{color:inherit!important;}

#news *,#festivals *,#backstage *{animation:none!important;transition:none!important;scroll-behavior:auto!important;will-change:auto!important;}
#news *:hover,#festivals *:hover,#backstage *:hover{transform:none!important;filter:none!important;}
#news img,#news figure,#news [class*="card"],#festivals img,#festivals figure,#festivals [class*="card"],#backstage img,#backstage figure,#backstage [class*="card"],#backstage .bs-stage-photo{transform:none!important;filter:none!important;will-change:auto!important;backface-visibility:hidden!important;}

#news p,#news .cartapesta-news-card p,#news .cartapesta-news__desc,#news .news-description,#news .news-card-description,#news [data-field="description"]{display:none!important;}
#news .cartapesta-news-card,#news .cartapesta-news__card{min-height:0!important;transform:none!important;box-shadow:none!important;}
#news .cartapesta-news-card:hover,#news .cartapesta-news__card:hover{transform:none!important;box-shadow:none!important;}
#news .cartapesta-news-card h3,#news .cartapesta-news__cardtitle{margin-bottom:.9rem!important;}

#backstage.bs-stage-section{position:relative!important;padding:7rem 1.5rem!important;background:#15100d!important;color:var(--bone,#efe4d3)!important;overflow:hidden!important;}
#backstage .bs-stage-inner{position:relative!important;max-width:1400px!important;margin:0 auto!important;}
#backstage .bs-stage-grid{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:1.25rem!important;animation:none!important;transition:none!important;transform:none!important;}
#backstage .bs-stage-photo{grid-column:span 6/span 6!important;aspect-ratio:16/10!important;position:relative!important;display:block!important;overflow:hidden!important;background:#050403!important;border:1px solid rgba(239,228,211,.14)!important;cursor:default!important;pointer-events:none!important;transform:none!important;transition:none!important;animation:none!important;}
#backstage .bs-stage-photo img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;cursor:default!important;pointer-events:none!important;transform:none!important;transition:none!important;animation:none!important;filter:none!important;}
#backstage .bs-stage-video-wrap{display:flex!important;justify-content:center!important;margin-top:2.5rem!important;}
#backstage .bs-stage-video-button{pointer-events:auto!important;cursor:pointer!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:3.35rem!important;padding:1rem 1.55rem!important;border:1px solid rgba(255,255,255,.18)!important;background:var(--persimmon,#b0442b)!important;color:#fff!important;text-transform:uppercase!important;letter-spacing:.14em!important;font-size:.78rem!important;font-weight:800!important;text-decoration:none!important;box-shadow:0 14px 34px rgba(176,68,43,.28)!important;}
#backstage .bs-stage-video-button:hover{background:#c65335!important;color:#fff!important;transform:none!important;}

.cartapesta-video-lightbox__close,[data-testid="trailer-modal"] > button,[role="dialog"] .cartapesta-video-lightbox__close,.cp-video-close-mobile{position:fixed!important;top:max(12px,env(safe-area-inset-top))!important;right:max(12px,env(safe-area-inset-right))!important;z-index:2147483647!important;width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.35)!important;background:rgba(0,0,0,.82)!important;color:#fff!important;font-size:34px!important;line-height:1!important;cursor:pointer!important;opacity:1!important;pointer-events:auto!important;}
.cartapesta-media-actions{display:flex!important;flex-wrap:wrap!important;gap:.65rem!important;width:100%!important;margin-top:auto!important;}
.cartapesta-media-actions .cartapesta-media-button{flex:1 1 140px!important;min-width:130px!important;}

@media(max-width:767px){.cp-section-head{padding:0 1rem!important;margin-bottom:2rem!important;}.cp-section-title{font-size:clamp(2.4rem,13vw,4.4rem)!important;}#backstage.bs-stage-section{padding:5rem 1rem!important;}#backstage .bs-stage-grid{grid-template-columns:1fr!important;gap:1rem!important;}#backstage .bs-stage-photo{grid-column:auto!important;aspect-ratio:16/10!important;}#backstage .bs-stage-video-button{width:100%!important;text-align:center!important;}.cartapesta-video-lightbox__close,[data-testid="trailer-modal"] > button,.cp-video-close-mobile{width:56px!important;height:56px!important;min-width:56px!important;min-height:56px!important;font-size:36px!important;}}
@media(max-width:640px){.cartapesta-media-actions{display:grid!important;grid-template-columns:1fr!important;gap:.55rem!important}.cartapesta-media-actions .cartapesta-media-button{width:100%!important;min-width:0!important}}

#festivals a:hover,#festivals button:hover,#festivals article:hover,#festivals figure:hover,#festivals [class*="card"]:hover,#festivals [class*="Card"]:hover{box-shadow:none!important;filter:none!important;transform:none!important;background:inherit!important;outline:none!important;}
#gallery figcaption,#gallery .caption{display:none!important;}


/* FIX VULON: capitolo e titolo nello stesso blocco, niente buco verticale */
#vulon > .cp-section-head{display:none!important;}
#vulon [data-testid="vulon-section"]{}
#vulon .label-overline + h2{margin-top:1rem!important;margin-bottom:0!important;}
#vulon .label-overline{margin-bottom:0!important;}

/* FIX VULON ALIGN: il blocco testo parte alla stessa altezza del blocco immagini */
#vulon .grid{align-items:flex-start!important;}
#vulon .col-span-12.md\:col-span-7{align-self:flex-start!important;}
#vulon .col-span-12.md\:col-span-5{align-self:flex-start!important;}


/* Backstage caption spacing: stesso criterio della sezione sopra */
#backstage .cp-section-caption{display:block!important;opacity:1!important;visibility:visible!important;color:#d8c7b8!important;font-size:15px!important;line-height:1.6!important;max-width:900px!important;margin:1rem 0 0!important;}
#backstage .cp-section-head{margin-bottom:3.5rem!important;}
@media(max-width:767px){#backstage .cp-section-caption{margin:1rem 0 0!important;}#backstage .cp-section-head{margin-bottom:2rem!important;}}


/* FIX DISTANZE 06/07: stessa identica gerarchia kicker -> titolo -> frase */
#gallery .cp-section-head,
[data-testid="gallery-section"] .cp-section-head,
#backstage .cp-section-head,
[data-testid="backstage-section"] .cp-section-head{
  margin:0 auto 3.5rem auto!important;
  padding:0 1.5rem!important;
}
#gallery .cp-section-kicker,
[data-testid="gallery-section"] .cp-section-kicker,
#backstage .cp-section-kicker,
[data-testid="backstage-section"] .cp-section-kicker{
  margin:0 0 .42rem 0!important;
}
#gallery .cp-section-title,
[data-testid="gallery-section"] .cp-section-title,
#backstage .cp-section-title,
[data-testid="backstage-section"] .cp-section-title{
  margin:0!important;
  line-height:1.02!important;
}
#gallery .cp-section-caption,
[data-testid="gallery-section"] .cp-section-caption,
#backstage .cp-section-caption,
[data-testid="backstage-section"] .cp-section-caption{
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  color:#d8c7b8!important;
  font-size:15px!important;
  line-height:1.6!important;
  max-width:900px!important;
  margin:1rem 0 0!important;
}
@media(max-width:767px){
  #gallery .cp-section-head,
  [data-testid="gallery-section"] .cp-section-head,
  #backstage .cp-section-head,
  [data-testid="backstage-section"] .cp-section-head{
    margin:0 auto 2rem auto!important;
    padding:0 1rem!important;
  }
  #gallery .cp-section-caption,
  [data-testid="gallery-section"] .cp-section-caption,
  #backstage .cp-section-caption,
  [data-testid="backstage-section"] .cp-section-caption{
    margin:1rem 0 0!important;
  }
}

/* FIX DEFINITIVO DISTANZA TESTO -> GRIGLIA: 06 Gallery e 07 Backstage uguali */
#gallery .cp-section-head,
[data-testid="gallery-section"] .cp-section-head,
#backstage .cp-section-head,
[data-testid="backstage-section"] .cp-section-head{
  margin-bottom:3.5rem!important;
}
#gallery .cp-section-head + *,
[data-testid="gallery-section"] .cp-section-head + *,
#gallery .cp-section-head ~ .grid,
[data-testid="gallery-section"] .cp-section-head ~ .grid,
#backstage .cp-section-head + .bs-stage-inner,
[data-testid="backstage-section"] .cp-section-head + .bs-stage-inner{
  margin-top:0!important;
  padding-top:0!important;
}
#gallery [class*="mt-"],
[data-testid="gallery-section"] [class*="mt-"]{
  margin-top:0!important;
}
#gallery .cp-section-caption,
[data-testid="gallery-section"] .cp-section-caption,
#backstage .cp-section-caption,
[data-testid="backstage-section"] .cp-section-caption{
  margin-top:1rem!important;
}
@media(max-width:767px){
  #gallery .cp-section-head,
  [data-testid="gallery-section"] .cp-section-head,
  #backstage .cp-section-head,
  [data-testid="backstage-section"] .cp-section-head{
    margin-bottom:2rem!important;
  }
}


/* FIX REALE 06/07: elimina la vecchia riga-header vuota della gallery e usa la stessa distanza della backstage */
#gallery > .cp-section-head,
[data-testid="gallery-section"] > .cp-section-head,
#backstage > .cp-section-head,
[data-testid="backstage-section"] > .cp-section-head{
  margin-bottom:3.5rem!important;
}
#gallery > .relative > .grid:not(:has(img)),
[data-testid="gallery-section"] > .relative > .grid:not(:has(img)){
  display:none!important;
  margin:0!important;
  padding:0!important;
  height:0!important;
  min-height:0!important;
  overflow:hidden!important;
}
#gallery > .relative,
[data-testid="gallery-section"] > .relative,
#backstage > .bs-stage-inner,
[data-testid="backstage-section"] > .bs-stage-inner{
  margin-top:0!important;
  padding-top:0!important;
}
#gallery > .relative > .grid:has(img),
[data-testid="gallery-section"] > .relative > .grid:has(img),
#backstage .bs-stage-grid,
[data-testid="backstage-section"] .bs-stage-grid{
  margin-top:0!important;
  padding-top:0!important;
}
