:root {
    --green: #82b63a;
    --green-strong: #6e9f2f;
    --green-dark: #163221;
    --green-deep: #0f2418;
    --green-soft: #ecf7e1;
    --blue: #0f7ca8;
    --text: #1f2937;
    --muted: #667085;
    --border: #e5e7eb;
    --white: #ffffff;
    --surface: #f7faf5;
    --shadow-sm: 0 8px 20px rgba(16, 24, 40, .06);
    --shadow-md: 0 18px 45px rgba(16, 24, 40, .10);
    --shadow-lg: 0 24px 64px rgba(16, 24, 40, .14);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
}
main { overflow: hidden; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--green); }
img { max-width: 100%; display: block; }
.container { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(920px, calc(100% - 40px)); }

h1, h2, h3, h4, h5, .brand, .btn, .main-nav, .nav-toggle {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
h1, h2, h3 {
    color: var(--green-dark);
    line-height: 1.1;
    letter-spacing: -.02em;
}
p { margin-top: 0; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background-color: #EFEEDF;
    background-image: url('../../uploads/site/header-bg.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: auto calc(100% - 38px);

    border-bottom: 1px solid rgba(17, 24, 39, .06);
    box-shadow: 0 10px 28px rgba(16, 24, 40, .05);
}

.top-bar {
    background: var(--green-deep);
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
}
.top-bar-inner {
    min-height: 38px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}
.header-inner {
    min-height: 88px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}
.header-email {
    color: #fff !important;
}

.header-email:hover {
    color: #86b33b !important;
}

.footer-bottom a {
    color: #fff !important;
}

.footer-bottom a:hover {
    color: #86b33b !important;
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: 176px; height: auto; }
.nav-toggle {
    display: none;
    background: var(--green);
    color: #fff;
    border: 0;
    padding: 11px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}
.main-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2px;
    min-width: 0;
    flex-wrap: nowrap;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.main-nav > a,
.main-nav button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: #223125;
    font: inherit;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.2;
}
.main-nav > a::after,
.main-nav button::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 16px;
    height: 3px;
    border-radius: 999px;
    background: var(--green);
    opacity: 0;
    transform: scaleX(.5);
    transition: .2s ease;
}
.main-nav > a:hover,
.main-nav button:hover,
.main-nav > a:focus,
.main-nav button:focus { color: var(--green); }
.main-nav > a:hover::after,
.main-nav button:hover::after,
.main-nav > a:focus::after,
.main-nav button:focus::after {
    opacity: 1;
    transform: scaleX(1);
}
.nav-item { position: relative; }
.has-dropdown > button { gap: 6px; }
.has-dropdown > button::before {
    content: '▾';
    font-size: 11px;
    transform: translateY(-1px);
    opacity: .7;
}
.dropdown {
    position: absolute;
    left: 0;
    top: calc(100% - 10px);
    min-width: 245px;
    padding: 12px 0;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .18s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown a {
    display: block;
    padding: 12px 18px;
    color: #223125;
    text-transform: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
}
.dropdown a:hover { background: var(--green-soft); color: var(--green-dark); }
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid rgba(17, 24, 39, .06);
    font-size: 12px;
    font-weight: 800;
    color: var(--muted);
    letter-spacing: .08em;
}
.lang-switch a { color: var(--green-dark); }

.hero-slider {
    position: relative;
    height: 600px;
    min-height: 0;
    overflow: hidden;
    background: #12261a;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .8s ease;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
}

.slide.is-active {
    opacity: 1;
    position: absolute;
}
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 25, 16, .84) 0%, rgba(18, 50, 27, .62) 48%, rgba(18, 50, 27, .18) 100%);
}
.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 780px;
    padding: 132px 0 120px;
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    color: #d5f3bf;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .14em;
}
.slide-content h1 {
    color: #fff;
    font-size: clamp(30px, 5.6vw, 70px);
    line-height: .98;
    margin: 0 0 24px;
    text-transform: uppercase;
}
.slide-content p {
    font-size: clamp(18px, 2vw, 26px);
    line-height: 1.5;
    color: rgba(255, 255, 255, .92);
    margin: 0 0 36px;
    max-width: 720px;
}
.fallback-hero {
    background:
        radial-gradient(circle at 78% 28%, rgba(155, 199, 66, .42), transparent 18%),
        linear-gradient(135deg, var(--green-deep), #315b29);
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--green);
    color: white;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    border: 0;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0,0,0,.18);
    transition: transform .15s ease, background .15s ease;
}
.btn:hover {
    color: white;
    background: var(--green-strong);
    transform: translateY(-1px);
}
.btn.secondary {
    background: white;
    color: var(--green-dark);
    border: 1px solid var(--border);
    box-shadow: none;
    margin-right: 10px;
    margin-top: 10px;
}

.btn.third {
    background: var(--green-dark);
    color: var(--white);
    font-size: 10px;
	border-radius: 12px;
    border: 1px solid var(--border);
    margin-right: 4px;
    margin-top: 0px;
    padding: 0 14px;
    min-height: 42px;
}

.section { padding: 40px 0; }
.section-title {
    text-align: center;
    margin-bottom: 42px;
}
.section-title span,
.eyebrow {
    display: inline-block;
    color: var(--green-strong);
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: 12px;
	font-size: clamp(12px, 1vw, 16px);
}
.section-title h2 {
    font-size: clamp(30px, 3.8vw, 50px);
    margin: 12px 0 14px;
    text-transform: uppercase;
}
.section-title p {
    color: var(--muted);
    max-width: 890px;
    margin: 0 auto;
    font-size: 17px;
}
.home-content .section:nth-child(even) { background: var(--surface); }
.pillars-grid,
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.pillar,
.card {
    background: white;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.pillar {
    position: relative;
    overflow: hidden;
}
.pillar::before {
    content: '';
    position: absolute;
    inset: auto -40px -40px auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(130, 182, 58, .18), transparent 70%);
}
.pillar-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #eef6e3, #f8fcf4);
    color: var(--green);
    font-size: 30px;
}
.pillar h3,
.card h2 {
    margin-top: 0;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-size: 22px;
}
.split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 54px;
    align-items: center;
}

.circular-visual {
    width: 100%;
    max-width: 760px;
    min-height: 400px;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    background: #e9efe4;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.circular-visual.has-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Immagine caricata nella sezione Servizi della Home */
.circular-visual.has-image {
    overflow: hidden;
    background: none;
}

.circular-visual.has-image::before,
.circular-visual.has-image::after {
    content: none;
}

.circular-visual.has-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.service-card {
    padding: 30px;
    border-top: 5px solid var(--green);
}
.service-card strong {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--green-strong);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: .14em;
}
.cta-band {
    background: linear-gradient(135deg, #12261a, #345e2b);
    color: #fff;
    text-align: center;
}
.cta-band h2 {
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
    margin-top: 0;
    margin-bottom: 14px;
    text-transform: uppercase;
}
.cta-band p {
    color: rgba(255, 255, 255, .84);
    max-width: 780px;
    margin: 0 auto;
}
.partners-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}
.partner-chip {
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    padding: 12px 18px;
    color: #fff;
    font-weight: 700;
}

.page-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    color: white;
    background-size: cover;
    background-position: center;
    background-color: var(--green-dark);
}
.page-hero.no-image,
.archive-hero {
    background:
        radial-gradient(circle at 80% 22%, rgba(155, 199, 66, .22), transparent 20%),
        linear-gradient(135deg, #102418, #345e2b);
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.56), rgba(0,0,0,.18));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
    color: #fff;
    font-size: clamp(30px, 5vw, 58px);
    line-height: 1.03;
    margin: 12px 0 0;
    text-transform: none;
}
.page-hero p {
    max-width: 720px;
    font-size: 18px;
    color: rgba(255,255,255,.88);
}
.page-content h2,
.page-content h3 {
    color: var(--green-dark);
    line-height: 1.2;
}
.page-content h2 {
    font-size: clamp(28px, 3vw, 40px);
    text-transform: uppercase;
}
.page-content h3 { font-size: 28px; }
.page-content h5 {
    font-size: 18px;
    color: var(--green-dark);
    margin-bottom: 6px;
}
.page-content p,
.page-content li { font-size: 17px; }
.page-content ul { padding-left: 22px; }

.archive-section .listing-grid,
.listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.article-card img,
.article-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}
.article-placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #eef6e3, #fff);
    color: var(--green-dark);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 800;
    text-transform: uppercase;
}
.article-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.article-body h2 {
    font-size: 22px;
    margin: 8px 0 12px;
    text-transform: none;
}
.article-meta,
.article-date {
    color: var(--muted);
    font-size: 14px;
    min-height: 20px;
}
.article-body p { color: #4b5563; }
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    font-weight: 800;
    color: var(--green-strong);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .08em;
}
.read-more::after { content: '→'; }
.publication-info {
    background: var(--surface);
    padding: 20px 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    border-left: 4px solid var(--green);
}
.article-actions { margin-top: 32px; }

.site-footer {
    background: #102418;
    color: white;
    padding: 60px 0 30px;
}
.site-footer a { color: white; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.footer-logo { width: 176px; margin-bottom: 18px; }
.site-footer strong {
    display: inline-block;
    margin-bottom: 12px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 36px;
    padding-top: 18px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    color: rgba(255,255,255,.72);
    font-size: 13px;
}

@media (max-width: 1180px) {
    .header-inner {
        grid-template-columns: auto auto;
        grid-template-areas:
            'brand actions'
            'nav nav';
        gap: 16px 18px;
        padding: 16px 0;
        min-height: auto;
    }
    .brand { grid-area: brand; }
    .lang-switch { grid-area: actions; justify-self: end; }
    .nav-toggle {
        display: inline-flex;
        grid-area: actions;
        justify-self: end;
        margin-right: 74px;
    }
    .main-nav {
        grid-area: nav;
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 12px 18px;
        border: 1px solid rgba(17, 24, 39, .08);
        border-radius: 18px;
        background: #fff;
        box-shadow: var(--shadow-md);
    }
    .main-nav.is-open { display: flex; }
    .main-nav > a,
    .main-nav button {
        justify-content: flex-start;
        min-height: auto;
        padding: 14px 0;
        width: 100%;
    }
    .main-nav > a::after,
    .main-nav button::after { display: none; }
    .dropdown {
        position: static;
        min-width: 0;
        padding: 4px 0 10px 16px;
        border: 0;
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .dropdown a { padding: 6px 0; }
	.hero-slider { height: 600px; min-height: 0;}
    .slide-content { padding: 110px 0 100px; }
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .top-bar-inner {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 16px;
        padding: 8px 0;
    }
    .container,
    .narrow { width: min(100% - 48px, 1240px); }
    .pillars-grid,
    .cards-grid,
    .listing-grid,
    .split,
    .footer-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }
    .hero-slider {height: 450px; min-height: 0;}
    .slide-content h1 { font-size: clamp(30px, 9vw, 52px); }
    .section { padding: 52px 0; }
    .page-hero { min-height: 320px; }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .header-inner {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            'brand actions'
            'nav nav';
    }
	 .container,
    .narrow {
        width: min(100% - 40px, 1240px);
    }
    .brand img { width: 140px; }
    .nav-toggle {
        margin-right: 0;
        order: 2;
    }
    .lang-switch {
        order: 1;
        justify-self: end;
        margin-right: 66px;
        padding: 8px 12px;
    }
    .slide-content { padding: 92px 0 76px; }
    .slide-content p { font-size: 18px; }
    .pillars-grid,
    .cards-grid { gap: 20px; }
    .pillar,
    .card,
    .service-card { padding: 24px; }
	.dropdown a { padding: 6px 0; }
	.main-nav button { padding: 8px 0; }
}

/* Penultimo blocco sopra il footer */
.cta-band {
    background: linear-gradient(135deg, #8EB352, #6B8F31) !important;
    color: #ffffff !important;
}

.cta-band h2,
.cta-band h3,
.cta-band p,
.cta-band a,
.cta-band .section-title h2,
.cta-band .section-title p,
.cta-band .partner-chip {
    color: #ffffff !important;
}

.cta-band .partner-chip {
    background: rgba(255,255,255,0.10) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
}

/* Download documenti */
.document-download {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    padding: 18px 20px;
    margin: 20px 0;
    border: 1px solid #dce5df;
    border-radius: 12px;
    background: #ffffff;
}

.document-icon {
    flex: 0 0 36px;
}

.document-icon img {
    display: block;
    width: 36px !important;
    height: 36px !important;
    object-fit: contain;
}

.document-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.document-info strong {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #183126;
}

.document-info span {
    font-size: 13px;
    color: #777;
}

.document-download-btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 7px;
    background: #86b33b;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: 0.2s ease;
}

.document-download-btn:hover {
    background: #6f982f;
    color: #fff !important;
}

/* Smartphone */
@media (max-width: 600px) {
    .document-download {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .document-info {
        min-width: calc(100% - 60px);
    }

    .document-action {
        width: 100%;
        margin-top: 8px;
    }

    .document-download-btn {
        width: 100%;
        text-align: center;
    }
}
 /* blocco download */
.w3eden .link-template-default {
    border: 1px solid #dfe6e2;
    border-radius: 12px;
    background: #fff;
    margin: 18px 0;
}

.w3eden .card-body {
    padding: 18px 20px;
}

.w3eden .media {
    display: flex;
    align-items: center;
    gap: 16px;
}

.w3eden .media-body {
    flex: 1;
}

.w3eden .package-title {
    margin: 0 0 4px;
    font-size: 18px;
}

.w3eden .wpdm_icon {
    width: 32px !important;
    height: 32px !important;
}

.w3eden .btn-primary {
    display: inline-block;
    padding: 10px 18px;
    background: #86b33b;
    color: #fff !important;
    border-radius: 7px;
    text-decoration: none;
}

/* Bottone PDF articoli */
.article-actions .btn.secondary {
    background: #c62828;
    color: #ffffff !important;
    border-color: #c62828;
}

.article-actions .btn.secondary:hover {
    background: #86b33b;
    color: #ffffff !important;
    border-color: #86b33b;
}


/* Carosello loghi Home - loop continuo */
.home-logo-carousel-section {
    width: 100%;
    padding: 34px 0;
    overflow: hidden;
    background: #ffffff;
    border-top: 1px solid rgba(17, 24, 39, .06);
    border-bottom: 1px solid rgba(17, 24, 39, .06);
}

.home-logo-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
}

.home-logo-track {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center;
    width: max-content;
    min-width: max-content;
    animation: homeLogoScroll 36s linear infinite;
    will-change: transform;
}

.home-logo-carousel:hover .home-logo-track,
.home-logo-carousel:focus-within .home-logo-track {
    animation-play-state: paused;
}

.home-logo-group {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center;
    gap: 30px;
    padding-right: 30px;
    flex: 0 0 auto !important;
    width: max-content;
}

.home-logo-item {
    flex: 0 0 220px !important;
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    height: 110px !important;

    display: flex;
    align-items: center;
    justify-content: center;
}

.home-logo-item img {
    width: auto !important;
    height: auto !important;

    max-width: 195px !important;
    max-height: 90px !important;

    object-fit: contain !important;
    display: block;
}
.home-logo-item:hover img {
    transform: scale(1.04);
    opacity: .86;
}

@keyframes homeLogoScroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-12.5%, 0, 0); }
}

@media (max-width: 900px) {
    .home-logo-carousel-section { padding: 28px 0; }
    .home-logo-group { gap: 34px; padding-right: 34px; }
    .home-logo-item {
        flex-basis: 150px !important;
        width: 150px !important;
        min-width: 150px !important;
        max-width: 150px !important;
        height: 72px !important;
    }
    .home-logo-item img {
        width: 132px !important;
        height: 56px !important;
        max-width: 132px !important;
        max-height: 56px !important;
    }
}

@media (max-width: 600px) {
    .home-logo-carousel-section { padding: 24px 0; }
    .home-logo-group { gap: 24px; padding-right: 24px; }
    .home-logo-item {
        flex-basis: 126px !important;
        width: 126px !important;
        min-width: 126px !important;
        max-width: 126px !important;
        height: 64px !important;
    }
    .home-logo-item img {
        width: 112px !important;
        height: 50px !important;
        max-width: 112px !important;
        max-height: 50px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-logo-track { animation: none; }
}

/* Citazioni inserite dall'editor */
.page-content blockquote,
.article-content blockquote,
.pmc-quote {
    border-left: 4px solid #86b33b;
    border-color:#DF5148;
    padding: 0 0 0 20px;
    margin: 24px 0;
    font-size: 16px;
    line-height: 30px;
    font-style: italic;
}

/* =====================================================
   HOME - MISURARE / MIGLIORARE / COMUNICARE
   Stile coerente con le card articoli
   ===================================================== */

.pillar-card {
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pillar-card::before,
.pillar-card::after {
    content: none !important;
    display: none !important;
}


/* IMMAGINE */

.pillar-card-image {
    display: block;
    width: 100% !important;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    border-radius: 0;
    flex-shrink: 0;
}


/* CONTENUTO SOTTO L'IMMAGINE */

.pillar-card-body {
    padding: 28px 30px 32px !important;
    display: flex;
    flex-direction: column;
    flex: 1;
}


/* TITOLO */

.pillar-card-body h3 {
    margin: 0 0 18px !important;
    padding: 0 !important;
    font-size: 22px;
    line-height: 1.25;
    text-transform: uppercase;
}


/* TESTO */

.pillar-card-body p {
    margin: 0 !important;
    padding: 0 !important;
    color: #4b5563;
    line-height: 1.7;
}


/* PLACEHOLDER SE NON C'E' UNA FOTO */

.pillar-card .article-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef6e3, #ffffff);
    color: var(--green);
    font-size: 44px;
    text-transform: none;
}


/* MOBILE */

@media (max-width: 700px) {

    .pillar-card {
        padding: 0 !important;
    }

    .pillar-card-body {
        padding: 24px !important;
    }

}

/* =====================================================
   PAGINA CONTATTI - TESTO + FORM
   Attivo solo quando la pagina contiene [contact_form]
   ===================================================== */
.contact-page-section {
    background: #f4fbfb;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
    gap: 64px;
    align-items: start;
}

.contact-page-copy {
    min-width: 0;
}

.contact-page-copy > :first-child {
    margin-top: 0;
}

.contact-form-card {
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 22px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.contact-form-heading {
    margin-bottom: 22px;
}

.contact-form-heading span {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--green-strong);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-form-heading h2 {
    margin: 0 0 10px;
    color: var(--green-dark);
    font-size: 28px;
    line-height: 1.15;
    text-transform: none;
}

.contact-form-heading p {
    margin: 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.55;
}

.contact-request-form {
    display: grid;
    gap: 16px;
}

.contact-form-field {
    display: grid;
    gap: 7px;
}

.contact-form-field label,
.contact-form-privacy {
    font-weight: 700;
    color: var(--green-dark);
}

.contact-form-field input,
.contact-form-field textarea {
    width: 100%;
    border: 1px solid #cfd8d3;
    border-radius: 10px;
    background: #ffffff;
    padding: 12px 14px;
    font: inherit;
    color: #1f2937;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form-field textarea {
    min-height: 145px;
    resize: vertical;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(134, 179, 59, .15);
}

.contact-form-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 500;
    color: #52605a;
}

.contact-form-privacy input {
    width: auto;
    margin: 3px 0 0;
    flex: 0 0 auto;
}

.contact-form-submit {
    justify-self: start;
    border: 0;
    cursor: pointer;
}

.contact-form-message {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-form-message.success {
    background: #eef8e8;
    border: 1px solid #cfe6be;
    color: #315c22;
}

.contact-form-message.error {
    background: #fff2f1;
    border: 1px solid #f0c7c3;
    color: #8c2d27;
}

.contact-form-message ul {
    margin: 0;
    padding-left: 18px;
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 900px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-form-card {
        max-width: 680px;
    }
}

@media (max-width: 640px) {
    .contact-form-card {
        padding: 24px;
        border-radius: 18px;
    }

    .contact-form-heading h2 {
        font-size: 24px;
    }

    .contact-form-submit {
        width: 100%;
        justify-content: center;
    }
}

.main-nav > a,
.main-nav > .has-dropdown > button {
    font-weight: 700;
}

.main-nav .dropdown a {
    font-weight: 400;
}

/* =====================================================
   IMMAGINI NEI CONTENUTI
   Mai ingrandire oltre la dimensione originale.
   Ridurre solo quando necessario.
   ===================================================== */

.page-content img,
.article-content img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
}

/* Dimensioni impostate dall'editor:
   diventano limiti massimi, non larghezze obbligatorie. */

.page-content img[data-circular-width="25"],
.article-content img[data-circular-width="25"],
.page-content img[data-width="25%"],
.article-content img[data-width="25%"] {
    max-width: 25% !important;
}

.page-content img[data-circular-width="50"],
.article-content img[data-circular-width="50"],
.page-content img[data-width="50%"],
.article-content img[data-width="50%"] {
    max-width: 50% !important;
}

.page-content img[data-circular-width="75"],
.article-content img[data-circular-width="75"],
.page-content img[data-width="75%"],
.article-content img[data-width="75%"] {
    max-width: 75% !important;
}

.page-content img[data-circular-width="100"],
.article-content img[data-circular-width="100"],
.page-content img[data-width="100%"],
.article-content img[data-width="100%"] {
    max-width: 100% !important;
}
.slider-only-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    gap: 10px;
}

.slider-only-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    padding: 0;
    border: 1px solid #fff;
    background: #ffffff55;
    cursor: pointer;
}

.slider-only-dots button[aria-current="true"] {
    background: #95b543;
    border-color: #95b543;
}

.hero-slider {
    position: relative;
}

.slide-content {
    padding-left: 70px;
    padding-right: 70px;
}

@media (max-width: 600px) {
    .slide-content {
        padding-left: 52px;
        padding-right: 52px;
    }
}

/* Frecce come nell’anteprima Circular */
.hero-slider .slider-side-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    display: grid;
    place-items: center;
    width: 48px;
    height: 64px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font: 300 56px/1 Arial, Helvetica, sans-serif;
    text-shadow: 0 2px 6px #0009;
}

.hero-slider .slider-side-arrow.prev {
    left: 24px;
}

.hero-slider .slider-side-arrow.next {
    right: 24px;
}

.hero-slider .slider-side-arrow:hover {
    color: #94bb54;
}

@media (max-width: 640px) {
    .hero-slider .slider-side-arrow {
        width: 36px;
        height: 56px;
        font-size: 44px;
    }

    .hero-slider .slider-side-arrow.prev {
        left: 6px;
    }

    .hero-slider .slider-side-arrow.next {
        right: 6px;
    }
}

/*icone social footer */

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.site-footer .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 15%;
    color: #fff;
    text-decoration: none;
    transition: color .2s, border-color .2s, background-color .2s;
}

.site-footer .footer-social a:hover,
.site-footer .footer-social a:focus-visible {
    color: #86b33b;
    border-color: #86b33b;
    background-color: rgba(134, 179, 59, .12);
}

.site-footer .footer-social a:focus-visible {
    outline: 2px solid #86b33b;
    outline-offset: 3px;
}

.footer-social svg {
    display: block;
    width: 22px;
    height: 22px;
}
