/*
Theme Name: Aldieri for Children - Astra Child
Description: Base grafica per il restyling 2026 (restyling 2026, release di prova).
Author: Softsol / progetto Aldieri for Children
Template: astra
Version: 0.3.0
Text Domain: aldieri-astra-child
*/

/* HOME - Tutte le regole sono limitate al template .afc-home. */
.afc-home {
  --afc-navy: #092f4f;
  --afc-navy-dark: #062741;
  --afc-pink: #f90066;
  --afc-cyan: #0aafbc;
  --afc-gold: #f4c848;
  --afc-cream: #faf5ed;
  --afc-mist: #eff8f8;
  --afc-text: #14334b;
  --afc-radius: 18px;
  color: var(--afc-text);
  font: 400 16px/1.55 'Open Sans', Arial, sans-serif;
  width: 100%;
  max-width: none;
  overflow: clip;
  gap: 0 !important;
}
.afc-home, .afc-home * { box-sizing: border-box; }
.afc-home a { text-decoration: none; }
.afc-home .elementor-heading-title { font-family: 'Open Sans',Arial,sans-serif; font-weight: 800; line-height: 1.13; color: var(--afc-navy); }
.afc-home .elementor-widget-heading .elementor-heading-title { margin: 0; }
.afc-home .elementor-widget-text-editor p { margin: 0 0 .7em; }
.afc-home .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.afc-home .afc-wrap { width: min(1180px,calc(100% - 64px)); max-width: 1180px; margin-inline: auto; }
.afc-home .afc-hero { position: relative; isolation: isolate; width:100%; padding: 80px 0 86px; min-height: 475px; justify-content: center; background: radial-gradient(circle at 42% 6%, #2a4d64 0, transparent 32%), linear-gradient(115deg, #062b49 0%, #062b49 62%, #0b3c5b 100%); overflow:hidden; }
.afc-home .afc-hero::before { content:""; position:absolute; z-index:-1; inset:0 0 0 auto; width:58%; background: url('assets/hero-gift.jpg') center center/cover no-repeat; -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%); mask-image: linear-gradient(to right, transparent 0%, black 25%); }
.afc-home .afc-hero-body { gap: 13px; position: relative; }
.afc-home .afc-eyebrow .elementor-widget-container, .afc-home .afc-eyebrow { color:var(--afc-gold); font-size: 12px; font-weight:800; letter-spacing:.28em; text-transform:uppercase; }
.afc-home .afc-hero-title .elementor-heading-title { color:#fff; font-size:clamp(40px,5.7vw,76px); letter-spacing:-.045em; max-width:740px; }
.afc-home .afc-hero-title .elementor-heading-title strong { color:var(--afc-gold); font-weight:800; }
.afc-home .afc-hero-subtitle { color:#fff; font-size:19px; max-width:540px; line-height:1.4; }
.afc-home .afc-hero-subtitle p { color:inherit; }
.afc-home .afc-actions { flex-direction:row; flex-wrap:wrap; gap:14px; margin-top:10px; }
.afc-home .elementor-widget-button .elementor-button { background:var(--afc-pink); color:#fff; font-family:inherit; font-weight:700; border:1px solid var(--afc-pink); border-radius:999px; min-height:45px; display:inline-flex; align-items:center; justify-content:center; padding:13px 25px; font-size:14px; line-height:1.2; transition: transform .18s ease, background .18s ease; box-shadow:none; }
.afc-home .elementor-widget-button .elementor-button:hover { transform: translateY(-1px); background:#de005b; }
.afc-home .afc-button-outline .elementor-button { border:1px solid #fff; background:transparent; }
.afc-home .afc-button-outline .elementor-button:hover { background:rgba(255,255,255,.12); }
.afc-home .afc-button-text .elementor-button { background:transparent; border:0; color:var(--afc-pink); padding:0; min-height:0; justify-content:start; border-radius:0; }
.afc-home .afc-button-text .elementor-button:hover { background:transparent; color:#b9004d; }
.afc-home .afc-mission { position:relative; background:var(--afc-cream); padding:33px 0; }
.afc-home .afc-mission-inner { display:flex; flex-direction:row; gap:50px; align-items:center; }
.afc-home .afc-mission-title { width:49%; }
.afc-home .afc-mission-title .elementor-heading-title { font-size: clamp(25px,3.2vw,40px); letter-spacing:-.035em; }
.afc-home .afc-mission-copy { width:51%; border-left:1px solid #bcb4a7; padding-left:34px; font-size:17px; }
.afc-home .afc-areas { background:#fff; padding:35px 0 40px; }
.afc-home .afc-areas-inner { flex-direction:row; display:flex; align-items:stretch; gap:8px; }
.afc-home .afc-area { flex:1; display:flex; flex-direction:row; gap:12px; padding:16px 12px; min-width:0; }
.afc-home .afc-area + .afc-area { border-left:1px solid #e1e8ea; }
.afc-home .afc-area-icon { width:58px; min-width:58px; }
.afc-home .afc-area-icon img { width:54px !important; height:62px !important; object-fit:contain; }
.afc-home .afc-area-copy .elementor-heading-title { font-size:16px; letter-spacing:-.02em; }
.afc-home .afc-area-copy .elementor-widget-text-editor { font-size:12px; line-height:1.5; }
.afc-home .afc-story { background:#fff; padding:32px 0 40px; }
.afc-home .afc-story-inner { flex-direction:row; gap:45px; align-items:center; }
.afc-home .afc-story-photo { width:45%; min-height:250px; background:url('assets/story-teddy.jpg') center center/cover no-repeat; border-radius:0 58px 58px 0; }
.afc-home .afc-story-copy { width:55%; gap:12px; }
.afc-home .afc-kicker { color:var(--afc-navy); font-size:11px; letter-spacing:.25em; font-weight:800; }
.afc-home .afc-story-title .elementor-heading-title { font-size:clamp(25px,2.7vw,36px); }
.afc-home .afc-story-description { font-size:15px; max-width:575px; }
.afc-home .afc-projects { background:#fff; padding:25px 0 56px; }
.afc-home .afc-projects-wrap { gap:17px; }
.afc-home .afc-projects-title .elementor-heading-title { font-size:clamp(26px,3vw,40px); }
.afc-home .afc-project-grid { flex-direction:row; gap:22px; }
.afc-home .afc-project-card { flex-direction:row; display:flex; min-height:206px; border-radius:var(--afc-radius); overflow:hidden; background:#eaf6f6; width:50%; gap:0; }
.afc-home .afc-project-photo { width:46%; min-height:206px; }
.afc-home .afc-project-photo-terrace { background:url('assets/project-terrace.jpg') center/cover no-repeat; }
.afc-home .afc-project-photo-research { background:url('assets/project-research.jpg') center/cover no-repeat; }
.afc-home .afc-project-body { width:54%; padding:27px 24px; gap:10px; }
.afc-home .afc-project-body .elementor-heading-title { font-size:23px; }
.afc-home .afc-project-body .elementor-widget-text-editor { font-size:14px; line-height:1.44; }
.afc-home .afc-support { padding:20px 0 65px; background:#fff; }
.afc-home .afc-support-inner { flex-direction:row; align-items:center; gap:14px; }
.afc-home .afc-support-heading { width:28%; }
.afc-home .afc-support-heading .elementor-heading-title { font-size:29px; }
.afc-home .afc-support-card { width:24%; min-height:107px; padding:18px 22px; border-left:1px solid #e0e6e8; gap:7px; }
.afc-home .afc-support-card .elementor-heading-title { font-size:20px; color:var(--afc-pink); }
.afc-home .afc-support-card .elementor-widget-text-editor { font-size:12px; }
.afc-home .afc-support-card-last { border-radius:16px; background:#f3f9f9; border:0; }
.afc-home .afc-support-card-last .elementor-heading-title { color:var(--afc-cyan); }
@media(max-width: 1024px) {
  .afc-home .afc-hero { min-height:430px; }
  .afc-home .afc-hero::before { width:55%; opacity:.8; }
  .afc-home .afc-project-body { padding:19px; }
  .afc-home .afc-areas-inner { flex-wrap:wrap; }
  .afc-home .afc-area { flex:0 0 calc(50% - 8px); }
  .afc-home .afc-area:nth-child(3) { border-left:0; }
  .afc-home .afc-support-inner { flex-wrap:wrap; }
  .afc-home .afc-support-heading { width:100%; }
  .afc-home .afc-support-card { width:calc(33.333% - 12px); }
}
@media(max-width: 767px) {
  .afc-home .afc-wrap { width: min(100% - 36px, 540px); }
  .afc-home .afc-hero { min-height:630px; padding:60px 0 280px; justify-content:flex-start; }
  .afc-home .afc-hero::before { inset:auto 0 0; width:100%; height:320px; background-position: center center; -webkit-mask-image:linear-gradient(to bottom, transparent, black 32%); mask-image:linear-gradient(to bottom, transparent, black 32%); }
  .afc-home .afc-hero-title .elementor-heading-title { font-size:clamp(38px,10vw,56px); }
  .afc-home .afc-hero-subtitle { font-size:16px; }
  .afc-home .afc-actions { gap:9px; }
  .afc-home .afc-actions > .elementor-widget-button { max-width:100%; }
  .afc-home .elementor-widget-button .elementor-button { padding:13px 18px; font-size:13px; }
  .afc-home .afc-mission { padding:28px 0; }
  .afc-home .afc-mission-inner { flex-direction:column; gap:12px; align-items:stretch; }
  .afc-home .afc-mission-title,.afc-home .afc-mission-copy { width:100%; }
  .afc-home .afc-mission-copy { padding-left:0; border:0; font-size:15px; }
  .afc-home .afc-area { flex:0 0 100%; border-left:0 !important; border-bottom:1px solid #e4e9ec; padding:11px; }
  .afc-home .afc-area-icon { width:54px; min-width:54px; }
  .afc-home .afc-areas { padding:20px 0; }
  .afc-home .afc-story-inner { flex-direction:column; gap:22px; }
  .afc-home .afc-story-photo,.afc-home .afc-story-copy { width:100%; }
  .afc-home .afc-story-photo { min-height:210px; border-radius:18px; }
  .afc-home .afc-project-grid { flex-direction:column; }
  .afc-home .afc-project-card { width:100%; flex-direction:column; }
  .afc-home .afc-project-photo,.afc-home .afc-project-body { width:100%; }
  .afc-home .afc-project-photo { min-height:180px; }
  .afc-home .afc-projects { padding-bottom:32px; }
  .afc-home .afc-support { padding:10px 0 35px; }
  .afc-home .afc-support-card { width:100%; border-left:0; border-bottom:1px solid #e4e9ec; padding:14px; }
}


/* ======================================================================
   AFC HOMEPAGE V2 — 8/11/2026
   Regole per template Elementor COMPATIBILE (sezioni/colonne).
   Selettori rinforzati: prevalgono sul CSS inline del template V1.
   Tutte le regole sono limitate a .afc-home.afc-legacy.
   ====================================================================== */
.elementor .afc-home.afc-legacy {
  --afc-navy:#082e4c; --afc-pink:#ed0065; --afc-cyan:#08afbc;
  --afc-gold:#ffd05a; --afc-cream:#faf5ee; --afc-mist:#edf7f7;
  color:var(--afc-navy); font-size:17px; line-height:1.52;
}
.elementor .afc-home.afc-legacy > .elementor-container,
.elementor .afc-hero.afc-home.afc-legacy > .elementor-container {
  width:calc(100% - 7.2vw) !important;
  max-width:1570px !important;
  margin-inline:auto !important;
  padding-inline:0 !important;
}
.elementor .afc-home.afc-legacy .elementor-widget-heading .elementor-heading-title {
  font-family:'Open Sans',Arial,sans-serif;
  color:var(--afc-navy);
  font-weight:800;
  line-height:1.12;
  letter-spacing:-.035em;
}
.elementor .afc-home.afc-legacy .elementor-widget-text-editor p{line-height:1.5}
.elementor .afc-home.afc-legacy .elementor-widget-button .elementor-button{
  min-height:48px; padding:13px 25px; border-radius:50px;
  font-size:14px; letter-spacing:.02em; font-weight:750;
  background:var(--afc-pink); border:1px solid var(--afc-pink); color:#fff;
  box-shadow:none; transition:background .18s ease,transform .18s ease;
}
.elementor .afc-home.afc-legacy .elementor-widget-button .elementor-button:hover,
.elementor .afc-home.afc-legacy .elementor-widget-button .elementor-button:focus-visible{background:#ce0055;transform:translateY(-1px)}
.elementor .afc-home.afc-legacy .afc-button-outline .elementor-button{
  background:transparent; border:1.5px solid #fff; color:#fff;
}
.elementor .afc-home.afc-legacy .afc-button-outline .elementor-button:hover{background:rgba(255,255,255,.13)}
.elementor .afc-home.afc-legacy .afc-button-text .elementor-button{
  background:transparent; border:0; color:var(--afc-pink);
  min-height:0; padding:0; letter-spacing:.035em; text-align:left;
}
.elementor .afc-home.afc-legacy .afc-button-text .elementor-button:hover{
  background:transparent;color:#ac004b;transform:none;
}
.elementor .afc-home.afc-legacy a:focus-visible,
.elementor .afc-home.afc-legacy .elementor-button:focus-visible{outline:3px solid var(--afc-cyan);outline-offset:3px}
/* Natalizio: grande respiro, immagini sulla destra e titoli leggibili */
.elementor .afc-hero.afc-home.afc-legacy {
  min-height:565px; padding:100px 0 107px; overflow:hidden;
  background:linear-gradient(113deg,#062b49 0%,#062b49 58%,#0b4059 100%);
}
.elementor .afc-hero.afc-home.afc-legacy:before{
  width:59%; background-position:center 46%;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 27%);
  mask-image:linear-gradient(to right,transparent 0%,#000 27%);
}
.elementor .afc-hero.afc-home.afc-legacy:after{
  content:''; pointer-events:none; position:absolute; z-index:1;
  bottom:-34px; left:-5%; width:110%; height:65px;
  background:var(--afc-cream); border-radius:50% 50% 0 0 / 90% 90% 0 0;
}
.elementor .afc-hero.afc-home.afc-legacy .afc-hero-body > .elementor-widget-wrap{
  display:block; max-width:min(860px,58%); position:relative; z-index:2;
}
.elementor .afc-hero.afc-home.afc-legacy .afc-eyebrow,
.elementor .afc-hero.afc-home.afc-legacy .afc-eyebrow p{
  color:var(--afc-gold); font-size:14px; font-weight:800;
  letter-spacing:.31em;
}
.elementor .afc-hero.afc-home.afc-legacy .afc-hero-title .elementor-heading-title{
  color:#fff; font-size:clamp(50px,5.3vw,92px);
  line-height:1.05; letter-spacing:-.044em; max-width:850px;
}
.elementor .afc-hero.afc-home.afc-legacy .afc-hero-title .elementor-heading-title strong{color:var(--afc-gold)}
.elementor .afc-hero.afc-home.afc-legacy .afc-hero-subtitle{
  color:#fff; font-size:clamp(17px,1.4vw,23px);line-height:1.5;
  max-width:560px; margin-top:15px; margin-bottom:20px;
}
.elementor .afc-hero.afc-home.afc-legacy .afc-hero-subtitle p{color:#fff}
.elementor .afc-hero.afc-home.afc-legacy .elementor-widget-button{margin-right:10px;margin-bottom:8px}
/* Messaggio permanente dell'associazione */
.elementor .afc-mission.afc-home.afc-legacy{
  background:var(--afc-cream); padding:43px 0 47px; position:relative;
}
.elementor .afc-mission.afc-home.afc-legacy:after{
  content:''; pointer-events:none; position:absolute; z-index:0;
  right:5%; top:50%; transform:translateY(-50%);
  width:94px; height:125px; opacity:.95;
  background:url('assets/afc-ribbon.svg') center/contain no-repeat;
}
.elementor .afc-mission.afc-home.afc-legacy > .elementor-container{position:relative;z-index:1}
.elementor .afc-mission.afc-home.afc-legacy .afc-mission-title{width:48%}
.elementor .afc-mission.afc-home.afc-legacy .afc-mission-copy{width:52%;padding-left:48px;padding-right:125px;
  border-left:1px solid #b7b5ae;font-size:clamp(16px,1.2vw,19px);line-height:1.5}
.elementor .afc-mission.afc-home.afc-legacy .afc-mission-headline .elementor-heading-title{
  font-size:clamp(32px,3.3vw,55px);max-width:750px;
}
/* Le quattro aree: icone sulla stessa linea di titolo e descrizione */
.elementor .afc-areas.afc-home.afc-legacy{padding:33px 0 42px;background:#fff}
.elementor .afc-areas.afc-home.afc-legacy .afc-area{padding:14px 18px 14px 22px}
.elementor .afc-areas.afc-home.afc-legacy .afc-area>.elementor-widget-wrap{
 display:grid;grid-template-columns:67px 1fr;grid-template-rows:auto auto;
 gap:4px 13px;align-content:center;min-height:92px;
}
.elementor .afc-areas.afc-home.afc-legacy .afc-area .elementor-widget{margin:0!important;min-width:0}
.elementor .afc-areas.afc-home.afc-legacy .afc-area .afc-icon{grid-column:1;grid-row:1/span 2;align-self:center}
.elementor .afc-areas.afc-home.afc-legacy .afc-area .afc-area-title{grid-column:2;grid-row:1;align-self:end}
.elementor .afc-areas.afc-home.afc-legacy .afc-area .afc-area-desc{grid-column:2;grid-row:2;align-self:start;
 font-size:clamp(12px,.9vw,15px);line-height:1.45}
.elementor .afc-areas.afc-home.afc-legacy .afc-area .afc-area-title .elementor-heading-title{font-size:clamp(16px,1.15vw,20px);letter-spacing:-.02em}
.elementor .afc-areas.afc-home.afc-legacy .elementor-widget-image{max-height:none}
.elementor .afc-areas.afc-home.afc-legacy .elementor-widget-image img{width:58px!important;height:58px!important;object-fit:contain}
.elementor .afc-areas.afc-home.afc-legacy .afc-area:nth-child(2) .afc-icon img,
.elementor .afc-areas.afc-home.afc-legacy .afc-area:nth-child(4) .afc-icon img{filter:hue-rotate(190deg) saturate(.92)}
/* La nostra storia */
.elementor .afc-story.afc-home.afc-legacy{padding:46px 0 66px;background:#fff}
.elementor .afc-story.afc-home.afc-legacy .afc-story-photo{
 min-height:325px; border-radius:0 70px 70px 0; width:45%; background-position:center 42%;
}
.elementor .afc-story.afc-home.afc-legacy .afc-story-copy{width:55%;padding-left:68px}
.elementor .afc-story.afc-home.afc-legacy .afc-kicker,
.elementor .afc-projects-intro.afc-home.afc-legacy .afc-kicker{
 font-size:12px;letter-spacing:.3em;font-weight:800;color:var(--afc-navy);
}
.elementor .afc-story.afc-home.afc-legacy .afc-story-title .elementor-heading-title{
 font-size:clamp(32px,3.15vw,50px);line-height:1.12;
}
.elementor .afc-story.afc-home.afc-legacy .afc-story-description{
 max-width:640px;font-size:clamp(16px,1.08vw,18px);line-height:1.55;margin-block:14px;
}
/* Progetti reali */
.elementor .afc-projects-intro.afc-home.afc-legacy{padding:16px 0 16px;background:#fff}
.elementor .afc-projects-intro.afc-home.afc-legacy .afc-projects-title .elementor-heading-title{
 font-size:clamp(34px,3.1vw,50px);
}
.elementor .afc-projects.afc-home.afc-legacy{padding:0 0 70px;background:#fff}
.elementor .afc-projects.afc-home.afc-legacy .afc-project-card{padding:9px 12px}
.elementor .afc-projects.afc-home.afc-legacy .afc-project-card .elementor-inner-section{
 background:#eaf7f7;border-radius:18px;overflow:hidden;min-height:268px;
}
.elementor .afc-projects.afc-home.afc-legacy .afc-project-inner>.elementor-container{
 display:flex;align-items:stretch;min-height:268px;
}
.elementor .afc-projects.afc-home.afc-legacy .afc-project-photo{
 min-height:268px;flex:0 0 46%;width:46% !important;
}
.elementor .afc-projects.afc-home.afc-legacy .afc-project-body{
 flex:0 0 54%;width:54% !important;padding:28px 27px;
}
.elementor .afc-projects.afc-home.afc-legacy .afc-project-title .elementor-heading-title{font-size:clamp(23px,1.7vw,29px)}
.elementor .afc-projects.afc-home.afc-legacy .afc-project-desc{font-size:clamp(14px,.95vw,16px);line-height:1.52;margin:12px 0}
/* Tre vie per sostenere */
.elementor .afc-support.afc-home.afc-legacy{padding:10px 0 74px;background:#fff}
.elementor .afc-support.afc-home.afc-legacy>.elementor-container{align-items:center}
.elementor .afc-support.afc-home.afc-legacy .afc-support-heading{width:27%}
.elementor .afc-support.afc-home.afc-legacy .afc-support-heading .elementor-heading-title{font-size:clamp(26px,2.4vw,38px)}
.elementor .afc-support.afc-home.afc-legacy .afc-support-card{width:24.33%;min-height:156px;padding:20px 27px;
 display:flex;align-items:center;border-left:1px solid #d7e0e1}
.elementor .afc-support.afc-home.afc-legacy .afc-support-card>.elementor-widget-wrap{align-content:center}
.elementor .afc-support.afc-home.afc-legacy .afc-support-card .elementor-heading-title{font-size:clamp(20px,1.5vw,25px)}
.elementor .afc-support.afc-home.afc-legacy .afc-support-card-last{border:0;border-radius:18px;background:#eff8f8}
.elementor .afc-support.afc-home.afc-legacy .afc-support-desc{font-size:14px;line-height:1.45}
/* Avoid Elementor legacy default bottom margins from opening artificial gaps */
.elementor .afc-home.afc-legacy .elementor-widget:not(:last-child){margin-bottom:10px}
/* TABLET / smaller notebook */
@media(max-width:1199px){
 .elementor .afc-home.afc-legacy>.elementor-container{width:calc(100% - 7vw)!important}
 .elementor .afc-hero.afc-home.afc-legacy{min-height:495px;padding:85px 0 90px}
 .elementor .afc-hero.afc-home.afc-legacy .afc-hero-body>.elementor-widget-wrap{max-width:60%}
 .elementor .afc-mission.afc-home.afc-legacy .afc-mission-copy{padding-right:95px}
 .elementor .afc-areas.afc-home.afc-legacy .afc-area{padding-inline:10px}
 .elementor .afc-areas.afc-home.afc-legacy .afc-area>.elementor-widget-wrap{grid-template-columns:52px 1fr;gap:3px 8px}
 .elementor .afc-areas.afc-home.afc-legacy .elementor-widget-image img{width:45px!important;height:48px!important}
 .elementor .afc-story.afc-home.afc-legacy .afc-story-copy{padding-left:35px}
 .elementor .afc-projects.afc-home.afc-legacy .afc-project-body{padding:17px}
 .elementor .afc-projects.afc-home.afc-legacy .afc-project-title .elementor-heading-title{font-size:22px}
}
@media (min-width:768px) and (max-width:1024px){
 .elementor .afc-home.afc-legacy>.elementor-container{width:calc(100% - 8vw)!important}
 .elementor .afc-hero.afc-home.afc-legacy .afc-hero-body>.elementor-widget-wrap{max-width:64%}
 .elementor .afc-hero.afc-home.afc-legacy .afc-hero-title .elementor-heading-title{font-size:clamp(42px,5.3vw,58px)}
 .elementor .afc-mission.afc-home.afc-legacy:after{width:62px;right:2%}
 .elementor .afc-mission.afc-home.afc-legacy .afc-mission-copy{padding-left:24px;padding-right:65px}
 .elementor .afc-areas.afc-home.afc-legacy .afc-area{width:50%!important;flex:0 0 50%;min-height:96px}
 .elementor .afc-areas.afc-home.afc-legacy>.elementor-container{flex-wrap:wrap}
 .elementor .afc-areas.afc-home.afc-legacy .afc-area:nth-child(3){border-left:0}
 .elementor .afc-projects.afc-home.afc-legacy .afc-project-card{width:50%!important}
 .elementor .afc-projects.afc-home.afc-legacy .afc-project-photo{min-height:210px}
 .elementor .afc-projects.afc-home.afc-legacy .afc-project-title .elementor-heading-title{font-size:19px}
 .elementor .afc-projects.afc-home.afc-legacy .afc-project-desc{font-size:13px}
}
/* MOBILE */
@media(max-width:767px){
 .elementor .afc-home.afc-legacy>.elementor-container,
 .elementor .afc-hero.afc-home.afc-legacy>.elementor-container{
   width:calc(100% - 36px)!important;padding:0!important;max-width:560px!important;
 }
 .elementor .afc-hero.afc-home.afc-legacy{min-height:670px;padding:52px 0 324px}
 .elementor .afc-hero.afc-home.afc-legacy:before{height:350px;width:100%;inset:auto 0 0;background-position:center center;
   -webkit-mask-image:linear-gradient(to bottom,transparent,#000 36%);
   mask-image:linear-gradient(to bottom,transparent,#000 36%);
 }
 .elementor .afc-hero.afc-home.afc-legacy:after{height:52px;bottom:-25px}
 .elementor .afc-hero.afc-home.afc-legacy .afc-hero-body>.elementor-widget-wrap{
   max-width:100%;display:block;
 }
 .elementor .afc-hero.afc-home.afc-legacy .afc-hero-title .elementor-heading-title{
   font-size:clamp(39px,10vw,58px);max-width:480px;
 }
 .elementor .afc-hero.afc-home.afc-legacy .afc-hero-subtitle{font-size:17px;max-width:400px}
 .elementor .afc-hero.afc-home.afc-legacy .elementor-widget-button{display:inline-block;width:auto;margin:0 5px 9px 0}
 .elementor .afc-home.afc-legacy .elementor-widget-button .elementor-button{
   min-height:44px;font-size:12px;padding:11px 16px;
 }
 .elementor .afc-mission.afc-home.afc-legacy{padding:30px 0 30px}
 .elementor .afc-mission.afc-home.afc-legacy>.elementor-container{display:block}
 .elementor .afc-mission.afc-home.afc-legacy .afc-mission-title,
 .elementor .afc-mission.afc-home.afc-legacy .afc-mission-copy{width:100%!important}
 .elementor .afc-mission.afc-home.afc-legacy .afc-mission-headline .elementor-heading-title{font-size:33px}
 .elementor .afc-mission.afc-home.afc-legacy .afc-mission-copy{padding:12px 75px 0 0;margin-top:8px;border:0;font-size:15px}
 .elementor .afc-mission.afc-home.afc-legacy:after{width:70px;height:100px;right:1%;top:64%}
 .elementor .afc-areas.afc-home.afc-legacy{padding:15px 0 24px}
 .elementor .afc-areas.afc-home.afc-legacy>.elementor-container{display:block}
 .elementor .afc-areas.afc-home.afc-legacy .afc-area{width:100%!important;padding:12px 4px;border-bottom:1px solid #e0e8e9;border-left:0!important}
 .elementor .afc-areas.afc-home.afc-legacy .afc-area>.elementor-widget-wrap{grid-template-columns:59px 1fr;gap:2px 12px;min-height:70px}
 .elementor .afc-areas.afc-home.afc-legacy .elementor-widget-image img{height:50px!important;width:50px!important}
 .elementor .afc-areas.afc-home.afc-legacy .afc-area .afc-area-title .elementor-heading-title{font-size:19px}
 .elementor .afc-areas.afc-home.afc-legacy .afc-area .afc-area-desc{font-size:14px}
 .elementor .afc-story.afc-home.afc-legacy{padding:28px 0 42px}
 .elementor .afc-story.afc-home.afc-legacy>.elementor-container{display:block}
 .elementor .afc-story.afc-home.afc-legacy .afc-story-photo{width:100%!important;min-height:230px;border-radius:18px}
 .elementor .afc-story.afc-home.afc-legacy .afc-story-copy{width:100%!important;padding:26px 0 0}
 .elementor .afc-story.afc-home.afc-legacy .afc-story-title .elementor-heading-title{font-size:32px}
 .elementor .afc-story.afc-home.afc-legacy .afc-story-description{font-size:15px}
 .elementor .afc-projects-intro.afc-home.afc-legacy{padding:8px 0 12px}
 .elementor .afc-projects-intro.afc-home.afc-legacy .afc-projects-title .elementor-heading-title{font-size:32px}
 .elementor .afc-projects.afc-home.afc-legacy{padding:0 0 28px}
 .elementor .afc-projects.afc-home.afc-legacy>.elementor-container{display:block}
 .elementor .afc-projects.afc-home.afc-legacy .afc-project-card{width:100%!important;padding:0 0 18px}
 .elementor .afc-projects.afc-home.afc-legacy .afc-project-inner>.elementor-container{display:block}
 .elementor .afc-projects.afc-home.afc-legacy .afc-project-photo{width:100%!important;min-height:205px}
 .elementor .afc-projects.afc-home.afc-legacy .afc-project-body{width:100%!important;padding:21px}
 .elementor .afc-projects.afc-home.afc-legacy .afc-project-card .elementor-inner-section{min-height:0}
 .elementor .afc-support.afc-home.afc-legacy{padding:8px 0 46px}
 .elementor .afc-support.afc-home.afc-legacy>.elementor-container{display:block}
 .elementor .afc-support.afc-home.afc-legacy .afc-support-heading,
 .elementor .afc-support.afc-home.afc-legacy .afc-support-card{width:100%!important}
 .elementor .afc-support.afc-home.afc-legacy .afc-support-heading .elementor-heading-title{font-size:30px}
 .elementor .afc-support.afc-home.afc-legacy .afc-support-card{
   padding:18px 8px;min-height:0;border-left:0;border-bottom:1px solid #e0e8e9;display:block;
 }
 .elementor .afc-support.afc-home.afc-legacy .afc-support-card-last{padding:22px;border:0;margin-top:10px}
}
@media(prefers-reduced-motion:reduce){
 .elementor .afc-home.afc-legacy .elementor-button{transition:none!important}
}


/* ===================================================================
   AFC V2 — anteprima header/footer di Astra (NESSUNA modifica globale)
   Attivazione preview soltanto per admin: URL pagina ?afc_preview=1
   Per andare live su tutte le pagine: abilitarlo esplicitamente in PHP
   =================================================================== */
body.afc-design-preview .site-header .ast-primary-header-bar,
body.afc-design-preview .site-header .main-header-bar,
body.afc-design-preview .site-header .ast-header-break-point{
  background:#fff; box-shadow:0 1px 0 rgba(9,47,79,.08);
}
body.afc-design-preview .site-header .main-header-menu .menu-link,
body.afc-design-preview .site-header .ast-builder-menu .menu-link {
  color:#092f4f; font-size:14px; font-weight:650; letter-spacing:0;
}
body.afc-design-preview .site-header .main-header-menu .menu-link:hover,
body.afc-design-preview .site-header .ast-builder-menu .menu-link:hover,
body.afc-design-preview .site-header .current-menu-item>.menu-link{color:#ed0065}
body.afc-design-preview .site-header .ast-header-button-1 .ast-custom-button,
body.afc-design-preview .site-header a[href*="dona-ora"].menu-link,
body.afc-design-preview .site-header a[href*="dona-ora"].ast-custom-button{
  color:#fff!important;background:#ed0065!important;
  border:1px solid #ed0065!important;border-radius:40px;
  padding:11px 22px!important;font-size:13px;font-weight:750;
}
body.afc-design-preview .site-header a[href*="dona-ora"]:hover{background:#c90053!important}
body.afc-design-preview .site-header .ast-primary-header-bar .site-title a{color:#092f4f}
body.afc-design-preview .site-footer,
body.afc-design-preview .site-footer .site-primary-footer-wrap,
body.afc-design-preview .site-footer .site-below-footer-wrap,
body.afc-design-preview footer.site-footer .ast-builder-grid-row-container{
  background:#072d4b!important;color:#fff;
}
body.afc-design-preview .site-footer .site-primary-footer-wrap{
  padding-top:48px;padding-bottom:36px;
}
body.afc-design-preview .site-footer .ast-builder-grid-row{
  max-width:1500px;margin-inline:auto;
}
body.afc-design-preview .site-footer,
body.afc-design-preview .site-footer p,
body.afc-design-preview .site-footer .widget,
body.afc-design-preview .site-footer .widget-title,
body.afc-design-preview .site-footer .ast-footer-copyright,
body.afc-design-preview .site-footer .site-footer-section {color:#f1f7f9;font-size:14px;line-height:1.6}
body.afc-design-preview .site-footer a{color:#f1f7f9;text-decoration:none}
body.afc-design-preview .site-footer a:hover{color:#48d5d4}
body.afc-design-preview .site-footer .site-below-footer-wrap{
  border-top:1px solid rgba(255,255,255,.16);
}
/* Older Astra uses #colophon for footer and .footer-adv-overlay */
body.afc-design-preview #colophon,
body.afc-design-preview .footer-adv-overlay,
body.afc-design-preview .ast-small-footer-section{background:#072d4b;color:#eaf4f7}
body.afc-design-preview #colophon a{color:#f1f7f9}
@media(max-width:767px){
 body.afc-design-preview .site-footer .site-primary-footer-wrap{padding-top:32px;padding-bottom:26px}
 body.afc-design-preview .site-footer .ast-builder-grid-row{padding-inline:16px}
}

/* =====================================================================
   AFC V3 – HEADER / FOOTER PREVIEW  (?afc_preview=1, admin only)
   La navigazione e il carrello rimangono quelli nativi di Astra/Woo.
   Non applicare le regole globalmente prima della verifica desktop/mobile.
   ===================================================================== */
body.afc-v3-preview #masthead {
  position:relative;
  z-index:20;
  background:#fff;
}
body.afc-v3-preview #masthead .ast-primary-header-bar,
body.afc-v3-preview #masthead .main-header-bar {
  min-height:82px;
  background:#fff;
  box-shadow:0 1px 0 rgba(8,42,70,.08);
}
body.afc-v3-preview #masthead .ast-desktop-header-wrap .ast-primary-header-bar .ast-container,
body.afc-v3-preview #masthead .ast-desktop-header-wrap .main-header-bar .ast-container {
  max-width:1360px;
  min-height:82px;
  margin-inline:auto;
  padding-left:230px;
  padding-right:28px;
}
body.afc-v3-preview #masthead .afc-v3-header-logo {
  position:absolute;
  left:max(24px, calc((100vw - 1304px)/2));
  top:50%;
  transform:translateY(-50%);
  z-index:30;
  max-width:170px;
  display:flex;
  align-items:center;
  pointer-events:auto;
}
body.afc-v3-preview #masthead .afc-v3-header-logo .custom-logo-link,
body.afc-v3-preview #masthead .afc-v3-header-logo .afc-v3-wordmark {
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
}
body.afc-v3-preview #masthead .afc-v3-header-logo img.custom-logo {
  display:block;
  height:auto!important;
  max-height:56px!important;
  width:auto!important;
  max-width:170px!important;
  object-fit:contain;
}
body.afc-v3-preview #masthead .ast-builder-menu .menu-link,
body.afc-v3-preview #masthead .main-header-menu .menu-link {
  font-size:13px;
  font-weight:700;
  text-transform:none;
}
body.afc-v3-preview #masthead a[href*="dona-ora"].menu-link,
body.afc-v3-preview #masthead a[href*="dona-ora"].ast-custom-button,
body.afc-v3-preview #masthead .ast-header-button-1 .ast-custom-button {
  padding:12px 23px!important;
  color:#fff!important;
  background:#f90066!important;
  border-radius:999px;
  font-weight:800;
}
body.afc-v3-preview #masthead .ast-header-woo-cart,
body.afc-v3-preview #masthead .ast-cart-menu-wrap { visibility:visible; }

/* Wordmark accessibile di ripiego se il logo non e' impostato in WordPress. */
.afc-v3-wordmark {display:inline-flex;flex-direction:column;align-items:flex-start;text-decoration:none!important;line-height:.88!important;white-space:nowrap}
.afc-v3-brand-line {font:400 24px/1.01 Arial,Helvetica,sans-serif;letter-spacing:-.04em;color:#12c8c4}
.afc-v3-brand-line em {font:400 15px/1 Arial,Helvetica,sans-serif;letter-spacing:-.02em;color:#ebba12;margin-left:3px}
.afc-v3-brand-bottom {font-size:27px;color:#ef0068}

/* Il footer Astra originale resta nel DOM ma viene nascosto solo in preview;
   il footer alternativo usa il hook Astra prima di quello originale. */
body.afc-v3-preview #colophon,
body.afc-v3-preview footer.site-footer { display:none!important; }
body.afc-v3-preview .afc-v3-footer {
  display:block;
  background:#072e4e;
  color:#f6fbfd;
  font:400 15px/1.55 'Open Sans',Arial,sans-serif;
  width:100%;
  margin:0;
}
body.afc-v3-preview .afc-v3-footer * {box-sizing:border-box}
body.afc-v3-preview .afc-v3-footer-inner {
  width:min(1304px,calc(100% - 60px));
  margin-inline:auto;
  padding:60px 0 52px;
  display:grid;
  grid-template-columns:1.35fr 1fr 1.25fr 1fr;
  gap:54px;
  align-items:start;
}
body.afc-v3-preview .afc-v3-footer-brand .afc-v3-wordmark .afc-v3-brand-line {color:#18cfce;font-size:29px}
body.afc-v3-preview .afc-v3-footer-brand .afc-v3-wordmark .afc-v3-brand-bottom {color:#fc147a;font-size:33px}
body.afc-v3-preview .afc-v3-footer-brand .afc-v3-wordmark em {color:#f6cf3e;font-size:17px}
body.afc-v3-preview .afc-v3-footer-brand .custom-logo-link img {max-width:200px;max-height:72px;width:auto;height:auto}
body.afc-v3-preview .afc-v3-footer-brand p {margin:14px 0 0;max-width:260px;color:#e6f2f6;font-size:14px;line-height:1.6}
body.afc-v3-preview .afc-v3-footer-brand p.afc-v3-footer-cf {margin-top:16px;color:#a9d5df}
body.afc-v3-preview .afc-v3-footer h2 {color:#fff;font-size:17px;font-weight:800;margin:0 0 16px;line-height:1.3}
body.afc-v3-preview .afc-v3-footer ul {list-style:none;padding:0;margin:0}
body.afc-v3-preview .afc-v3-footer li {list-style:none;margin:0 0 10px;padding:0;line-height:1.5}
body.afc-v3-preview .afc-v3-footer a {color:#e9f3f7;text-decoration:none;overflow-wrap:anywhere;transition:color .2s}
body.afc-v3-preview .afc-v3-footer a:hover,
body.afc-v3-preview .afc-v3-footer a:focus-visible {color:#55deda;text-decoration:underline}
body.afc-v3-preview .afc-v3-footer-contact li {display:flex;gap:10px;align-items:flex-start}
body.afc-v3-preview .afc-v3-footer-contact li>span:first-child {width:18px;flex:0 0 18px;color:#50d1d1;font-size:17px;line-height:1.4;text-align:center}
body.afc-v3-preview .afc-v3-footer-base {border-top:1px solid rgba(255,255,255,.18)}
body.afc-v3-preview .afc-v3-footer-base-inner {max-width:1304px;width:calc(100% - 60px);margin:auto;padding:22px 0 26px;display:flex;align-items:center;justify-content:space-between;gap:18px;color:#aecad6;font-size:12px}
@media(max-width:1024px) {
  body.afc-v3-preview #masthead .afc-v3-header-logo {left:24px;max-width:142px}
  body.afc-v3-preview #masthead .afc-v3-header-logo img.custom-logo {max-width:142px!important}
  body.afc-v3-preview #masthead .ast-desktop-header-wrap .ast-primary-header-bar .ast-container {padding-left:180px}
  body.afc-v3-preview .afc-v3-footer-inner {grid-template-columns:1.25fr 1fr;gap:34px 45px}
}
@media(max-width:767px) {
  body.afc-v3-preview #masthead .afc-v3-header-logo {left:18px;max-width:132px}
  body.afc-v3-preview #masthead .afc-v3-header-logo img.custom-logo {max-width:132px!important;max-height:44px!important}
  body.afc-v3-preview #masthead .afc-v3-brand-line {font-size:19px}
  body.afc-v3-preview #masthead .afc-v3-brand-line em {font-size:12px}
  body.afc-v3-preview #masthead .afc-v3-brand-bottom {font-size:22px}
  body.afc-v3-preview #masthead .ast-mobile-header-wrap .ast-primary-header-bar .ast-container,
  body.afc-v3-preview #masthead .ast-mobile-header-wrap .main-header-bar .ast-container {min-height:72px;padding-left:152px;padding-right:12px;max-width:100%;justify-content:flex-end}
  body.afc-v3-preview #masthead .ast-mobile-header-wrap .site-header-primary-section-left {flex:0 1 auto}
  body.afc-v3-preview #masthead .ast-mobile-header-wrap .site-header-primary-section-right {margin-left:auto}
  body.afc-v3-preview .afc-v3-footer-inner {width:calc(100% - 38px);padding:39px 0 30px;grid-template-columns:1fr 1fr;gap:31px 20px}
  body.afc-v3-preview .afc-v3-footer-brand {grid-column:1 / -1}
  body.afc-v3-preview .afc-v3-footer-contact {font-size:13px}
  body.afc-v3-preview .afc-v3-footer-base-inner {width:calc(100% - 38px);padding:18px 0 24px;display:block}
  body.afc-v3-preview .afc-v3-footer-base-inner span {display:block;margin-bottom:4px}
}
@media(max-width:420px) {
  body.afc-v3-preview .afc-v3-footer-inner {grid-template-columns:1fr}
  body.afc-v3-preview .afc-v3-footer-brand {grid-column:auto}
  body.afc-v3-preview #masthead .afc-v3-header-logo {max-width:112px}
  body.afc-v3-preview #masthead .ast-mobile-header-wrap .ast-primary-header-bar .ast-container {padding-left:124px}
}

body.afc-v3-preview .afc-v3-footer .afc-v3-document-note {font-size:12px;color:#9fbac8;font-style:italic;}


/* ===== AFC V3.1 – aggiornamento puntuale logo / fiocco / icona indirizzo ===== */
/* Aumento della priorità del marchio: alcuni layout Astra disegnano il menu sopra il hook masthead_top. */
body.afc-v3-preview #masthead .afc-v3-header-logo {
  z-index:9999;
  visibility:visible;
  opacity:1;
  overflow:visible;
}
body.afc-v3-preview #masthead .afc-v3-header-logo .afc-v3-brand-image-link {
  display:flex;
  align-items:center;
  position:relative;
  width:175px;
  max-width:100%;
  text-decoration:none;
}
body.afc-v3-preview #masthead .afc-v3-header-logo .afc-v3-official-logo {
  display:block;
  width:175px;
  height:auto;
  max-width:100%;
  max-height:67px;
  object-fit:contain;
}
body.afc-v3-preview .afc-v3-footer-brand .afc-v3-brand-image-link {
  display:inline-flex;
  width:205px;
  max-width:100%;
  align-items:center;
  text-decoration:none;
}
body.afc-v3-preview .afc-v3-footer-brand .afc-v3-official-logo {
  display:block;
  width:205px;
  max-width:100%;
  height:auto;
  max-height:86px;
  object-fit:contain;
}
/* AFC V3.3 – usa direttamente l'immagine PNG ufficiale del fiocco giallo */
.elementor .afc-mission.afc-home.afc-legacy:after {
  width: 92px;
  height: 126px;
  opacity: 1;
  background: url('https://www.aldieriforchildren.org/wp-content/uploads/2026/11/FioccoGiallo.png') center/contain no-repeat;
}
/* Nuova icona pin vettoriale per l'indirizzo nel footer. */
body.afc-v3-preview .afc-v3-footer-contact li .afc-v3-contact-pin {
  width:18px;
  flex:0 0 18px;
  height:23px;
  display:inline-flex;
  align-items:flex-start;
  justify-content:center;
  color:#50d1d1;
}
body.afc-v3-preview .afc-v3-footer-contact li .afc-v3-contact-pin svg {
  display:block;
  width:18px;
  height:20px;
}
@media (max-width:1024px) {
  body.afc-v3-preview #masthead .afc-v3-header-logo .afc-v3-brand-image-link,
  body.afc-v3-preview #masthead .afc-v3-header-logo .afc-v3-official-logo {width:146px;}
  .elementor .afc-mission.afc-home.afc-legacy:after {width:74px;height:102px;}
}
@media (max-width:767px) {
  body.afc-v3-preview #masthead .afc-v3-header-logo .afc-v3-brand-image-link,
  body.afc-v3-preview #masthead .afc-v3-header-logo .afc-v3-official-logo {width:120px;max-height:54px;}
  .elementor .afc-mission.afc-home.afc-legacy:after {width:60px;height:82px;}
}
@media (max-width:420px) {
  body.afc-v3-preview #masthead .afc-v3-header-logo .afc-v3-brand-image-link,
  body.afc-v3-preview #masthead .afc-v3-header-logo .afc-v3-official-logo {width:108px;}
}


/* ===== AFC – PAGINA PROGETTO PEDIATRIA ONCOLOGICA V1 =====
/* Stili isolati: non modificano home, shop, footer, carrello o moduli. */
.elementor .afc-project.afc-pr-legacy {font-family:"Open Sans",Arial,sans-serif;color:#15354d;box-sizing:border-box;}
.elementor .afc-project.afc-pr-legacy *{box-sizing:border-box;}
.elementor .afc-project.afc-pr-legacy>.elementor-container {max-width:1200px;width:calc(100% - 72px);margin-inline:auto;}
.elementor .afc-project.afc-pr-legacy .elementor-heading-title{font-family:"Open Sans",Arial,sans-serif;color:#092f4f;font-weight:800;line-height:1.15;margin:0;}
.elementor .afc-project.afc-pr-legacy .elementor-widget-text-editor p{margin:0 0 12px;}
.elementor .afc-project.afc-pr-legacy .elementor-widget-text-editor p:last-child{margin-bottom:0;}
.elementor .afc-project.afc-pr-legacy .elementor-widget-wrap{min-width:0;}
.elementor .afc-pr-hero.afc-pr-legacy{isolation:isolate;position:relative;background:linear-gradient(100deg,#092f4f 0%,#092f4f 46%,#15445f 100%);min-height:425px;padding:62px 0 64px;overflow:hidden;}
.elementor .afc-pr-hero.afc-pr-legacy:after{content:"";position:absolute;pointer-events:none;z-index:-1;inset:0 0 0 auto;width:55%;background:url("assets/project-hero.jpg") center 39%/cover no-repeat;-webkit-mask-image:linear-gradient(to right,transparent,black 33%);mask-image:linear-gradient(to right,transparent,black 33%);}
.elementor .afc-pr-hero.afc-pr-legacy>.elementor-container{position:relative;z-index:2;}
.elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-content{max-width:58%;width:58%;}
.elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-content>.elementor-widget-wrap{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;gap:16px;}
.elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-content .elementor-widget{width:100%;margin:0;}
.elementor .afc-pr-hero.afc-pr-legacy .afc-pr-eyebrow{letter-spacing:.28em;font-weight:800;color:#ffd557;font-size:13px;}
.elementor .afc-pr-hero.afc-pr-legacy .afc-pr-eyebrow p{color:#ffd557;}
.elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-heading .elementor-heading-title{color:#fff;font-size:clamp(31px,3.75vw,57px);line-height:1.12;letter-spacing:-.035em;}
.elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-heading strong{color:#ffd256;}
.elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-lead{font-size:18px;line-height:1.47;color:white;max-width:590px;}
.elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-lead p{color:#fff;}
.elementor .afc-pr-hero.afc-pr-legacy .afc-pr-btn{width:auto!important;flex:0 0 auto;margin-top:5px;}
.elementor .afc-project.afc-pr-legacy .afc-pr-btn .elementor-button{background:#f90066;color:#fff;border:2px solid #f90066;border-radius:999px;font-weight:800;font-size:13px;letter-spacing:.035em;padding:13px 22px;box-shadow:none;line-height:1.2;}
.elementor .afc-project.afc-pr-legacy .afc-pr-btn-outline .elementor-button{background:transparent;color:#fff;border-color:#fff;}
.elementor .afc-project.afc-pr-legacy .afc-pr-btn .elementor-button:hover{background:#d90059;border-color:#d90059;color:#fff;}
.elementor .afc-project.afc-pr-legacy .afc-pr-btn-outline .elementor-button:hover{background:rgba(255,255,255,.15);border-color:#fff;}
.elementor .afc-pr-metrics.afc-pr-legacy{background:#faf6ee;padding:30px 0 37px;border-radius:0 0 45% 3%;}
.elementor .afc-pr-metrics.afc-pr-legacy>.elementor-container{display:flex;gap:8px;}
.elementor .afc-pr-metrics.afc-pr-legacy .afc-pr-metric{padding:12px 19px;width:25%;border-left:1px solid #d9d9d5;}
.elementor .afc-pr-metrics.afc-pr-legacy .afc-pr-metric:first-child{border-left:0;}
.elementor .afc-pr-metric .afc-pr-metric-value .elementor-heading-title{font-size:clamp(19px,2.15vw,29px);color:#092f4f;}
.elementor .afc-pr-metric .afc-pr-metric-sub{font-size:12px;line-height:1.5;color:#40586a;}
.elementor .afc-pr-why.afc-pr-legacy{padding:56px 0 42px;}
.elementor .afc-pr-why.afc-pr-legacy>.elementor-container{gap:44px;align-items:center;}
.elementor .afc-pr-why.afc-pr-legacy .afc-pr-why-photo{width:46%;min-height:300px;border-radius:18px;background:url("assets/project-corridor.jpg") center center/cover no-repeat;overflow:hidden;}
.elementor .afc-pr-why.afc-pr-legacy .afc-pr-why-text{width:54%;}
.elementor .afc-project.afc-pr-legacy .afc-pr-section-title .elementor-heading-title{font-size:clamp(25px,2.65vw,37px);letter-spacing:-.035em;}
.elementor .afc-project.afc-pr-legacy .afc-pr-section-title:after{content:"";display:block;width:45px;height:3px;background:#f90066;margin:10px 0 18px;}
.elementor .afc-pr-why.afc-pr-legacy .afc-pr-why-photo .afc-pr-section-title{background:rgba(255,255,255,.94);padding:10px 18px;border-radius:0 0 16px 0;max-width:97%;}
.elementor .afc-pr-why.afc-pr-legacy .afc-pr-why-photo .afc-pr-section-title .elementor-heading-title{font-size:27px;}
.elementor .afc-pr-why.afc-pr-legacy .afc-pr-why-strong{font-size:20px;font-weight:750;color:#092f4f;line-height:1.42;}
.elementor .afc-pr-why.afc-pr-legacy .afc-pr-copy{font-size:16px;line-height:1.65;}
.elementor .afc-pr-benefits-intro-section.afc-pr-legacy{padding:36px 0 10px;}
.elementor .afc-pr-benefits-intro-section.afc-pr-legacy .afc-pr-benefits-intro{display:flex;gap:10px;}
.elementor .afc-pr-benefits-intro-section.afc-pr-legacy .afc-pr-lead{font-size:16px;line-height:1.55;max-width:1000px;}
.elementor .afc-pr-benefits-cards.afc-pr-legacy{padding:18px 0 47px;}
.elementor .afc-pr-benefits-cards.afc-pr-legacy>.elementor-container{gap:22px;}
.elementor .afc-pr-benefits-cards.afc-pr-legacy .afc-pr-benefit-card{width:33.333%;background:#f3f9f9;border-radius:17px;padding:28px 24px;min-height:188px;}
.elementor .afc-pr-benefit-card .afc-pr-benefit-heading .elementor-heading-title{font-size:18px;}
.elementor .afc-pr-benefit-card .afc-pr-benefit-desc{font-size:14px;line-height:1.6;}
.elementor .afc-pr-benefit-card .afc-pr-benefit-heading:before{content:"";display:block;width:31px;height:31px;margin-bottom:12px;border-radius:9px;background:#0dbbc1;opacity:.85;}
.elementor .afc-pr-benefit-card:nth-child(2) .afc-pr-benefit-heading:before{background:#f90066;}
.elementor .afc-pr-funding.afc-pr-legacy{padding:34px 0 22px;}
.elementor .afc-pr-funding.afc-pr-legacy>.elementor-container{gap:32px;align-items:stretch;}
.elementor .afc-pr-funding.afc-pr-legacy .afc-pr-funding-photo{width:35%;min-height:350px;border-radius:16px;background:url("assets/project-documents.jpg") center/cover no-repeat;}
.elementor .afc-pr-funding.afc-pr-legacy .afc-pr-funding-photo .afc-pr-section-title{background:white;padding:12px 18px 10px;max-width:96%;border-radius:0 0 15px 0;}
.elementor .afc-pr-funding.afc-pr-legacy .afc-pr-funding-photo .afc-pr-section-title .elementor-heading-title{font-size:26px;}
.elementor .afc-pr-funding.afc-pr-legacy .afc-pr-funding-text{width:65%;background:#f8f8f5;border-radius:16px;padding:22px 25px;}
.elementor .afc-pr-facts{display:grid;grid-template-columns:1fr 1fr;gap:0 26px;margin:0;}
.elementor .afc-pr-facts>div{padding:12px 0;border-bottom:1px solid #e1e4e6;}
.elementor .afc-pr-facts dt{font-size:13px;font-weight:800;color:#092f4f;}
.elementor .afc-pr-facts dd{font-size:13px;line-height:1.4;margin:5px 0 0;}
.elementor .afc-pr-notice.afc-pr-legacy{padding:0 0 38px;}
.elementor .afc-pr-notice.afc-pr-legacy .afc-pr-notice-content{background:#fff4d2;padding:18px 25px;border-radius:16px;}
.elementor .afc-pr-notice.afc-pr-legacy .afc-pr-notice-text{font-size:14px;line-height:1.5;}
.elementor .afc-pr-activities-head.afc-pr-legacy{padding:23px 0 12px;}
.elementor .afc-pr-activities.afc-pr-legacy{padding:12px 0 52px;}
.elementor .afc-pr-activities.afc-pr-legacy>.elementor-container{gap:10px;}
.elementor .afc-pr-activities.afc-pr-legacy .afc-pr-activity-card{width:20%;padding:20px 13px;background:#f5f7f8;text-align:center;min-height:165px;border-radius:12px;}
.elementor .afc-pr-activity-card .afc-pr-activity-name .elementor-heading-title{font-size:16px;line-height:1.2;}
.elementor .afc-pr-activity-card .afc-pr-activity-body{font-size:12px;line-height:1.45;}
.elementor .afc-pr-activity-card:before{content:"";display:block;margin:4px auto 13px;width:28px;height:28px;border:2px solid #12b5bd;border-radius:8px;}
.elementor .afc-pr-activity-card:nth-child(2):before,.elementor .afc-pr-activity-card:nth-child(4):before{border-color:#f90066;}
.elementor .afc-pr-transparency.afc-pr-legacy{background:#f3f9f9;padding:45px 0;}
.elementor .afc-pr-transparency.afc-pr-legacy>.elementor-container{gap:30px;}
.elementor .afc-pr-transparency.afc-pr-legacy .afc-pr-transparency-title{width:35%;border-right:1px solid #b7d3d5;}
.elementor .afc-pr-transparency.afc-pr-legacy .afc-pr-transparency-text{width:65%;font-size:15px;line-height:1.65;}
.elementor .afc-pr-cta.afc-pr-legacy{background:#fbf5e9;padding:45px 0;position:relative;overflow:hidden;}
.elementor .afc-pr-cta.afc-pr-legacy:after{content:"";width:31%;position:absolute;inset:0 0 0 auto;background:url("assets/hero-gift.jpg") center/cover no-repeat;-webkit-mask-image:linear-gradient(to right,transparent,black 33%);mask-image:linear-gradient(to right,transparent,black 33%);pointer-events:none;}
.elementor .afc-pr-cta.afc-pr-legacy>.elementor-container{position:relative;z-index:1;}
.elementor .afc-pr-cta.afc-pr-legacy .afc-pr-cta-left{width:40%;}
.elementor .afc-pr-cta.afc-pr-legacy .afc-pr-cta-right{width:60%;padding-right:18%;}
.elementor .afc-pr-cta.afc-pr-legacy .afc-pr-cta-heading .elementor-heading-title{font-size:clamp(27px,2.7vw,39px);}
.elementor .afc-pr-cta.afc-pr-legacy .afc-pr-cta-desc{font-size:16px;line-height:1.5;}
.elementor .afc-pr-cta.afc-pr-legacy .afc-pr-btn{display:inline-block;margin:12px 8px 0 0;width:auto;}
.elementor .afc-pr-cta.afc-pr-legacy .afc-pr-btn-outline .elementor-button{color:#092f4f;border-color:#092f4f;}
.elementor .afc-pr-cta.afc-pr-legacy .afc-pr-btn-outline .elementor-button:hover{color:#092f4f;border-color:#092f4f;background:#fff;}
.elementor .afc-project.afc-pr-legacy .afc-pr-photo-note{visibility:hidden;}
@media(max-width:1024px){
 .elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-content{width:62%;max-width:62%;}
 .elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-heading .elementor-heading-title{font-size:clamp(28px,4.4vw,45px);}
 .elementor .afc-pr-metrics.afc-pr-legacy>.elementor-container{flex-wrap:wrap;}
 .elementor .afc-pr-metrics.afc-pr-legacy .afc-pr-metric{width:calc(50% - 10px);}
 .elementor .afc-pr-benefits-cards.afc-pr-legacy>.elementor-container{gap:14px;}
 .elementor .afc-pr-benefits-cards.afc-pr-legacy .afc-pr-benefit-card{padding:22px 15px;}
 .elementor .afc-pr-activities.afc-pr-legacy>.elementor-container{flex-wrap:wrap;}
 .elementor .afc-pr-activities.afc-pr-legacy .afc-pr-activity-card{width:calc(33.333% - 10px);}
}
@media(max-width:767px){
 .elementor .afc-project.afc-pr-legacy>.elementor-container{width:calc(100% - 36px);display:block;}
 .elementor .afc-pr-hero.afc-pr-legacy{padding:43px 0 275px;min-height:670px;}
 .elementor .afc-pr-hero.afc-pr-legacy:after{inset:auto 0 0;width:100%;height:325px;background-position:center;-webkit-mask-image:linear-gradient(to bottom,transparent,black 35%);mask-image:linear-gradient(to bottom,transparent,black 35%);}
 .elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-content{width:100%;max-width:100%;}
 .elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-heading .elementor-heading-title{font-size:35px;}
 .elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-lead{font-size:16px;}
 .elementor .afc-pr-hero.afc-pr-legacy .afc-pr-btn{display:inline-block;width:100%!important;margin-top:0;}
 .elementor .afc-pr-metrics.afc-pr-legacy>.elementor-container{display:grid;grid-template-columns:1fr 1fr;gap:0;}
 .elementor .afc-pr-metrics.afc-pr-legacy .afc-pr-metric{width:100%;border:0;border-bottom:1px solid #e1e6e6;padding:17px 10px;}
 .elementor .afc-pr-metric .afc-pr-metric-value .elementor-heading-title{font-size:25px;}
 .elementor .afc-pr-why.afc-pr-legacy{padding:36px 0 20px;}
 .elementor .afc-pr-why.afc-pr-legacy .afc-pr-why-photo{width:100%;min-height:260px;margin-bottom:25px;}
 .elementor .afc-pr-why.afc-pr-legacy .afc-pr-why-text{width:100%;}
 .elementor .afc-pr-benefits-cards.afc-pr-legacy .afc-pr-benefit-card{width:100%;min-height:0;margin-bottom:13px;}
 .elementor .afc-pr-funding.afc-pr-legacy .afc-pr-funding-photo{width:100%;min-height:270px;margin-bottom:16px;}
 .elementor .afc-pr-funding.afc-pr-legacy .afc-pr-funding-text{width:100%;padding:19px;}
 .elementor .afc-pr-facts{grid-template-columns:1fr;}
 .elementor .afc-pr-activities.afc-pr-legacy>.elementor-container{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
 .elementor .afc-pr-activities.afc-pr-legacy .afc-pr-activity-card{width:100%;min-height:170px;}
 .elementor .afc-pr-transparency.afc-pr-legacy .afc-pr-transparency-title{width:100%;border:0;}
 .elementor .afc-pr-transparency.afc-pr-legacy .afc-pr-transparency-text{width:100%;}
 .elementor .afc-pr-cta.afc-pr-legacy{padding:38px 0 165px;}
 .elementor .afc-pr-cta.afc-pr-legacy:after{width:100%;inset:auto 0 0;height:155px;-webkit-mask-image:linear-gradient(to bottom,transparent,black 38%);mask-image:linear-gradient(to bottom,transparent,black 38%);}
 .elementor .afc-pr-cta.afc-pr-legacy .afc-pr-cta-left,.elementor .afc-pr-cta.afc-pr-legacy .afc-pr-cta-right{width:100%;padding:0;}
}

.elementor .afc-pr-benefit-card .afc-pr-icon-family:before{width:34px;height:34px;opacity:1;border:0;border-radius:0;background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2305b7bd%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%229%22%20r%3D%223%22%2F%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%229%22%20r%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M3%2021v-2c0-3%203-5%206-5s6%202%206%205v2M15%2015c3%200%206%201.6%206%204v2%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat !important;}

.elementor .afc-pr-benefit-card .afc-pr-icon-calendar:before{width:34px;height:34px;opacity:1;border:0;border-radius:0;background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23f90066%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2217%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M7%202v6M17%202v6M3%2011h18M8%2016l2%202%205-5%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat !important;}

.elementor .afc-pr-benefit-card .afc-pr-icon-docs:before{width:34px;height:34px;opacity:1;border:0;border-radius:0;background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2305b7bd%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%202h9l5%205v15H6zM15%202v5h5M9%2012h8M9%2016h8M9%2020h5%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat !important;}

.elementor .afc-pr-activity-card.afc-pr-activity-1:before{width:34px;height:34px;opacity:1;border:0;border-radius:0;background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2305b7bd%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2217%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M7%202v6M17%202v6M3%2011h18M8%2016h3M13%2016h3%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat !important;}

.elementor .afc-pr-activity-card.afc-pr-activity-2:before{width:34px;height:34px;opacity:1;border:0;border-radius:0;background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23f90066%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%229%22%20r%3D%223%22%2F%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%229%22%20r%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M3%2021v-2c0-3%203-5%206-5s6%202%206%205v2M15%2015c3%200%206%201.6%206%204v2%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat !important;}

.elementor .afc-pr-activity-card.afc-pr-activity-3:before{width:34px;height:34px;opacity:1;border:0;border-radius:0;background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2305b7bd%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%2022h8M12%2018v4M7%209h10M7%2013h6%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat !important;}

.elementor .afc-pr-activity-card.afc-pr-activity-4:before{width:34px;height:34px;opacity:1;border:0;border-radius:0;background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23f90066%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%226%22%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M12%202v8M8%206h8M8%2015h8M12%2011v8%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat !important;}

.elementor .afc-pr-activity-card.afc-pr-activity-5:before{width:34px;height:34px;opacity:1;border:0;border-radius:0;background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2305b7bd%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207h7l2%203h9v11H3zM3%207V4h8l2%203M6%2015h12%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat !important;}


/* AFC-PROGETTO-V4-20261112 */
.elementor .afc-pr-hero.afc-pr-legacy{
  background: linear-gradient(90deg,#0a3453 0%,#0a3453 54%,#0d3c5b 100%) !important;
  min-height: 470px !important;
  padding: 72px 0 74px !important;
}
.elementor .afc-pr-hero.afc-pr-legacy:after{
  width: 51% !important;
  background: url("assets/project-hero.jpg") center center/cover no-repeat !important;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.92) 18%, #000 100%) !important;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.92) 18%, #000 100%) !important;
}
.elementor .afc-pr-hero.afc-pr-legacy > .elementor-container{
  max-width: 1210px !important;
  width: calc(100% - 64px) !important;
  margin: 0 auto !important;
}
.elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-content{
  width: 48% !important;
  max-width: 48% !important;
  position: relative !important;
  z-index: 3 !important;
}
.elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-content > .elementor-widget-wrap{
  gap: 14px !important;
}
.elementor .afc-pr-hero.afc-pr-legacy .afc-pr-eyebrow,
.elementor .afc-pr-hero.afc-pr-legacy .afc-pr-eyebrow p{
  font-size: 13px !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}
.elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-heading,
.elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-heading .elementor-widget-container{
  width: 100% !important;
  max-width: 620px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-heading h1,
.elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-heading .elementor-heading-title{
  font-size: clamp(36px,4.1vw,60px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.045em !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  margin: 0 !important;
  max-width: 620px !important;
  position: static !important;
  transform: none !important;
  text-wrap: balance;
}
.elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-heading strong{
  color: #ffd351 !important;
  -webkit-text-fill-color: #ffd351 !important;
}
.elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-lead,
.elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-lead p{
  font-size: 19px !important;
  line-height: 1.5 !important;
  max-width: 560px !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.elementor .afc-pr-hero.afc-pr-legacy .afc-pr-btn{ margin-top: 8px !important; }
.elementor .afc-pr-hero.afc-pr-legacy .afc-pr-btn .elementor-button{ padding: 14px 24px !important; }

/* immagini progetto più definite */
.elementor .afc-pr-why.afc-pr-v3-section .afc-pr-why-photo{
  background-image: url("assets/project-corridor.jpg") !important;
  background-size: cover !important;
  background-position: center center !important;
}
.elementor .afc-pr-funding.afc-pr-legacy .afc-pr-funding-photo{
  background-image: url("assets/project-documents.jpg") !important;
  background-size: cover !important;
  background-position: center center !important;
}
.elementor .afc-pr-cta.afc-pr-legacy:after{
  background-image: url("assets/hero-gift.jpg") !important;
}

/* icona attività 4: niente effetto croce rovesciata */
.elementor .afc-pr-activities.afc-pr-legacy .afc-pr-activity-card.afc-pr-activity-4:before{
  display: none !important;
}
.elementor .afc-pr-activities.afc-pr-legacy .afc-pr-activity-card.afc-pr-activity-4 .afc-pr-activity-name:before{
  content: "" !important;
  display: block !important;
  width: 34px !important;
  height: 34px !important;
  margin: 0 auto 12px !important;
  background: url("assets/icon-ricoveri.svg") center/contain no-repeat !important;
}

@media (max-width: 1180px){
  .elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-content{
    width: 53% !important;
    max-width: 53% !important;
  }
  .elementor .afc-pr-hero.afc-pr-legacy:after{ width: 48% !important; }
}
@media (max-width: 1024px){
  .elementor .afc-pr-hero.afc-pr-legacy{
    min-height: 420px !important;
    padding: 58px 0 60px !important;
  }
  .elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-content{
    width: 58% !important;
    max-width: 58% !important;
  }
  .elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-heading h1,
  .elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-heading .elementor-heading-title{
    font-size: clamp(32px,4.8vw,48px) !important;
  }
  .elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-lead,
  .elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-lead p{ font-size: 17px !important; }
}
@media (max-width: 767px){
  .elementor .afc-pr-hero.afc-pr-legacy{
    min-height: 700px !important;
    padding: 42px 0 292px !important;
  }
  .elementor .afc-pr-hero.afc-pr-legacy:after{
    width: 100% !important;
    height: 330px !important;
    inset: auto 0 0 0 !important;
    background-position: center top !important;
    -webkit-mask-image: linear-gradient(to bottom, transparent 2%, rgba(0,0,0,.35) 22%, #000 100%) !important;
    mask-image: linear-gradient(to bottom, transparent 2%, rgba(0,0,0,.35) 22%, #000 100%) !important;
  }
  .elementor .afc-pr-hero.afc-pr-legacy > .elementor-container{
    width: calc(100% - 36px) !important;
  }
  .elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-content{
    width: 100% !important;
    max-width: 100% !important;
  }
  .elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-heading h1,
  .elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-heading .elementor-heading-title{
    font-size: clamp(31px,8.2vw,42px) !important;
    max-width: 100% !important;
  }
  .elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-lead,
  .elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-lead p{
    max-width: 100% !important;
    font-size: 16px !important;
  }
}
/* =======================================================================
   ALDIERI FOR CHILDREN – CORREZIONE H1 BANNER PROGETTO (12-11-2026)
   Ambito ESCLUSIVO: hero della pagina progetto Pediatria Oncologica.
   Non modifica il titolo H1 della HOME né i titoli blu di altre sezioni.
   ======================================================================= */
body .elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-heading h1,
body .elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-heading .elementor-heading-title,
body .afc-pr-hero.afc-pr-legacy .afc-pr-hero-heading h1.elementor-heading-title {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* La seconda riga, evidenziata in <strong>, resta giallo oro. */
body .elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-heading h1 strong,
body .elementor .afc-pr-hero.afc-pr-legacy .afc-pr-hero-heading .elementor-heading-title strong,
body .afc-pr-hero.afc-pr-legacy .afc-pr-hero-heading h1.elementor-heading-title strong {
    color: #FFD351 !important;
    -webkit-text-fill-color: #FFD351 !important;
}
/* H1 banner progetto: bianco, con seconda riga gialla */
body .elementor-6441 h1.elementor-heading-title {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

body .elementor-6441 h1.elementor-heading-title strong {
    color: #ffd351 !important;
    -webkit-text-fill-color: #ffd351 !important;
}
/* Fix mobile sezione "Attività sostenute" */
@media (max-width: 767px) {
  .elementor .afc-pr-activities-head.afc-pr-legacy {
    padding: 28px 0 10px;
  }

  .elementor .afc-pr-activities.afc-pr-legacy {
    padding: 10px 0 40px;
  }

  .elementor .afc-pr-activities.afc-pr-legacy > .elementor-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .elementor .afc-pr-activities.afc-pr-legacy .afc-pr-activity-card {
    width: 100% !important;
    min-height: auto !important;
    padding: 18px 16px !important;
    border-radius: 12px;
  }

  .elementor .afc-pr-activity-card .afc-pr-activity-name .elementor-heading-title {
    font-size: 22px !important;
    line-height: 1.15 !important;
  }

  .elementor .afc-pr-activity-card .afc-pr-activity-body {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .elementor .afc-pr-activity-card:before,
  .elementor .afc-pr-activities.afc-pr-legacy .afc-pr-activity-card.afc-pr-activity-4 .afc-pr-activity-name:before {
    margin-bottom: 10px !important;
  }
}/* Aldieri for Children – Cosa facciamo 2026.
   Classi .afc-cf isolate: non cambiano Home, Shop, Progetto, header o footer. */
.elementor .afc-cf {
  --afc-cf-navy:#092f4f;
  --afc-cf-pink:#f90066;
  --afc-cf-teal:#0aaeb9;
  --afc-cf-cream:#fbf7f1;
  --afc-cf-mist:#edf7f8;
  color:#233c4d;
  font:400 16px/1.6 'Open Sans',Arial,sans-serif;
  box-sizing:border-box;
}
.elementor .afc-cf *, .elementor .afc-cf *::before, .elementor .afc-cf *::after { box-sizing:border-box; }
.elementor .afc-cf > .elementor-container {
  width:calc(100% - 64px)!important;
  max-width:1210px!important;
  margin:0 auto!important;
}
.elementor .afc-cf .elementor-column,.elementor .afc-cf .elementor-widget {min-width:0;}
.elementor .afc-cf .elementor-widget-wrap {align-content:center;}
.elementor .afc-cf .elementor-widget-heading .elementor-heading-title {
  font-family:'Open Sans',Arial,sans-serif;
  font-weight:800;
  color:var(--afc-cf-navy);
  line-height:1.15;
  letter-spacing:-.035em;
  margin:0;
}
.elementor .afc-cf .elementor-widget-text-editor p {margin:0 0 10px;line-height:1.6;}
.elementor .afc-cf .elementor-widget-text-editor p:last-child{margin-bottom:0;}
.elementor .afc-cf .elementor-widget:not(:last-child){margin-bottom:13px;}
.elementor .afc-cf .elementor-heading-title strong{color:var(--afc-cf-pink);font-weight:inherit;}
.elementor .afc-cf .afc-cf-kicker,
.elementor .afc-cf .afc-cf-kicker p {font-size:12px;letter-spacing:.2em;font-weight:800;color:var(--afc-cf-teal);text-transform:uppercase;}
.elementor .afc-cf .afc-cf-title .elementor-heading-title {font-size:clamp(28px,3.1vw,45px);}
.elementor .afc-cf .afc-cf-block-title .elementor-heading-title {font-size:clamp(26px,2.65vw,39px);}
.elementor .afc-cf .afc-cf-text {font-size:clamp(14px,1.15vw,17px);color:#344c5c;max-width:670px;}
.elementor .afc-cf .afc-cf-button, .elementor .afc-cf .afc-cf-link, .elementor .afc-cf .afc-cf-outline{width:auto!important;display:inline-block;}
.elementor .afc-cf .afc-cf-button .elementor-button,
.elementor .afc-cf .afc-cf-help-card .elementor-button{
  background:var(--afc-cf-pink)!important;color:#fff!important;
  border:1.5px solid var(--afc-cf-pink)!important;border-radius:100px!important;
  padding:14px 26px!important;font:800 12px/1.2 'Open Sans',Arial,sans-serif!important;
  letter-spacing:.04em;text-decoration:none!important;box-shadow:none!important;
}
.elementor .afc-cf .afc-cf-link .elementor-button{
  background:transparent!important;border:0!important;color:var(--afc-cf-pink)!important;
  padding:7px 0!important;font:800 13px/1.3 'Open Sans',Arial,sans-serif!important;
}
.elementor .afc-cf .afc-cf-outline .elementor-button{
  border:1.5px solid var(--afc-cf-navy)!important;
  border-radius:100px!important;background:transparent!important;
  color:var(--afc-cf-navy)!important;padding:12px 24px!important;
  font:800 12px/1.2 'Open Sans',Arial,sans-serif!important;
}
.elementor .afc-cf .elementor-button:focus-visible{outline:3px solid var(--afc-cf-teal);outline-offset:3px;}

/* HERO — nuova fotografia indipendente, nessuna scritta incorporata nell'immagine. */
.elementor .afc-cf-hero.afc-cf {
  position:relative;isolation:isolate;overflow:hidden;
  min-height:520px;padding:92px 0;
  background:linear-gradient(108deg,#062b49 0%,#062b49 52%,#1b526b 100%);
}
.elementor .afc-cf-hero.afc-cf::after {
  content:'';position:absolute;z-index:-1;pointer-events:none;
  right:0;top:0;bottom:0;width:59%;
  background:url('assets/cosa-facciamo-hero.jpg') center 42%/cover no-repeat;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 30%);
  mask-image:linear-gradient(to right,transparent 0%,#000 30%);
}
.elementor .afc-cf-hero.afc-cf >.elementor-container{position:relative;z-index:2;}
.elementor .afc-cf-hero.afc-cf .afc-cf-hero-content{
  width:55%!important;max-width:620px!important;
}
.elementor .afc-cf-hero.afc-cf .afc-cf-hero-content>.elementor-widget-wrap{max-width:620px;}
.elementor .afc-cf-hero.afc-cf .afc-cf-hero-kicker,
.elementor .afc-cf-hero.afc-cf .afc-cf-hero-kicker p{color:#ffdc6a;font-size:12px;letter-spacing:.2em;font-weight:800;}
.elementor .afc-cf-hero.afc-cf .afc-cf-hero-title .elementor-heading-title{
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  font-size:clamp(48px,5.2vw,76px)!important;line-height:1.04;
}
.elementor .afc-cf-hero.afc-cf .afc-cf-hero-title .elementor-heading-title strong{
  color:#ffde79!important;-webkit-text-fill-color:#ffde79!important;
}
.elementor .afc-cf-hero.afc-cf .afc-cf-hero-lead,
.elementor .afc-cf-hero.afc-cf .afc-cf-hero-lead p{color:#fff;font-size:clamp(20px,1.9vw,28px);font-weight:750;line-height:1.32;max-width:540px;}
.elementor .afc-cf-hero.afc-cf .afc-cf-hero-desc,
.elementor .afc-cf-hero.afc-cf .afc-cf-hero-desc p{color:#e6f3f6;font-size:16px;max-width:515px;}
.elementor .afc-cf-hero.afc-cf .afc-cf-button{margin-top:12px;}

/* Intro, no unverified quantitative counters. */
.elementor .afc-cf-intro.afc-cf {padding:75px 0 40px;background:#fff;}
.elementor .afc-cf-intro.afc-cf>.elementor-container{display:flex;align-items:center;gap:52px;}
.elementor .afc-cf-intro .afc-cf-intro-copy{width:60%!important;}
.elementor .afc-cf-intro .afc-cf-intro-highlights{
  width:40%!important;min-height:270px;
  padding:30px 35px;background:#f4f9f9;border-radius:24px;
  border-left:4px solid var(--afc-cf-teal);
}
.elementor .afc-cf-intro .afc-cf-mini-title .elementor-heading-title{font-size:23px;color:var(--afc-cf-navy);}
.elementor .afc-cf-intro .afc-cf-intro-highlights .elementor-widget-text-editor{font-size:14px;}

/* Alternate content blocks, keeping original WordPress images. */
.elementor .afc-cf-block.afc-cf {padding:36px 0;background:#fff;}
.elementor .afc-cf-block.afc-cf>.elementor-container{display:flex;align-items:center;gap:52px;}
.elementor .afc-cf-block .afc-cf-media{width:49%!important;}
.elementor .afc-cf-block .afc-cf-copy{width:51%!important;}
.elementor .afc-cf-block .afc-cf-photo{margin:0!important;}
.elementor .afc-cf-block .afc-cf-photo img{
  width:100%!important;height:340px!important;object-fit:cover!important;object-position:center!important;
  display:block;border-radius:19px;box-shadow:0 12px 38px rgba(9,47,79,.09);
}
.elementor .afc-cf-block .afc-cf-copy>.elementor-widget-wrap{padding:15px 0;}
.elementor .afc-cf-block .afc-cf-copy .afc-cf-kicker{margin-bottom:6px;}
.elementor .afc-cf-block .afc-cf-copy .afc-cf-text{line-height:1.7;}
.elementor .afc-cf-block .afc-cf-copy .afc-cf-link{margin-top:11px;}
.elementor .afc-cf-block .afc-cf-accordion{border-bottom:1px solid #e4e9ec;margin:3px 0 8px!important;}
.elementor .afc-cf-block .afc-cf-accordion .elementor-tab-title{color:var(--afc-cf-navy);padding:12px 0;font-weight:750;font-size:14px;}
.elementor .afc-cf-block .afc-cf-accordion .elementor-tab-content{padding:8px 3px 15px;font-size:14px;line-height:1.6;}

/* Testimonial drawn from original page, without inventing new quotations. */
.elementor .afc-cf-quote.afc-cf{padding:42px 0;background:#f1f8f8;margin:32px 0;}
.elementor .afc-cf-quote .afc-cf-quote-text{padding:8px 42px;border-left:3px solid var(--afc-cf-teal);}
.elementor .afc-cf-quote .afc-cf-quote-title .elementor-heading-title{font-size:clamp(23px,2.3vw,33px);}
.elementor .afc-cf-quote .afc-cf-quote-body{font-size:17px;max-width:900px;}
.elementor .afc-cf-quote .afc-cf-quote-credit{font-size:12px;color:#53707c;}

/* Evergreen CTA, no seasonal imagery. */
.elementor .afc-cf-project-callout.afc-cf{
  padding:60px 0;
  background:linear-gradient(120deg,#f0f8f8 0%,#f8fbfa 56%,#fdf7f8 100%);
}
.elementor .afc-cf-project-callout .afc-cf-project-callout-copy{max-width:860px;margin:auto;text-align:center;}
.elementor .afc-cf-project-callout .afc-cf-project-callout-copy>.elementor-widget-wrap{justify-content:center;}
.elementor .afc-cf-project-callout .afc-cf-title .elementor-heading-title{font-size:clamp(29px,3.3vw,46px);}
.elementor .afc-cf-project-callout .afc-cf-text{margin-inline:auto;}
.elementor .afc-cf-project-callout .afc-cf-button{margin-top:16px;}

/* How to help */
.elementor .afc-cf-help-intro.afc-cf{padding:55px 0 15px;text-align:center;}
.elementor .afc-cf-help-intro .afc-cf-help-heading>.elementor-widget-wrap{justify-content:center;}
.elementor .afc-cf-help-intro .afc-cf-text{margin-inline:auto;}
.elementor .afc-cf-help-grid.afc-cf{padding:12px 0 75px;background:#fff;}
.elementor .afc-cf-help-grid.afc-cf>.elementor-container{display:flex;align-items:stretch;gap:20px;}
.elementor .afc-cf-help-grid .afc-cf-help-card{
  width:calc((100% - 40px)/3)!important;min-height:215px;
  padding:28px 26px;background:#fdf2f6;border-radius:18px;
}
.elementor .afc-cf-help-grid .afc-cf-help-card:nth-child(2){background:#ecf9f9;}
.elementor .afc-cf-help-grid .afc-cf-help-card:nth-child(3){background:#f8f9fa;}
.elementor .afc-cf-help-grid .afc-cf-help-card .afc-cf-help-card-heading .elementor-heading-title{font-size:23px;}
.elementor .afc-cf-help-grid .afc-cf-help-card .elementor-widget-text-editor{font-size:14px;min-height:52px;}
.elementor .afc-cf-help-grid .afc-cf-help-card .afc-cf-button{margin-top:13px;}

@media(max-width:1024px){
  .elementor .afc-cf-hero.afc-cf{min-height:460px;padding:80px 0;}
  .elementor .afc-cf-hero.afc-cf .afc-cf-hero-content{width:59%!important;}
  .elementor .afc-cf-hero.afc-cf::after{width:56%;}
  .elementor .afc-cf-block.afc-cf>.elementor-container{gap:28px;}
  .elementor .afc-cf-intro.afc-cf>.elementor-container{gap:27px;}
  .elementor .afc-cf-block .afc-cf-photo img{height:290px!important;}
  .elementor .afc-cf-help-grid.afc-cf>.elementor-container{gap:12px;}
  .elementor .afc-cf-help-grid .afc-cf-help-card{padding:22px 16px;width:calc((100% - 24px)/3)!important;}
}
@media(max-width:767px){
  .elementor .afc-cf > .elementor-container{width:calc(100% - 38px)!important;max-width:560px!important;}
  .elementor .afc-cf-hero.afc-cf{min-height:700px;padding:48px 0 320px;}
  .elementor .afc-cf-hero.afc-cf::after{
    right:0;left:0;top:auto;bottom:0;width:100%;height:355px;
    background-position:center 25%;
    -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 35%);
    mask-image:linear-gradient(to bottom,transparent 0%,#000 35%);
  }
  .elementor .afc-cf-hero.afc-cf .afc-cf-hero-content{width:100%!important;max-width:100%!important;}
  .elementor .afc-cf-hero.afc-cf .afc-cf-hero-title .elementor-heading-title{font-size:clamp(39px,10vw,58px)!important;}
  .elementor .afc-cf-hero.afc-cf .afc-cf-hero-lead,
  .elementor .afc-cf-hero.afc-cf .afc-cf-hero-lead p{font-size:20px;}
  .elementor .afc-cf-intro.afc-cf{padding:43px 0 22px;}
  .elementor .afc-cf-intro.afc-cf>.elementor-container{flex-direction:column;gap:20px;}
  .elementor .afc-cf-intro .afc-cf-intro-copy,
  .elementor .afc-cf-intro .afc-cf-intro-highlights{width:100%!important;}
  .elementor .afc-cf-intro .afc-cf-intro-highlights{min-height:0;padding:23px 24px;}
  .elementor .afc-cf-block.afc-cf{padding:25px 0;}
  .elementor .afc-cf-block.afc-cf>.elementor-container{flex-direction:column;gap:17px;}
  .elementor .afc-cf-photo-right.afc-cf>.elementor-container{flex-direction:column-reverse;}
  .elementor .afc-cf-block .afc-cf-media,
  .elementor .afc-cf-block .afc-cf-copy{width:100%!important;}
  .elementor .afc-cf-block .afc-cf-photo img{height:255px!important;border-radius:16px;}
  .elementor .afc-cf-block .afc-cf-copy>.elementor-widget-wrap{padding:0;}
  .elementor .afc-cf .afc-cf-block-title .elementor-heading-title{font-size:29px;}
  .elementor .afc-cf-quote.afc-cf{margin:18px 0;padding:32px 0;}
  .elementor .afc-cf-quote .afc-cf-quote-text{padding:2px 0 2px 18px;}
  .elementor .afc-cf-quote .afc-cf-quote-body{font-size:15px;}
  .elementor .afc-cf-project-callout.afc-cf{padding:42px 0;}
  .elementor .afc-cf-help-intro.afc-cf{padding:42px 0 8px;}
  .elementor .afc-cf-help-grid.afc-cf{padding-bottom:40px;}
  .elementor .afc-cf-help-grid.afc-cf>.elementor-container{flex-direction:column;gap:12px;}
  .elementor .afc-cf-help-grid .afc-cf-help-card{width:100%!important;min-height:0;padding:24px;}
  .elementor .afc-cf-help-grid .afc-cf-help-card .elementor-widget-text-editor{min-height:0;}
}
