.sv-fs-wrap{position:relative;width:100%;height:100vh;overflow:hidden;background:#000;}
.sv-fs-immersive{
    position:fixed;
    inset:0;
    z-index:99999999999999999999999;
    background:#000;
}
/* Evita scroll in immersiva */
.sv-fs-immersive body, .sv-fs-immersive html { overflow:hidden; }
.sv-fs-immersive #wpadminbar{display:none!important;}
/* Slider */
.sv-fs-slider{position:absolute;inset:0;display:flex;transition:transform .6s ease;will-change:transform;}
.sv-fs-slide{min-width:100%;height:100%;position:relative;background:#000 center/cover no-repeat; background-image:var(--bg);}
.sv-fs-embed{display:flex;align-items:center;justify-content:center;background:#000;}
.sv-fs-embed-inner{position:relative;width:100%;height:100%;}
.sv-fs-embed-inner iframe, .sv-fs-embed-inner video{width:100%;height:100%;display:block;background:#000;}

/* Video locale (Media Library) */
.sv-fs-slide.sv-fs-video{background-color:#000;}
.sv-fs-video-el{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:1;
}

/* Overlay */
.sv-fs-overlay{
    position:absolute;left:0;right:0;bottom:0;padding:24px 20px 28px;
    color:#fff;font-family:system-ui,-apple-system,Segoe UI,Roboto; z-index:2;
    background:linear-gradient(180deg,rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 35%, rgba(0,0,0,.75) 100%);
}
/* Titolo bold con sfondo blurred "liquid glass" */
.sv-fs-titlewrap{
  display:inline-block;
  padding:8px 14px;
  border-radius:14px;
  background:rgba(0,0,0,.35);
  backdrop-filter:blur(10px) saturate(130%);
  -webkit-backdrop-filter:blur(10px) saturate(130%);
  box-shadow:0 6px 24px rgba(0,0,0,.35);
  margin:0 0 10px 0;
}
/* Default responsive + override da CSS var --sv-title-size */
.sv-fs-title{margin:0;font-size:var(--sv-title-size, clamp(20px,2.8vw,36px));font-weight:800;line-height:1.15;color:#fff;}
/* Forza bianco anche se il tema colora i link o h2 */
.sv-fs-wrap .sv-fs-overlay .sv-fs-titlewrap .sv-fs-title,
.sv-fs-wrap .sv-fs-overlay .sv-fs-titlewrap .sv-fs-title a{
  color:#fff !important;
  text-decoration:none !important;
}
.sv-fs-wrap .sv-fs-overlay .sv-fs-titlewrap .sv-fs-title a:hover,
.sv-fs-wrap .sv-fs-overlay .sv-fs-titlewrap .sv-fs-title a:focus{
  color:#fff !important;
  text-decoration:none !important;
}
/* Testi overlay: default responsive + override con CSS var */
.sv-fs-price{font-size:var(--sv-price-size, clamp(16px,2vw,24px));font-weight:700;margin-bottom:6px;color:#fff}
.sv-fs-excerpt{font-size:var(--sv-excerpt-size, clamp(12px,1.4vw,16px));opacity:.95;max-width:1100px;color:#fff}
.sv-fs-link{display:inline-block;margin-top:12px;font-size:14px;padding:.55em .9em;border:1px solid rgba(255,255,255,.4);border-radius:999px;color:#fff;text-decoration:none;background:rgba(255,255,255,.08)}
.sv-fs-link:hover{background:rgba(255,255,255,.18)}

/* Pulsante "Leggi" in basso a destra (articoli + video) */
.sv-fs-readmore{
    position:absolute;
    right:22px;
    bottom:22px;
    padding:.55em 1.2em;
    border-radius:999px;
    background:#e53935;
    color:#fff;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    box-shadow:0 4px 14px rgba(0,0,0,.55);
}
.sv-fs-readmore:hover,
.sv-fs-readmore:focus{
    background:#ff4b47;
    color:#fff;
    text-decoration:none;
}

/* Icona sito in alto a destra */
.sv-fs-siteicon{
    position:absolute;
    top:14px;
    right:14px;
    z-index:5;
    width:var(--sv-siteicon-size,64px);
    height:var(--sv-siteicon-size,64px);
    border-radius:50%;
    overflow:hidden;
    background:rgba(0,0,0,.45);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    padding:6px;
    box-shadow:0 4px 20px rgba(0,0,0,.55);
}
.sv-fs-siteicon img{
    width:100%;
    height:100%;
    object-fit:contain;
}

/* Sposta il bottone di uscita se presente l'icona sito */
.sv-fs-has-siteicon .sv-fs-exit{
    right:calc(var(--sv-siteicon-size,64px) + 30px);
}

/* Controls */
.sv-fs-prev,.sv-fs-next,.sv-fs-exit{
    position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.12);
    color:#fff;border:none;border-radius:999px;width:44px;height:44px;font-size:22px;line-height:44px;text-align:center;cursor:pointer
}
.sv-fs-prev{left:14px}
.sv-fs-next{right:14px}
.sv-fs-exit{top:14px;right:14px;transform:none;font-size:28px;line-height:36px;height:36px;width:36px}
@media (hover:hover){
  .sv-fs-prev:hover,.sv-fs-next:hover,.sv-fs-exit:hover{background:rgba(255,255,255,.22)}
}