/* ! Base Style */
/* ----------------------------------------------------------------------------------- */
body{ font-size: 16px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;}
a{text-decoration: none;color: #FE0000;}
p{line-height: 1.3}


/* ! Title System */
/* ----------------------------------------------------------------------------------- */
.text-0{font-size: 5rem;}
h1, .text-1{font-size: 3.4rem;}
h2, .text-2{font-size: 2.2rem;}
h3, .text-3{font-size: 1.5rem;}
h4, p, .text-4{font-size: 1rem;}

h1, h2, h3, h4, p, ol, ul{margin-bottom: 1rem;}

@media (max-width: 768px) {
  .text-0{font-size: 4rem}
}

/* ! Button system */
/* ----------------------------------------------------------------------------------- */
.button,
.wp-block-button__link{font-size: 1.2rem; text-transform: uppercase; font-weight: bold; background: #FE0000; color:#fff; padding: 14px 25px;display: inline-block;border-radius: 4px; transition: all 1s cubic-bezier(.215, .61, .355, 1);}
.button:hover,
.wp-block-button__link{background:  #800000;}

.button {
  margin-right: 1rem; /* spazio a destra */
}

.button:last-child {
  margin-right: 0; /* niente margine sull’ultimo */
}

.btn-cta {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color:  #FE0000;
  color: #fff!important;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.btn-cta:hover,
.btn-cta:focus {
  background-color:  #800000;
  outline: none;
}

.lista-puntata{margin: 40px 0; text-align: left;}
.lista-puntata li{position: relative;padding-left: 30px;list-style-type: none; margin-bottom: 20px;}
.lista-puntata li:after{content: ' '; position: absolute; left:3px; top:1px; width: 20px; height: 20px; background: url(../icons/check.svg); background-size: 100%} 

/* Chi Siamo */


 /* IMG educatore singolo */
 .img-educatore {
  height: 150px!important;
  width: 150px!important;
  border-radius: 200px!important;
  border: 6px solid #005bab;
}

.tricolore-container {
  text-align: center; /* Centra gli elementi inline o inline-block al suo interno */
  margin-top: 10px; /* Spazio sopra il tricolore, se vuoi */
  margin-bottom: 10px; /* Spazio sotto il tricolore */
}

/* Stili per il tricolore */
.tricolore  {
  /* Rimosso 'content: ""' perché non è un pseudo-elemento */
  width: 190px;
  height: 12px;
  display: inline-block; /* Mantienilo inline-block per essere centrato da text-align: center */
  /* margin: 4px 10px; -> Rimosso per usare il margin del contenitore o per settarlo diversamente */
  background: rgb(27,133,65);
  background: -moz-linear-gradient(90deg, rgba(27,133,65,1) 0%, rgba(27,133,65,1) 33%, rgba(255,255,255,1) 33%, rgba(255,255,255,1) 66%, rgba(238,31,39,1) 66%, rgba(238,31,39,1) 100%);
  background: -webkit-linear-gradient(90deg, rgba(27,133,65,1) 0%, rgba(27,133,65,1) 33%, rgba(255,255,255,1) 33%, rgba(255,255,255,1) 66%, rgba(238,31,39,1) 66%, rgba(238,31,39,1) 100%);
  background: linear-gradient(90deg, rgba(27,133,65,1) 0%, rgba(27,133,65,1) 33%, rgba(255,255,255,1) 33%, rgba(255,255,255,1) 66%, rgba(238,31,39,1) 66%, rgba(238,31,39,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1b8541",endColorstr="#ee1f27",GradientType=1);
}

/* Box Educatori */

/* Box Educatori */
.box-edu{

  height: 120px;
  width: 100%;
  background: #000;
  background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(65, 71, 71, 1) 100%);
  border-radius: 200px;
  position: relative;
  padding-left: 140px;
  margin-bottom: 40px;
  color: #fff;
}

.edu img {
  position: absolute;
  top: 0;
  left: 0;
  height: 120px;
  width: 120px;
  border-radius: 200px;
  border: 6px solid #FE0000;
}

.edu-button .wp-block-button__link {
  background: #FE0000;
  border-radius: 10px;
  margin-right: 15px;
  padding: 0 !important;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  transition: all .2s ease-in-out;
  width: 40px;
  height: 40px;
  display: block;
  text-indent: -9999px;
  border-radius: 100%;
}
.edu-button .wp-block-button__link::after {
  content: ' ';
  background: url(../icons/dv-mail.svg)no-repeat 50%;
  width: 20px;
  height: 20px;
  display: block;
  position: absolute;
  right: 50%;
  top: 50%;
  margin-top: -10px;
  margin-right: -10px;
  transition: all .2s ease-in-out;
}

.edu-button {
  position: absolute;
  bottom: -15px;
  left: 85px;
}

.edu-button .wp-block-button__link {
margin-right: 5px!important;
}
.edu-button .wp-block-button__link:hover {
transform: scale(1.03);
background: #800000;
}




/* Dettagli Home */

.statistics {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* allineate a sinistra */
  gap: 0.5rem; /* piccolo spazio tra statistiche su desktop */
  margin: 0;
  max-width: 100%;
}

.statistics > div {
  flex: 0 0 auto;  /* larghezza automatica in base al contenuto */
  margin-right: 0.5rem; /* spazio minimo tra le statistiche */
}

@media (max-width: 768px) {
  .statistics > div {
    flex: 0 0 48%; /* su mobile due colonne affiancate */
    margin-right: 0;
    margin-bottom: 0.5rem; /* piccolo spazio tra righe */
  }
}

.stat {
  text-align: left;
  font-weight: bold;
  border-left: 10px solid transparent;
  border-image: repeating-linear-gradient(
    to bottom,
    #FE0000 0,
    #FE0000 6px,
    transparent 6px,
    transparent 12px
  ) 1;
  padding-left: 10px;
}

.stat .number {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
}

.stat .label {
  font-size: 1rem;
  margin: 0;
}





/* ! Blocks */
/* ----------------------------------------------------------------------------------- */

.cover__bg{position: absolute;top: 0;left: 0;width: 100%;height: 100%; background-position: right center; background-size:cover; z-index:0; border: 1px solid #000}
.cover__bg:after{ content: ' ';position: absolute;top: 0;left: 0;width: 100%;height: 100%; background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(0,0,0,0.7) 100%); ;background-size:cover;}


.cover{
  background: #000000;padding: 20px;min-height: 100vh;
  display: flex; flex-flow: column;
  justify-content: center;
  align-items: center;
  position:relative;
}


.cover__content{max-width: 1200px; margin: 0 auto; position:relative; z-index: 1;width: 100%;}


.loghi{
  max-width: 800px;
  margin: 0 auto!important;
  }



/* ! HERO PAGINA
/*----------------------------------------------------------------------------------- */

/* Contenitore principale della sezione di copertina */
.page-hero {
  position: relative;
  width: 100%;
  height: 50vh; /* altezza desktop */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Immagine di sfondo */
.page-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* riempie senza deformare */
  object-position: center;
}

/* Overlay scuro semitrasparente sopra l'immagine */
.page-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

/* Contenuto testuale (titolo e sottotitolo) */
.page-hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
}

.page-hero__subtitle {
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FE0000; 
  margin-bottom: 0.5rem;
}

.page-hero__title {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
}

/* RESPONSIVE ADATTAMENTO */
@media (max-width: 1024px) {
  .page-hero {
    height: 50vh;
  }

  .page-hero__title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .page-hero {
    height: 40vh;
  }

  .page-hero__subtitle {
    font-size: 0.8rem;
  }

  .page-hero__title {
    font-size: 1.8rem;
  }
}


/* ! FINE PAGINA
/*----------------------------------------------------------------------------------- */


/* ! Animation */
/* --------------------------------------------------------- */

.fade-in{opacity: 0; transform: translateY(1rem);}
.text-reveal{transform: translateY(1rem);clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);}
.fade-up{opacity: 0; transform: translateY(5rem);}
