/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 30 2026 | 15:12:16 */
/*
 * Scopri Cotronei - modulo 12-idroelettrico-dintorni-fix.css
 * Estratto senza modifiche funzionali dal CSS originale.
 * Righe originali: 57732-62211.
 * Contenuto: Acqua/idroelettrico, dintorni, correzioni finali premi/servizi e altri fix.
 */

/* ==========================================================
   ACQUA, LAGHI E IDROELETTRICO
   Design system basato sulle pagine Cotronei
========================================================== */


/* ==========================================================
   BASE
========================================================== */

.sc-water-page {
    --sc-water-green: var(--verde-principale, #264733);
    --sc-water-green-hover: var(--verde-hover, #1f3a2a);
    --sc-water-gold: var(--oro-accento, #d9b46b);

    --sc-water-cream: #f7f4ea;
    --sc-water-cream-light: #fbfaf6;
    --sc-water-white: #ffffff;

    --sc-water-text: var(--testo-principale, #2f2f2f);
    --sc-water-soft: #606660;

    --sc-water-border: rgba(38, 71, 51, 0.15);

    --sc-water-shadow:
        0 16px 42px rgba(0, 0, 0, 0.08);

    --sc-water-shadow-soft:
        0 7px 22px rgba(0, 0, 0, 0.04);

    width: 100%;
    max-width: 1120px;

    margin: 0 auto;
    padding: 0 20px 56px;

    color: var(--sc-water-text);

    box-sizing: border-box;
}


.sc-water-page *,
.sc-water-page *::before,
.sc-water-page *::after {
    box-sizing: border-box;
}


.sc-water-page h1,
.sc-water-page h2,
.sc-water-page h3,
.sc-water-page p {
    margin: 0;
}


.sc-water-page a {
    text-decoration: none;
}


/* ==========================================================
   BREADCRUMB
========================================================== */

.sc-water-page .sc-breadcrumb {
    width: 100%;
    max-width: 1080px;

    margin: 20px auto 14px;
    padding: 0 4px;
}


/* ==========================================================
   HERO
========================================================== */

.sc-water-hero {
    position: relative;

    display: flex;
    align-items: center;

    min-height: clamp(455px, 48vw, 590px);

    margin: 0 auto 54px;

    border-radius: 34px;

    overflow: hidden;
    isolation: isolate;

    box-shadow: var(--sc-water-shadow);
}


.sc-water-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            to right,
            rgba(245, 245, 242, 0.93) 0%,
            rgba(245, 245, 242, 0.80) 39%,
            rgba(245, 245, 242, 0.33) 72%,
            rgba(245, 245, 242, 0.05) 100%
        );
}


.sc-water-hero-img {
    position: absolute;
    inset: 0;

    z-index: 1;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: 50% 52%;

    filter:
        saturate(0.88)
        contrast(0.96);
}


.sc-water-hero-content {
    position: relative;

    z-index: 3;

    width: min(100%, 760px);

    padding: 58px 64px;
}


.sc-water-kicker,
.sc-water-section-head > span,
.sc-water-highlight-copy > span,
.sc-water-identity-copy > span,
.sc-water-update > span,
.sc-water-note-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;
    min-height: 29px;

    padding: 0 12px;

    border-radius: 999px;

    background: var(--sc-water-cream);
    color: var(--sc-water-green);

    font-size: 10px;
    font-weight: 850;
    line-height: 1;

    letter-spacing: 0.65px;
    text-transform: uppercase;
}


.sc-water-kicker {
    margin-bottom: 13px;
}


.sc-water-hero h1 {
    max-width: 720px;

    color: var(--sc-water-green);

    font-size: clamp(40px, 5.1vw, 62px);
    font-weight: 850;
    line-height: 1.03;

    letter-spacing: -0.9px;
}


.sc-water-hero p {
    max-width: 620px;

    margin-top: 19px;

    color: #324536;

    font-size: 17px;
    font-weight: 500;
    line-height: 1.7;
}


/* ==========================================================
   HERO ACTIONS
========================================================== */

.sc-water-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 11px;

    margin-top: 27px;
}


.sc-water-actions a,
.sc-water-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 21px;

    border: 1px solid var(--sc-water-green);
    border-radius: 999px;

    background: var(--sc-water-green);
    color: #ffffff !important;

    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;

    text-align: center;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.sc-water-actions a:nth-child(2) {
    border-color: var(--sc-water-border);

    background: #ffffff;
    color: var(--sc-water-green) !important;
}


.sc-water-actions a:hover,
.sc-water-cta a:hover {
    transform: translateY(-2px);

    background: var(--sc-water-green-hover);
    border-color: var(--sc-water-green-hover);

    color: #ffffff !important;
}


.sc-water-actions a:nth-child(2):hover {
    background: var(--sc-water-green);
    border-color: var(--sc-water-green);

    color: #ffffff !important;
}


/* ==========================================================
   SECTION HEAD
========================================================== */

.sc-water-section-head {
    width: 100%;
    max-width: 860px;

    margin: 0 auto 31px;

    text-align: center;
}


.sc-water-section-spaced {
    margin-top: 68px;
}


.sc-water-section-head > span,
.sc-water-highlight-copy > span,
.sc-water-identity-copy > span,
.sc-water-update > span {
    margin-bottom: 12px;
}


.sc-water-section-head h2,
.sc-water-highlight h2,
.sc-water-identity h2,
.sc-water-territory-note h2,
.sc-water-update h2,
.sc-water-cta h2 {
    color: var(--sc-water-green);

    font-size: clamp(30px, 4vw, 46px);
    font-weight: 850;
    line-height: 1.1;

    letter-spacing: -0.5px;
}


.sc-water-section-head p,
.sc-water-highlight p,
.sc-water-identity p,
.sc-water-territory-note p,
.sc-water-update p,
.sc-water-cta p {
    max-width: 790px;

    margin: 14px auto 0;

    color: var(--sc-water-soft);

    font-size: 16px;
    line-height: 1.72;
}


.sc-water-section-head p + p,
.sc-water-highlight p + p,
.sc-water-identity p + p {
    margin-top: 10px;
}


/* ==========================================================
   PILLARS
========================================================== */

.sc-water-pillars {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    width: 100%;
    max-width: 980px;

    margin: 0 auto 70px;
}


.sc-water-pillar {
    min-width: 0;
    min-height: 210px;

    padding: 25px;

    border: 1px solid var(--sc-water-border);
    border-radius: 23px;

    background: var(--sc-water-cream-light);

    box-shadow: var(--sc-water-shadow-soft);
}


.sc-water-pillar span,
.sc-water-landscape-grid span,
.sc-water-related span,
.sc-water-identity-points span,
.sc-water-flow-content > span {
    color: #956b22;

    font-size: 10px;
    font-weight: 850;
    line-height: 1;

    letter-spacing: 0.6px;
    text-transform: uppercase;
}


.sc-water-pillar strong,
.sc-water-landscape-grid strong,
.sc-water-related strong,
.sc-water-identity-points strong {
    display: block;

    margin-top: 17px;

    color: var(--sc-water-green);

    font-size: 21px;
    font-weight: 850;
    line-height: 1.15;
}


.sc-water-pillar p,
.sc-water-landscape-grid p,
.sc-water-related p,
.sc-water-identity-points p {
    margin-top: 10px;

    color: var(--sc-water-soft);

    font-size: 14px;
    line-height: 1.62;
}


/* ==========================================================
   HIGHLIGHT AMPOLlINO
========================================================== */

.sc-water-highlight {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(290px, 0.85fr);

    gap: 32px;

    align-items: center;

    width: 100%;
    max-width: 980px;

    margin: 0 auto 72px;
    padding: 36px;

    border: 1px solid var(--sc-water-border);
    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            var(--sc-water-cream) 0%,
            var(--sc-water-cream-light) 100%
        );
}


.sc-water-highlight-copy p {
    margin-left: 0;
    margin-right: 0;
}


.sc-water-highlight-copy > a,
.sc-water-identity-copy > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 43px;

    margin-top: 19px;
    padding: 0 18px;

    border: 1px solid var(--sc-water-green);
    border-radius: 999px;

    background: #ffffff;
    color: var(--sc-water-green) !important;

    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}


.sc-water-highlight-copy > a:hover,
.sc-water-identity-copy > a:hover {
    transform: translateY(-2px);

    background: var(--sc-water-green);
    color: #ffffff !important;
}


.sc-water-highlight-facts {
    display: grid;

    gap: 11px;
}


.sc-water-highlight-facts > div {
    padding: 18px;

    border: 1px solid rgba(38, 71, 51, 0.11);
    border-radius: 18px;

    background: #ffffff;
}


.sc-water-highlight-facts span {
    display: block;

    color: var(--sc-water-soft);

    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;

    letter-spacing: 0.55px;
    text-transform: uppercase;
}


.sc-water-highlight-facts strong {
    display: block;

    margin-top: 7px;

    color: var(--sc-water-green);

    font-size: 19px;
    font-weight: 850;
    line-height: 1.15;
}


/* ==========================================================
   FLOW
========================================================== */

.sc-water-flow {
    display: grid;

    gap: 15px;

    width: 100%;
    max-width: 930px;

    margin: 0 auto 70px;
}


.sc-water-flow-item {
    display: grid;

    grid-template-columns:
        62px
        minmax(0, 1fr);

    gap: 21px;

    align-items: start;

    padding: 24px 27px;

    border: 1px solid var(--sc-water-border);
    border-radius: 23px;

    background: #ffffff;

    box-shadow: var(--sc-water-shadow-soft);
}


.sc-water-flow-focus {
    border-color: rgba(38, 71, 51, 0.30);

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            var(--sc-water-cream-light) 100%
        );
}


.sc-water-flow-number {
    display: grid;

    place-items: center;

    width: 54px;
    height: 54px;

    border-radius: 17px;

    background: var(--sc-water-green);
    color: #ffffff;

    font-size: 13px;
    font-weight: 850;
    line-height: 1;
}


.sc-water-flow-content h3 {
    margin-top: 7px;

    color: var(--sc-water-green);

    font-size: 23px;
    font-weight: 850;
    line-height: 1.16;
}


.sc-water-flow-content p {
    margin-top: 9px;

    color: var(--sc-water-soft);

    font-size: 14.5px;
    line-height: 1.65;
}


/* ==========================================================
   TERRITORY NOTE
========================================================== */

.sc-water-territory-note {
    width: 100%;
    max-width: 900px;

    margin: 0 auto 72px;
    padding: 34px 38px;

    border: 1px solid rgba(217, 180, 107, 0.45);
    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            #fffaf0 0%,
            var(--sc-water-cream) 100%
        );

    text-align: center;
}


.sc-water-note-label {
    margin-bottom: 12px;

    background: #ffffff;
}


.sc-water-territory-note h2 {
    font-size: clamp(27px, 3.5vw, 39px);
}


/* ==========================================================
   IDENTITY - COTRONEI E IDROELETTRICO
   Layout fluido: si adatta alla larghezza reale del contenitore
========================================================== */

.sc-water-identity {
    display: flex;
    flex-wrap: wrap;

    gap: 34px;

    align-items: stretch;

    width: 100%;
    max-width: 980px;

    margin: 0 auto 72px;
    padding: 40px;

    border: 1px solid var(--sc-water-border);
    border-radius: 30px;

    background: #ffffff;

    box-shadow: var(--sc-water-shadow-soft);
}


/* COLONNA TESTO */

.sc-water-identity-copy {
    flex: 1 1 330px;

    min-width: 0;
}


.sc-water-identity-copy > span {
    margin-bottom: 12px;
}


.sc-water-identity-copy h2 {
    width: 100%;
    max-width: 430px;

    margin: 0;

    color: var(--sc-water-green);

    font-size: clamp(30px, 3.5vw, 42px);
    font-weight: 850;
    line-height: 1.08;

    letter-spacing: -0.45px;

    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
}


.sc-water-identity-copy p {
    max-width: 520px;

    margin: 15px 0 0;

    color: var(--sc-water-soft);

    font-size: 16px;
    line-height: 1.72;
}


.sc-water-identity-copy p + p {
    margin-top: 11px;
}


.sc-water-identity-copy > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 43px;

    margin-top: 21px;
    padding: 0 18px;

    border: 1px solid var(--sc-water-green);
    border-radius: 999px;

    background: #ffffff;
    color: var(--sc-water-green) !important;

    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;

    text-align: center;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}


.sc-water-identity-copy > a:hover {
    transform: translateY(-2px);

    background: var(--sc-water-green);
    color: #ffffff !important;
}


/* COLONNA CARD */

.sc-water-identity-points {
    display: grid;

    flex: 1 1 280px;

    gap: 11px;

    min-width: 260px;

    align-content: center;
}


.sc-water-identity-points > div {
    min-width: 0;

    padding: 19px;

    border: 1px solid var(--sc-water-border);
    border-radius: 18px;

    background: var(--sc-water-cream-light);
}


.sc-water-identity-points span {
    display: block;

    color: #956b22;

    font-size: 10px;
    font-weight: 850;
    line-height: 1;

    letter-spacing: 0.6px;
    text-transform: uppercase;
}


.sc-water-identity-points strong {
    display: block;

    margin-top: 8px;

    color: var(--sc-water-green);

    font-size: 18px;
    font-weight: 850;
    line-height: 1.2;
}


.sc-water-identity-points p {
    margin-top: 8px;

    color: var(--sc-water-soft);

    font-size: 13px;
    line-height: 1.55;
}


/* Quando il contenitore non ha spazio sufficiente,
   le card scendono automaticamente sotto il testo.
   Non dipende più dalla larghezza della viewport. */

@media (max-width: 767px) {

    .sc-water-identity {
        display: flex;
        flex-direction: column;

        gap: 23px;

        margin-bottom: 56px;
        padding: 27px 22px;

        border-radius: 26px;
    }


    .sc-water-identity-copy,
    .sc-water-identity-points {
        flex: none;

        width: 100%;
        min-width: 0;
    }


    .sc-water-identity-copy h2 {
        max-width: 100%;

        font-size: clamp(29px, 8.5vw, 38px);
        line-height: 1.1;
    }


    .sc-water-identity-copy p {
        max-width: 100%;

        font-size: 15px;
        line-height: 1.65;
    }


    .sc-water-identity-copy > a {
        width: 100%;
    }


    .sc-water-identity-points {
        gap: 10px;
    }

}


/* ==========================================================
   LANDSCAPE
========================================================== */

.sc-water-landscape-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    width: 100%;
    max-width: 920px;

    margin: 0 auto 70px;
}


.sc-water-landscape-grid > article {
    min-width: 0;
    min-height: 190px;

    padding: 24px;

    border: 1px solid var(--sc-water-border);
    border-radius: 22px;

    background: var(--sc-water-cream-light);
}


/* ==========================================================
   UPDATE
========================================================== */

.sc-water-update {
    width: 100%;
    max-width: 900px;

    margin: 0 auto 70px;
    padding: 34px 38px;

    border: 1px solid var(--sc-water-border);
    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            var(--sc-water-cream) 0%,
            var(--sc-water-cream-light) 100%
        );

    text-align: center;
}


.sc-water-update h2 {
    font-size: clamp(27px, 3.5vw, 39px);
}


/* ==========================================================
   RELATED
========================================================== */

.sc-water-related {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    width: 100%;
    max-width: 920px;

    margin: 0 auto 68px;
}


.sc-water-related > a {
    min-width: 0;
    min-height: 185px;

    padding: 24px;

    border: 1px solid var(--sc-water-border);
    border-radius: 22px;

    background: #ffffff;
    color: var(--sc-water-text) !important;

    box-shadow: var(--sc-water-shadow-soft);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.sc-water-related > a:hover {
    transform: translateY(-3px);

    border-color: rgba(38, 71, 51, 0.30);

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.07);
}


/* ==========================================================
   CTA
========================================================== */

.sc-water-cta {
    width: 100%;
    max-width: 900px;

    margin: 64px auto 10px;
    padding: 36px;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            var(--sc-water-green) 0%,
            var(--sc-water-green-hover) 100%
        );

    color: #ffffff;

    text-align: center;

    box-shadow: var(--sc-water-shadow);
}


.sc-water-cta h2 {
    color: #ffffff;
}


.sc-water-cta p {
    max-width: 700px;

    margin-bottom: 24px;

    color: rgba(255, 255, 255, 0.84);
}


.sc-water-cta a {
    border-color: rgba(255, 255, 255, 0.20);

    background: rgba(255, 255, 255, 0.12);
}


.sc-water-cta a:hover {
    background: #ffffff;
    border-color: #ffffff;

    color: var(--sc-water-green) !important;
}


/* ==========================================================
   FOCUS
========================================================== */

.sc-water-page a:focus-visible {
    outline: 3px solid rgba(217, 180, 107, 0.60);
    outline-offset: 3px;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 980px) {

    .sc-water-pillars,
    .sc-water-landscape-grid {
        grid-template-columns: 1fr;

        max-width: 700px;
    }


    .sc-water-pillar,
    .sc-water-landscape-grid > article {
        min-height: 0;
    }


    .sc-water-highlight {
        grid-template-columns: 1fr;

        max-width: 760px;
    }

}




/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

    .sc-water-page {
        padding: 0 16px 42px;
    }


    .sc-water-page .sc-breadcrumb {
        margin-top: 15px;
        margin-bottom: 12px;

        padding: 0;
    }


    .sc-water-hero {
        min-height: 585px;

        margin-bottom: 44px;

        border-radius: 27px;

        align-items: flex-end;
    }


    .sc-water-hero::before {
        background:
            linear-gradient(
                to bottom,
                rgba(245, 245, 242, 0.03) 0%,
                rgba(245, 245, 242, 0.25) 36%,
                rgba(245, 245, 242, 0.91) 74%,
                rgba(245, 245, 242, 0.97) 100%
            );
    }


    .sc-water-hero-content {
        width: 100%;

        padding: 29px 23px;
    }


    .sc-water-hero h1 {
        font-size: clamp(34px, 9.4vw, 46px);
    }


    .sc-water-hero p {
        margin-top: 15px;

        font-size: 15px;
        line-height: 1.62;
    }


    .sc-water-actions {
        flex-direction: column;

        gap: 9px;

        margin-top: 22px;
    }


    .sc-water-actions a {
        width: 100%;
    }


    .sc-water-section-head {
        margin-bottom: 26px;
    }


    .sc-water-section-spaced {
        margin-top: 52px;
    }


    .sc-water-section-head h2 {
        font-size: clamp(29px, 8.5vw, 38px);
    }


    .sc-water-section-head p {
        font-size: 15px;
        line-height: 1.65;
    }


    .sc-water-pillars,
    .sc-water-landscape-grid {
        gap: 14px;

        margin-bottom: 56px;
    }


    .sc-water-pillar,
    .sc-water-landscape-grid > article {
        padding: 22px;

        border-radius: 21px;
    }


    .sc-water-highlight,
    .sc-water-identity {
        margin-bottom: 56px;
        padding: 27px 22px;

        border-radius: 26px;
    }



    .sc-water-flow {
        gap: 13px;

        margin-bottom: 56px;
    }


    .sc-water-flow-item {
        grid-template-columns: 1fr;

        gap: 16px;

        padding: 22px;

        border-radius: 21px;
    }


    .sc-water-flow-number {
        width: 48px;
        height: 48px;

        border-radius: 15px;
    }


    .sc-water-flow-content h3 {
        font-size: 21px;
    }


    .sc-water-territory-note,
    .sc-water-update {
        margin-bottom: 56px;
        padding: 27px 22px;

        border-radius: 25px;
    }


    .sc-water-related {
        grid-template-columns: 1fr;

        max-width: 520px;

        gap: 14px;

        margin-bottom: 56px;
    }


    .sc-water-related > a {
        min-height: 0;

        padding: 22px;
    }


    .sc-water-cta {
        margin-top: 54px;
        padding: 27px 22px;

        border-radius: 27px;
    }


    .sc-water-cta a {
        width: 100%;
    }

}


/* ==========================================================
   MOBILE PICCOLO
========================================================== */

@media (max-width: 480px) {

    .sc-water-page {
        padding-left: 14px;
        padding-right: 14px;
    }


    .sc-water-hero {
        min-height: 565px;

        border-radius: 24px;
    }


    .sc-water-hero-content {
        padding: 25px 19px;
    }


    .sc-water-kicker,
    .sc-water-section-head > span,
    .sc-water-highlight-copy > span,
    .sc-water-identity-copy > span,
    .sc-water-update > span,
    .sc-water-note-label {
        font-size: 9px;
    }

}


/* ==========================================================
   RIDUZIONE ANIMAZIONI
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .sc-water-page *,
    .sc-water-page *::before,
    .sc-water-page *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

}

/* ==========================================================
   LA SILA INTORNO A COTRONEI
   Design system basato sulle pagine Cotronei
========================================================== */


/* ==========================================================
   BASE
========================================================== */

.sc-sila-around-page {
    --sc-sa-green: var(--verde-principale, #264733);
    --sc-sa-green-hover: var(--verde-hover, #1f3a2a);
    --sc-sa-gold: var(--oro-accento, #d9b46b);

    --sc-sa-cream: #f7f4ea;
    --sc-sa-cream-light: #fbfaf6;
    --sc-sa-white: #ffffff;

    --sc-sa-text: var(--testo-principale, #2f2f2f);
    --sc-sa-soft: #606660;

    --sc-sa-border: rgba(38, 71, 51, 0.15);

    --sc-sa-shadow:
        0 16px 42px rgba(0, 0, 0, 0.08);

    --sc-sa-shadow-soft:
        0 7px 22px rgba(0, 0, 0, 0.04);

    width: 100%;
    max-width: 1120px;

    margin: 0 auto;
    padding: 0 20px 56px;

    color: var(--sc-sa-text);

    box-sizing: border-box;
}


.sc-sila-around-page *,
.sc-sila-around-page *::before,
.sc-sila-around-page *::after {
    box-sizing: border-box;
}


.sc-sila-around-page h1,
.sc-sila-around-page h2,
.sc-sila-around-page h3,
.sc-sila-around-page p {
    margin: 0;
}


.sc-sila-around-page a {
    text-decoration: none;
}


/* ==========================================================
   BREADCRUMB
========================================================== */

.sc-sila-around-page .sc-breadcrumb {
    width: 100%;
    max-width: 1080px;

    margin: 20px auto 14px;
    padding: 0 4px;
}


/* ==========================================================
   HERO
========================================================== */

.sc-sila-around-hero {
    position: relative;

    display: flex;
    align-items: center;

    min-height: clamp(455px, 48vw, 585px);

    margin: 0 auto 54px;

    border-radius: 34px;

    overflow: hidden;
    isolation: isolate;

    box-shadow: var(--sc-sa-shadow);
}


.sc-sila-around-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            to right,
            rgba(245, 245, 242, 0.93) 0%,
            rgba(245, 245, 242, 0.79) 40%,
            rgba(245, 245, 242, 0.32) 73%,
            rgba(245, 245, 242, 0.05) 100%
        );
}


.sc-sila-around-hero-img {
    position: absolute;
    inset: 0;

    z-index: 1;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: 50% 52%;

    filter:
        saturate(0.88)
        contrast(0.96);
}


.sc-sila-around-hero-content {
    position: relative;

    z-index: 3;

    width: min(100%, 760px);

    padding: 58px 64px;
}


.sc-sila-around-kicker,
.sc-sila-around-section-head > span,
.sc-sila-around-transition-copy > span,
.sc-sila-around-territory-copy > span,
.sc-sila-around-note > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;
    min-height: 29px;

    padding: 0 12px;

    border-radius: 999px;

    background: var(--sc-sa-cream);
    color: var(--sc-sa-green);

    font-size: 10px;
    font-weight: 850;
    line-height: 1;

    letter-spacing: 0.65px;
    text-transform: uppercase;
}


.sc-sila-around-kicker {
    margin-bottom: 13px;
}


.sc-sila-around-hero h1 {
    max-width: 720px;

    color: var(--sc-sa-green);

    font-size: clamp(40px, 5.2vw, 64px);
    font-weight: 850;
    line-height: 1.03;

    letter-spacing: -0.9px;
}


.sc-sila-around-hero p {
    max-width: 625px;

    margin-top: 19px;

    color: #324536;

    font-size: 17px;
    font-weight: 500;
    line-height: 1.7;
}


/* ==========================================================
   HERO ACTIONS
========================================================== */

.sc-sila-around-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 11px;

    margin-top: 27px;
}


.sc-sila-around-actions a,
.sc-sila-around-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 21px;

    border: 1px solid var(--sc-sa-green);
    border-radius: 999px;

    background: var(--sc-sa-green);
    color: #ffffff !important;

    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;

    text-align: center;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.sc-sila-around-actions a:nth-child(n+2) {
    border-color: var(--sc-sa-border);

    background: #ffffff;
    color: var(--sc-sa-green) !important;
}


.sc-sila-around-actions a:hover {
    transform: translateY(-2px);

    background: var(--sc-sa-green-hover);
    border-color: var(--sc-sa-green-hover);

    color: #ffffff !important;
}


.sc-sila-around-actions a:nth-child(n+2):hover {
    background: var(--sc-sa-green);
    border-color: var(--sc-sa-green);

    color: #ffffff !important;
}


/* ==========================================================
   SECTION HEAD
========================================================== */

.sc-sila-around-section-head {
    width: 100%;
    max-width: 870px;

    margin: 0 auto 31px;

    text-align: center;
}


.sc-sila-around-section-spaced {
    margin-top: 68px;
}


.sc-sila-around-section-head > span,
.sc-sila-around-transition-copy > span,
.sc-sila-around-territory-copy > span,
.sc-sila-around-note > span {
    margin-bottom: 12px;
}


.sc-sila-around-section-head h2,
.sc-sila-around-transition h2,
.sc-sila-around-territory h2,
.sc-sila-around-note h2,
.sc-sila-around-cta h2 {
    color: var(--sc-sa-green);

    font-size: clamp(30px, 4vw, 46px);
    font-weight: 850;
    line-height: 1.1;

    letter-spacing: -0.5px;
}


.sc-sila-around-section-head p,
.sc-sila-around-transition p,
.sc-sila-around-territory p,
.sc-sila-around-note p,
.sc-sila-around-cta p {
    max-width: 790px;

    margin: 14px auto 0;

    color: var(--sc-sa-soft);

    font-size: 16px;
    line-height: 1.72;
}


.sc-sila-around-section-head p + p,
.sc-sila-around-transition p + p,
.sc-sila-around-territory p + p {
    margin-top: 10px;
}


/* ==========================================================
   PILLARS
========================================================== */

.sc-sila-around-pillars {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    width: 100%;
    max-width: 980px;

    margin: 0 auto 70px;
}


.sc-sila-around-pillar {
    min-width: 0;
    min-height: 205px;

    padding: 25px;

    border: 1px solid var(--sc-sa-border);
    border-radius: 23px;

    background: var(--sc-sa-cream-light);

    box-shadow: var(--sc-sa-shadow-soft);
}


.sc-sila-around-pillar span,
.sc-sila-around-card-head > span,
.sc-sila-around-small-card > span,
.sc-sila-around-related span,
.sc-sila-around-territory-link > span {
    color: #956b22;

    font-size: 10px;
    font-weight: 850;
    line-height: 1;

    letter-spacing: 0.6px;
    text-transform: uppercase;
}


.sc-sila-around-pillar strong,
.sc-sila-around-related strong,
.sc-sila-around-territory-link strong {
    display: block;

    margin-top: 17px;

    color: var(--sc-sa-green);

    font-size: 21px;
    font-weight: 850;
    line-height: 1.15;
}


.sc-sila-around-pillar p,
.sc-sila-around-related p,
.sc-sila-around-territory-link p {
    margin-top: 10px;

    color: var(--sc-sa-soft);

    font-size: 14px;
    line-height: 1.62;
}


/* ==========================================================
   DESTINATIONS
========================================================== */

.sc-sila-around-destinations {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    width: 100%;
    max-width: 980px;

    margin: 0 auto 72px;
}


.sc-sila-around-card {
    min-width: 0;
    min-height: 330px;

    padding: 26px;

    border: 1px solid var(--sc-sa-border);
    border-radius: 24px;

    background: #ffffff;

    box-shadow: var(--sc-sa-shadow-soft);
}


.sc-sila-around-card-featured {
    background:
        linear-gradient(
            135deg,
            var(--sc-sa-cream) 0%,
            var(--sc-sa-cream-light) 100%
        );
}


.sc-sila-around-card-head {
    display: flex;
    flex-direction: column;

    gap: 8px;
}


.sc-sila-around-card-head > strong {
    color: var(--sc-sa-green);

    font-size: 18px;
    font-weight: 850;
    line-height: 1.2;
}


.sc-sila-around-card h3 {
    margin-top: 19px;

    color: var(--sc-sa-green);

    font-size: 25px;
    font-weight: 850;
    line-height: 1.14;
}


.sc-sila-around-card > p {
    margin-top: 11px;

    color: var(--sc-sa-soft);

    font-size: 14px;
    line-height: 1.65;
}


.sc-sila-around-card-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 20px;
}


.sc-sila-around-card-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 29px;

    padding: 0 10px;

    border: 1px solid var(--sc-sa-border);
    border-radius: 999px;

    background: var(--sc-sa-cream-light);
    color: var(--sc-sa-green);

    font-size: 10px;
    font-weight: 750;
    line-height: 1;
}


/* ==========================================================
   TRANSITION
========================================================== */

.sc-sila-around-transition {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(290px, 0.85fr);

    gap: 32px;

    align-items: center;

    width: 100%;
    max-width: 980px;

    margin: 0 auto 72px;
    padding: 36px;

    border: 1px solid var(--sc-sa-border);
    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            var(--sc-sa-cream) 0%,
            var(--sc-sa-cream-light) 100%
        );
}


.sc-sila-around-transition-copy p {
    margin-left: 0;
    margin-right: 0;
}


.sc-sila-around-transition-copy > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 43px;

    margin-top: 19px;
    padding: 0 18px;

    border: 1px solid var(--sc-sa-green);
    border-radius: 999px;

    background: #ffffff;
    color: var(--sc-sa-green) !important;

    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}


.sc-sila-around-transition-copy > a:hover {
    transform: translateY(-2px);

    background: var(--sc-sa-green);
    color: #ffffff !important;
}


.sc-sila-around-transition-facts {
    display: grid;

    gap: 11px;
}


.sc-sila-around-transition-facts > div {
    padding: 18px;

    border: 1px solid rgba(38, 71, 51, 0.11);
    border-radius: 18px;

    background: #ffffff;
}


.sc-sila-around-transition-facts span {
    display: block;

    color: var(--sc-sa-soft);

    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;

    letter-spacing: 0.55px;
    text-transform: uppercase;
}


.sc-sila-around-transition-facts strong {
    display: block;

    margin-top: 7px;

    color: var(--sc-sa-green);

    font-size: 18px;
    font-weight: 850;
    line-height: 1.15;
}


/* ==========================================================
   SILA PICCOLA GRID
========================================================== */

.sc-sila-around-small-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    width: 100%;
    max-width: 980px;

    margin: 0 auto 72px;
}


.sc-sila-around-small-card {
    min-width: 0;
    min-height: 235px;

    padding: 25px;

    border: 1px solid var(--sc-sa-border);
    border-radius: 23px;

    background: #ffffff;

    box-shadow: var(--sc-sa-shadow-soft);
}


.sc-sila-around-small-card-featured {
    background:
        linear-gradient(
            135deg,
            var(--sc-sa-cream) 0%,
            var(--sc-sa-cream-light) 100%
        );
}


.sc-sila-around-small-card h3 {
    margin-top: 17px;

    color: var(--sc-sa-green);

    font-size: 24px;
    font-weight: 850;
    line-height: 1.14;
}


.sc-sila-around-small-card p {
    margin-top: 11px;

    color: var(--sc-sa-soft);

    font-size: 14px;
    line-height: 1.63;
}


/* ==========================================================
   TERRITORY
========================================================== */

.sc-sila-around-territory {
    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(300px, 0.92fr);

    gap: 32px;

    align-items: center;

    width: 100%;
    max-width: 980px;

    margin: 0 auto 72px;
    padding: 36px;

    border: 1px solid var(--sc-sa-border);
    border-radius: 30px;

    background: #ffffff;

    box-shadow: var(--sc-sa-shadow-soft);
}


.sc-sila-around-territory-copy p {
    margin-left: 0;
    margin-right: 0;
}


.sc-sila-around-territory-link {
    display: block;

    padding: 24px;

    border: 1px solid var(--sc-sa-border);
    border-radius: 22px;

    background: var(--sc-sa-cream-light);
    color: var(--sc-sa-text) !important;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.sc-sila-around-territory-link:hover {
    transform: translateY(-3px);

    border-color: rgba(38, 71, 51, 0.30);

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.07);
}


/* ==========================================================
   RELATED
========================================================== */

.sc-sila-around-related {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    width: 100%;
    max-width: 980px;

    margin: 0 auto 70px;
}


.sc-sila-around-related > a {
    min-width: 0;
    min-height: 180px;

    padding: 23px;

    border: 1px solid var(--sc-sa-border);
    border-radius: 22px;

    background: #ffffff;
    color: var(--sc-sa-text) !important;

    box-shadow: var(--sc-sa-shadow-soft);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.sc-sila-around-related > a:hover {
    transform: translateY(-3px);

    border-color: rgba(38, 71, 51, 0.30);

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.07);
}


/* ==========================================================
   NOTE
========================================================== */

.sc-sila-around-note {
    width: 100%;
    max-width: 900px;

    margin: 0 auto 70px;
    padding: 34px 38px;

    border: 1px solid var(--sc-sa-border);
    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            var(--sc-sa-cream) 0%,
            var(--sc-sa-cream-light) 100%
        );

    text-align: center;
}


.sc-sila-around-note h2 {
    font-size: clamp(27px, 3.5vw, 39px);
}


/* ==========================================================
   CTA
========================================================== */

.sc-sila-around-cta {
    width: 100%;
    max-width: 900px;

    margin: 64px auto 10px;
    padding: 36px;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            var(--sc-sa-green) 0%,
            var(--sc-sa-green-hover) 100%
        );

    color: #ffffff;

    text-align: center;

    box-shadow: var(--sc-sa-shadow);
}


.sc-sila-around-cta h2 {
    color: #ffffff;
}


.sc-sila-around-cta p {
    max-width: 700px;

    margin-bottom: 24px;

    color: rgba(255, 255, 255, 0.84);
}


.sc-sila-around-cta a {
    border-color: rgba(255, 255, 255, 0.20);

    background: rgba(255, 255, 255, 0.12);
}


.sc-sila-around-cta a:hover {
    transform: translateY(-2px);

    background: #ffffff;
    border-color: #ffffff;

    color: var(--sc-sa-green) !important;
}


/* ==========================================================
   FOCUS
========================================================== */

.sc-sila-around-page a:focus-visible {
    outline: 3px solid rgba(217, 180, 107, 0.60);
    outline-offset: 3px;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 980px) {

    .sc-sila-around-pillars {
        grid-template-columns: 1fr;

        max-width: 700px;
    }


    .sc-sila-around-pillar {
        min-height: 0;
    }


    .sc-sila-around-transition,
    .sc-sila-around-territory {
        grid-template-columns: 1fr;

        max-width: 760px;
    }


    .sc-sila-around-related {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

    .sc-sila-around-page {
        padding: 0 16px 42px;
    }


    .sc-sila-around-page .sc-breadcrumb {
        margin-top: 15px;
        margin-bottom: 12px;

        padding: 0;
    }


    .sc-sila-around-hero {
        min-height: 590px;

        margin-bottom: 44px;

        border-radius: 27px;

        align-items: flex-end;
    }


    .sc-sila-around-hero::before {
        background:
            linear-gradient(
                to bottom,
                rgba(245, 245, 242, 0.03) 0%,
                rgba(245, 245, 242, 0.25) 35%,
                rgba(245, 245, 242, 0.91) 74%,
                rgba(245, 245, 242, 0.97) 100%
            );
    }


    .sc-sila-around-hero-content {
        width: 100%;

        padding: 29px 23px;
    }


    .sc-sila-around-hero h1 {
        font-size: clamp(35px, 9.5vw, 47px);
    }


    .sc-sila-around-hero p {
        margin-top: 15px;

        font-size: 15px;
        line-height: 1.62;
    }


    .sc-sila-around-actions {
        flex-direction: column;

        gap: 9px;

        margin-top: 22px;
    }


    .sc-sila-around-actions a {
        width: 100%;
    }


    .sc-sila-around-section-head {
        margin-bottom: 26px;
    }


    .sc-sila-around-section-spaced {
        margin-top: 52px;
    }


    .sc-sila-around-section-head h2 {
        font-size: clamp(29px, 8.5vw, 38px);
    }


    .sc-sila-around-section-head p {
        font-size: 15px;
        line-height: 1.65;
    }


    .sc-sila-around-pillars {
        gap: 14px;

        margin-bottom: 56px;
    }


    .sc-sila-around-pillar {
        padding: 22px;

        border-radius: 21px;
    }


    .sc-sila-around-destinations,
    .sc-sila-around-small-grid,
    .sc-sila-around-related {
        grid-template-columns: 1fr;

        max-width: 540px;

        gap: 14px;

        margin-bottom: 56px;
    }


    .sc-sila-around-card,
    .sc-sila-around-small-card,
    .sc-sila-around-related > a {
        min-height: 0;

        padding: 22px;
    }


    .sc-sila-around-transition,
    .sc-sila-around-territory {
        margin-bottom: 56px;
        padding: 27px 22px;

        border-radius: 26px;
    }


    .sc-sila-around-transition-copy > a {
        width: 100%;
    }


    .sc-sila-around-note {
        margin-bottom: 56px;
        padding: 27px 22px;

        border-radius: 25px;
    }


    .sc-sila-around-cta {
        margin-top: 54px;
        padding: 27px 22px;

        border-radius: 27px;
    }


    .sc-sila-around-cta a {
        width: 100%;
    }

}


/* ==========================================================
   MOBILE PICCOLO
========================================================== */

@media (max-width: 480px) {

    .sc-sila-around-page {
        padding-left: 14px;
        padding-right: 14px;
    }


    .sc-sila-around-hero {
        min-height: 570px;

        border-radius: 24px;
    }


    .sc-sila-around-hero-content {
        padding: 25px 19px;
    }


    .sc-sila-around-kicker,
    .sc-sila-around-section-head > span,
    .sc-sila-around-transition-copy > span,
    .sc-sila-around-territory-copy > span,
    .sc-sila-around-note > span {
        font-size: 9px;
    }

}


/* ==========================================================
   RIDUZIONE ANIMAZIONI
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .sc-sila-around-page *,
    .sc-sila-around-page *::before,
    .sc-sila-around-page *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

}

/* ==========================================================
   LUOGHI DA SCOPRIRE NEI DINTORNI
   Design system basato sulle pagine Cotronei
========================================================== */


/* ==========================================================
   BASE
========================================================== */

.sc-dintorni-page {
    --sc-di-green: var(--verde-principale, #264733);
    --sc-di-green-hover: var(--verde-hover, #1f3a2a);
    --sc-di-gold: var(--oro-accento, #d9b46b);

    --sc-di-cream: #f7f4ea;
    --sc-di-cream-light: #fbfaf6;
    --sc-di-white: #ffffff;

    --sc-di-text: var(--testo-principale, #2f2f2f);
    --sc-di-soft: #606660;

    --sc-di-border: rgba(38, 71, 51, 0.15);

    --sc-di-shadow:
        0 16px 42px rgba(0, 0, 0, 0.08);

    --sc-di-shadow-soft:
        0 7px 22px rgba(0, 0, 0, 0.04);

    width: 100%;
    max-width: 1120px;

    margin: 0 auto;
    padding: 0 20px 56px;

    color: var(--sc-di-text);

    box-sizing: border-box;
}


.sc-dintorni-page *,
.sc-dintorni-page *::before,
.sc-dintorni-page *::after {
    box-sizing: border-box;
}


.sc-dintorni-page h1,
.sc-dintorni-page h2,
.sc-dintorni-page h3,
.sc-dintorni-page p {
    margin: 0;
}


.sc-dintorni-page a {
    text-decoration: none;
}


/* ==========================================================
   BREADCRUMB
========================================================== */

.sc-dintorni-page .sc-breadcrumb {
    width: 100%;
    max-width: 1080px;

    margin: 20px auto 14px;
    padding: 0 4px;
}


/* ==========================================================
   HERO
   Layout fluido: evita sovrapposizioni tra titolo e riquadri
========================================================== */

.sc-dintorni-hero {
    position: relative;

    display: flex;
    flex-wrap: wrap;

    gap: 42px;

    align-items: center;

    width: 100%;

    min-height: 470px;

    margin: 0 auto 54px;
    padding: 52px 58px;

    border: 1px solid var(--sc-di-border);
    border-radius: 34px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--sc-di-cream) 0%,
            var(--sc-di-cream-light) 100%
        );

    box-shadow: var(--sc-di-shadow);
}


.sc-dintorni-hero::after {
    content: "";

    position: absolute;

    right: -115px;
    bottom: -150px;

    width: 360px;
    height: 360px;

    border-radius: 50%;

    border:
        58px solid
        rgba(217, 180, 107, 0.09);

    pointer-events: none;
}


.sc-dintorni-hero-copy,
.sc-dintorni-hero-map {
    position: relative;

    z-index: 2;

    min-width: 0;
}


/* La colonna testuale mantiene spazio sufficiente.
   Se il contenitore reale è troppo stretto, i riquadri
   passano automaticamente sotto invece di sovrapporsi. */

.sc-dintorni-hero-copy {
    flex: 1 1 470px;
}


.sc-dintorni-hero-map {
    flex: 1 1 300px;

    max-width: 390px;
}


.sc-dintorni-kicker,
.sc-dintorni-section-head > span,
.sc-dintorni-feature-copy > span,
.sc-dintorni-separation-copy > span,
.sc-dintorni-note > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;
    min-height: 29px;

    padding: 0 12px;

    border-radius: 999px;

    background: #ffffff;
    color: var(--sc-di-green);

    font-size: 10px;
    font-weight: 850;
    line-height: 1;

    letter-spacing: 0.65px;
    text-transform: uppercase;
}


.sc-dintorni-kicker {
    margin-bottom: 13px;

    border: 1px solid rgba(38, 71, 51, 0.10);
}


.sc-dintorni-hero h1 {
    width: 100%;
    max-width: 650px;

    color: var(--sc-di-green);

    font-size: clamp(40px, 5.1vw, 62px);
    font-weight: 850;
    line-height: 1.03;

    letter-spacing: -0.9px;

    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
}


.sc-dintorni-hero-copy > p {
    max-width: 610px;

    margin-top: 19px;

    color: var(--sc-di-soft);

    font-size: 17px;
    line-height: 1.7;
}


/* ==========================================================
   HERO ACTIONS
========================================================== */

.sc-dintorni-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 11px;

    margin-top: 27px;
}


.sc-dintorni-actions a,
.sc-dintorni-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 21px;

    border: 1px solid var(--sc-di-green);
    border-radius: 999px;

    background: var(--sc-di-green);
    color: #ffffff !important;

    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;

    text-align: center;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.sc-dintorni-actions a:nth-child(n+2) {
    border-color: var(--sc-di-border);

    background: #ffffff;
    color: var(--sc-di-green) !important;
}


.sc-dintorni-actions a:hover {
    transform: translateY(-2px);

    background: var(--sc-di-green-hover);
    border-color: var(--sc-di-green-hover);

    color: #ffffff !important;
}


.sc-dintorni-actions a:nth-child(n+2):hover {
    background: var(--sc-di-green);
    border-color: var(--sc-di-green);

    color: #ffffff !important;
}


/* ==========================================================
   HERO DESTINATION MAP
========================================================== */

.sc-dintorni-hero-map {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}


.sc-dintorni-hero-map > div {
    min-width: 0;
    min-height: 128px;

    padding: 20px;

    border: 1px solid var(--sc-di-border);
    border-radius: 20px;

    background:
        rgba(255, 255, 255, 0.86);

    box-shadow: var(--sc-di-shadow-soft);
}


.sc-dintorni-hero-map span {
    display: block;

    color: #956b22;

    font-size: 9px;
    font-weight: 850;
    line-height: 1;

    letter-spacing: 0.6px;
    text-transform: uppercase;
}


.sc-dintorni-hero-map strong {
    display: block;

    margin-top: 15px;

    color: var(--sc-di-green);

    font-size: 19px;
    font-weight: 850;
    line-height: 1.16;
}


/* ==========================================================
   SECTION HEAD
========================================================== */

.sc-dintorni-section-head {
    width: 100%;
    max-width: 860px;

    margin: 0 auto 31px;

    text-align: center;
}


.sc-dintorni-section-spaced {
    margin-top: 68px;
}


.sc-dintorni-section-head > span,
.sc-dintorni-feature-copy > span,
.sc-dintorni-separation-copy > span,
.sc-dintorni-note > span {
    margin-bottom: 12px;

    background: var(--sc-di-cream);
}


.sc-dintorni-section-head h2,
.sc-dintorni-feature h2,
.sc-dintorni-separation h2,
.sc-dintorni-note h2,
.sc-dintorni-cta h2 {
    color: var(--sc-di-green);

    font-size: clamp(30px, 4vw, 46px);
    font-weight: 850;
    line-height: 1.1;

    letter-spacing: -0.5px;
}


.sc-dintorni-section-head p,
.sc-dintorni-feature p,
.sc-dintorni-separation p,
.sc-dintorni-note p,
.sc-dintorni-cta p {
    max-width: 790px;

    margin: 14px auto 0;

    color: var(--sc-di-soft);

    font-size: 16px;
    line-height: 1.72;
}


.sc-dintorni-section-head p + p,
.sc-dintorni-feature p + p,
.sc-dintorni-separation p + p {
    margin-top: 10px;
}


/* ==========================================================
   PILLARS
========================================================== */

.sc-dintorni-pillars {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    width: 100%;
    max-width: 980px;

    margin: 0 auto 70px;
}


.sc-dintorni-pillar {
    min-width: 0;
    min-height: 200px;

    padding: 25px;

    border: 1px solid var(--sc-di-border);
    border-radius: 23px;

    background: var(--sc-di-cream-light);

    box-shadow: var(--sc-di-shadow-soft);
}


.sc-dintorni-pillar span,
.sc-dintorni-destination-head > span,
.sc-dintorni-related span,
.sc-dintorni-separation-link > span,
.sc-dintorni-calanchi-copy > span,
.sc-dintorni-calanchi-aside > span {
    color: #956b22;

    font-size: 10px;
    font-weight: 850;
    line-height: 1;

    letter-spacing: 0.6px;
    text-transform: uppercase;
}


.sc-dintorni-pillar strong,
.sc-dintorni-related strong,
.sc-dintorni-separation-link strong {
    display: block;

    margin-top: 17px;

    color: var(--sc-di-green);

    font-size: 21px;
    font-weight: 850;
    line-height: 1.15;
}


.sc-dintorni-pillar p,
.sc-dintorni-related p,
.sc-dintorni-separation-link p {
    margin-top: 10px;

    color: var(--sc-di-soft);

    font-size: 14px;
    line-height: 1.62;
}


/* ==========================================================
   DESTINATION GRID
========================================================== */

.sc-dintorni-destination-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    width: 100%;
    max-width: 980px;

    margin: 0 auto 72px;
}


.sc-dintorni-destination {
    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 390px;

    padding: 27px;

    border: 1px solid var(--sc-di-border);
    border-radius: 24px;

    background: #ffffff;

    box-shadow: var(--sc-di-shadow-soft);
}


.sc-dintorni-destination-featured {
    background:
        linear-gradient(
            135deg,
            var(--sc-di-cream) 0%,
            var(--sc-di-cream-light) 100%
        );
}


.sc-dintorni-destination-head {
    display: flex;
    flex-direction: column;

    gap: 8px;
}


.sc-dintorni-destination-head > strong {
    color: var(--sc-di-green);

    font-size: 19px;
    font-weight: 850;
    line-height: 1.2;
}


.sc-dintorni-destination h3 {
    margin-top: 20px;

    color: var(--sc-di-green);

    font-size: 27px;
    font-weight: 850;
    line-height: 1.13;
}


.sc-dintorni-destination > p {
    margin-top: 12px;

    color: var(--sc-di-soft);

    font-size: 14.5px;
    line-height: 1.65;
}


.sc-dintorni-destination-points {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;

    margin-top: 22px;
}


.sc-dintorni-destination-points > div {
    min-width: 0;

    padding: 14px;

    border: 1px solid var(--sc-di-border);
    border-radius: 15px;

    background: rgba(255, 255, 255, 0.70);
}


.sc-dintorni-destination-points span {
    display: block;

    color: var(--sc-di-soft);

    font-size: 9px;
    font-weight: 800;
    line-height: 1.2;

    letter-spacing: 0.55px;
    text-transform: uppercase;
}


.sc-dintorni-destination-points strong {
    display: block;

    margin-top: 6px;

    color: var(--sc-di-green);

    font-size: 13px;
    font-weight: 850;
    line-height: 1.3;
}


.sc-dintorni-status {
    display: block;

    margin-top: auto;
    padding-top: 20px;

    color: var(--sc-di-soft);

    font-size: 11px;
    font-weight: 750;
    line-height: 1.3;
}


/* ==========================================================
   MESORACA FEATURE
========================================================== */

.sc-dintorni-feature {
    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(300px, 0.9fr);

    gap: 34px;

    align-items: center;

    width: 100%;
    max-width: 980px;

    margin: 0 auto 72px;
    padding: 36px;

    border: 1px solid var(--sc-di-border);
    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            var(--sc-di-cream) 0%,
            var(--sc-di-cream-light) 100%
        );
}


.sc-dintorni-feature-copy p {
    margin-left: 0;
    margin-right: 0;
}


.sc-dintorni-feature-facts {
    display: grid;

    gap: 11px;
}


.sc-dintorni-feature-facts > div {
    padding: 18px;

    border: 1px solid rgba(38, 71, 51, 0.11);
    border-radius: 18px;

    background: #ffffff;
}


.sc-dintorni-feature-facts span {
    display: block;

    color: var(--sc-di-soft);

    font-size: 9px;
    font-weight: 800;
    line-height: 1.2;

    letter-spacing: 0.55px;
    text-transform: uppercase;
}


.sc-dintorni-feature-facts strong {
    display: block;

    margin-top: 7px;

    color: var(--sc-di-green);

    font-size: 17px;
    font-weight: 850;
    line-height: 1.2;
}


.sc-dintorni-feature-facts p {
    margin: 7px 0 0;

    color: var(--sc-di-soft);

    font-size: 12.5px;
    line-height: 1.5;
}


/* ==========================================================
   CALANCHI
========================================================== */

.sc-dintorni-calanchi {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(290px, 0.85fr);

    gap: 30px;

    align-items: stretch;

    width: 100%;
    max-width: 940px;

    margin: 0 auto 72px;
}


.sc-dintorni-calanchi-copy,
.sc-dintorni-calanchi-aside {
    min-width: 0;

    padding: 28px;

    border-radius: 24px;
}


.sc-dintorni-calanchi-copy {
    border: 1px solid var(--sc-di-border);

    background: #ffffff;

    box-shadow: var(--sc-di-shadow-soft);
}


.sc-dintorni-calanchi-aside {
    border: 1px solid rgba(217, 180, 107, 0.45);

    background:
        linear-gradient(
            135deg,
            #fffaf0 0%,
            var(--sc-di-cream) 100%
        );
}


.sc-dintorni-calanchi h3 {
    margin-top: 16px;

    color: var(--sc-di-green);

    font-size: 29px;
    font-weight: 850;
    line-height: 1.13;
}


.sc-dintorni-calanchi-copy p,
.sc-dintorni-calanchi-aside p {
    margin-top: 12px;

    color: var(--sc-di-soft);

    font-size: 14px;
    line-height: 1.65;
}


.sc-dintorni-calanchi-aside > strong {
    display: block;

    margin-top: 16px;

    color: var(--sc-di-green);

    font-size: 21px;
    font-weight: 850;
    line-height: 1.16;
}


/* ==========================================================
   DISTINZIONE CON SILA
========================================================== */

.sc-dintorni-separation {
    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(300px, 0.92fr);

    gap: 32px;

    align-items: center;

    width: 100%;
    max-width: 980px;

    margin: 0 auto 72px;
    padding: 36px;

    border: 1px solid var(--sc-di-border);
    border-radius: 30px;

    background: #ffffff;

    box-shadow: var(--sc-di-shadow-soft);
}


.sc-dintorni-separation-copy p {
    margin-left: 0;
    margin-right: 0;
}


.sc-dintorni-separation-link {
    display: block;

    padding: 24px;

    border: 1px solid var(--sc-di-border);
    border-radius: 22px;

    background: var(--sc-di-cream-light);
    color: var(--sc-di-text) !important;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.sc-dintorni-separation-link:hover {
    transform: translateY(-3px);

    border-color: rgba(38, 71, 51, 0.30);

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.07);
}


/* ==========================================================
   RELATED
========================================================== */

.sc-dintorni-related {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    width: 100%;
    max-width: 980px;

    margin: 0 auto 70px;
}


.sc-dintorni-related > a {
    min-width: 0;
    min-height: 180px;

    padding: 23px;

    border: 1px solid var(--sc-di-border);
    border-radius: 22px;

    background: #ffffff;
    color: var(--sc-di-text) !important;

    box-shadow: var(--sc-di-shadow-soft);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.sc-dintorni-related > a:hover {
    transform: translateY(-3px);

    border-color: rgba(38, 71, 51, 0.30);

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.07);
}


/* ==========================================================
   NOTE
========================================================== */

.sc-dintorni-note {
    width: 100%;
    max-width: 900px;

    margin: 0 auto 70px;
    padding: 34px 38px;

    border: 1px solid var(--sc-di-border);
    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            var(--sc-di-cream) 0%,
            var(--sc-di-cream-light) 100%
        );

    text-align: center;
}


.sc-dintorni-note h2 {
    font-size: clamp(27px, 3.5vw, 39px);
}


/* ==========================================================
   CTA
========================================================== */

.sc-dintorni-cta {
    width: 100%;
    max-width: 900px;

    margin: 64px auto 10px;
    padding: 36px;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            var(--sc-di-green) 0%,
            var(--sc-di-green-hover) 100%
        );

    color: #ffffff;

    text-align: center;

    box-shadow: var(--sc-di-shadow);
}


.sc-dintorni-cta h2 {
    color: #ffffff;
}


.sc-dintorni-cta p {
    max-width: 700px;

    margin-bottom: 24px;

    color: rgba(255, 255, 255, 0.84);
}


.sc-dintorni-cta a {
    border-color: rgba(255, 255, 255, 0.20);

    background: rgba(255, 255, 255, 0.12);
}


.sc-dintorni-cta a:hover {
    transform: translateY(-2px);

    background: #ffffff;
    border-color: #ffffff;

    color: var(--sc-di-green) !important;
}


/* ==========================================================
   FOCUS
========================================================== */

.sc-dintorni-page a:focus-visible {
    outline: 3px solid rgba(217, 180, 107, 0.60);
    outline-offset: 3px;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 980px) {

    .sc-dintorni-hero {
        gap: 30px;

        padding: 44px;
    }


    .sc-dintorni-hero-copy,
    .sc-dintorni-hero-map {
        flex-basis: 100%;

        width: 100%;
        max-width: none;
    }


    .sc-dintorni-pillars {
        grid-template-columns: 1fr;

        max-width: 700px;
    }


    .sc-dintorni-pillar {
        min-height: 0;
    }


    .sc-dintorni-feature,
    .sc-dintorni-separation {
        grid-template-columns: 1fr;

        max-width: 760px;
    }


    .sc-dintorni-related {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

    .sc-dintorni-page {
        padding: 0 16px 42px;
    }


    .sc-dintorni-page .sc-breadcrumb {
        margin-top: 15px;
        margin-bottom: 12px;

        padding: 0;
    }


    .sc-dintorni-hero {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;

        gap: 28px;

        min-height: 0;

        margin-bottom: 44px;
        padding: 34px 22px;

        border-radius: 27px;
    }


    .sc-dintorni-hero-copy,
    .sc-dintorni-hero-map {
        flex: none;

        width: 100%;
        max-width: none;
    }


    .sc-dintorni-hero h1 {
        font-size: clamp(34px, 9.2vw, 46px);
    }


    .sc-dintorni-hero-copy > p {
        margin-top: 15px;

        font-size: 15px;
        line-height: 1.62;
    }


    .sc-dintorni-actions {
        flex-direction: column;

        gap: 9px;

        margin-top: 22px;
    }


    .sc-dintorni-actions a {
        width: 100%;
    }


    .sc-dintorni-hero-map {
        grid-template-columns: 1fr 1fr;

        gap: 9px;
    }


    .sc-dintorni-hero-map > div {
        min-height: 105px;

        padding: 16px;
    }


    .sc-dintorni-hero-map strong {
        font-size: 16px;
    }


    .sc-dintorni-section-head {
        margin-bottom: 26px;
    }


    .sc-dintorni-section-spaced {
        margin-top: 52px;
    }


    .sc-dintorni-section-head h2 {
        font-size: clamp(29px, 8.5vw, 38px);
    }


    .sc-dintorni-section-head p {
        font-size: 15px;
        line-height: 1.65;
    }


    .sc-dintorni-pillars {
        gap: 14px;

        margin-bottom: 56px;
    }


    .sc-dintorni-pillar {
        padding: 22px;

        border-radius: 21px;
    }


    .sc-dintorni-destination-grid,
    .sc-dintorni-related {
        grid-template-columns: 1fr;

        max-width: 540px;

        gap: 14px;

        margin-bottom: 56px;
    }


    .sc-dintorni-destination,
    .sc-dintorni-related > a {
        min-height: 0;

        padding: 22px;
    }


    .sc-dintorni-destination-points {
        grid-template-columns: 1fr;
    }


    .sc-dintorni-feature,
    .sc-dintorni-separation {
        margin-bottom: 56px;
        padding: 27px 22px;

        border-radius: 26px;
    }


    .sc-dintorni-calanchi {
        grid-template-columns: 1fr;

        gap: 14px;

        margin-bottom: 56px;
    }


    .sc-dintorni-calanchi-copy,
    .sc-dintorni-calanchi-aside {
        padding: 22px;

        border-radius: 21px;
    }


    .sc-dintorni-note {
        margin-bottom: 56px;
        padding: 27px 22px;

        border-radius: 25px;
    }


    .sc-dintorni-cta {
        margin-top: 54px;
        padding: 27px 22px;

        border-radius: 27px;
    }


    .sc-dintorni-cta a {
        width: 100%;
    }

}


/* ==========================================================
   MOBILE PICCOLO
========================================================== */

@media (max-width: 480px) {

    .sc-dintorni-page {
        padding-left: 14px;
        padding-right: 14px;
    }


    .sc-dintorni-hero {
        padding: 29px 19px;

        border-radius: 24px;
    }


    .sc-dintorni-hero-map {
        grid-template-columns: 1fr;
    }


    .sc-dintorni-kicker,
    .sc-dintorni-section-head > span,
    .sc-dintorni-feature-copy > span,
    .sc-dintorni-separation-copy > span,
    .sc-dintorni-note > span {
        font-size: 9px;
    }

}


/* ==========================================================
   RIDUZIONE ANIMAZIONI
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .sc-dintorni-page *,
    .sc-dintorni-page *::before,
    .sc-dintorni-page *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

}

/* ==========================================================
   PREMIO SILA '90 + PREMIO VERGA
   CORREZIONE PAGINE REALI - SENZA MODIFICARE L'HTML
   WordPress page ID:
   1646 = Premio Sila '90
   1645 = Premio Verga

   Questo blocco e' volutamente in fondo al CSS per avere
   precedenza sulle regole generiche e sull'archivio premi.
========================================================== */

body.page-id-1646,
body.page-id-1645 {
    --sc-premi-green: var(--verde-principale, #264733);
    --sc-premi-green-hover: var(--verde-hover, #1f3a2a);
    --sc-premi-gold: var(--oro-accento, #d9b46b);
    --sc-premi-cream: #f7f4ea;
    --sc-premi-cream-light: #fbfaf6;
    --sc-premi-text: var(--testo-principale, #2f2f2f);
    --sc-premi-muted: #666b66;
    --sc-premi-border: rgba(38, 71, 51, 0.14);
}

body.page-id-1646 .wp-block-post-content,
body.page-id-1646 .entry-content,
body.page-id-1645 .wp-block-post-content,
body.page-id-1645 .entry-content {
    box-sizing: border-box;
    width: 100%;
}

body.page-id-1646 .wp-block-post-content *,
body.page-id-1646 .entry-content *,
body.page-id-1645 .wp-block-post-content *,
body.page-id-1645 .entry-content * {
    box-sizing: border-box;
}

/* ----------------------------------------------------------
   LARGHEZZA DEI BLOCCHI GUTENBERG
   Evita che titolo e testi finiscano a filo schermo mentre
   lo shortcode del premio rimane centrato su un'altra colonna.
---------------------------------------------------------- */

body.page-id-1646 .wp-block-post-content > :not(.alignfull),
body.page-id-1646 .entry-content > :not(.alignfull),
body.page-id-1645 .wp-block-post-content > :not(.alignfull),
body.page-id-1645 .entry-content > :not(.alignfull) {
    width: calc(100% - 40px) !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Se lo shortcode e' inserito dentro un wrapper Gutenberg,
   anche il wrapper usa la stessa larghezza della pagina. */
body.page-id-1646 :is(.wp-block-shortcode, .wp-block-html, .wp-block-group):has(.ec-premio),
body.page-id-1645 :is(.wp-block-shortcode, .wp-block-html, .wp-block-group):has(.ec-premio) {
    width: calc(100% - 40px) !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ----------------------------------------------------------
   BREADCRUMB
---------------------------------------------------------- */

body.page-id-1646 .sc-breadcrumb,
body.page-id-1645 .sc-breadcrumb {
    width: calc(100% - 40px) !important;
    max-width: 1080px !important;
    margin: 20px auto 16px !important;
    padding: 0 !important;
}

/* ----------------------------------------------------------
   HERO SEO SENZA WRAPPER DEDICATO
   Il titolo e il primo paragrafo vengono trattati come un
   unico hero anche se sono due blocchi Gutenberg separati.
---------------------------------------------------------- */

body.page-id-1646 :is(.wp-block-post-content, .entry-content) h1,
body.page-id-1645 :is(.wp-block-post-content, .entry-content) h1 {
    width: calc(100% - 40px) !important;
    max-width: 1080px !important;
    margin: 0 auto !important;
    padding: 44px 44px 14px !important;

    border: 1px solid var(--sc-premi-border);
    border-bottom: 0;
    border-radius: 30px 30px 0 0;

    background: linear-gradient(
        135deg,
        var(--sc-premi-cream) 0%,
        var(--sc-premi-cream-light) 100%
    );

    color: var(--sc-premi-green) !important;
    text-align: center !important;

    font-size: clamp(38px, 4.7vw, 58px) !important;
    font-weight: 850 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.8px !important;
}

body.page-id-1646 :is(.wp-block-post-content, .entry-content) h1 + p,
body.page-id-1645 :is(.wp-block-post-content, .entry-content) h1 + p {
    width: calc(100% - 40px) !important;
    max-width: 1080px !important;
    margin: 0 auto 54px !important;
    padding: 0 44px 38px !important;

    border: 1px solid var(--sc-premi-border);
    border-top: 0;
    border-radius: 0 0 30px 30px;

    background: linear-gradient(
        135deg,
        var(--sc-premi-cream) 0%,
        var(--sc-premi-cream-light) 100%
    );

    color: #765c3e !important;
    text-align: center !important;

    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(18px, 2vw, 22px) !important;
    line-height: 1.48 !important;

    box-shadow: 0 16px 38px rgba(27, 52, 37, 0.07);
}

/* ----------------------------------------------------------
   TESTATA ALBO STORICO
   Il paragrafo immediatamente prima dell'H2 diventa il kicker.
---------------------------------------------------------- */

body.page-id-1646 :is(.wp-block-post-content, .entry-content) p:has(+ h2),
body.page-id-1645 :is(.wp-block-post-content, .entry-content) p:has(+ h2) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: fit-content !important;
    max-width: calc(100% - 40px) !important;
    min-height: 30px;

    margin: 0 auto 13px !important;
    padding: 0 13px !important;

    border: 1px solid rgba(38, 71, 51, 0.12);
    border-radius: 999px;

    background: #fff8e8;
    color: var(--sc-premi-green) !important;

    font-size: 10px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    letter-spacing: 0.7px !important;
    text-align: center !important;
    text-transform: uppercase;
}

body.page-id-1646 :is(.wp-block-post-content, .entry-content) h2:not(.ec-premio h2),
body.page-id-1645 :is(.wp-block-post-content, .entry-content) h2:not(.ec-premio h2) {
    width: calc(100% - 40px) !important;
    max-width: 900px !important;
    margin: 0 auto !important;

    color: var(--sc-premi-green) !important;
    text-align: center !important;

    font-size: clamp(32px, 4vw, 46px) !important;
    font-weight: 850 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.55px !important;
}

body.page-id-1646 :is(.wp-block-post-content, .entry-content) h2:not(.ec-premio h2) + p,
body.page-id-1645 :is(.wp-block-post-content, .entry-content) h2:not(.ec-premio h2) + p {
    width: calc(100% - 40px) !important;
    max-width: 760px !important;
    margin: 17px auto 34px !important;

    color: var(--sc-premi-muted) !important;
    text-align: center !important;

    font-size: 16px !important;
    line-height: 1.72 !important;
}

/* ----------------------------------------------------------
   BLOCCO ACF / SHORTCODE PREMIO
---------------------------------------------------------- */

body.page-id-1646 .ec-premio,
body.page-id-1645 .ec-premio {
    display: block !important;
    width: 100% !important;
    max-width: 1080px !important;
    margin: 0 auto 60px !important;
    padding: 0 !important;
}

body.page-id-1646 .ec-premio-hero,
body.page-id-1645 .ec-premio-hero {
    width: 100% !important;
    margin: 0 auto 48px !important;
    padding: 30px !important;
    border-radius: 30px !important;
}

body.page-id-1646 .ec-premio-archivio,
body.page-id-1645 .ec-premio-archivio {
    width: 100% !important;
    max-width: 1080px !important;
    margin: 48px auto 0 !important;
}

body.page-id-1646 .ec-premio-archivio > h2,
body.page-id-1645 .ec-premio-archivio > h2 {
    max-width: 880px !important;
    margin: 0 auto 30px !important;
    color: var(--sc-premi-green) !important;
    font-size: clamp(30px, 4vw, 43px) !important;
    font-weight: 850 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.45px !important;
    text-align: center !important;
}

/* ----------------------------------------------------------
   TABLET
---------------------------------------------------------- */

@media (max-width: 900px) {
    body.page-id-1646 :is(.wp-block-post-content, .entry-content) h1,
    body.page-id-1645 :is(.wp-block-post-content, .entry-content) h1 {
        padding: 38px 32px 13px !important;
    }

    body.page-id-1646 :is(.wp-block-post-content, .entry-content) h1 + p,
    body.page-id-1645 :is(.wp-block-post-content, .entry-content) h1 + p {
        padding: 0 32px 34px !important;
        margin-bottom: 46px !important;
    }
}

/* ----------------------------------------------------------
   MOBILE
---------------------------------------------------------- */

@media (max-width: 767px) {
    body.page-id-1646 .wp-block-post-content > :not(.alignfull),
    body.page-id-1646 .entry-content > :not(.alignfull),
    body.page-id-1645 .wp-block-post-content > :not(.alignfull),
    body.page-id-1645 .entry-content > :not(.alignfull),
    body.page-id-1646 :is(.wp-block-shortcode, .wp-block-html, .wp-block-group):has(.ec-premio),
    body.page-id-1645 :is(.wp-block-shortcode, .wp-block-html, .wp-block-group):has(.ec-premio),
    body.page-id-1646 .sc-breadcrumb,
    body.page-id-1645 .sc-breadcrumb,
    body.page-id-1646 :is(.wp-block-post-content, .entry-content) h1,
    body.page-id-1645 :is(.wp-block-post-content, .entry-content) h1,
    body.page-id-1646 :is(.wp-block-post-content, .entry-content) h1 + p,
    body.page-id-1645 :is(.wp-block-post-content, .entry-content) h1 + p,
    body.page-id-1646 :is(.wp-block-post-content, .entry-content) h2:not(.ec-premio h2),
    body.page-id-1645 :is(.wp-block-post-content, .entry-content) h2:not(.ec-premio h2),
    body.page-id-1646 :is(.wp-block-post-content, .entry-content) h2:not(.ec-premio h2) + p,
    body.page-id-1645 :is(.wp-block-post-content, .entry-content) h2:not(.ec-premio h2) + p {
        width: calc(100% - 28px) !important;
    }

    body.page-id-1646 .sc-breadcrumb,
    body.page-id-1645 .sc-breadcrumb {
        margin-top: 14px !important;
        margin-bottom: 12px !important;
    }

    body.page-id-1646 :is(.wp-block-post-content, .entry-content) h1,
    body.page-id-1645 :is(.wp-block-post-content, .entry-content) h1 {
        padding: 30px 20px 11px !important;
        border-radius: 24px 24px 0 0;
        font-size: clamp(32px, 9vw, 43px) !important;
        letter-spacing: -0.45px !important;
    }

    body.page-id-1646 :is(.wp-block-post-content, .entry-content) h1 + p,
    body.page-id-1645 :is(.wp-block-post-content, .entry-content) h1 + p {
        margin-bottom: 38px !important;
        padding: 0 20px 27px !important;
        border-radius: 0 0 24px 24px;
        font-size: 17px !important;
    }

    body.page-id-1646 :is(.wp-block-post-content, .entry-content) p:has(+ h2),
    body.page-id-1645 :is(.wp-block-post-content, .entry-content) p:has(+ h2) {
        max-width: calc(100% - 28px) !important;
        min-height: 28px;
        margin-bottom: 11px !important;
        padding: 0 11px !important;
        font-size: 9px !important;
    }

    body.page-id-1646 :is(.wp-block-post-content, .entry-content) h2:not(.ec-premio h2),
    body.page-id-1645 :is(.wp-block-post-content, .entry-content) h2:not(.ec-premio h2) {
        font-size: clamp(29px, 8vw, 38px) !important;
    }

    body.page-id-1646 :is(.wp-block-post-content, .entry-content) h2:not(.ec-premio h2) + p,
    body.page-id-1645 :is(.wp-block-post-content, .entry-content) h2:not(.ec-premio h2) + p {
        margin-top: 14px !important;
        margin-bottom: 27px !important;
        font-size: 15px !important;
        line-height: 1.66 !important;
    }

    body.page-id-1646 .ec-premio,
    body.page-id-1645 .ec-premio {
        width: calc(100% - 28px) !important;
        margin-bottom: 48px !important;
    }

    body.page-id-1646 .ec-premio-hero,
    body.page-id-1645 .ec-premio-hero {
        padding: 20px !important;
        border-radius: 22px !important;
    }
}

@media (max-width: 420px) {
    body.page-id-1646 :is(.wp-block-post-content, .entry-content) h1,
    body.page-id-1645 :is(.wp-block-post-content, .entry-content) h1 {
        padding-right: 17px !important;
        padding-left: 17px !important;
    }

    body.page-id-1646 :is(.wp-block-post-content, .entry-content) h1 + p,
    body.page-id-1645 :is(.wp-block-post-content, .entry-content) h1 + p {
        padding-right: 17px !important;
        padding-left: 17px !important;
    }
}

/* ==================================================
   COTRONEI NEL MONDO - PULSANTI CONTATTO COMPATTI
   Mantiene Chiama / Mappa / Sito sulla stessa riga
   nelle card desktop e tablet.
================================================== */

.rete-actions {
    flex-wrap: nowrap;
    gap: 6px;
}

.rete-actions .rete-btn {
    flex: 0 1 auto;
    min-width: 0;
    min-height: 40px;
    padding: 9px 11px;
    gap: 5px;
    font-size: 13px;
    white-space: nowrap;
}

.rete-actions .rete-btn-maps::before {
    margin-right: 3px;
}

/* Su schermi molto stretti lasciamo il wrapping per evitare overflow. */
@media (max-width: 420px) {
    .rete-actions {
        flex-wrap: wrap;
        gap: 8px;
    }

    .rete-actions .rete-btn {
        padding: 9px 12px;
        font-size: 13px;
    }
}


/* ==========================================================
   CORREZIONE PAGINE SERVIZI ESSENZIALI - INTRO SEO
   Struttura robusta per tutte le pagine servizi:
   Scuole, Poste e banche, Trasporti, Sanita, Farmacie, ecc.
   Non dipende dal numero dei paragrafi descrittivi.
========================================================== */

.sc-servizi-intro,
.sc-servizi-intro *,
.sc-servizi-intro *::before,
.sc-servizi-intro *::after {
    box-sizing: border-box;
}

.sc-servizi-intro {
    width: calc(100% - 40px) !important;
    max-width: 980px !important;
    margin: 22px auto 34px !important;
    padding: 38px 34px !important;
    border: 1px solid rgba(38, 71, 51, 0.16);
    border-radius: 34px;
    background: linear-gradient(135deg, #f7f4ea 0%, #fbfaf6 100%);
    color: var(--testo-principale, #2f2f2f);
    text-align: center;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.08);
}

/* Se il breadcrumb precede direttamente l'intro, evita spazio doppio. */
.sc-breadcrumb + .sc-servizi-intro {
    margin-top: 0 !important;
}

/* Titolo pagina */
.sc-servizi-intro h1 {
    width: 100%;
    max-width: 900px;
    margin: 0 auto !important;
    color: var(--verde-principale, #264733);
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -0.8px;
    text-wrap: balance;
}

/* Base comune a tutti i paragrafi */
.sc-servizi-intro > p {
    width: 100%;
    max-width: 780px;
    margin-right: auto !important;
    margin-left: auto !important;
    margin-bottom: 0 !important;
    color: var(--testo-secondario, #5f635f);
    font-size: 16px;
    line-height: 1.7;
}

/* Claim / sottotitolo subito sotto H1 */
.sc-servizi-intro > p:first-of-type {
    max-width: 760px;
    margin-top: 20px !important;
    color: var(--verde-principale, #264733);
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 500;
    line-height: 1.4;
}

.sc-servizi-intro > p:first-of-type em {
    font-style: italic;
}

/*
 * Paragrafi descrittivi.
 * La regola non usa nth-of-type: funziona anche se una pagina
 * ha due, tre, quattro o piu paragrafi prima del disclaimer.
 */
.sc-servizi-intro > p:not(:first-of-type):not(.sc-servizi-disclaimer):not(.servizi-disclaimer) {
    margin-top: 20px !important;
    font-size: 16px;
    line-height: 1.7;
}

.sc-servizi-intro strong {
    color: var(--verde-principale, #264733);
    font-weight: 850;
}

.sc-servizi-intro a,
.sc-servizi-intro a:visited {
    color: var(--verde-principale, #264733) !important;
    font-weight: 750;
    text-decoration: underline !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.sc-servizi-intro a:hover,
.sc-servizi-intro a:focus-visible {
    color: var(--verde-hover, #1f3a2a) !important;
}

/* Disclaimer: supporta sia la classe nuova che quella legacy. */
.sc-servizi-intro > .sc-servizi-disclaimer,
.sc-servizi-intro > .servizi-disclaimer {
    width: 100%;
    max-width: 800px;
    margin: 24px auto 0 !important;
    padding: 15px 20px;
    border: 1px solid rgba(38, 71, 51, 0.14);
    border-radius: 18px;
    background: #ffffff;
    color: #5f635f;
    font-size: 13px;
    line-height: 1.6;
    opacity: 1;
}

/* Evita margini aggiuntivi dello shortcode immediatamente dopo l'intro. */
.sc-servizi-intro + .servizi-wrap,
.sc-servizi-intro + .wp-block-shortcode,
.sc-servizi-intro ~ .servizi-wrap,
.sc-servizi-intro ~ .wp-block-shortcode {
    margin-top: 0 !important;
}

/* Contenitore delle directory generate dagli shortcode. */
.servizi-essenziali-pagina {
    width: calc(100% - 40px);
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

/* Accessibilita */
.sc-servizi-intro a:focus-visible {
    outline: 3px solid rgba(217, 180, 107, 0.58);
    outline-offset: 3px;
}

/* Tablet */
@media (max-width: 900px) {
    .sc-servizi-intro {
        width: calc(100% - 36px) !important;
        padding: 36px 30px !important;
        border-radius: 30px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .sc-servizi-intro {
        width: calc(100% - 32px) !important;
        margin-top: 12px !important;
        margin-bottom: 26px !important;
        padding: 32px 22px !important;
        border-radius: 28px;
    }

    .sc-breadcrumb + .sc-servizi-intro {
        margin-top: 0 !important;
    }

    .sc-servizi-intro h1 {
        font-size: clamp(34px, 10vw, 46px);
        letter-spacing: -0.5px;
    }

    .sc-servizi-intro > p:first-of-type {
        margin-top: 16px !important;
        font-size: 18px;
        line-height: 1.45;
    }

    .sc-servizi-intro > p:not(:first-of-type):not(.sc-servizi-disclaimer):not(.servizi-disclaimer) {
        margin-top: 18px !important;
        font-size: 15px;
        line-height: 1.65;
    }

    .sc-servizi-intro > .sc-servizi-disclaimer,
    .sc-servizi-intro > .servizi-disclaimer {
        margin-top: 20px !important;
        padding: 14px 16px;
        border-radius: 16px;
        font-size: 12px;
        line-height: 1.58;
    }

    .servizi-essenziali-pagina {
        width: calc(100% - 28px);
    }
}

/* Mobile piccolo */
@media (max-width: 480px) {
    .sc-servizi-intro {
        width: calc(100% - 28px) !important;
        padding: 28px 18px !important;
        border-radius: 24px;
    }

    .sc-servizi-intro h1 {
        font-size: clamp(32px, 10vw, 42px);
    }

    .servizi-essenziali-pagina {
        width: calc(100% - 24px);
    }
}

