/*
Theme Name: Fondazione FONDSI Theme
Description: Tema FONDSI — redesign 2026
Version: 2.0.0
Author: Sandro
*/

/* ==============================
   FONT IMPORT
============================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

/* ==============================
   VARIABILI GLOBALI
============================== */
:root {
    /* Colori principali */
    --fds-green-dark:    #0a3d2b;
    --fds-green:         #0a6b4e;
    --fds-green-mid:     #0d5c3e;
    --fds-green-light:   #14b87a;
    --fds-green-pale:    #e8f7f0;
    --fds-green-soft:    #f0faf5;

    /* Senegal accents */
    --fds-yellow:        #f5a623;
    --fds-yellow-light:  #fff8e7;
    --fds-red:           #c0392b;

    /* Neutri */
    --fds-white:         #ffffff;
    --fds-cream:         #FAF8F2;
    --fds-gray-50:       #f7f7f7;
    --fds-gray-100:      #f0f0f0;
    --fds-gray-200:      #e5e5e5;
    --fds-gray-400:      #999999;
    --fds-gray-600:      #555555;
    --fds-text:          #111111;
    --fds-text-soft:     #444444;

    /* Tipografia */
    --fds-font-sans:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --fds-font-serif:    'Playfair Display', Georgia, serif;

    /* Spaziature */
    --fds-radius-sm:     6px;
    --fds-radius:        12px;
    --fds-radius-lg:     18px;
    --fds-radius-xl:     24px;

    /* Transizioni */
    --fds-transition:    all 0.18s ease;

    /* Header */
    --fds-header-h:      68px;

    /* Legacy compat */
    --fondsi-green:      #0a6b4e;
    --fondsi-green-dark: #0a3d2b;
    --fondsi-green-soft: #f0faf5;
    --fondsi-yellow:     #f5a623;
    --fondsi-border-soft: rgba(10,107,78,.12);
}

/* ==============================
   RESET & BASE
============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--fds-font-sans);
    color: var(--fds-text);
    background: var(--fds-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--fds-green); text-decoration: none; transition: var(--fds-transition); }
a:hover { color: var(--fds-green-dark); }

h1, h2, h3, h4, h5 {
    font-family: var(--fds-font-sans);
    font-weight: 700;
    line-height: 1.15;
    color: var(--fds-text);
    margin-bottom: 0.75rem;
}

p { margin-bottom: 1.2rem; }
p:last-child { margin-bottom: 0; }

/* ==============================
   LAYOUT
============================== */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 32px;
}

.site-main { padding-top: var(--fds-header-h); }

/* ==============================
   BOTTONI GLOBALI
============================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 999px;
    border: none;
    font-family: var(--fds-font-sans);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--fds-transition);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.12); text-decoration: none; }

.btn-primary  { background: var(--fds-green); color: #fff; }
.btn-primary:hover { background: var(--fds-green-dark); color: #fff; }

.btn-secondary { background: var(--fds-white); color: var(--fds-green); border: 1.5px solid var(--fds-green); }
.btn-secondary:hover { background: var(--fds-green-pale); color: var(--fds-green-dark); }

.btn-yellow { background: var(--fds-yellow); color: #fff; }
.btn-yellow:hover { background: #d4870a; color: #fff; }

.btn-outline { background: transparent; color: var(--fds-green); border: 1.5px solid var(--fds-green); }
.btn-outline:hover { background: var(--fds-green); color: #fff; }

.btn-ghost-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-ghost-white:hover { background: rgba(255,255,255,.15); color: #fff; border-color: #fff; }

/* ==============================
   HEADER
============================== */
.fds-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--fds-header-h);
    background: var(--fds-white);
    border-bottom: 1px solid var(--fds-gray-200);
    z-index: 9999;
    transition: box-shadow .2s ease;
}

.fds-header.fds-scrolled {
    box-shadow: 0 2px 16px rgba(0,0,0,.08);
}

.fds-header-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* LOGO */
.fds-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.fds-logo:hover { text-decoration: none; }
.fds-logo-img { height: 42px; width: auto; }
.fds-logo-text {
    font-family: var(--fds-font-sans);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--fds-green-dark);
    letter-spacing: -.02em;
}

/* MENU DESKTOP */
.fds-nav { flex: 1; display: flex; justify-content: center; }

.fds-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0; padding: 0;
}

.fds-menu > li > a {
    display: block;
    padding: 6px 9px;
    font-size: 13px;
    font-weight: 500;
    color: var(--fds-text-soft);
    border-radius: var(--fds-radius-sm);
    transition: var(--fds-transition);
    text-decoration: none;
    white-space: nowrap;
}

.fds-menu > li > a:hover,
.fds-menu > li.current-menu-item > a,
.fds-menu > li.current-page-ancestor > a {
    color: var(--fds-green);
    background: var(--fds-green-pale);
    text-decoration: none;
}

/* Sottomenu */
.fds-menu li { position: relative; }
.fds-menu .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--fds-white);
    border: 1px solid var(--fds-gray-200);
    border-radius: var(--fds-radius);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    min-width: 200px;
    padding: 6px;
    list-style: none;
    display: none;
    z-index: 9999;
}
.fds-menu li:hover > .sub-menu { display: block; }
.fds-menu .sub-menu li a {
    display: block;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--fds-text-soft);
    border-radius: var(--fds-radius-sm);
}
.fds-menu .sub-menu li a:hover { background: var(--fds-green-pale); color: var(--fds-green); }

/* CTA HEADER */
.fds-header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.fds-btn-ghost {
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--fds-text-soft);
    border-radius: 999px;
    text-decoration: none;
    transition: var(--fds-transition);
    white-space: nowrap;
}
.fds-btn-ghost:hover { color: var(--fds-green); background: var(--fds-green-pale); text-decoration: none; }

.fds-btn-solid {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--fds-green);
    border-radius: 999px;
    text-decoration: none;
    transition: var(--fds-transition);
    white-space: nowrap;
}
.fds-btn-solid:hover { background: var(--fds-green-dark); color: #fff; text-decoration: none; box-shadow: 0 4px 12px rgba(10,107,78,.3); }

/* HAMBURGER */
.fds-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}
.fds-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--fds-text);
    border-radius: 2px;
    transition: var(--fds-transition);
}
.fds-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fds-hamburger.is-open span:nth-child(2) { opacity: 0; }
.fds-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MENU MOBILE */
.fds-mobile-menu {
    display: none;
    position: fixed;
    top: var(--fds-header-h);
    left: 0;
    width: 100%;
    background: var(--fds-white);
    border-top: 1px solid var(--fds-gray-200);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    padding: 16px 24px 24px;
    z-index: 9998;
    max-height: calc(100vh - var(--fds-header-h));
    overflow-y: auto;
}
.fds-mobile-menu.is-open { display: block; }

.fds-mobile-nav {
    list-style: none;
    padding: 0; margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.fds-mobile-nav li a {
    display: block;
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--fds-text);
    border-radius: var(--fds-radius-sm);
    text-decoration: none;
}
.fds-mobile-nav li a:hover { background: var(--fds-green-pale); color: var(--fds-green); }
.fds-mobile-nav .sub-menu { list-style: none; padding: 0 0 0 16px; margin: 2px 0 0; }
.fds-mobile-nav .sub-menu li a { font-size: 14px; color: var(--fds-text-soft); }

.fds-mobile-cta {
    display: flex;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--fds-gray-200);
}
.fds-mobile-cta .fds-btn-ghost,
.fds-mobile-cta .fds-btn-solid { flex: 1; text-align: center; justify-content: center; display: flex; }

/* ==============================
   FOOTER REDESIGN 2026
============================== */
.fds-footer {
    background: var(--fds-green-dark);
    color: rgba(255,255,255,.82);
    font-size: .9rem;
    margin-top: 0;
}

.fds-footer-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 32px;
}

/* AREA PRINCIPALE */
.fds-footer-main { padding: 64px 0 48px; }
.fds-footer-main .fds-footer-container {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 48px;
}

/* COLONNE */
.fds-footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.45);
    margin-bottom: 18px;
}

/* BRAND */
.fds-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 16px;
}
.fds-footer-logo img { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.fds-footer-logo-text { font-size: 1.3rem; font-weight: 700; color: #fff; letter-spacing: -.02em; }

.fds-footer-brand p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.65; margin-bottom: 8px; }
.fds-footer-motto { font-size: 12px !important; color: var(--fds-green-light) !important; font-style: italic; }

.fds-footer-iban {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: rgba(255,255,255,.07);
    border-radius: var(--fds-radius);
    padding: 12px 14px;
    margin: 16px 0;
}
.fds-footer-iban-label { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.45); }
.fds-footer-iban-num { font-size: 12px; font-weight: 700; color: #fff; word-break: break-all; }
.fds-footer-iban-cf { font-size: 11px; color: rgba(255,255,255,.5); }

/* SOCIAL */
.fds-footer-social { display: flex; gap: 8px; margin-top: 4px; }
.fds-social-btn {
    width: 34px; height: 34px;
    background: rgba(255,255,255,.1);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: var(--fds-transition);
}
.fds-social-btn:hover { background: rgba(255,255,255,.2); color: #fff; text-decoration: none; }

/* LISTE */
.fds-footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.fds-footer-list li { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.5; }
.fds-footer-list a { color: rgba(255,255,255,.75); text-decoration: none; transition: var(--fds-transition); }
.fds-footer-list a:hover { color: #fff; text-decoration: none; }

.fds-footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.fds-footer-nav li a { font-size: 13px; color: rgba(255,255,255,.7); text-decoration: none; transition: var(--fds-transition); }
.fds-footer-nav li a:hover { color: var(--fds-green-light); text-decoration: none; }

.fds-footer-link-cta { font-size: 12px; color: var(--fds-green-light); text-decoration: none; margin-top: 12px; display: inline-block; }
.fds-footer-link-cta:hover { text-decoration: underline; color: var(--fds-green-light); }

/* NEWSLETTER */
.fds-footer-col p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.6; margin-bottom: 14px; }
.fds-footer-nl-form .fondsi-nl-row button { padding: 9px 14px; font-size: 12px; }

.fds-footer-5x1000 {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.fds-footer-5x1000-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--fds-green-light); }
.fds-footer-5x1000-cf { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: .5px; }

/* PARTNER */
.fds-footer-partners {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
}
.fds-footer-partners-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.fds-footer-partners-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.35);
    white-space: nowrap;
}
.fds-footer-logos {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.fds-footer-logos img {
    height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    opacity: .8;
    transition: var(--fds-transition);
    filter: none;
}
.fds-footer-logos img:hover { opacity: 1; }

/* BOTTOM */
.fds-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 16px 0;
}
.fds-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.fds-footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.4); margin: 0; }
.fds-footer-legal { display: flex; gap: 16px; }
.fds-footer-legal a { font-size: .78rem; color: rgba(255,255,255,.45); text-decoration: none; }
.fds-footer-legal a:hover { color: var(--fds-green-light); }

/* Compatibilità vecchie classi */
.site-footer { background: var(--fds-green-dark); }
.footer-bottom { display: none; }
.footer-container { display: none; }

/* ==============================
   RESPONSIVE HEADER/FOOTER
============================== */
@media (max-width: 1024px) {
    .fds-nav { display: none; }
    .fds-header-cta { display: none; }
    .fds-hamburger { display: flex; }
    .fds-footer-main .fds-footer-container { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
    .fds-footer-main .fds-footer-container { grid-template-columns: 1fr; }
    .fds-footer-bottom-inner { flex-direction: column; text-align: center; }
    .fds-footer-partners-inner { flex-direction: column; align-items: flex-start; }
    .container { padding: 0 16px; }
}

/* ==============================
   MENU TOGGLE LEGACY (compatibilità)
============================== */
.menu-toggle { display: none; }
.main-navigation { display: none; }

/* ==============================
   PAGINE INTERNE – HERO & LAYOUT
============================== */

.page-hero {
    padding: 3rem 0 2rem;
    background: #00352e;
    color: #ffffff;
    text-align: left;
}

.page-hero .page-title {
    font-size: 2.2rem;
    margin-bottom: .4rem;
}

.page-hero .page-subtitle {
    font-size: 1rem;
    opacity: .9;
    max-width: 640px;
}

.page-content-wrap {
    padding: 2.5rem 0 3.5rem;
    background: #f6f7f9;
}

/* Layout con sidebar (se usato) */
.page-layout {
    display: grid;
    grid-template-columns: minmax(0,2.1fr) minmax(0,1fr);
    gap: 2.5rem;
}

.page-main {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.7rem 1.8rem;
    box-shadow: 0 6px 16px rgba(0,0,0,.06);
}

.page-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.sidebar-block {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.2rem 1.3rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.05);
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .6rem;
}

.sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-list li {
    margin-bottom: .35rem;
}

.sidebar-list a {
    color: #0b3d2e;
}

/* Sezioni interne */
.page-section {
    margin-bottom: 2.2rem;
}

.page-section h2 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

/* Griglie carte interne generiche */
.page-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 1.4rem;
}

/* Box evidenziato */
.highlight-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.3rem 1.4rem;
    box-shadow: 0 6px 14px rgba(0,0,0,.05);
}

/* Timeline (es. storia) */
.timeline {
    border-left: 3px solid #0b3d2e;
    margin-left: .6rem;
    padding-left: 1.4rem;
}

.timeline-item {
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.58rem;
    top: .2rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f6b000;
    border: 2px solid #0b3d2e;
}

.timeline-year {
    font-weight: 700;
    margin-bottom: .1rem;
}

/* ===========================
   PAGINA "LA FONDAZIONE"
=========================== */

.fondsi-foundation-page {
    background: #f5f7f6;
    padding: 3rem 0 4rem;
}

/* HERO INTRO ALTA (titolo + intro) */
.foundation-hero {
    background: #ffffff;
    border-radius: 22px;
    padding: 2.2rem 2.4rem;
    box-shadow: 0 14px 30px rgba(0,0,0,0.06);
    margin-bottom: 2.5rem;
}

.foundation-hero-title {
    font-size: 2.1rem;
    margin-bottom: .5rem;
    color: #0b3d2e;
}

.foundation-hero-subtitle {
    font-size: 1rem;
    color: #4e5a52;
    margin-bottom: 1.2rem;
}

.foundation-hero-text {
    font-size: .98rem;
    color: #364238;
    line-height: 1.7;
}

/* Pilloline con parole chiave / valori */
.foundation-pills {
    margin-top: 1.3rem;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.foundation-pill {
    padding: .25rem .7rem;
    border-radius: 999px;
    font-size: .8rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    border: 1px solid rgba(14,107,70,0.2);
    background: #f0f6f3;
    color: #0b3d2e;
}

/* BLOCCO 2 – COLONNE TESTO + FOTO DI GRUPPO */
.foundation-two-cols {
    display: grid;
    grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
    gap: 2.2rem;
    margin-bottom: 3rem;
}

.foundation-text-block {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.8rem 2rem;
    box-shadow: 0 10px 26px rgba(0,0,0,0.05);
}

.foundation-text-block h2 {
    margin-top: 0;
    margin-bottom: .8rem;
    font-size: 1.5rem;
}

.foundation-text-block p {
    margin-bottom: .7rem;
    font-size: .97rem;
    color: #38443a;
}

.foundation-photo-block img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 14px 32px rgba(0,0,0,0.12);
    object-fit: cover;
}

/* BLOCCO 3 – ORGANI E SOCI FONDATORI */
.foundation-org-section {
    margin-bottom: 3.2rem;
}

.foundation-section-title {
    font-size: 1.7rem;
    margin-bottom: .4rem;
    color: #0b3d2e;
}

.foundation-section-subtitle {
    font-size: .96rem;
    color: #5a645c;
    margin-bottom: 1.6rem;
}

.foundation-org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.4rem;
}

.foundation-org-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.4rem 1.5rem 1.5rem;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.foundation-org-photo {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    margin: 0 auto .75rem;
    overflow: hidden;
    border: 3px solid #e3efe8;
}

.foundation-org-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.foundation-role {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #7a857c;
    margin-bottom: .25rem;
}

.foundation-name {
    font-size: 1.02rem;
    font-weight: 700;
    color: #0b3d2e;
    margin-bottom: .35rem;
}

.foundation-bio {
    font-size: .9rem;
    color: #515b52;
}

/* Effetto pill Senegal in alto a destra */
.foundation-org-card::after {
    content: "";
    position: absolute;
    top: -18px;
    right: -18px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00853f, #fdef42, #e31b23);
    opacity: 0.16;
}

/* BLOCCO 4 – SEZIONE STRUTTURA / DOCUMENTI */
.foundation-docs-section {
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: minmax(0,1.5fr) minmax(0,1fr);
    gap: 2rem;
}

.foundation-docs-box,
.foundation-structure-box {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.7rem 1.8rem;
    box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}

.foundation-docs-title {
    font-size: 1.3rem;
    margin-bottom: .7rem;
}

.foundation-docs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.foundation-docs-item + .foundation-docs-item {
    margin-top: .55rem;
}

.foundation-docs-item a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .93rem;
    color: #0b3d2e;
}

.foundation-docs-item span {
    font-size: .8rem;
    opacity: .7;
}

/* BLOCCO 5 – TIMELINE STORIA */
.foundation-timeline {
    margin-top: 1.2rem;
    border-left: 2px solid rgba(11,61,46,0.35);
    padding-left: 1.3rem;
}

.foundation-timeline-item {
    position: relative;
    margin-bottom: 1.4rem;
}

.foundation-timeline-item::before {
    content: "";
    position: absolute;
    left: -1.45rem;
    top: .2rem;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #f6bf26;
    border: 2px solid #0b3d2e;
}

.foundation-year {
    font-weight: 700;
    font-size: .92rem;
    margin-bottom: .15rem;
    color: #0b3d2e;
}

.foundation-timeline-text {
    font-size: .9rem;
    color: #4a554b;
}

.foundation-tag {
    display: inline-block;
    padding: .2rem .6rem;
    border-radius: 999px;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: #e9f3ed;
    color: #0b3d2e;
    margin-top: .3rem;
}

/* ===========================
   LISTA PROGETTI / NEWS
=========================== */

.projects-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 1.5rem;
}

.project-card,
.news-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-thumb img,
.news-thumb img {
    width: 100%;
    display: block;
}

.project-body,
.news-body {
    padding: 1rem 1.1rem 1.3rem;
}

.project-title,
.news-title {
    margin: 0 0 0.5rem;
    font-size: 1.02rem;
}

.project-title a,
.news-title a {
    color: #0b2c2a;
    text-decoration: none;
}

.project-title a:hover,
.news-title a:hover {
    text-decoration: underline;
}

.project-excerpt,
.news-excerpt {
    margin: 0;
    font-size: 0.93rem;
    color: #525a63;
    line-height: 1.55;
}

.news-date {
    font-size: 0.8rem;
    color: #7a828a;
    margin: 0 0 0.3rem;
}

.projects-pagination,
.news-pagination {
    margin-top: 1.8rem;
    text-align: center;
}

/* Paginazione WordPress */
.pagination,
.nav-links {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
}

.pagination .page-numbers,
.nav-links .page-numbers {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #d0d5dd;
    font-size: 0.9rem;
    color: #0b2c2a;
    text-decoration: none;
}

.pagination .page-numbers.current,
.nav-links .page-numbers.current {
    background: #0b3d2e;
    color: #ffffff;
    border-color: #0b3d2e;
}

/* ===========================
   RISORSE / DOCUMENTI
=========================== */

.docs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.docs-list li {
    background: #ffffff;
    border-radius: 10px;
    padding: .9rem 1rem;
    margin-bottom: .7rem;
    box-shadow: 0 4px 10px rgba(0,0,0,.04);
}

.docs-meta {
    font-size: .8rem;
    opacity: .75;
}

/* ===========================
   FORM FONDSI (registrazione,
   login, gestione soci)
=========================== */

.fondsi-form {
    max-width: 700px;
    margin: 0 auto 3rem;
    background: #ffffff;
    padding: 2rem 2.2rem;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0,0,0,.06);
}

.fondsi-form h2 {
    margin-top: 0;
    margin-bottom: .75rem;
}

.fondsi-form .form-intro {
    font-size: .98rem;
    color: #555;
    margin-bottom: 1.4rem;
}

.fondsi-form .form-note {
    font-size: .85rem;
    color: #666;
    margin-top: 1rem;
}

/* layout campi */
.form-row {
    display: block;
    margin-bottom: 1rem;
}

.form-row.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-row.three-cols {
    display: grid;
    grid-template-columns: 1.1fr .8fr .8fr;
    gap: 1rem;
}

.form-field label {
    display: block;
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: .25rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid #d2d7da;
    border-radius: 8px;
    padding: .55rem .7rem;
    font-size: .95rem;
    font-family: inherit;
}

.form-field textarea {
    resize: vertical;
}

/* Modulo di registrazione semplice */
.fondsi-register-form {
    max-width: 520px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.fondsi-register-form label {
    font-weight: 600;
    margin-top: 1rem;
    display: block;
}

.fondsi-register-form input {
    width: 100%;
    padding: .65rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-top: .3rem;
}

.fondsi-register-form button {
    margin-top: 1.5rem;
    width: 100%;
}

/* Box login/registrazione “auth” */
.fondsi-auth-wrapper,
.fondsi-register-wrapper,
.fondsi-success {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
    background: #f6f7f9;
}

.fondsi-auth-box,
.fondsi-register-box,
.fondsi-success-box {
    background: #ffffff;
    padding: 30px 35px;
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

.fondsi-auth-title {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 1.8rem;
    color: #00352e;
}

.fondsi-success-box h1 {
    font-size: 1.9rem;
    margin-bottom: 1rem;
}

.fondsi-success-box p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.fondsi-auth-box label,
.fondsi-register-box label {
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
    color: #00352e;
}

.fondsi-auth-box input,
.fondsi-register-box input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cdd5d2;
    border-radius: 8px;
    margin-bottom: 15px;
}

.fondsi-btn-primary {
    display: block;
    width: 100%;
    padding: 12px;
    background: #00352e;
    color: #ffffff;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.fondsi-btn-primary:hover {
    background: #005746;
}

.fondsi-auth-note {
    text-align: center;
    margin-top: 1rem;
}

.fondsi-auth-note a {
    font-weight: 600;
}

/* Pagina “Registrazione successo” */
.reg-success {
    padding: 90px 20px;
    background: #f6f7f9;
    display: flex;
    justify-content: center;
}

.reg-success-box {
    background: #ffffff;
    padding: 40px 40px 45px;
    max-width: 650px;
    width: 100%;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.reg-success-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #0b3d2e;
    color: #fff;
    font-size: 42px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reg-success-title {
    font-size: 1.9rem;
    color: #0b3d2e;
    margin-bottom: 15px;
}

.reg-success-text {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.reg-success-btn {
    display: inline-block;
    padding: 12px 26px;
    background: #0b3d2e;
    color: #fff;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 10px;
    transition: 0.25s;
}

.reg-success-btn:hover {
    background: #145c49;
}

/* ===========================
   AREA SOCI – GESTIONE SOCI
=========================== */

.fondsi-gestione-soci {
    max-width: 900px;
    margin: 0 auto 3rem;
    background: #ffffff;
    padding: 2rem 2.2rem;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0,0,0,.06);
}

.gestione-soci-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.2rem;
    font-size: .9rem;
}

.gestione-soci-table th,
.gestione-soci-table td {
    padding: .55rem .6rem;
    border-bottom: 1px solid #e1e4e7;
    text-align: left;
}

.gestione-soci-table th {
    font-weight: 600;
    background: #f5f7f8;
}

.btn-mini.btn-approve {
    background: #0b3d2e;
    color: #fff;
}

.btn-mini.btn-reject {
    background: #cc3333;
    color: #fff;
}

/* ===========================
   AREA OPERATORI
=========================== */

.fondsi-operator-area {
    padding: 2.5rem 0 3.5rem;
    background: #f6f7f9;
}

.fondsi-op-messages {
    margin-bottom: 1.2rem;
}

.fondsi-op-message {
    background: #e0f5ee;
    border-left: 4px solid #0b3d2e;
    padding: .6rem .9rem;
    border-radius: 8px;
    font-size: .9rem;
    margin-bottom: .4rem;
}

/* Tabella utenti/elenchi */
.fondsi-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.fondsi-table th,
.fondsi-table td {
    padding: 0.5rem 0.6rem;
    border-bottom: 1px solid #dde3e2;
    text-align: left;
}

.fondsi-table th {
    background: #f3f6f5;
    font-weight: 600;
}

/* Anteprima immagini upload */
.fondsi-image-preview {
    margin-top: 0.5rem;
    max-height: 140px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

/* Messaggi tipo alert */
.fondsi-op-alert-wrap {
    margin-bottom: 1.5rem;
}

.fondsi-op-alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.fondsi-op-alert--success {
    background: #e0f5ee;
    border-left: 4px solid #0b3d2e;
    color: #0b3d2e;
}

.fondsi-op-alert--error {
    background: #fde2e2;
    border-left: 4px solid #b00020;
    color: #5a0000;
}

/* ==============================
   RESPONSIVE PAGINE INTERNE
============================== */

@media (max-width: 960px) {

    .page-layout {
        grid-template-columns: 1fr;
    }

    .page-card-grid {
        grid-template-columns: 1fr 1fr;
    }

    .projects-grid,
    .news-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .foundation-two-cols {
        grid-template-columns: 1fr;
    }

    .foundation-docs-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {

    .foundation-hero {
        padding: 1.7rem 1.5rem;
    }

    .foundation-hero-title {
        font-size: 1.8rem;
    }

    .foundation-org-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {

    .projects-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .foundation-org-grid {
        grid-template-columns: 1fr;
    }
}
/* ==============================
   HOME – BANNER NEWS
============================== */

.home-top-banner {
    background-color: var(--fondsi-green-dark);
    color: #fff;
}

.home-top-banner-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
}

.banner-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.banner-content {
    flex: 1;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.banner-news-link {
    color: #fff;
    text-decoration: none;
}

.banner-news-link:hover {
    text-decoration: underline;
}

.banner-link {
    font-size: 0.85rem;
    color: var(--fondsi-yellow);
}

/* ==============================
   HOME – HERO MODERNO
============================== */

.home-hero-simple {
    padding: 4rem 0 4.5rem;
    background:
        radial-gradient(circle at 18% 20%, #1ba56a 0, #0e6b46 38%, #07402a 78%, #032017 100%);
    color: #fff;
}

.hero-simple-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.hero-logo-wrap {
    max-width: 260px;
    margin-bottom: 1.1rem;
}

.hero-logo-wrap img {
    width: 100%;
    height: auto;
}

.hero-kicker {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    opacity: 0.85;
    margin: 0 0 0.75rem;
}

.hero-simple-title {
    font-size: 2.6rem;
    line-height: 1.18;
    margin: 0 0 0.75rem;
}

.hero-motto-pill {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #14301d;
    background: linear-gradient(90deg, #f6bf26, #ff8a2a, #e53935);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.hero-simple-subtitle {
    font-size: 1.05rem;
    max-width: 34rem;
    margin-bottom: 1.75rem;
}

.hero-simple-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-simple-note {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Colonna contatti hero */

.hero-side-box {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 1.8rem 1.8rem 1.6rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
}

.hero-side-title {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.hero-contact-line {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.hero-contact-line a {
    color: #fff;
    text-decoration: underline;
}

.hero-social-block {
    margin-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 1rem;
}

.hero-social-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    opacity: 0.9;
}

.hero-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.social-pill {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    text-decoration: none;
    color: #fff;
}

/* ==============================
   HOME – SEZIONE FONDATORI
============================== */

.section-founders {
    padding: 4rem 0 3.5rem;
    background-color: #ffffff;
}

.founders-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.founders-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founders-text {
    padding: 2.4rem 2.6rem;
}

.founders-text h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

/* ============================================================
   HOME – SEZIONE "LA FONDAZIONE" (3 BOX)
   Stile per .home-foundation-new
============================================================ */

.home-foundation-new {
    padding: 4rem 0 4.5rem;
    background: #f6f9f7;
}

.foundation-3box-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.6rem;
    margin-top: 2.2rem;
}

.foundation-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.8rem 1.8rem 2rem;
    border: 1px solid rgba(14,107,70,0.12);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    transition: transform .22s ease, box-shadow .22s ease;
}

.foundation-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

.foundation-box h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: #0b3d2e;
}

.foundation-box p {
    font-size: .95rem;
    color: #48524a;
    margin-bottom: 1.2rem;
    line-height: 1.55;
}

.foundation-box-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--fondsi-green-dark);
}

.foundation-box-link:hover {
    text-decoration: underline;
}

/* Responsive sezione Fondazione 3 box */
@media (max-width: 720px) {
    .foundation-3box-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================
   HOME – BOX "LA FONDAZIONE" (vecchia sezione, se usata)
============================== */

.home-links-foundation {
    padding: 4rem 0 4.5rem;
    background: radial-gradient(circle at 0% 0%, #ffffff 0, #f4f7f5 60%, #edf4f0 100%);
}

.section-header {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 0.3rem;
}

.section-subtitle {
    max-width: 38rem;
    font-size: 0.98rem;
    color: #455047;
}

.home-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.4rem 1.6rem;
}

.home-link-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.4rem 1.6rem 1.5rem;
    border: 1px solid var(--fondsi-border-soft);
    box-shadow: 0 14px 35px rgba(8, 54, 36, 0.04);
    position: relative;
}

.home-link-title {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.home-link-title a {
    color: var(--fondsi-green-dark);
    text-decoration: none;
}

.home-link-title a:hover {
    text-decoration: underline;
}

.home-link-text {
    font-size: 0.9rem;
    color: #4c5a4f;
    margin-bottom: 1.6rem;
}

.home-link-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--fondsi-green);
}

/* ==============================
   HOME – PROGETTI E ATTIVITÀ
============================== */

.home-projects-activities {
    padding: 4rem 0 4rem;
    background-color: #ffffff;
}

.home-pa-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 1.6rem;
}

.home-pa-card {
    display: block;
    padding: 1.6rem 1.8rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #f4f7f5, #e9f3ed);
    text-decoration: none;
    color: #223127;
    border: 1px solid rgba(10, 82, 53, 0.08);
}

.home-pa-card h3 {
    margin-top: 0;
    margin-bottom: 0.4rem;
}

/* ==============================
   HOME – ULTIME NEWS
============================== */

.home-latest-news {
    padding: 4rem 0 4.2rem;
    background-color: var(--fondsi-green-soft);
}

.section-header-news {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.section-header-news .section-title {
    margin-bottom: 0;
}

.section-link {
    font-size: 0.9rem;
    color: var(--fondsi-green-dark);
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.6rem;
    margin-top: 2rem;
}

.home-news-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--fondsi-border-soft);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-news-thumb img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.home-news-body {
    padding: 1rem 1.1rem 1.1rem;
    flex: 1;
}

.home-news-date {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: #758275;
    margin-bottom: 0.35rem;
}

.home-news-title {
    font-size: 0.98rem;
    margin-bottom: 0.45rem;
}

.home-news-title a {
    color: var(--fondsi-green-dark);
    text-decoration: none;
}

.home-news-title a:hover {
    text-decoration: underline;
}

.home-news-excerpt {
    font-size: 0.88rem;
    color: #4a554b;
}

/* ============================================
   HOME – CTA DOPPIA / TRIPLA
============================================ */

.home-cta-double {
    padding: 4.5rem 0 4.5rem;
    background: #0F7B4F;
    color: #ffffff;
}

.home-cta-double-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.home-cta-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 2.5rem 2rem 2.3rem;
    border-radius: 28px;
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(8px);
    transition: transform .25s ease, box-shadow .25s ease;
}

.home-cta-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 42px rgba(0,0,0,0.28);
}

.home-cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #CFF3E2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #064B2F;
}

.home-cta-card h2 {
    margin: 0 0 0.7rem;
    font-size: 1.45rem;
    font-weight: 700;
}

.home-cta-card p {
    margin: 0 0 1.8rem;
    font-size: 1rem;
    line-height: 1.55;
}

.home-cta-buttons a {
    display: inline-flex;
    padding: .85rem 1.8rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: .2s;
}

.btn-cta-primary {
    background: #F6C026;
    color: #064B2F;
}

.btn-cta-primary:hover {
    background: #FFD24A;
}

.btn-cta-secondary {
    background: rgba(255,255,255,0.92);
    color: #064B2F;
}

.btn-cta-secondary:hover {
    background: #ffffff;
}

/* ==========================================
   HOME – PILASTRI DELLA FONDAZIONE
========================================== */

.home-mission-pillars,
.home-pillars {
    padding: 4rem 0 4rem;
    background: #ffffff;
}

.home-mission-pillars .section-header,
.home-pillars .section-header {
    text-align: left;
    margin-bottom: 2.5rem;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.pillar-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 2rem 1.8rem 2.2rem;
    border: 1px solid rgba(14,107,70,0.12);
    box-shadow: 0 16px 34px rgba(0,0,0,0.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(0,0,0,0.12);
}

.pillar-title {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
    color: #0b3d2e;
}

.pillar-text {
    font-size: 0.95rem;
    color: #48524a;
    margin-bottom: 1.3rem;
    line-height: 1.55;
}

.pillar-link {
    font-weight: 600;
    color: #0e6b46;
    font-size: 0.92rem;
    text-decoration: none;
}

.pillar-link:hover {
    text-decoration: underline;
}

/* Icona (se la usi) */
.pillar-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.pillar-icon-1 { background: #0e6b46; }
.pillar-icon-2 { background: #f6bf26; color:#222; }
.pillar-icon-3 { background: #ff8a2a; }
.pillar-icon-4 { background: #e53935; }

/* ==============================
   RESPONSIVE HOME
============================== */

@media (max-width: 960px) {

    .hero-simple-inner {
        grid-template-columns: 1fr;
    }

    .hero-side-box {
        margin-top: 1.5rem;
    }

    .founders-card {
        grid-template-columns: 1fr;
    }

    .founders-text {
        padding: 2rem 1.7rem;
    }

    .home-pa-grid {
        grid-template-columns: 1fr;
    }

    .home-cta-double-inner {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 720px) {

    .home-top-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-simple-title {
        font-size: 2.1rem;
    }

    .home-links-grid,
    .home-news-grid {
        grid-template-columns: 1fr;
    }

    .home-cta-card {
        padding: 1.8rem 1.6rem 1.7rem;
    }

    .home-cta-double-inner {
        grid-template-columns: 1fr;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }
}
/* Fix dimensioni immagini ultime news */
.home-news-thumb {
    height: 180px; /* puoi mettere 160px, 180px o 200px */
    overflow: hidden;
    border-radius: 18px 18px 0 0;
}

.home-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Ripristino griglia ultime news */
.home-news-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 1.6rem !important;
    margin-top: 2rem;
}

/* Fix larghezza card news */
.home-news-card {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}
/* Fix immagine */
.home-news-thumb {
    height: 180px;
    overflow: hidden;
}

.home-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ============================================
   FIX SEZIONE "ULTIME NOTIZIE"
=============================================== */

/* griglia delle news */
.home-news-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 1.6rem;
    margin-top: 2rem;
}

/* card news */
.home-news-card {
    background: #ffffff;
    border: 1px solid var(--fondsi-border-soft);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

/* contenitore immagine */
.home-news-thumb {
    height: 180px;      /* ← fissa altezza */
    overflow: hidden;
}

/* immagine dentro */
.home-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* ← evita immagini giganti distorte */
}
/* Fix definitivo immagini troppo grandi nella sezione Ultime Notizie */
.home-news-card .home-news-thumb {
    width: 100%;
    height: 180px !important;
    overflow: hidden !important;
    display: block;
}

.home-news-card .home-news-thumb a,
.home-news-card .home-news-thumb img {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: cover !important;
}
/* ===============================
   SEZIONE – I NOSTRI OBIETTIVI
================================ */

.home-objectives {
    padding: 4rem 0 4rem;
    background: #ffffff;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.6rem;
}

.objective-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(14,107,70,0.12);
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
    padding: 1.8rem 1.8rem;
    text-align: left;
}

/* ===============================
   SEZIONE – PERCHÉ NASCE FONDSI
================================ */

.home-why {
    padding: 4rem 0;
    background: #f6f7f9;
}

.why-card {
    background: #ffffff;
    padding: 2.5rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.06);
}

/* ===============================
   PARTNER
================================ */

.home-partner {
    padding: 4rem 0 4rem;
    background: #ffffff;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.6rem;
    text-align: center;
}

.partner-logo {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(10,82,53,0.1);
    box-shadow: 0 10px 28px rgba(0,0,0,0.05);
    font-weight: 600;
    color: #0b3d2e;
}

/* ===============================
   NEWSLETTER
================================ */

.home-newsletter {
    padding: 4.5rem 0;
    background: #f4f7f5;
}

.newsletter-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.8rem 2.4rem;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.newsletter-form {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.newsletter-form input {
    width: 55%;
    padding: .8rem;
    border-radius: 12px;
    border: 1px solid #d5dcd8;
}
/* ===============================
   HOME – PERCHÉ NASCE FONDSI (V2)
================================= */

.home-why-new {
    padding: 4rem 0 4.5rem;
    background: #f6f7f9;
}

.why-3box-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.6rem;
    margin-top: 2rem;
}

.why-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.8rem 1.9rem 2rem;
    border: 1px solid rgba(14,107,70,0.12);
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.why-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

.why-box h3 {
    margin-top: 0;
    margin-bottom: .6rem;
    font-size: 1.22rem;
    color: #0b3d2e;
}

.why-box p {
    margin: 0;
    font-size: .95rem;
    color: #48524a;
    line-height: 1.55;
}

@media (max-width: 720px) {
    .why-3box-grid {
        grid-template-columns: 1fr;
    }
}
/* ======================================
   HOME – CTA TRIPLA RINNOVATA (BIANCO)
====================================== */

.home-cta-renewed {
    padding: 4rem 0 4.5rem;
    background: #ffffff;
}

.home-cta-renewed-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.cta-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 2.2rem 2rem 2.4rem;
    border: 1px solid rgba(14,107,70,0.12);
    box-shadow: 0 14px 32px rgba(0,0,0,0.06);
    text-align: left;
    transition: transform .25s ease, box-shadow .25s ease;
}

.cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(0,0,0,0.12);
}

.cta-card h3 {
    margin-top: 0;
    font-size: 1.32rem;
    margin-bottom: .7rem;
    color: #0b3d2e;
}

.cta-card p {
    margin: 0 0 1.4rem;
    line-height: 1.55;
    color: #475249;
    font-size: .96rem;
}

.cta-card .btn {
    margin-top: .4rem;
}
/* ============================================================
   PALETTE A – SENEGAL ELEGANT SOFT (override finale)
============================================================ */
:root {
    --fondsi-green: #0E6B46;
    --fondsi-green-dark: #0A5238;
    --fondsi-green-soft: #F4F8F6;

    --fondsi-yellow: #F2C94C;
    --fondsi-red:   #D33C2D;

    --fondsi-border-soft: rgba(14,107,70,0.12);
}

/* ============================================================
   CTA TRIPLA – VERSIONE ELEGANTE (tutti gialli)
============================================================ */
.home-cta-renewed {
    padding: 4rem 0;
    background: #ffffff;
}

.home-cta-renewed-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}

.cta-card {
    background: #ffffff;
    border-radius: 26px;
    padding: 2.2rem 2rem;
    border: 1px solid var(--fondsi-border-soft);
    box-shadow: 0 14px 30px rgba(0,0,0,0.06);
    text-align: center;
    transition: .25s ease;
}

.cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px rgba(0,0,0,0.08);
}

.cta-card h3 {
    margin-bottom: .6rem;
    color: var(--fondsi-green-dark);
}

.cta-card p {
    margin-bottom: 1.4rem;
    color: #435047;
}

/* tutti i pulsanti gialli eleganti */
.home-cta-renewed .btn {
    background: var(--fondsi-yellow) !important;
    color: #14301d !important;
    border: none !important;
    font-weight: 700;
}

.home-cta-renewed .btn:hover {
    background: #f7d76a !important;
    color: #0a3524 !important;
}

/* ============================================================
   SEZIONI – Perché nasce / Obiettivi / Fondazione
   Uniformazione stile premium
============================================================ */

.section .section-title {
    font-size: 2rem;
    margin-bottom: .3rem;
    color: var(--fondsi-green-dark);
}

.section .section-subtitle {
    color: #4c5a4f;
    font-size: 0.98rem;
}

/* 3 box Perché nasce FONDSI */
.why-3box-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.6rem;
    margin-top: 2rem;
}

.why-box {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--fondsi-border-soft);
    padding: 1.8rem 1.8rem 2rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    transition: .25s ease;
}

.why-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(0,0,0,0.10);
}

.why-box h3 {
    color: var(--fondsi-green-dark);
    margin-bottom: .5rem;
}

/* Obiettivi */
.objective-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--fondsi-border-soft);
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
    padding: 1.8rem;
    text-align: left;
}

/* Fondazione 3 box */
.foundation-box {
    border: 1px solid var(--fondsi-border-soft) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06) !important;
    border-radius: 20px !important;
}

/* ============================================================
   Accenti Senegal eleganti (molto soft)
============================================================ */

.section-title {
    position: relative;
    padding-left: 14px;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 4px;
    height: 24px;
    border-radius: 4px;
    background: linear-gradient(to bottom,
        var(--fondsi-green),
        var(--fondsi-yellow),
        var(--fondsi-red)
    );
    opacity: 0.35;
}
/* =======================================
   LA FONDAZIONE – EXTRA STYLING
======================================= */

/* Kicker e motto */
.foundation-hero-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--fondsi-green-dark);
    opacity: 0.9;
    display: block;
    margin-bottom: 0.4rem;
}

.foundation-motto {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 1.1rem;
    border-radius: 999px;
    margin: 0.4rem 0 1.1rem;
    background: linear-gradient(90deg, var(--fondsi-yellow), var(--fondsi-orange), var(--fondsi-red));
    color: #14301d;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

.foundation-motto-small {
    font-size: 0.9rem;
    font-style: italic;
    color: #3d4a42;
    margin-top: 1rem;
}

/* Missione & Visione sezione */
.foundation-mission-vision {
    margin-top: 3rem;
}

/* Valori – pillole */
.foundation-values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.4rem;
}

.foundation-value-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: #f4f8f6;
    border: 1px solid rgba(10,94,63,0.16);
    color: #0b3d2e;
}

/* Timeline – leggera rifinitura */
.foundation-history-section .foundation-docs-box {
    margin-bottom: 1.5rem;
}

/* CTA finale */
.foundation-cta {
    padding: 3.5rem 0 0;
    background: transparent;
}

.foundation-cta-inner {
    max-width: 980px;
    margin: 0 auto 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.6rem;
}

.foundation-cta-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.8rem 1.9rem 2rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    border: 1px solid var(--fondsi-border-soft);
}

.foundation-cta-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: #0b3d2e;
}

.foundation-cta-card p {
    font-size: 0.95rem;
    color: #49534a;
    margin-bottom: 1.3rem;
}

/* Responsive */
@media (max-width: 720px) {
    .foundation-hero {
        padding: 1.8rem 1.6rem;
    }

    .foundation-cta-inner {
        grid-template-columns: 1fr;
    }
}
/* ============================
   FONDAZIONE – HERO
============================ */
.foundation-hero {
    text-align: center;
    margin: 40px auto 60px;
    max-width: 860px;
}

.foundation-hero img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 16px;
    display: block;
    margin: 20px auto 40px;
    box-shadow: 0 12px 26px rgba(0,0,0,0.18);
}

/* ============================
   CHI SIAMO – 2 COLONNE
============================ */
.foundation-two-cols {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 50px;
    align-items: start;
    margin: 80px 0;
}

.foundation-two-cols img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

@media(max-width: 900px) {
    .foundation-two-cols {
        grid-template-columns: 1fr;
    }
}

/* ============================
   MISSION + VISION
============================ */
.foundation-mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 80px 0;
}

.foundation-mission-vision .foundation-docs-box,
.foundation-mission-vision .foundation-structure-box {
    background: #fff;
    border-radius: 14px;
    padding: 30px 40px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.07);
}

/* ============================
   VALORI
============================ */
.foundation-values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.foundation-value-pill {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 15px;
    color: #064c38;
    font-weight: 600;
}

/* ============================
   ORGANI – CARDS
============================ */
.foundation-org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.foundation-org-card {
    background: #fff;
    border-radius: 14px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(0,0,0,0.07);
}

.foundation-org-photo img {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    opacity: 0.7;
}

/* ============================
   TIMELINE
============================ */
.foundation-timeline-item {
    background: #fff;
    padding: 20px 28px;
    border-radius: 12px;
    margin-bottom: 18px;
    box-shadow: 0 5px 12px rgba(0,0,0,0.07);
}

/* ============================
   CTA FINALE (3 BOX)
============================ */
.foundation-cta-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.foundation-cta-card {
    background: #fff;
    padding: 25px 30px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}
/* FIX CRITICO — impedisce all'immagine hero di esplodere */
.foundation-hero img {
    max-width: 100%;
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}
.foundation-hero-image {
    width: 100%;
    max-width: 1100px; /* NON superare la larghezza del layout */
    margin: 2rem auto 0;
    display: block;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.20);
}
/* ============================================================
   FONDATAZIONE – STILI SPECIFICI (NON CONFLITTUANO CON IL TEMA)
   ============================================================ */

/* Contenitore principale */
.fondsi-foundation-page {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* ----------------------------
   HERO (senza immagine)
----------------------------- */
.foundation-hero {
    text-align: center;
    margin-bottom: 60px;
}

.foundation-hero-kicker {
    font-size: 16px;
    letter-spacing: .5px;
    color: #0b5133;
    font-weight: 600;
}

.foundation-hero-title {
    font-size: 42px;
    margin: 10px 0 5px;
    color: #0b5133;
    font-weight: 700;
}

.foundation-motto {
    font-size: 22px;
    font-weight: 600;
    margin: 10px 0 20px;
    color: #e0b100;
}

.foundation-hero-subtitle,
.foundation-hero-text p {
    max-width: 780px;
    margin: 0 auto 15px;
    font-size: 18px;
    line-height: 1.55;
    color: #333;
}

/* Pillole valori */
.foundation-pills {
    margin-top: 25px;
}

.foundation-pill {
    display: inline-block;
    padding: 8px 16px;
    background: #0b5133;
    color: #fff;
    border-radius: 30px;
    margin: 5px;
    font-size: 14px;
}

/* ----------------------------
   SEZIONI A DUE COLONNE
----------------------------- */
.foundation-two-cols {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.foundation-text-block {
    flex: 1;
}

.foundation-photo-block img {
    max-width: 100%;
    border-radius: 10px;
}

/* ----------------------------
   TITOLI SEZIONI
----------------------------- */
.foundation-section-title {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #0b5133;
}

.foundation-section-subtitle {
    font-size: 18px;
    color: #444;
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}

/* ----------------------------
   VALORI (PILLOLE)
----------------------------- */
.foundation-values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 25px;
}

.foundation-value-pill {
    background: #eaeaea;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

/* ----------------------------
   ORGANI – CARD PERSONE
----------------------------- */
.foundation-org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.foundation-org-card {
    text-align: center;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #ddd;
}

.foundation-org-photo img {
    width: 110px;
    height: 110px;
    border-radius: 100px;
    object-fit: cover;
    margin-bottom: 15px;
}

.foundation-role {
    font-weight: 700;
    margin-bottom: 5px;
    color: #0b5133;
}

.foundation-name {
    font-weight: 600;
    margin-bottom: 10px;
}

/* ----------------------------
   TIMELINE
----------------------------- */
.foundation-timeline {
    border-left: 3px solid #0b5133;
    padding-left: 25px;
    margin-top: 20px;
}

.foundation-timeline-item {
    margin-bottom: 25px;
}

.foundation-year {
    font-weight: 700;
    color: #0b5133;
    margin-bottom: 5px;
}

.foundation-timeline-text {
    font-size: 16px;
    color: #333;
}

/* ----------------------------
   CTA FINALE
----------------------------- */
.foundation-cta-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.foundation-cta-card {
    text-align: center;
    background: #f5f5f5;
    padding: 25px;
    border-radius: 12px;
}
/* =======================
   FIX GENERALE CONTENITORI
========================== */
.fondsi-foundation-page .container {
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    position: relative;
    display: block;
}

/* =======================
   HERO FIX
========================== */
.foundation-hero {
    text-align: center;
    margin-bottom: 50px;
}

.foundation-hero-image {
    max-width: 600px !important;
    width: 100% !important;
    height: auto !important;
    margin: 25px auto 0 auto;
    display: block;
    border-radius: 16px;
}

/* =======================
   GRIGLIA DUE COLONNE
========================== */
.foundation-two-cols {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 60px 0;
}

/* =======================
   FOTO BLOCCO
========================== */
.foundation-photo-block img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
    border-radius: 12px;
}

/* =======================
   ORGANI – CARD GRID
========================== */
.foundation-org-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 25px !important;
    margin-top: 40px !important;
}

/* =======================
   TIMELINE FIX
========================== */
.foundation-timeline {
    display: grid !important;
    gap: 20px !important;
}

/* =======================
   RESPONSIVE
========================== */
@media (max-width: 768px) {
    .foundation-two-cols {
        grid-template-columns: 1fr !important;
    }
}
/* ============================================
   STILE GENERALE PAGINA FONDAZIONE
   ============================================ */

.fondsi-foundation-page {
    background-color: #f8faf8;
    padding-bottom: 4rem;
}

/* ============================================
   HERO
   ============================================ */

.foundation-hero {
    text-align: center;
    padding: 3rem 1rem 2rem;
}

.foundation-hero-inner {
    max-width: 820px;
    margin: auto;
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.foundation-logo {
    max-width: 320px;
    margin: 0 auto 1.2rem;
    display: block;
}

.foundation-hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0d3b2e;
    margin-top: 0.8rem;
}

.foundation-motto {
    background: #f7d774;
    display: inline-block;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: 700;
    margin: 0.6rem 0 1rem;
    color: #8a4a0d;
}

.foundation-hero-subtitle {
    font-size: 1.1rem;
    color: #345;
    margin-bottom: 1rem;
}

.foundation-hero-text {
    max-width: 720px;
    margin: auto;
    color: #465;
}

/* Pills */

.foundation-pills {
    margin-top: 1.6rem;
}

.foundation-pill {
    background: #0d3b2e;
    padding: 8px 18px;
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-block;
    margin: 4px;
}

/* ============================================
   SEZIONI TESTO
   ============================================ */

.container {
    max-width: 1050px !important;
    margin: auto;
}

.foundation-two-cols {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.foundation-text-block {
    flex: 1;
    background: #fff;
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 7px 22px rgba(0,0,0,0.08);
}

/* ============================================
   MISSIONE & VISIONE
   ============================================ */

.foundation-mission-vision {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.foundation-docs-box {
    flex: 1;
    background: #fff;
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 7px 22px rgba(0,0,0,0.08);
}

/* ============================================
   VALORI
   ============================================ */

.foundation-values-section {
    text-align: center;
    margin-top: 3.5rem;
}

.foundation-values-grid {
    margin-top: 1.2rem;
}

.foundation-value-pill {
    background: #eee;
    padding: 8px 16px;
    border-radius: 20px;
    margin: 5px;
    font-size: 0.85rem;
    display: inline-block;
}

/* ============================================
   ORGANI
   ============================================ */

.foundation-org-section {
    margin-top: 4rem;
}

.foundation-org-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.foundation-org-card {
    width: 210px;
    background: #fff;
    padding: 1.6rem;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 7px 22px rgba(0,0,0,0.08);
}

.foundation-org-card img {
    width: 80px;
    margin-bottom: 0.8rem;
}

.foundation-role {
    font-weight: 700;
    color: #0d3b2e;
    margin-bottom: 4px;
}

.foundation-name {
    color: #444;
    margin-bottom: 0.8rem;
}

/* ============================================
   STORIA + TIMELINE
   ============================================ */

.foundation-history-section {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.foundation-history-box {
    flex: 1;
    background: #fff;
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 7px 22px rgba(0,0,0,0.08);
    min-height: 280px;
}

.foundation-timeline {
    flex: 1;
    background: #fff;
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 7px 22px rgba(0,0,0,0.08);
}

.timeline-item {
    padding: 0.7rem 0;
    border-left: 3px solid #0d3b2e;
    padding-left: 1rem;
    margin-bottom: 1rem;
    color: #333;
}

/* ============================================
   CTA FINALI
   ============================================ */

.foundation-cta {
    text-align: center;
    margin-top: 4rem;
}

.foundation-cta a {
    margin: 0.4rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {

    .foundation-hero-inner {
        padding: 1.8rem;
    }

    .foundation-logo {
        max-width: 260px;
    }

    .foundation-two-cols,
    .foundation-mission-vision,
    .foundation-history-section {
        flex-direction: column;
    }

    .foundation-org-card {
        width: 100%;
        max-width: 300px;
        margin: auto;
    }

    .foundation-history-box,
    .foundation-timeline {
        min-height: auto;
    }
}

/* ============================================================
   SPAZIATURA GLOBALE — redesign 2026
   Applica a tutte le pagine automaticamente
============================================================ */

/* Sezioni — più respiro verticale */
.fds-section { padding: 88px 0 !important; }
.fds-page-hero { padding: 72px 0 60px !important; }

/* Titoli sezione — più spazio sotto */
.fds-section-head { margin-bottom: 64px !important; }
.fds-section-head h2 { margin-bottom: 18px !important; }
.fds-section-head p { margin-top: 4px; }
.fds-eyebrow { margin-bottom: 14px !important; }

/* Card — più padding interno */
.fds-area-card,
.fds-triple-card,
.fds-fcta-card,
.fds-missione-card,
.fds-intervento-card,
.fds-struttura-card,
.fds-dipartimento-card,
.fds-soci-card,
.fds-donazioni-valore,
.fds-impatto-card,
.fds-contatti-card,
.fds-risorsa-row,
.fds-organo-card { 
    padding: 28px !important;
}

/* Griglie — più gap tra card */
.fds-areas-grid,
.fds-triple-grid,
.fds-final-cta-grid,
.fds-missione-grid,
.fds-struttura-grid,
.fds-dipartimenti-grid,
.fds-interventi-grid,
.fds-donazioni-valori,
.fds-impatto-grid,
.fds-soci-grid,
.fds-news-grid,
.fds-correlate-grid,
.fds-presidenza-grid,
.fds-cda-grid { 
    gap: 24px !important; 
}

/* Titolo hero */
.fds-page-hero-title { margin-bottom: 20px !important; }
.fds-page-hero-sub { line-height: 1.75 !important; }

/* Sezioni specifiche */
.fds-donazioni-impatto { padding: 88px 0 !important; }
.fds-donazioni-5x1000 { padding: 88px 0 !important; }
.fds-donazioni-perche { padding: 88px 0 !important; }
.fds-mission { padding: 88px 0 !important; }
.fds-areas { padding: 88px 0 !important; }
.fds-news-section { padding: 88px 0 !important; }
.fds-triple-cta { padding: 88px 0 !important; }
.fds-nl-section { padding: 72px 0 !important; }
.fds-video-section { padding: 88px 0 !important; }

/* News head — più spazio */
.fds-news-head { margin-bottom: 44px !important; }

/* Sezioni hero banner */
.fds-5x1000 { padding: 56px 0 !important; }
.fds-soci-cta { padding: 56px 0 !important; }

/* Testo nelle card */
.fds-area-card h3,
.fds-triple-card h3,
.fds-dipartimento-card h3,
.fds-struttura-card h3 { margin-bottom: 12px !important; }

/* Fondazione pagina interna */
.fds-fondazione-storia,
.fds-fondazione-missione,
.fds-fondazione-interventi,
.fds-fondazione-struttura,
.fds-fondazione-dipartimenti { padding: 88px 0 !important; }
.fds-fondazione-soci { padding: 88px 0 !important; }

/* Timeline */
.fds-fondazione-timeline { margin-top: 44px !important; }
.fds-tl-item { padding-bottom: 36px !important; }

/* Organi */
.fds-organi-presidenza,
.fds-organi-cda { padding: 88px 0 !important; }
.fds-organo-info { padding: 18px !important; }

/* Single news */
.fds-single-layout { padding: 56px 0 80px !important; }
.fds-single-content { padding: 48px !important; line-height: 1.9 !important; }

/* Contatti */
.fds-contatti-section { padding: 72px 0 80px !important; }
.fds-contatti-card { padding: 24px 26px !important; gap: 10px !important; }

/* Responsive */
@media (max-width: 768px) {
    .fds-section { padding: 56px 0 !important; }
    .fds-page-hero { padding: 48px 0 40px !important; }
    .fds-section-head { margin-bottom: 40px !important; }
    .container { padding: 0 20px !important; }
}
