/* Media only: leave the gradient heroes, copy and timeline unchanged. */
/* Chi Siamo hero video explicitly approved by the user; keep existing text geometry. */
body.page-id-21 .sv-chi-hero-video { position:relative; isolation:isolate; overflow:hidden; }
body.page-id-21 .sv-chi-hero-video > .elementor-background-video-container { z-index:0!important; }
body.page-id-21 .sv-chi-hero-video > .elementor-background-video-container video { width:100%!important; height:100%!important; object-fit:cover; }
body.page-id-21 .sv-chi-hero-video::after { content:''; position:absolute; inset:0; z-index:1; pointer-events:none; background:linear-gradient(90deg,rgba(0,28,61,.72),rgba(0,28,61,.35)); }
body.page-id-21 .sv-chi-hero-video > .e-con-inner { position:relative; z-index:2; }
body.page-id-21 .sv-chi-hero-video > .sv-video-toggle { z-index:3; }
@media(max-width:1280px) {
 body.page-id-21.sv-site-header-page .elementor-element.sv-chi-hero-video > .e-con-inner { position:relative!important; z-index:2!important; }
}
@media(min-width:1281px) {
 body.page-id-21.sv-site-header-page .elementor-element.sv-chi-hero-video > .e-con-inner { width:100%!important; max-width:100%!important; }
 body.page-id-21.sv-site-header-page .elementor-element.sv-chi-hero-video > .e-con-inner > .elementor-widget-heading { width:calc(100% - 160px)!important; max-width:calc(100% - 160px)!important; }
 body.page-id-21.sv-site-header-page .elementor-element.sv-chi-hero-video > .e-con-inner > .elementor-element-2cc16b1 { width:1040px!important; max-width:calc(100% - 160px)!important; }
}
.sv-native-loop-video { position:relative; width:100%; height:100%; min-width:0; overflow:hidden; }
.sv-native-loop-video > .elementor-widget-container,
.sv-native-loop-video .elementor-wrapper { width:100%; height:100%; aspect-ratio:auto!important; }
.sv-native-loop-video video.elementor-video { display:block; width:100%; height:100%; object-fit:cover; }
body.page-id-21 .elementor-element-dce599c { overflow:hidden; }
body.page-id-21 .sv-chi-history-video { align-self:stretch; flex:1; }
.sv-rd-video-slot { position:relative; overflow:hidden; }
@media(min-width:1025px) {
 body.page-id-25 .sv-rd-left.sv-fixed-media-column:has(.sv-rd-video-slot) {
  top:60px!important; height:calc(100vh - 60px)!important; max-height:calc(100vh - 60px)!important;
  grid-template-rows:240px minmax(0,1fr)!important;
 }
 body.page-id-25.admin-bar .sv-rd-left.sv-fixed-media-column:has(.sv-rd-video-slot) {
  top:92px!important; height:calc(100vh - 92px)!important; max-height:calc(100vh - 92px)!important;
 }
 body.page-id-25 .sv-rd-left .sv-rd-video-slot { height:100%!important; min-height:0; }
}
.sv-video-toggle { position:absolute; right:16px; bottom:16px; z-index:2; padding:10px 14px; border:1px solid #fff; border-radius:0; background:#002855; color:#fff; font:14px Roboto,sans-serif; cursor:pointer; }
.sv-video-toggle:hover,.sv-video-toggle:focus-visible { background:#fff; color:#002855; outline:2px solid #002855; outline-offset:2px; }
@media(max-width:1024px) {
 body.page-id-21 .sv-chi-history-video { min-height:240px; aspect-ratio:16/9; }
 body.page-id-25 .sv-rd-left .sv-rd-video-slot { width:100%!important; max-width:100%; min-width:0; height:clamp(240px,56.25vw,560px)!important; aspect-ratio:auto; min-height:0; }
}
