.pure-css-gallery{
  display: flex;
}


   .partner-video-section {
    padding: 20px 30px;
    margin: 20px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border: 1px solid #e2e8f0;
}

/* Header della sezione */
.video-section-header {
    margin-bottom: 30px;
    text-align: left;
}
.video-section-title {
    font-size: 22px;
    color: #0f172a;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.video-section-subtitle {
    font-size: 14px;
    color: #475569;
    margin: 0;
}

/* Centratore per il caso a video Singolo */
.video-single-container {
    max-width: 720px;
    margin: 0 auto;
}

/* Struttura della Card e reset del Link */
.video-anchor {
    text-decoration: none !important;
    display: block;
    color: inherit;
}
.video-lightbox-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

/* CORREZIONE: Contenitore ad altezza matematica proporzionale (16:9) */
.video-media-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Mantiene il formato widescreen */
    background-color: #000000;
    overflow: hidden;
}

/* CORREZIONE: Forzatura dell'immagine per non farla deformare */
.video-img-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Taglia l'immagine senza schiacciarla */
    transition: transform 0.4s ease;
    z-index: 1;
}

/* Overlay di profondità */
.video-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.25);
    transition: background 0.3s ease;
    z-index: 2; /* Sopra l'immagine */
}

/* CORREZIONE: Centratore assoluto con isolamento dei clic */
.video-play-button-hitbox {  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3; /* Sempre in primo piano, sopra l'overlay scuro */
    pointer-events: none; /* Lascia che il clic passi direttamente al tag 'a' principale */
}

/* Stile del Pulsante Circolare */
.video-play-circle { width: 60px;height: 60px;background: #ffffff;border-radius: 50%;display: flex; align-items: center; justify-content: center;  color: #0056b3; /* Sostituire con il codice colore primario del portale */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);    transition: all 0.3s ease;}
.play-svg-icon { width: 22px;    height: 22px;    margin-left: 3px; /* Bilanciamento ottico del triangolo */}

/* Area Testi della Card */
.video-text-content { padding: 20px;    background: #ffffff;}
.video-text-content h4 {  font-size: 16px;    color: #0f172a;    margin: 0 0 6px 0;    font-weight: 600;    line-height: 22px;}
.video-text-content p { font-size: 13px;    color: #64748b;    margin: 0;    line-height: 1.5;}

/* RENDIMENTO IN FASE DI HOVER (PASSAGGIO MOUSE) */
.video-lightbox-card:hover { box-shadow: 0 15px 30px rgba(15, 23, 42, 0.1);}
.video-lightbox-card:hover .video-img-cover {  transform: scale(1.03); /* Morbido zoom d'anteprima */}
.video-lightbox-card:hover .video-dark-overlay {  background: rgba(15, 23, 42, 0.4); /* Scurisce lo sfondo per far risaltare il Play */}
.video-lightbox-card:hover .video-play-circle {  background: #0056b3; /* Inversione cromatica controllata */    color: #ffffff;    transform: scale(1.08);}
.claimFooter{ padding:40px; align-content: center; justify-content: center; display: flex; background-image:url('/img/banner-iniziativa.jpg?t=1'); width:100%; 
  margin-top:30px;min-height: 200px; background-position: center center;} 
.claim-text{ color:#fff; text-transform: unset !important; padding-top: 40px; text-align: right; }
.claim-text h4{ color:#fff;   font-size:20px;   text-align: right}
h1{ font-size: 60px !important }
h2{ font-size: 32px !important; margin-top:20px }
.h101 {   height: 110vh;  padding-bottom: 50px;}
.lang li{ padding-left:5px !important }

.h_btn_lg {  padding: .5rem 2rem; font-size: 1.25rem;  line-height: 1.5;  border-radius: .3rem;}

 .h_btn_sm {  padding: .35rem 1rem; font-size: 1.15rem;  line-height: 1.5;  border-radius: .1rem;}


 .h_btn_xs {
  padding: .25rem 0.8rem;
  font-size: .775rem;
  line-height: 1.5;
  border-radius: .2rem;
}

.box-image img{ border-radius:5px !important }
ul.lang .primary-btn {
   background-color: #31339a !important;
   color:#fff;
}
.appLogo img {   min-width: 210px;   max-width: 190px; }
ul { padding-left:20px }
ul li{ padding-left:0px !important; color:#333 !important }

.fullscreen{
  height:100vh;
}

.nav-menu {
  text-align: center;
  padding-top: 0px;
}
a.btn-login.btn-lang{
  padding:5px 10px !important; color:#fff !important; 
  padding: 5px 10px !important;
  color: #fff !important;
  border: 2px solid #31339a !important;
  border-radius: 5px !important;
  background-color: #8084ed !important;
  box-shadow: rgba(0, 0, 0, 0.44) 0px 3px 8px !important;
}
.nav-menu ul li .dropdown li a {
  display: block;
  text-transform: none;
  padding: 6px 0 6px 20px;
  font-weight: 400;
}
ul.text-black li { color:#333 }
/*.section-title h2::before {  content: ""; position: absolute; display: block;  width: 160px;  height: 1px;  background: color-mix(in srgb, #31339a, 
transparent 60%);  left: 0;  right: 0;  bottom: 1px;  margin: auto;}*/
.team-section {  background: #fff !important;}
/*.section-title h2::after { content: "";  position: absolute;  display: block;  width: 60px;  height: 3px;  background: #31339a;  left: 0;  right: 0;  bottom: 0;  margin: auto;}*/
.box-patrocini{ margin-top:-40px !important;align-content:center;text-align:right }
.box-patrocini img{  width:150px; margin-top:15px }  
.box-natlive{ margin-top:90px !important;align-content:centertext-align:center }
h2.ptitoloA {  font-size: 16px !important;  margin-bottom: 0px;  font-family: Inter;  margin-top: 0px;}
.section-title h1 { margin-top:10px !important }
.primary-btn.btn-normal{ background: #1977cc !important; padding: 10px }
@media only screen and (min-width: 1200px) {



}

@media (min-width: 576px) {
  #aiModal .modal-dialog {
    max-width: 600px;
    margin: 1.75rem auto;
  }
}

@media only screen and (min-width: 992px) {
  .fullscreen{  height:100%;}
}

.header-section.appMenu { margin-top: 80px;  background-color: #fff !important; }
header .contenthh{ background-repeat: repeat-x; background-color: #232c44; height:80px}

@media only screen and (min-width: 1600px) {

.header-section.appMenu {
  margin-top: 80px;
  background-color: #fff !important;
}


}
.align-cc{ max-width: 250px; margin:0px auto; line-height:15px }
.align-cc h2{ line-height:25px }

._partner {
  padding-top:10px !important; margin-top: 20px !important;
}
header.appMenu { box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; }
.img-iteme{ position:absolute; top:-30px; left:0px;border-radius:10px; height:300px; box-shadow: rgba(0, 0, 0, 0.6) 0px 7px 15px 0px; }




.mt-10{ margin-top:10px}
 .claim-right{ display:block; margin-top:8px }

.claim-right ul { list-style-type: none; padding-top:0px }
.claim-right ul li{ font-size: 10px;   color: #fff;   width: 150px; margin-left:20px;   line-height: 15px; margin-top:-10px }
.logoApp{ margin-top:-1px }


.siteName { font-size: 16px !important; color:#fff; padding-left:0px; margin-top:0px; height:73px !important }
.box-40 { padding:0px 0px }
 .strutturaOpe .ombraNew h4 {  margin: 20px 0px !important; margin-bottom:0px !important  }
@media  (min-width: 1500px) {
  .box-40 { padding:0px 40px }
  .siteName { font-size: 18px !important; color:#fff; padding-left:0px; margin-top:0px; height:73px !important }
  .strutturaOpe .ombraNew h4 {  margin: 20px 0px !important; }
}
@media   (min-width: 769px)  and (max-width: 991px) {
   .main-logo img{ width:180px }
   .hidden-sm{ display:none !important }
    .claim-right{ display:none }


}

@media only screen and (min-width: 768px) and (max-width: 991px) {

  .canvas-open {
    position: absolute;
    right: 40px;
    top: 15px;
    font-size: 22px;
    width: 30px;
    height: 30px;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 2px;
    line-height: 29px;
    text-align: center;
    z-index: 1;
    display: block;
    cursor: pointer;
  }
}

.maxHeight760{ max-height:550px }
 
.height740{ max-height:45vh }
@media only screen and (max-width: 991px) {
  .logoclaim-xs1{ padding-right:0px; padding-left:0px  } 
  .pm-10{ padding:0px 8px !important }
  .siteName{ font-size:9px !important; text-align:left !important; height:30px !important; max-width:170px }
}
@media (min-width: 740px) and (max-width: 991px) {
  .logoclaim-xs1 {
      padding-right: 10px !important;
      padding-left: 10px !important;
  }
  .logoclaim-xs1 .cclaim{
      display:none;
  }
  .height740{ max-height:400px }
}

@media (min-width: 760px) and (max-width: 991px) {
  .hs-slider .hs-item {
      height: 100%;
  }
}
@media only screen and (max-width: 991px) {
   .claim-sm  {
    display:none !important;
  }
}
.mt-20{ margin-top:20px }
@media only screen and (max-width: 768px) {
  .blog-item .bi-text {
  padding: 10px 20px;
}
.pure-css-gallery{
  display: block;
}
.blog-item .bi-text p {
    margin-top: 10px;
  }
      .claimFooter{ padding:30px; align-content: center; justify-content: center; display: flex;} 
.claim-text{ color:#fff; text-transform: unset !important; padding-top: 40px; text-align: center; }
.claim-text h4{ color:#fff;   font-size:20px;   text-align: center; padding-bottom: 40px}
.claimFooter img { max-width: 200px }
  .breadcrumb-section-noImage {
  height: auto !important;
  min-height: 0px !important;
  padding: 0px;
  background-color: #8c89d8;
}

   header.appMenu { box-shadow: none !important; padding:0px !important }
  .section-title h1 {  font-size:25px !important; }
  .section-title h2 {  font-size:18px !important; }
  
 .appPaddNew {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
   .claim-sm  {
    display:none !important;
  }
  .visible-xs1{ display:none !important; }
     .hidden-sm{ display:none !important }
header .contenthh .row{  }
 
  .main-logo img{ width:160px }

  .claim-right{ display:none }
  .logoApp{ justify-content:center; align-content:center; }
  
  .canvas-open{ display:block; margin-top:-10px }
  .canvas-search.search-switch{ display:none }
  .breadcrumb-section {  padding-top: 180px; }
   h1 {   font-size: 40px !important; }
   .breadcrumb-text h2 {  font-size: 25px !important;  }
   ul.lang{ display:none }

  .box-natlive{ 
   margin-top:50px !important;
   align-content:center
   text-align:center }
  .box-patrocini{  margin-top:50px !important;align-content:center; text-align:center }
  .box-patrocini img{  width:130px; margin-top:15px }
  }
  .class-item .ci-text {
  background: #0a0a0a;
    background-color: rgb(10, 10, 10);
  position: relative;
  padding: 10px 30px 10px 30px;
  z-index: 1;
  min-height: 80px !important;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}
.pre-iscri{ background-color: white; color:#333; font-size: 12px !important; padding:0px 4px }
.back-to-top {
  position: fixed;
  
 
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #232c44;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  transition: all 0.4s;
  color:#fff !important;
  text-align: ccenter;
  display: none ; /* Nascosto di default */
  position: fixed; /* Posizione fissa */
  bottom: 20px; /* In basso */
  right: 30px; /* A destra */
  z-index: 99; /* Sopra altri elementi */

}
.back-to-top i { padding-left:15px;}

  .mt-5m { margin-top:0rem !important }

@media only screen and (max-width: 767px) {
  .mt-5m { margin-top:3rem !important }
  header .contenthh.height110px { height: 110px !important; }
  .canvas-open {  position: absolute; right: 40px; top: 15px; }
  header .contenthh {  background-repeat: repeat-x; background-color: #232c44; height:90px  }
  header .contenthh h2 { font-size: 12px !important; margin-top:5px }
}

@media (min-width: 992px) {
 .claim-sm  {
    display:block !important;
  }

}
@media (min-width: 992px) {
 .claim-xs  { display:none !important;  }
 .logoclaim-xs1 div{ display:none !important }
}

@media (min-width: 991px) and (max-width: 1300px) {
 .logoclaim-xs1 {
    padding: 0px 5px !important;
  }
}
@media (min-width: 750px) and (max-width: 991px) {
 .logoclaim img {
    padding: 0px 15px;
  }
}
@media (max-width: 580px) {
 .logoclaim img {
    padding: 0px;
  }
 .logoclaim-xs1 div{ display:none !important }
 .f14{ font-size:12px !important }
 .box-40 { padding:0px 0px }
 .box-40 h4{ font-size:14px !important }
}


@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .nav-menu ul li {
    margin-right: 25px;
  }
}
@media (max-width: 991px) {
  .logoclaim-xs1 span{ display:none !important }   
}

@media only screen and (min-width: 800px) and (max-width: 991px) {
   .col-5 { flex: 0 0 30.666667%;  max-width: 30.666667%; }
   .logoclaim-xs1{ flex: 0 0 36.666667%;  max-width: 36.666667%; }
   .logoclaim-xs1 span{ display:inline-block !important; line-height:12px }
   .logoclaim-xs1 img{ width:100px !important}
   .claim-xs.w15{ max-width: 15% !important }
    
}
@media (max-width: 800px) {
  .logoclaim-xs1 span{ display:none !important }
}

.nav-menu ul li a {
  padding: 10px 0px;
  
}
.rounded {
  border-radius: 5px !important;
}
.section-title h1::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: transparent;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.btn-green{
  background-color: #1f6577 !important;
  padding: 10px 30px !important;
  font-size: 16px !important;
  border-radius: 5px !important;
  text-align: center;
  text-transform: uppercase;
  max-width: auto !important;
 }

 .no-border-bottom{ border-bottom:0px !important }
 @media only screen and (max-width: 767px) {
  .btn-green{ width: 300px; margin-top:10px}

  .offcanvas-menu-wrapper .canvas-close {
    font-size: 22px;
    width: 30px;
    height: 30px;
    border: 0px solid #151515;
    border-radius: 2px;
    text-align: center;
    line-height: 27px;
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
  }
}
