.galf-root{--galf-ink:#172f30;--galf-teal:#146364;--galf-lime:#7c9b40;--galf-line:#e4e4d6;--galf-paper:#fbf9f2;font-family:inherit;color:var(--galf-ink);width:100%;box-sizing:border-box}.galf-root *{box-sizing:border-box}.galf-root a{text-decoration:none}.galf-root h1,.galf-root h2,.galf-root h3{color:var(--galf-ink);line-height:1.2;padding:0;margin:0}.galf-list{display:grid;gap:17px}.galf-list-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.galf-card{background:#fff;border:1px solid var(--galf-line);border-radius:19px;padding:26px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) auto;gap:24px;align-items:center;box-shadow:0 8px 28px rgba(20,47,39,.035)}.galf-card-compact{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:0;overflow:hidden}.galf-photo{display:block;aspect-ratio:16/8;overflow:hidden}.galf-photo img{width:100%;height:100%;object-fit:cover}.galf-card-compact .galf-card-main,.galf-card-compact .galf-card-facts,.galf-card-compact .galf-card-action{padding:0 22px}.galf-card-compact .galf-card-action{padding-bottom:22px;margin-top:auto}.galf-card h3{font-size:clamp(21px,2vw,26px);font-weight:750;margin:12px 0}.galf-card h3 a{color:inherit}.galf-card h3 a:hover{color:var(--galf-teal)}.galf-badges,.galf-terms{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.galf-badge,.galf-azione-pill{font-size:11px;font-weight:750;letter-spacing:.025em;display:inline-flex;align-items:center;border-radius:30px;padding:6px 10px}.galf-badge{background:#e9f3e8;color:#17663b}.galf-s-programmato{background:#eef3d9;color:#577226}.galf-s-preavviso,.galf-s-pubblicato_non_aperto{background:#fff3d2;color:#8c620e}.galf-s-in_scadenza{background:#fff0d3;color:#a3630a}.galf-s-chiuso{background:#ebeeed;color:#5d6865}.galf-s-prorogato{background:#e6f1fb;color:#246592}.galf-s-graduatoria{background:#e8e1f5;color:#5b4385}.galf-terms{margin-top:12px}.galf-azione-pill{background:#f1f5ee;color:#397044;font-size:10px;letter-spacing:0}.galf-azione-pill span{font-weight:500;margin-left:5px}.galf-a1{--galf-accent:#1aa96b}.galf-a2{--galf-accent:#36a5ca}.galf-a3{--galf-accent:#e5a920}.galf-a4{--galf-accent:#d98b49}.galf-a5{--galf-accent:#84a43b}.galf-description{line-height:1.55;color:#63716c;margin:0;font-size:14px}.galf-card-facts{display:grid;gap:14px}.galf-fact{display:grid;gap:4px}.galf-fact small,.galf-panel-row small{font-size:10px;letter-spacing:.09em;text-transform:uppercase;color:#7a8580;font-weight:800}.galf-fact strong{font-size:16px}.galf-benef span{color:#54635d;font-size:13px;line-height:1.5}.galf-go{display:inline-flex;gap:10px;align-items:center;white-space:nowrap;color:#fff!important;background:var(--galf-ink);padding:13px 18px;border-radius:30px;font-size:12px;font-weight:750}.galf-go:hover,.galf-official:hover{background:var(--galf-teal)}.galf-count{background:#f1f7f3;color:#256c45;padding:10px 12px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px}.galf-count-title{font-size:11px}.galf-empty{border:1px dashed var(--galf-line);padding:35px;text-align:center;border-radius:15px}.galf-action-heading{margin-bottom:32px}.galf-action-heading>span,.galf-eyebrow{font-size:11px;letter-spacing:.16em;font-weight:800;color:var(--galf-teal)}.galf-action-heading h2{font-weight:850;font-size:clamp(32px,4.5vw,55px);margin:10px 0}.galf-action-heading p{font-size:16px;color:#65736a}.galf-action-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.galf-action-tile{border:1px solid var(--galf-line);border-radius:19px;background:white;overflow:hidden}.galf-action-art{min-height:123px;display:flex;align-items:center;justify-content:space-between;padding:19px;background:color-mix(in srgb,var(--galf-accent) 18%,white);border-top:6px solid var(--galf-accent)}.galf-action-index{font-size:46px;font-weight:900;letter-spacing:-.06em;color:var(--galf-accent)}.galf-action-symbol{color:var(--galf-accent);font-size:44px}.galf-action-content{padding:20px;display:flex;flex-direction:column;gap:14px;min-height:210px}.galf-action-content small{font-size:11px;color:var(--galf-accent);font-weight:800}.galf-action-content h3{font-size:18px}.galf-action-content a{margin-top:auto;color:var(--galf-teal);font-weight:750;font-size:12px}.galf-detail header{padding:22px 0 34px}.galf-detail h1{font-size:clamp(34px,5vw,64px);max-width:900px;margin:14px 0}.galf-intro{color:#66716b;font-size:19px;line-height:1.5;max-width:800px}.galf-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,360px);gap:48px;align-items:start}.galf-detail-body{line-height:1.7}.galf-detail-aside{display:grid;gap:20px}.galf-fact-panel,.galf-docs{background:#fff;border:1px solid var(--galf-line);border-radius:19px;padding:25px}.galf-fact-panel h2{font-size:21px;margin-bottom:20px}.galf-panel-row{border-top:1px solid var(--galf-line);padding:13px 0;display:grid;gap:6px}.galf-panel-row strong{font-size:15px;line-height:1.4;font-weight:700}.galf-official{display:block;text-align:center;color:white!important;background:var(--galf-ink);border-radius:10px;padding:13px;margin-top:16px;font-weight:700}.galf-docs h3{font-size:20px;margin-bottom:16px}.galf-docs ul{list-style:none!important;padding:0!important;margin:0!important}.galf-docs li{margin:0!important;border-top:1px solid var(--galf-line)}.galf-docs li a{display:flex;align-items:center;gap:10px;padding:11px 0;color:var(--galf-ink);font-size:12px}.galf-docs li a span:nth-child(2){flex:1}.galf-doc-ext{font-size:9px;font-weight:800;color:#34754c;border:1px solid #d2e5ce;padding:4px}.galf-disclaimer{font-size:12px;line-height:1.6;color:#6b7871}.galf-auto-detail{margin:15px 0 30px}.galf-auto-detail .galf-detail-grid{margin-top:20px}.galf-auto-detail .galf-detail-body{min-height:0}
@media(max-width:1100px){.galf-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.galf-card{grid-template-columns:1fr 1fr}.galf-card-action{grid-column:1/-1}.galf-list-compact .galf-card{display:flex}}@media(max-width:760px){.galf-card{display:flex;flex-direction:column;align-items:stretch;padding:20px}.galf-list-compact{grid-template-columns:1fr}.galf-card-compact{padding:0}.galf-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.galf-detail-grid{grid-template-columns:1fr;gap:23px}.galf-action-content{min-height:180px}.galf-action-index{font-size:38px}}@media(max-width:420px){.galf-action-grid{grid-template-columns:1fr}}

/* v1.1: homepage compact grid and single post columns */
.galf-list-compact{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.galf-single-v11 .galf-single-flags{margin:0 0 25px}
.galf-single-v11 .galf-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,360px);gap:40px;align-items:start}
.galf-single-v11 .galf-original-content{min-width:0;overflow-wrap:anywhere;line-height:1.72}
.galf-single-v11 .galf-original-content>*:first-child{margin-top:0}
.galf-single-v11 .galf-detail-aside{min-width:0;align-self:start}
.galf-single-v11 .galf-detail-aside .galf-fact-panel,.galf-single-v11 .galf-detail-aside .galf-docs{width:100%}
@media(max-width:1100px){.galf-list-compact{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.galf-list-compact{grid-template-columns:1fr}.galf-single-v11 .galf-detail-grid{grid-template-columns:minmax(0,1fr);gap:28px}}

/* v1.2 – homepage compact: one consistent card, three equal columns */
.galf-root .galf-list-compact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.galf-root .galf-card-compact.galf-compact-v12{display:flex;flex-direction:column;align-items:stretch;min-width:0;gap:0;padding:24px;border-radius:19px;background:#fff;border:1px solid #e4e1d4;box-shadow:none;overflow:hidden;height:100%}
.galf-root .galf-compact-v12 .galf-card-main,.galf-root .galf-compact-v12 .galf-card-facts,.galf-root .galf-compact-v12 .galf-card-bottom{padding:0}
.galf-root .galf-compact-v12 .galf-badges{gap:6px;min-height:24px}
.galf-root .galf-compact-v12 .galf-badge{padding:5px 9px;font-size:10px;letter-spacing:.03em}
.galf-root .galf-compact-v12 .galf-compact-action{font-weight:750;letter-spacing:.06em;text-transform:uppercase;font-size:10px;line-height:1.4;color:#3c7147;margin:16px 0 8px}
.galf-root .galf-compact-v12 .galf-compact-action span{font-weight:550;color:#879087}
.galf-root .galf-compact-v12 h3{font-size:clamp(20px,1.7vw,25px);font-weight:800;line-height:1.22;letter-spacing:-.025em;margin:4px 0 10px}
.galf-root .galf-compact-v12 .galf-description{font-size:13px;line-height:1.5;margin:0 0 15px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#66716b}
.galf-root .galf-compact-v12 .galf-card-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border-top:1px solid #e9e8de;padding-top:16px;margin-top:auto}
.galf-root .galf-compact-v12 .galf-fact{min-width:0;gap:5px}
.galf-root .galf-compact-v12 .galf-fact small{font-size:9px;letter-spacing:.1em;color:#78827c}
.galf-root .galf-compact-v12 .galf-fact strong{font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.galf-root .galf-compact-v12 .galf-card-bottom{display:flex;flex-direction:column;gap:12px;padding-top:16px}
.galf-root .galf-compact-v12 .galf-count{border-radius:8px;padding:8px 10px;font-size:12px;background:#f1f6f1}
.galf-root .galf-compact-v12 .galf-compact-link{display:inline-flex;justify-content:space-between;align-items:center;gap:10px;color:#153332!important;font-weight:800;font-size:12px;border-top:1px solid #e9e8de;padding-top:13px}
.galf-root .galf-compact-v12 .galf-compact-link span{font-size:17px}
@media(max-width:1100px){.galf-root .galf-list-compact{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.galf-root .galf-list-compact{grid-template-columns:1fr}.galf-root .galf-card-compact.galf-compact-v12{padding:20px}}

/* v1.3 – compact card: deadline and call-to-action share one bottom row */
.galf-root .galf-card-compact.galf-compact-v12{padding:19px 20px 0;gap:0}
.galf-root .galf-compact-v12 .galf-compact-action{margin:10px 0 5px;font-size:9px}
.galf-root .galf-compact-v12 h3{font-size:clamp(19px,1.6vw,23px);margin:2px 0 8px;line-height:1.2}
.galf-root .galf-compact-v12 .galf-description{font-size:12px;margin:0 0 8px}
.galf-root .galf-compact-v12 .galf-badge{padding:4px 8px;font-size:9px}
.galf-root .galf-compact-v12 .galf-compact-amount{display:flex;align-items:baseline;gap:9px;margin-top:auto;padding:11px 0 13px}
.galf-root .galf-compact-v12 .galf-compact-amount small,.galf-root .galf-compact-v12 .galf-compact-deadline>small{display:block;text-transform:uppercase;letter-spacing:.09em;color:#7a8580;font-size:9px;font-weight:800}
.galf-root .galf-compact-v12 .galf-compact-amount strong{font-size:17px;line-height:1.3}
.galf-root .galf-compact-v12 .galf-card-bottom{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;margin:0 -20px;padding:12px 20px;border-top:1px solid #e9e8de;background:#fcfcfa}
.galf-root .galf-compact-v12 .galf-compact-deadline{min-width:0;display:flex;flex-direction:column;gap:3px}
.galf-root .galf-compact-v12 .galf-compact-deadline>strong{font-size:12px;line-height:1.25;white-space:nowrap;color:#173c36}
.galf-root .galf-compact-v12 .galf-compact-deadline .galf-count{display:flex;padding:0;background:none;border:0;gap:5px;font-size:10px;justify-content:flex-start;color:#39724d}
.galf-root .galf-compact-v12 .galf-compact-deadline .galf-count-title{font-size:10px}
.galf-root .galf-compact-v12 .galf-compact-link{border:0;padding:0;display:inline-flex;align-items:center;gap:8px;justify-content:flex-end;white-space:nowrap;font-size:11px;flex-shrink:0}
.galf-root .galf-compact-v12 .galf-compact-link span{font-size:18px}
@media(max-width:680px){.galf-root .galf-card-compact.galf-compact-v12{padding:18px 18px 0}.galf-root .galf-compact-v12 .galf-card-bottom{margin:0 -18px;padding:12px 18px}}


/* v1.4 — Palette istituzionale per Azioni PAL 2023–2027.
   Il colore identifica l'Azione, mai lo stato del bando. */
.galf-root .galf-a1{--galf-accent:#21865A;--galf-accent-soft:#E6F3E9}
.galf-root .galf-a2{--galf-accent:#277FAA;--galf-accent-soft:#E5F3F9}
.galf-root .galf-a3{--galf-accent:#BB711D;--galf-accent-soft:#FCEDD9}
.galf-root .galf-a4{--galf-accent:#8A5AAC;--galf-accent-soft:#F2EAF8}
.galf-root .galf-a5{--galf-accent:#657F2E;--galf-accent-soft:#EEF3DF}
.galf-root .galf-terms{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:10px 0 14px}
.galf-root .galf-azione-pill{display:inline-flex;align-items:center;gap:4px;background:var(--galf-accent-soft,#eef3ef);color:var(--galf-accent,#397044)!important;border:1px solid color-mix(in srgb,var(--galf-accent,#397044) 38%,transparent);border-radius:6px;padding:5px 8px;font-size:10px;letter-spacing:.015em;font-weight:850;line-height:1.2;white-space:nowrap;transition:filter .15s ease}
.galf-root .galf-azione-pill:hover{filter:brightness(.96)}
.galf-root .galf-azione-pill span{margin-left:0;font-weight:650;color:inherit}
.galf-root .galf-action-tile{border-top:4px solid var(--galf-accent);transition:transform .2s ease,box-shadow .2s ease}
.galf-root .galf-action-tile:hover{transform:translateY(-2px);box-shadow:0 9px 25px rgba(17,55,48,.08)}
.galf-root .galf-action-art{background:var(--galf-accent-soft);border-top:0}
.galf-root .galf-action-content small{color:var(--galf-accent)}
.galf-root .galf-compact-v12 .galf-card-main>.galf-terms{margin:9px 0 7px}
.galf-root .galf-compact-v12 .galf-azione-pill{font-size:9px;padding:4px 7px}
.galf-root .galf-compact-v12 h3{margin-top:4px}
@media(max-width:380px){.galf-root .galf-compact-v12 .galf-card-bottom{gap:8px}.galf-root .galf-compact-v12 .galf-compact-link{font-size:10px}}


/* v1.5 — Palette finale: le Azioni hanno bordo colorato e sfondo bianco;
   gli stati hanno fondo colorato senza bordo. Rosso ufficiale del logo GAL. */
.galf-root .galf-a1{--galf-accent:#21865A;--galf-accent-soft:#E6F3E9}
.galf-root .galf-a2{--galf-accent:#277FAA;--galf-accent-soft:#E5F3F9}
.galf-root .galf-a3{--galf-accent:#C66A1E;--galf-accent-soft:#FFF0E3}
.galf-root .galf-a4{--galf-accent:#E30908;--galf-accent-soft:#FEECEB}
.galf-root .galf-a5{--galf-accent:#657F2E;--galf-accent-soft:#EEF3DF}
/* Solo i piccoli tag Azione sono bianchi: le card delle Azioni
   mantengono una fascia colorata riconoscibile. */
.galf-root .galf-azione-pill{
 background:#FFFFFF!important;
 color:var(--galf-accent,#397044)!important;
 border:1px solid var(--galf-accent,#397044)!important;
}
.galf-root .galf-azione-pill:hover{background:#FAFAF7!important;filter:none}
/* Stati: colori distinti da quelli delle Azioni. */
.galf-root .galf-badge{border:0!important;font-weight:800}
.galf-root .galf-s-in_scadenza{background:#FFD449!important;color:#614500!important}
.galf-root .galf-s-graduatoria{background:#D7EEEB!important;color:#155E61!important}
.galf-root .galf-s-prorogato{background:#E4E8EF!important;color:#36485F!important}
.galf-root .galf-s-programmato{background:#ECEDE7!important;color:#505D4A!important}
.galf-root .galf-s-preavviso,.galf-root .galf-s-pubblicato_non_aperto{background:#F1E8D9!important;color:#6E5B3C!important}
.galf-root .galf-s-pubblicato,.galf-root .galf-s-aperto{background:#DDF0E6!important;color:#206449!important}
.galf-root .galf-s-chiuso{background:#E7E8EA!important;color:#4E555C!important}

/* Suite 2.3 — Termini delle domande sopra la sidebar */
.galf-root .galf-sidebar-dates{background:#edf4eb;border:1px solid #d5e5d8;border-radius:18px;padding:24px;margin:0 0 20px;color:#15372b}
.galf-root .galf-sidebar-dates h2{font-family:Outfit,'Plus Jakarta Sans',sans-serif!important;font-size:19px!important;font-weight:700!important;line-height:1.3!important;color:#15372b!important;margin:0 0 16px!important}
.galf-root .galf-sidebar-dates-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.galf-root .galf-sidebar-date{min-width:0}
.galf-root .galf-sidebar-date-label{display:block;font-size:11px;letter-spacing:.07em;text-transform:uppercase;font-weight:700;color:#64786d;margin-bottom:7px}
.galf-root .galf-sidebar-date strong{display:block;color:#15372b;font-size:15px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}
.galf-root .galf-sidebar-dates .galf-count{margin:17px 0 0;padding:14px 0 0;border-top:1px solid #d5e5d8;background:transparent;border-radius:0}
@media(max-width:600px){.galf-root .galf-sidebar-dates{padding:19px}.galf-root .galf-sidebar-dates-grid{gap:12px}.galf-root .galf-sidebar-date strong{font-size:13px}}

/* GAL v2.6: colore dello stato pubblicato prima dell’apertura */
.galf-root .galf-badge.galf-s-pubblicato_non_aperto{background:#e7f0f5!important;color:#315e78!important;border-color:#c8dce8!important}
.galf-root .galf-badge.galf-s-aperto{background:#e5f2e8!important;color:#216344!important;border-color:#c9e0d0!important}
.galf-root .galf-badge.galf-s-in_scadenza{background:#fff0dc!important;color:#985614!important;border-color:#efd3a5!important}

/* GAL 3.4.5: proroga immediatamente sotto la data originaria */
.galf-root .gal-suite-old-deadline{display:block;color:#7f8985;font-size:13px;font-weight:500;line-height:1.5;text-decoration:line-through;text-decoration-thickness:1.5px}
.galf-root .gal-suite-new-deadline{display:block;color:#187c53!important;font-size:19px!important;font-weight:800!important;line-height:1.4}

/* 3.4.10 — proroghe su scheda singola e card shortcode: ordine e colori uniformi */
.galf-root .gal-suite-extension-dates{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}
.galf-root .gal-suite-extension-dates .gal-suite-old-deadline{display:block;color:#838c88!important;font-size:12px!important;font-weight:500;line-height:1.35;text-decoration:line-through!important}
.galf-root .gal-suite-extension-label{display:block;color:#c45822!important;font-size:10px!important;line-height:1.3!important;font-weight:800!important;letter-spacing:.1em!important;margin-top:3px}
.galf-root .gal-suite-extension-dates .gal-suite-new-deadline{display:block;color:#c45822!important;font-size:18px!important;line-height:1.3!important;font-weight:850!important}
