/* ! Base Style */
/* ----------------------------------------------------------------------------------- */
body{ font-size: 16px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;}
a{text-decoration: none;color:#3F7329;}
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;}

.titolo-mini{font-size: 33px!important;}

@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: #feca52; color:#000; 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:  #ffd572; color:#000; transition: all 1s cubic-bezier(.215, .61, .355, 1);}

.btn-green,
.wp-block-button__link{font-size: 1.2rem;text-transform: uppercase;font-weight: bold;background: #bfde9f; color: #000000;padding: 14px 25px;display: inline-block;border-radius: 4px;transition: all 1s cubic-bezier(.215, .61, .355, 1);}
.btn-green:hover,
.wp-block-button__link{background:  #bcf8a4; color:#000; transition: all 1s cubic-bezier(.215, .61, .355, 1);}

.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: #bfde9f;
  color: #000!important;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
}
.btn-cta:hover,
.btn-cta:focus {
  background-color:  #bcf8a4;
  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;
}

/* 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: linear-gradient(174deg, rgb(0 186 231) 0%, rgba(236,246,253,0.8785714969581583) 65%, rgba(255,255,255,0) 100%) 1;
  /*border-image: linear-gradient(174deg, rgb(231 140 69) 0%, rgb(247 219 81) 65%, rgba(255,255,255,0) 100%) 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 #fff}
.cover__bg:after{ content: ' ';position: absolute;top: 0;left: 0;width: 100%;height: 100%; /*background: linear-gradient(0deg, rgba(138, 216, 255, 0) 0%, rgba(255, 255, 255, 0.7) 100%); */background-size:cover;}


.cover{
  background: #ffffff;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;
  }

  .ombra-white {
    /* Quattro ombre per creare il contorno */
    text-shadow: 
      -1px -1px 0 #FFFFFF,  /* In alto a sinistra */
       1px -1px 0 #FFFFFF,  /* In alto a destra */
      -1px  1px 0 #FFFFFF,  /* In basso a sinistra */
       1px  1px 0 #FFFFFF;  /* In basso a destra */
  }

  .ombra-white-2 {
    /* Quattro ombre per creare il contorno */
    text-shadow: 
      -1px -1px 0 #FFFFFF,  /* In alto a sinistra */
       1px -1px 0 #FFFFFF,  /* In alto a destra */
      -1px  1px 0 #FFFFFF,  /* In basso a sinistra */
       1px  1px 0 #FFFFFF;  /* In basso a destra */
  }
  @media (max-width: 768px) {
  .ombra-white-2 {
    /* Quattro ombre per creare il contorno */
    text-shadow: 
      -1px -1px 0 #000,  /* In alto a sinistra */
       1px -1px 0 #000,  /* In alto a destra */
      -1px  1px 0 #000,  /* In basso a sinistra */
       1px  1px 0 #000;  /* In basso a destra */
  }
}

.ombra-green {
  /* Quattro ombre per creare il contorno */
  text-shadow: 
  -1px -1px 0 #000,  /* In alto a sinistra */
  1px -1px 0 #000,  /* In alto a destra */
 -1px  1px 0 #000,  /* In basso a sinistra */
  1px  1px 0 #000;  /* In basso a destra */
}

/* Immagini box news in home */
.wp-block-latest-posts__featured-image img {
  height: auto;
  max-width: 100%;
  width: auto;
  border-radius: 30px;
}

/* ! 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.1) 0%, rgba(0,0,0,0.2) 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: #fff; 
  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);}
