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


/* ! Title System */
/* ----------------------------------------------------------------------------------- */
.text-0{font-size: 5rem;}
/*h1, .text-1{font-size: 3.4rem;}*/
h1, .text-1 {
  font-size: clamp(1.5rem, 3.5vw + 0.5rem, 3.4rem) !important;
  line-height: 1.2 !important;
}
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}
  /*h1, .text-1{font-size: 1.7rem;}*/
  .osto {font-size:28px!important;}
}

.contorno{
  background: #ffffff;
  padding: 1px 4px;
  border-radius: 4px;
}


/* ! Titoli personalizzati */
/* ----------------------------------------------------------------------------------- */
.unita-black {
  color: #000; /* O un colore nero specifico, es. #000000 */
}

.chirurgia-blue {
  color: #ff6d01; /* O un blu specifico per l'accessibilità, es. #0000CC */
}

.uni-text {
  color: #ff6d01;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 1px;
text-transform: uppercase;
}

.uni-text-servizi {
  color: #ffffff;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 1px;
text-transform: uppercase;
}

.uni-desc{font-size:clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.531), 1.2rem);line-height:1.53}

/* Tricolore e sottotitolo */

/* Stili per il contenitore del tricolore per centrarlo */
.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);
}

/* Stili per il sottotitolo */
.sottotitolo {
  font-size: 1.2em; /* Dimensione del font leggermente più grande di un paragrafo normale */
  color: 1b5bbd;
  margin-top: 12px; /* Spazio tra il tricolore e il sottotitolo */
  text-transform: uppercase;
}

.wp-block-media-text__media img{
  border-radius:20px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.32);
}

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

.btn-green:hover,
.wp-block-button__link:hover{background: #bc5200; border: 4px solid #bc5200; transition: all 1s cubic-bezier(.215, .61, .355, 1);}

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

.btn-blue:hover,
.wp-block-button__link:hover{background: #ff6d01; border: 4px solid #ff6d01; color: #ffffff; transition: all 1s cubic-bezier(.215, .61, .355, 1);}


.button-box-progetti .wp-block-button__link{border: 3px solid #fff; font-size: 1.2rem;text-transform: uppercase;font-weight: bold;background: 1b5bbd; color: #ffffff;padding: 14px 25px;display: inline-block;border-radius: 4px;transition: all 1s cubic-bezier(.215, .61, .355, 1);}
  
.button-box-progetti .wp-block-button__link:hover{
  background: #67a5d9; 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: #7ebd66;
  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%} 


/* HOME PAGE TEAM ROGOREDO */


/* --- HERO PARALLAX CON SFONDO ARANCIONE E LOGO SVG --- */
.hero-parallax {
  position: relative;
  height: 55vh;
  min-height: 380px;
  background-color: #ff6600; 
  background-image: url('/wp-content/themes/team-rogoredo/custom/img/logo-team-rogoredo.svg')!important;
  background-repeat: no-repeat;
  background-position: center 33%; /* Alzato sopra la V per evitare tagli */
  background-size: 350px auto; /* Dimensione del logo SVG su desktop */
  background-attachment: fixed; /* Parallasse nativo fluido */
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
}

/* Divisore SVG a V bianco */
.hero-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* Sezioni successive: tornano statiche senza z-index forzati */
.section-latest-news,
#main-content,
footer {
  position: relative;
  background-color: #ffffff;
}

/* --- RESPONSIVE MOBILE & TABLET --- */
@media (max-width: 768px) {
  .hero-parallax {
    height: 50vh;
    min-height: 300px;
    background-size: 180px auto; /* Logo proporzionato per tablet */
    background-position: center 23%;
    background-attachment: scroll !important;
  }

  .hero-divider svg {
    height: 45px;
  }
}

@media (max-width: 1300px) {
  .hero-parallax {
    height: 50vh;
    min-height: 300px;
    background-size: 200px auto; /* Logo proporzionato per tablet */
    background-position: center 33%;
    background-attachment: fixed;
  }

  .hero-divider svg {
    height: 45px;
  }
}

@media (max-width: 480px) {
  .hero-parallax {
    height: 44vh;
    min-height: 270px;
    background-size: 160px auto; /* Logo proporzionato per mobile */
    background-position: center 23%;
  }

  .hero-divider svg {
    height: 35px;
  }
}







/* --- SEZIONE NEWS --- */
.section-latest-news {
  background-color: #ffffff;
  padding: 10px 20px 80px;
  box-sizing: border-box;
}

.news-container {
  max-width: 1360px;
  margin: 0 auto;
  box-sizing: border-box;
}

.section-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: #ff6600;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* --- CARD NEWS --- */
.news-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 20px;
  background: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  width: 100%;
  min-width: 0; /* Impedisce al contenitore flex di sfondare lateralmente */
  box-sizing: border-box;
}

/* Colonna Sinistra: Media + Badge Incastrato */
.news-media-wrap {
  position: relative;
  width: 240px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.news-thumb {
  width: 100%;
  height: 165px;
  border-radius: 14px;
  overflow: hidden;
}

.news-thumb img,
.placeholder-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.placeholder-thumb {
  background-color: #e2e8f0;
}

/* Badge della Data (scatola bianca incastrata nell'angolo) */
.news-date-badge {
  position: absolute;
  bottom: 0;
  right: -10px;
  background: #ffffff;
  padding: 6px 14px 0 12px;
  border-top-left-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #111111;
  z-index: 2;
  white-space: nowrap;
}

/* Angolo inverso curvo in alto a sinistra del badge */
.news-date-badge::before {
  content: "";
  position: absolute;
  top: -12px;
  right: 0;
  width: 12px;
  height: 12px;
  background: transparent;
  border-bottom-right-radius: 12px;
  box-shadow: 4px 4px 0 4px #ffffff;
  pointer-events: none;
}

/* Angolo inverso curvo in basso a sinistra del badge */
.news-date-badge::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -12px;
  width: 12px;
  height: 12px;
  background: transparent;
  border-bottom-right-radius: 12px;
  box-shadow: 4px 4px 0 4px #ffffff;
  pointer-events: none;
}

/* Colonna Destra: Testi e Link */
.news-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 4px;
  flex: 1 1 auto;
  min-width: 0; /* Permette al testo di calcolare lo spazio corretto */
}

.news-cat {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #1f1f1f;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.news-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  color: #ff6101;
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-break: break-word;
  transition: all 1s cubic-bezier(.215, .61, .355, 1);
}

.news-title a {
  color: inherit;
  text-decoration: none;
}

.news-title a:hover {
  color: #000000;
  transition: all 1s cubic-bezier(.215, .61, .355, 1);
}

.news-read-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ff7722;
  text-decoration: none;
  margin-top: auto;
  align-self: flex-start;
}

.news-read-more:hover {
  text-decoration: underline;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1180px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .news-card {
    flex-direction: column;
    gap: 14px;
  }

  .news-media-wrap {
    width: 100%;
  }

  .news-thumb {
    height: 210px;
  }

  .news-date-badge {
    right: 0;
    border-bottom-right-radius: 14px;
  }

  .news-date-badge::after {
    display: none;
  }
}


/* --- SEZIONE MISSION & PILASTRI --- */
.section-mission {
  background-color: #ffffff;
  padding: 40px 20px 90px;
  box-sizing: border-box;
}

.mission-container {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  box-sizing: border-box;
}

/* Colonna Sinistra */
.mission-text-col {
  min-width: 0;
}

.mission-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ff6600;
  margin-bottom: 12px;
}

.mission-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: #111111;
  margin: 0 0 18px 0;
  letter-spacing: -0.02em;
}

.mission-lead {
  font-size: 1.15rem;
  line-height: 1.5;
  color: #2b2b2b;
  font-weight: 500;
  margin: 0 0 14px 0;
}

.mission-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
  margin: 0 0 28px 0;
}

/* Bottoni CTA coordinati */
.mission-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ff6600;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #e05500;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: #111111;
  border: 1.5px solid #dcdcdc;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  border-color: #111111;
  background-color: #f5f5f7;
}

/* Colonna Destra: Card Bento */
.mission-bento-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.bento-card {
  background: #f8f9fa;
  border: 1px solid #ededed;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
}

.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  border-color: #e2e2e2;
}

/* Icon Wrap */
.bento-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ff6600;
}

.bento-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.bento-card-body {
  flex: 1 1 auto;
}

.bento-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111111;
  margin: 0 0 6px 0;
}

.bento-card-desc {
  font-size: 0.85rem;
  line-height: 1.45;
  color: #666666;
  margin: 0;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 992px) {
  .mission-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .mission-title {
    font-size: 1.85rem;
  }
}

@media (max-width: 600px) {
  .section-mission {
    padding: 30px 16px 60px;
  }

  .mission-actions {
    flex-direction: column;
    gap: 10px;
  }

  .btn-primary, .btn-outline {
    width: 100%;
    box-sizing: border-box;
  }

  .bento-card {
    padding: 16px;
    gap: 12px;
  }
}



/* --- SEZIONE PERCORSO IN 3 FASI --- */
.section-pathway {
  background-color: #f8f9fa00;
  padding: 80px 20px;
  box-sizing: border-box;
}

.pathway-container {
  max-width: 1360px;
  margin: 0 auto;
  box-sizing: border-box;
}

.pathway-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.pathway-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ff6600;
  margin-bottom: 12px;
}

.pathway-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  color: #111111;
  margin: 0 0 14px 0;
  letter-spacing: -0.02em;
}

.pathway-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  margin: 0;
}

/* Griglia degli Step */
.pathway-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: #ffffff;
  border: 1px solid #ededed;
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.step-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ff6600;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  opacity: 0.9;
}

.step-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111111;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.step-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #666666;
  margin: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .pathway-steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pathway-title {
    font-size: 1.85rem;
  }

  .step-card {
    padding: 24px;
  }
}



/* =======================================================
   BANNER SOSTEGNO, IBAN & VOLONTARIATO
======================================================= */
.section-donate-banner {
  background-color: #ffffff;
  padding: 60px 20px 90px;
  box-sizing: border-box;
}

.donate-container {
  max-width: 1360px;
  margin: 0 auto;
  box-sizing: border-box;
}

.donate-box {
  /* Overlay nero sfumato (78% -> 86%) + immagine di sfondo */
  background: linear-gradient(rgb(0 0 0 / 48%), rgba(0, 0, 0, 0.86)), url(/wp-content/themes/team-rogoredo/custom/img/bosco.jpeg) center center / cover no-repeat;
  border-radius: 28px;
  padding: 50px 48px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  color: #ffffff;
  box-sizing: border-box;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15); /* Leggera profondità */
}

.donate-badge {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  display: block;
  margin-bottom: 12px;
}

.donate-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.donate-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d1d1d6; /* Schiarito leggermente per contrasto perfetto sopra lo sfondo */
  margin: 0 0 24px 0;
}

.tax-benefits-box {
  background: rgba(255, 255, 255, 0.08); /* Vetro scuro con contrasto migliorato */
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 16px 20px;
}

.tax-benefits-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.tax-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #d1d1d6;
}

.tax-benefits-list li {
  margin-bottom: 4px;
}

.tax-benefits-list strong {
  color: #ffffff;
}

/* Card Destra: Bonifico & Azioni */
.donate-action-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  color: #111111;
  box-sizing: border-box;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.action-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 4px 0;
}

.action-card-subtitle {
  font-size: 0.85rem;
  color: #666666;
  margin: 0 0 20px 0;
}

.iban-wrapper {
  margin-bottom: 16px;
}

.iban-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 6px;
}

.iban-field {
  display: flex;
  background: #f4f4f6;
  border: 1px solid #e2e2e6;
  border-radius: 10px;
  overflow: hidden;
}

.iban-field input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 12px;
  font-family: monospace;
  font-size: 0.88rem;
  font-weight: 600;
  color: #111111;
  outline: none;
  width: 100%;
}

.btn-copy-iban {
  background: #ff6600;
  color: #ffffff;
  border: none;
  padding: 0 16px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-copy-iban:hover {
  background: #e05500;
}

.btn-copy-iban.copied {
  background: #10b981;
}

.receipt-note {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #666666;
  margin: 0 0 22px 0;
}

.receipt-note a {
  color: #ff6600;
  text-decoration: none;
  font-weight: 600;
}

.action-buttons {
  display: flex;
  gap: 10px;
}

.btn-donate-solid {
  flex: 1;
  background-color: #ff6600;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  padding: 12px 14px;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn-donate-solid:hover {
  background-color: #e05500;
}

.btn-download-brochure {
  flex: 1;
  background-color: #f4f4f6;
  color: #111111;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 12px 14px;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn-download-brochure:hover {
  background-color: #e8e8ec;
}

/* Responsive */
@media (max-width: 1024px) {
  .donate-box {
    grid-template-columns: 1fr;
    padding: 36px 30px;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .section-donate-banner {
    padding: 40px 16px 60px;
  }

  .donate-box {
    padding: 28px 18px;
    border-radius: 20px;
  }

  .donate-title {
    font-size: 1.6rem;
  }

  .donate-action-card {
    padding: 22px 16px;
  }

  .action-buttons {
    flex-direction: column;
  }
}






/* =======================================================
   BLOCCO 6: RETE, PROGETTI & SITI AMICI (INVERTITO)
======================================================= */
.section-network {
  background-color: #ffffff;
  padding: 60px 20px 100px;
  box-sizing: border-box;
  border-top: 1px solid #f0f0f0;
}

.network-container {
  max-width: 1360px;
  margin: 0 auto;
  box-sizing: border-box;
}

.network-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

/* Titolo arancione coerente */
.section-network .section-heading {
  color: #ff6600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.network-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  margin: 0;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card: fondo bianco e bordo arancione marcato di default */
.network-card {
  background: #ffffff;
  border: 1.5px solid #ff6600;
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  box-sizing: border-box;
}

/* Hover: diventa grigio chiaro, bordo morbido ed effetto sollevamento */
.network-card:hover {
  background-color: #f4f4f6;
  border-color: #e2e2e8;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.network-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.network-logo-frame {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.network-logo-frame img {
  max-height: 44px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.network-external-icon {
  font-size: 1.25rem;
  color: #ff6600;
  font-weight: 400;
  transition: transform 0.2s ease, color 0.2s ease;
}

.network-card:hover .network-external-icon {
  transform: translate(3px, -3px);
  color: #111111;
}

.network-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #111111;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.network-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #555555;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.network-link-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ff6600;
  letter-spacing: 0.02em;
}

.network-card:hover .network-link-label {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .network-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .network-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .network-card {
    padding: 24px 20px;
  }
}




/* ==========================================================================
   PAGINA TEAM ROGOREDO (CHI SIAMO)
   ========================================================================== */


/* Spaziatura e azzeramento bordi/ombre sul blocco nativo */
.wp-block-media-text {
  margin-bottom: 70px !important;
  box-sizing: border-box;
}

.wp-block-media-text .wp-block-media-text__media img {
  border-radius: 16px !important;
  box-shadow: none !important;
  border: none !important;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Sottotitolo / Badge piccolo */
.tr-badge-small {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888888;
  margin-bottom: 8px;
}

/* Titoli H2 Arancioni */
.tr-h2-orange {
  color: #ff6600 !important;
  font-size: 2rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em;
  margin: 0 0 16px 0 !important;
}

/* Paragrafi e testo */
.wp-block-media-text__content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444444;
  margin: 0 0 16px 0;
}

.tr-text-lead {
  font-size: 1.1rem !important;
  font-weight: 600;
  color: #111111 !important;
}

/* Lista puntata interna */
.tr-list-points {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
}

.tr-list-points li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444444;
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}

.tr-list-points li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #ff6600;
  font-size: 1.4rem;
  line-height: 1;
  top: -2px;
}

/* Mobile */
@media (max-width: 768px) {
  .tr-h2-orange {
    font-size: 1.6rem !important;
  }
  .wp-block-media-text {
    margin-bottom: 40px !important;
  }
}





/* ==========================================================================
   PAGINA SOSTIENI IL TEAM
   ========================================================================== */

   .tr-support-page {
    background-color: #ffffff;
    padding-bottom: 90px;
    box-sizing: border-box;
  }
  
  .tr-support-hero {
    background: #fbfbfb;
    border-bottom: 1px solid #ededed;
    padding: 60px 20px 50px;
    text-align: center;
    box-sizing: border-box;
  }
  
  .tr-support-main-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #111111;
    letter-spacing: -0.03em;
    margin: 0 0 16px 0;
    line-height: 1.15;
  }
  
  .tr-support-lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #555555;
    max-width: 760px;
    margin: 0 auto;
  }
  
  .tr-support-content {
    padding-top: 60px;
  }
  
  /* Griglia 3 Card */
  .tr-support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 80px;
  }
  
  .tr-support-card {
    background: #ffffff;
    border: 1.5px solid #ededed;
    border-radius: 24px;
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .tr-support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.05);
  }
  
  .tr-card-featured {
    border-color: #ff6600;
    box-shadow: 0 8px 24px rgba(255, 102, 0, 0.08);
  }
  
  .tr-support-card-badge {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ff6600;
    margin-bottom: 10px;
    display: block;
  }
  
  .tr-support-card-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #111111;
    margin: 0 0 12px 0;
    line-height: 1.25;
  }
  
  .tr-support-card-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #555555;
    margin: 0 0 20px 0;
  }
  
  .tr-support-iban-box,
  .tr-support-cf-box {
    background: #f8f8fa;
    border: 1px solid #ededf0;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
  }
  
  .tr-support-iban-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #888888;
  }
  
  .tr-support-iban-holder {
    font-size: 0.88rem;
    color: #111111;
    margin-top: 2px;
  }
  
  .tr-support-bank-name {
    font-size: 0.75rem;
    color: #777777;
    margin-top: 8px;
  }
  
  .tr-support-card-note {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #777777;
    margin: 0;
  }
  
  .tr-support-card-note a {
    color: #ff6600;
    text-decoration: underline;
    font-weight: 600;
  }
  
  /* Sezione Dove Vanno i Fondi */
  .tr-impact-section {
    background: #fbfbfb;
    border: 1px solid #ededed;
    border-radius: 28px;
    padding: 60px 40px;
    margin-bottom: 70px;
    box-sizing: border-box;
  }
  
  .tr-impact-header {
    text-align: center;
    margin-bottom: 44px;
  }
  
  .tr-impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
  .tr-impact-item {
    background: #ffffff;
    border: 1px solid #eef0f2;
    border-radius: 20px;
    padding: 30px 24px;
    box-sizing: border-box;
  }
  
  .tr-impact-circle {
    width: 44px;
    height: 44px;
    background-color: #ff6600;
    color: #ffffff;
    font-weight: 900;
    font-size: 0.95rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
  }
  
  .tr-impact-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111111;
    margin: 0 0 10px 0;
  }
  
  .tr-impact-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #666666;
    margin: 0;
  }
  
  /* Card Vantaggi Fiscali */
  .tr-tax-wrapper {
    margin-bottom: 30px;
  }
  
  .tr-tax-card {
    background: #ffffff;
    border: 1.5px solid #ff6600;
    border-radius: 24px;
    padding: 36px 32px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: flex-start;
    box-sizing: border-box;
  }
  
  .tr-tax-pills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .tr-tax-pill {
    background: #f8f8fa;
    border: 1px solid #e8e8ec;
    border-radius: 12px;
    padding: 16px;
    font-size: 0.86rem;
    line-height: 1.5;
    color: #444444;
  }
  
  .tr-tax-pill strong {
    display: block;
    color: #111111;
    margin-bottom: 4px;
  }
  
  /* Responsive */
  @media (max-width: 1024px) {
    .tr-support-grid,
    .tr-impact-grid {
      grid-template-columns: 1fr;
      gap: 24px;
    }
  
    .tr-tax-pills {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 680px) {
    .tr-support-hero {
      padding: 40px 16px;
    }
    .tr-support-main-title {
      font-size: 2.1rem;
    }
    .tr-impact-section {
      padding: 36px 20px;
    }
    .tr-tax-card {
      grid-template-columns: 1fr;
      padding: 24px 20px;
    }
  }





/* ==========================================================================
   PAGINA CONTATTI (PULITA & ESSENZIALE)
   ========================================================================== */

   .tr-contact-page {
    background-color: #ffffff;
    padding-bottom: 90px;
    box-sizing: border-box;
  }
  
  .tr-contact-hero {
    background: #fbfbfb;
    border-bottom: 1px solid #ededed;
    padding: 60px 20px 50px;
    text-align: center;
    box-sizing: border-box;
  }
  
  .tr-contact-main-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #111111;
    letter-spacing: -0.03em;
    margin: 0 0 16px 0;
    line-height: 1.15;
  }
  
  .tr-contact-lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #555555;
    max-width: 760px;
    margin: 0 auto;
  }
  
  .tr-contact-content {
    padding-top: 60px;
  }
  
  /* Griglia delle 2 Card informative */
  .tr-contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
  }
  
  .tr-contact-box {
    background: #ffffff;
    border: 1.5px solid #ededed;
    border-radius: 24px;
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }
  
  .tr-contact-box.tr-box-accent {
    border-color: #ff6600;
    box-shadow: 0 8px 24px rgba(255, 102, 0, 0.06);
  }
  
  .tr-contact-box-badge {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ff6600;
    margin-bottom: 10px;
    display: block;
  }
  
  .tr-contact-box-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111111;
    margin: 0 0 12px 0;
    line-height: 1.25;
  }
  
  .tr-contact-box-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555555;
    margin: 0 0 20px 0;
  }
  
  .tr-contact-point {
    font-size: 0.92rem;
    color: #222222;
    margin-bottom: 8px;
    line-height: 1.5;
  }
  
  .tr-contact-point strong {
    color: #111111;
  }
  
  .tr-contact-mail-link {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 18px;
  }
  
  .tr-contact-mail-link a {
    color: #ff6600;
    text-decoration: underline;
  }
  
  .tr-contact-tax-note {
    background: #f8f8fa;
    border-left: 3px solid #ff6600;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.55;
    color: #444444;
    margin-top: auto;
  }
  
  /* Wrapper per il Form Plugin esterno */
  .tr-form-plugin-wrapper {
    background: #fbfbfb;
    border: 1px solid #ededed;
    border-radius: 24px;
    padding: 44px 40px;
    box-sizing: border-box;
  }
  
  .tr-form-plugin-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111111;
    margin: 0 0 8px 0;
  }
  
  .tr-form-plugin-subtitle {
    font-size: 0.95rem;
    color: #666666;
    margin: 0 0 30px 0;
  }
  
  /* Responsive */
  @media (max-width: 900px) {
    .tr-contact-cards-grid {
      grid-template-columns: 1fr;
      gap: 24px;
    }
  
    .tr-form-plugin-wrapper {
      padding: 30px 20px;
    }
  }
  
  @media (max-width: 600px) {
    .tr-contact-hero {
      padding: 40px 16px;
    }
    .tr-contact-main-title {
      font-size: 2.1rem;
    }
  }


























































/*//////////////*/





.progetto{
  background-color: rgb(232 232 232 / 50%); /* Bianco semitrasparente */
  backdrop-filter: blur(10px); /* Effetto satinatura */
  -webkit-backdrop-filter: blur(10px); /* Supporto per Safari */
  box-shadow: 0 5px 30px rgb(0 0 0 / 37%); transition: all 1s cubic-bezier(.215, .61, .355, 1)!important;
  border-radius: 30px; padding: 23px;  
  color: 1b5bbd;  
  }

  .evi a {
    background: #ff6d01!important;
    color: #fff!important;
    border-radius: 6px;
    font-weight: bold;
    padding: 4px 16px!important;
    margin-top: 8px;
    margin-left: 10px;
    transition: all 1s cubic-bezier(.215,.61,.355,1);
}

.evi a:hover {
    background: #bc5200!important; 
    transition: all 1s cubic-bezier(.215,.61,.355,1);
}

@media (max-width: 768px) {
  .evi a {
   background: #ff6d01!important;
    color: #ffffff!important;
    font-weight: bold!important;
    padding: 16px 16px!important;
    margin-top: 8px;
    margin-left: 0px;
    transition: all 1s cubic-bezier(.215,.61,.355,1);
  }
}


 /* ! Animazione fluida nativa ancore */
/* ----------------------------------------------------------------------------------- */
  html {
    scroll-behavior: smooth;
  }
  :target {
    scroll-margin-top: 223px; /* Regola i pixel in base all'altezza del tuo header */
}
  



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


.cover__hero {
  position: relative;
  overflow: hidden;
  background: #fff;

  padding-top: 0;
  padding-right: var(--wp--preset--spacing--50);
  padding-bottom: 0;
  padding-left: var(--wp--preset--spacing--50);
}

.cover__hero::after {
  content: "";

  position: absolute;
  z-index: 0;

  top: 50%;
  right: -5%;

  width: 55%;
  height: 100%;

  transform: translateY(-50%);

  background-image: url('/wp-content/themes/arspat/custom/img/logotipo-arspat.svg');
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;

  opacity: 0.08;

  pointer-events: none;
}

/* Il contenuto della cover rimane sopra il logo */
.cover__hero > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 600px) {
  .cover__hero::after {
      display: none;
  }
}



.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%;}


  .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;
}

.bk-title{background: rgb(0, 65, 119); margin: 55px;}

/* 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
/*----------------------------------------------------------------------------------- */

/* ! 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);}


/* Animation on load */
@keyframes fade-load {
  from {opacity: 0; top:20px}
  to {opacity: 1; top:0;}
}
.load {
  opacity: 0;
  animation: fade-load cubic-bezier(0.385, 0.135, 0.15, 0.86) 0.5s forwards;
}
