/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 30 2026 | 15:12:50 */
/*
 * Scopri Cotronei - modulo 01-core-home-territorio.css
 * Estratto senza modifiche funzionali dal CSS originale.
 * Righe originali: 1-3112.
 * Contenuto: Core globale, Home, pagina Cotronei, Sila e shortcode ultimo evento.
 */

/*
   CSS Scopri Cotronei ordinato per sezioni.
*/


/* ==================================================
   VARIABILI GLOBALI
================================================== */

:root {
    --verde-principale: #264733;
    --verde-hover: #1f3a2a;
    --verde-secondario: #355235;
    --oro-accento: #d9b46b;
    --sfondo-chiaro: #f3f3f3;
    --sfondo-leggero: #fafafa;
    --bianco: #ffffff;
    --testo-principale: #2f2f2f;
    --testo-secondario: #555555;
    --bordo-leggero: #e9e9e9;
    --bordo-medio: #dddddd;
    --ombra-leggera: 0 6px 20px rgba(0, 0, 0, 0.06);
    --ombra-card: 0 6px 18px rgba(0, 0, 0, 0.05);
    --radius-pill: 24px;
    --radius-card: 14px;
    --radius-soft: 12px;
}


/* ==================================================
   BASE GENERALE, LOGO, COOKIE E MENU MOBILE
================================================== */

/* LOGO CENTRATO */

/* HEADER LOGO */

.header-logo,
figure.header-logo {
    margin: 0 auto 10px !important;
    padding: 0 16px;
    text-align: center;
}

.header-logo a,
figure.header-logo a {
    display: inline-block;
    line-height: 0;
}

.header-logo img,
figure.header-logo img {
    display: block;
    width: min(860px, 92vw) !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto;
    object-fit: contain;
    object-position: 50% 50% !important;
}

@media (max-width: 767px) {
    .header-logo,
    figure.header-logo {
        margin-bottom: 6px !important;
        padding: 0 12px;
    }

    .header-logo img,
    figure.header-logo img {
        width: min(520px, 94vw) !important;
    }
}

/* PANORAMA ALTO DEL TEMPLATE */

.sc-site-panorama {
    position: relative;
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border-bottom: 8px solid #264733;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.sc-site-panorama.wp-block-cover {
    min-height: 260px !important;
}

.sc-site-panorama::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.10) 0%,
        rgba(0, 0, 0, 0.22) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.sc-site-panorama .wp-block-cover__image-background,
.sc-site-panorama img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 52% !important;
    filter: contrast(1.12) saturate(1.08) brightness(0.88);
    transform: scale(1.02);
}

.sc-site-panorama .wp-block-cover__background {
    opacity: 0 !important;
}

.sc-site-panorama .wp-block-cover__inner-container {
    position: relative;
    z-index: 2;
}

.sc-site-panorama + .wp-block-navigation,
.sc-site-panorama + .wp-block-group {
    margin-top: 0 !important;
}

/* MOBILE */

@media (max-width: 1024px) {
    .sc-site-panorama.wp-block-cover {
        min-height: 220px !important;
    }
}

@media (max-width: 767px) {
    .sc-site-panorama.wp-block-cover {
        min-height: 165px !important;
    }

    .sc-site-panorama .wp-block-cover__image-background,
    .sc-site-panorama img {
        object-position: center center !important;
        transform: scale(1.04);
    }
}

/* FOOTER SCOPRI COTRONEI */

.sc-footer {
    color: inherit;
    text-align: center;
}

.sc-footer *,
.sc-footer *::before,
.sc-footer *::after {
    box-sizing: border-box;
}

.sc-footer .sc-footer-logo {
    margin-bottom: 4px !important;
}

.sc-footer .sc-footer-logo img {
    max-width: 150px;
    height: auto;
}

.sc-footer-claim {
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.65;
    opacity: 0.9;
}

.sc-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 920px;
    margin: 6px auto 2px;
}

.sc-footer-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    color: inherit;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 13px;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sc-footer-nav a:hover {
    background: rgba(255, 255, 255, 0.92);
    color: var(--wp--preset--color--secondary);
}

.sc-footer-social-label {
    margin: 8px 0 0;
    opacity: 0.78;
    letter-spacing: 0.2px;
}

.sc-footer .wp-block-social-links {
    margin: 0;
}

.sc-footer .wp-social-link {
    color: inherit;
}

.sc-footer .wp-social-link a {
    color: inherit;
}

.sc-footer .wp-social-link svg {
    fill: currentColor;
}

.sc-footer-credits {
    margin: 4px 0 0;
    opacity: 0.78;
    line-height: 1.7;
}

.sc-footer-credits a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sc-footer-credits a:hover {
    opacity: 0.82;
}

@media (max-width: 767px) {
    .sc-footer {
        padding-top: 36px !important;
        padding-bottom: 32px !important;
    }

    .sc-footer-claim {
        max-width: 92vw;
        font-size: 14px;
        line-height: 1.6;
    }

    .sc-footer-nav {
        width: 100%;
        max-width: 330px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-top: 8px;
    }

    .sc-footer-nav a {
        width: 100%;
    }
}

/* COOKIE BANNER SEMPRE SOPRA AL MENU MOBILE */

html,
body {
    overflow-x: hidden;
}

/* Contenitore Complianz */
#cmplz-cookiebanner-container {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483647 !important;
    pointer-events: none !important;
}

/* Banner cookie Complianz */
.cmplz-cookiebanner {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    bottom: 0 !important;
    top: auto !important;
    transform: translateX(-50%) !important;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
}

/* Versione mobile */
@media (max-width: 767px) {
    .cmplz-cookiebanner {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        transform: none !important;
        border-radius: 22px 22px 0 0 !important;
    }
}

/* Overlay Complianz sopra tutto */
.cmplz-soft-cookiewall,
.cmplz-hard-cookiewall {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483646 !important;
}

/* Menu WordPress sotto al banner cookie */
.wp-block-navigation__responsive-container,
.wp-block-navigation__responsive-container.is-menu-open,
.wp-block-navigation__responsive-container.has-modal-open {
    z-index: 99999 !important;
}

/* Header sotto al banner cookie */
.wp-site-blocks > header,
.site-header,
header.wp-block-template-part {
    z-index: 9999 !important;
}

/* MENU MOBILE CON SOTTOMENU ANNIDATO PIU PULITO */

@media (max-width: 767px) {

    .wp-block-navigation {
        position: relative !important;
        overflow: visible !important;
    }

    .wp-block-navigation__container,
    .wp-block-navigation-item,
    .wp-block-navigation-submenu {
        overflow: visible !important;
    }

    .wp-block-navigation .has-child {
        position: static !important;
    }

    /* Primo livello del menu a tendina */
    .wp-block-navigation > .wp-block-navigation__container > .has-child > .wp-block-navigation__submenu-container {
        position: absolute !important;
        left: 18px !important;
        right: 18px !important;
        top: 100% !important;

        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 12px 0 !important;

        background: #6b9b6a !important;
        box-sizing: border-box !important;
        z-index: 999999 !important;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16) !important;
    }

    /* Voci del primo livello */
    .wp-block-navigation > .wp-block-navigation__container > .has-child > .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content {
        width: 100% !important;
        padding: 14px 24px !important;
        box-sizing: border-box !important;

        color: #ffffff !important;
        font-size: 20px !important;
        line-height: 1.25 !important;
        white-space: normal !important;
    }

    /* Secondo livello: non più riquadro laterale */
    .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
        position: static !important;
        display: block !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        margin: 4px 0 8px 0 !important;
        padding: 4px 0 4px 18px !important;

        background: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
        transform: none !important;
    }

    /* Voci del secondo livello */
    .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
        padding: 10px 24px !important;
        color: #f4f4f4 !important;
        font-size: 18px !important;
        line-height: 1.25 !important;
        opacity: 0.95 !important;
    }

    /* Piccolo segno visivo per il secondo livello */

    .wp-block-navigation__submenu-container a,
    .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }
}

@media (max-width: 767px) {
    .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
        background: rgba(38, 71, 51, 0.18) !important;
        border-radius: 0 !important;
    }
}


/* ==================================================
   HOME SCOPRI COTRONEI
================================================== */

.sc-home {
    --sc-verde: #264733;
    --sc-verde-2: #2f4a2f;
    --sc-verde-hover: #1f3a2a;
    --sc-oro: #d9b46b;
    --sc-crema: #f7f4ea;
    --sc-crema-2: #fbfaf6;
    --sc-bianco: #ffffff;
    --sc-testo: #2f2f2f;
    --sc-testo-soft: #5f635f;
    --sc-bordo: rgba(38, 71, 51, 0.16);
    --sc-ombra: 0 16px 42px rgba(0, 0, 0, 0.08);
    --sc-radius: 28px;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px 56px;
    color: var(--sc-testo);
    box-sizing: border-box;
}

.sc-home *,
.sc-home *::before,
.sc-home *::after {
    box-sizing: border-box;
}

.sc-home a {
    text-decoration: none;
}

/* --------------------------------------------------
   CTA IN EVIDENZA IN TESTA ALLA HOME
   3 BOX UGUALI: SOSTIENI / TEATRO / CONCORSO
-------------------------------------------------- */

.sc-home-highlight-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
    width: 100%;
    max-width: 1180px;
    margin: 30px auto 26px;
    padding: 0 20px;
    box-sizing: border-box;
}

.sc-home-highlight-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 17px;
    width: 100%;
    min-width: 0;
    min-height: 210px;
    height: 100%;
    padding: 24px 23px;
    border-radius: 22px;
    text-decoration: none !important;
    overflow: hidden;
    box-sizing: border-box;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.sc-home-highlight-card:hover {
    transform: translateY(-3px);
}

.sc-home-highlight-card:focus-visible {
    outline: 3px solid rgba(217, 180, 107, 0.58);
    outline-offset: 3px;
}

/* SOSTIENICI */

.sc-home-highlight-support {
    background: linear-gradient(135deg, #fffaf3 0%, #f7efe2 100%);
    border: 1px solid #eadac3;
    box-shadow: 0 8px 28px rgba(72, 52, 27, 0.07);
}

.sc-home-highlight-support:hover {
    box-shadow: 0 14px 34px rgba(72, 52, 27, 0.12);
}

/* TEATRO */

.sc-home-highlight-theatre {
    background: linear-gradient(135deg, #f3f7f3 0%, #e8f0e8 100%);
    border: 1px solid #cad8ca;
    box-shadow: 0 8px 28px rgba(47, 74, 47, 0.08);
}

.sc-home-highlight-theatre:hover {
    box-shadow: 0 14px 34px rgba(47, 74, 47, 0.14);
}

/* CONCORSO FOTOGRAFICO */

.sc-home-highlight-photo {
    background: linear-gradient(135deg, #fffaf2 0%, #f3e7d2 100%);
    border: 1px solid #e4cfad;
    box-shadow: 0 8px 28px rgba(104, 72, 35, 0.08);
}

.sc-home-highlight-photo:hover {
    box-shadow: 0 14px 34px rgba(104, 72, 35, 0.14);
}

/* ICONE DEI PRIMI DUE BOX */

.sc-home-highlight-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    border-radius: 16px;
}

.sc-home-highlight-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sc-home-highlight-support .sc-home-highlight-icon {
    background: #ffffff;
    color: #986c37;
    box-shadow: 0 5px 16px rgba(80, 52, 20, 0.08);
}

.sc-home-highlight-theatre .sc-home-highlight-icon {
    background: #ffffff;
    color: #2f4a2f;
    box-shadow: 0 5px 16px rgba(47, 74, 47, 0.09);
}

/* LOGO SAGRA NEL BOX DEL CONCORSO */

.sc-home-highlight-photo-logo {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    padding: 8px;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 5px 16px rgba(104, 72, 35, 0.09);
    box-sizing: border-box;
}

.sc-home-highlight-photo-logo img {
    display: block;
    width: 100%;
    max-width: 58px;
    height: 100%;
    max-height: 58px;
    margin: 0;
    object-fit: contain;
}

/* CONTENUTO DEI TRE BOX */

.sc-home-highlight-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    height: 100%;
}

.sc-home-highlight-kicker {
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
    line-height: 1.35;
    font-weight: 750;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.sc-home-highlight-support .sc-home-highlight-kicker {
    color: #986c37;
}

.sc-home-highlight-theatre .sc-home-highlight-kicker {
    color: #527052;
}

.sc-home-highlight-photo .sc-home-highlight-kicker {
    color: #8a6030;
}

.sc-home-highlight-title {
    display: block;
    margin-bottom: 8px;
    color: #20251f;
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.2;
    font-weight: 800;
}

.sc-home-highlight-description {
    display: block;
    max-width: 520px;
    color: #62675f;
    font-size: 13.5px;
    line-height: 1.55;
}

.sc-home-highlight-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-top: auto;
    padding-top: 13px;
    color: #2f4a2f;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 750;
}

.sc-home-highlight-photo .sc-home-highlight-link {
    color: #7b542b;
}

.sc-home-highlight-link > span {
    transition: transform 0.2s ease;
}

.sc-home-highlight-card:hover .sc-home-highlight-link > span {
    transform: translateX(4px);
}

/* --------------------------------------------------
   IDENTITA DELLA HOME
-------------------------------------------------- */

.sc-home-logo {
    margin-bottom: 12px;
}

.sc-home-title {
    max-width: 950px;
    margin: 0 auto 14px;
    color: var(--sc-verde);
    text-align: center;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.sc-home-claim {
    max-width: 760px;
    margin: 0 auto 10px;
    color: var(--sc-verde-2);
    text-align: center;
    font-size: clamp(18px, 2.1vw, 26px);
    line-height: 1.35;
}

/* Firma del progetto: da posizionare sotto titolo/claim nella home. */
.sc-home-project,
.sc-home-project-under-title {
    width: 100%;
    margin: 0 auto 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    color: var(--sc-verde);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

.sc-home-project img,
.sc-home-project-under-title img {
    display: block;
    width: 44px;
    height: auto;
    object-fit: contain;
}

.sc-home-project a,
.sc-home-project-under-title a {
    color: var(--sc-verde);
    text-decoration: none;
}

.sc-home-project a:hover,
.sc-home-project-under-title a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sc-home-intro {
    max-width: 880px;
    margin: 0 auto 26px;
    color: var(--sc-testo-soft);
    text-align: center;
    font-size: 17px;
    line-height: 1.75;
}

/* --------------------------------------------------
   AZIONI PRINCIPALI
-------------------------------------------------- */

.sc-home-main-actions {
    margin-bottom: 34px;
}

.sc-home .wp-block-button__link {
    border-radius: 999px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
}

.sc-home-primary-btn .wp-block-button__link,
.sc-home-event-actions .wp-block-button__link {
    background: var(--sc-verde);
    color: var(--sc-bianco);
}

.sc-home-primary-btn .wp-block-button__link:hover,
.sc-home-event-actions .wp-block-button__link:hover {
    background: var(--sc-verde-hover);
    color: var(--sc-bianco);
    transform: translateY(-1px);
}

.sc-home-secondary-btn .wp-block-button__link {
    background: var(--sc-crema);
    color: var(--sc-verde);
    border: 1px solid var(--sc-bordo);
}

.sc-home-secondary-btn .wp-block-button__link:hover {
    background: var(--sc-verde);
    color: var(--sc-bianco);
    transform: translateY(-1px);
}

/* --------------------------------------------------
   PERCORSI PRINCIPALI
-------------------------------------------------- */

.sc-home-paths {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 36px auto 54px;
}

.sc-home-path-card {
    position: relative;
    min-height: 440px;
    border-radius: 34px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: var(--sc-verde);
    box-shadow: var(--sc-ombra);
    isolation: isolate;
}

.sc-home-path-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
    z-index: 1;
}

.sc-home-path-card:hover img {
    transform: scale(1.04);
}

.sc-home-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(18, 38, 25, 0.88) 0%,
        rgba(18, 38, 25, 0.54) 46%,
        rgba(18, 38, 25, 0.16) 100%
    );
    z-index: 2;
}

.sc-home-card-content {
    position: relative;
    z-index: 3;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    color: var(--sc-bianco);
}

.sc-home-card-kicker {
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: var(--sc-bianco);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.sc-home-card-content strong {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.04;
    font-weight: 800;
}

.sc-home-card-content span:last-child {
    max-width: 520px;
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

/* --------------------------------------------------
   TESTATE SEZIONI
-------------------------------------------------- */

.sc-home-section-head {
    max-width: 840px;
    margin: 56px auto 28px;
    text-align: center;
}

.sc-home-section-head > span,
.sc-home-world span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--sc-crema);
    color: var(--sc-verde);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.sc-home-section-head h2,
.sc-home-world h2 {
    margin: 0;
    color: var(--sc-verde);
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.12;
    font-weight: 800;
}

.sc-home-section-head p,
.sc-home-world p {
    margin: 14px auto 0;
    color: var(--sc-testo-soft);
    font-size: 16px;
    line-height: 1.7;
}

/* --------------------------------------------------
   EVENTI
-------------------------------------------------- */

.sc-home-events-grid {
    gap: 28px;
    margin-bottom: 58px;
}

.sc-home-events-grid .wp-block-column {
    padding: 24px;
    border: 1px solid var(--sc-bordo);
    border-radius: var(--sc-radius);
    background: var(--sc-bianco);
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.055);
}

.sc-home-event-box {
    margin-bottom: 18px;
    text-align: center;
}

.sc-home-event-box h3 {
    margin: 0 0 8px;
    color: var(--sc-verde);
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
}

.sc-home-event-box p {
    margin: 0;
    color: var(--sc-testo-soft);
    font-size: 15px;
    line-height: 1.6;
}

.sc-home-events-grid .wp-block-post-template {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sc-home-events-grid .wp-block-post {
    margin: 0;
}

.sc-home-events-grid .wp-block-post-featured-image {
    margin: 0 0 16px;
    overflow: hidden;
    border-radius: 22px;
}

.sc-home-events-grid .wp-block-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sc-home-post-title,
.sc-home-events-grid .wp-block-post-title {
    margin: 0 0 8px;
    color: var(--sc-verde);
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
}

.sc-home-post-title a,
.sc-home-events-grid .wp-block-post-title a {
    color: var(--sc-verde);
}

.sc-home-post-title a:hover,
.sc-home-events-grid .wp-block-post-title a:hover {
    color: var(--sc-verde-hover);
}

.sc-home-post-excerpt,
.sc-home-events-grid .wp-block-post-excerpt {
    color: var(--sc-testo-soft);
    font-size: 15px;
    line-height: 1.6;
}

.sc-home-post-excerpt a,
.sc-home-events-grid .wp-block-post-excerpt a {
    color: var(--sc-verde);
    font-weight: 800;
}

.sc-home-event-actions {
    margin-top: 18px;
}

/* --------------------------------------------------
   CARD LINK / INFORMAZIONI / MEMORIA
-------------------------------------------------- */

.sc-home-link-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    max-width: 980px;
    margin: 0 auto 58px;
}

.sc-home-link-card {
    min-height: 225px;
    padding: 26px 24px;
    border: 1px solid var(--sc-bordo);
    border-radius: 24px;
    background: #fbfaf6;
    color: var(--sc-testo);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.045);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 18px;
    transition: all 0.22s ease;
}

.sc-home-link-card:hover {
    transform: translateY(-3px);
    border-color: rgba(38, 71, 51, 0.34);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
}

.sc-home-link-card span {
    display: flex;
    align-items: flex-start;
    min-height: 58px;
    color: var(--sc-verde);
    font-size: 21px;
    line-height: 1.12;
    font-weight: 800;
}

.sc-home-link-card strong {
    display: block;
    margin-top: 0;
    color: var(--sc-testo-soft);
    font-size: 14px;
    line-height: 1.55;
    font-weight: 500;
}

.sc-home-memory-grid .sc-home-link-card {
    background: var(--sc-crema-2);
}

/* --------------------------------------------------
   COTRONEI NEL MONDO
-------------------------------------------------- */

.sc-home-world {
    margin: 64px auto 10px;
    padding: 34px;
    border-radius: 32px;
    background: linear-gradient(135deg, #264733 0%, #1f3a2a 100%);
    color: var(--sc-bianco);
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 30px;
    align-items: center;
    box-shadow: var(--sc-ombra);
}

.sc-home-world span {
    background: rgba(255, 255, 255, 0.13);
    color: var(--sc-bianco);
}

.sc-home-world h2 {
    color: var(--sc-bianco);
}

.sc-home-world p {
    color: rgba(255, 255, 255, 0.84);
}

.sc-home-world-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sc-home-world-actions a {
    padding: 14px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.11);
    color: var(--sc-bianco);
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    transition: all 0.2s ease;
}

.sc-home-world-actions a:hover {
    background: var(--sc-bianco);
    color: var(--sc-verde);
}

/* --------------------------------------------------
   RESPONSIVE HOME
-------------------------------------------------- */

/* Tablet: i tre box rimangono identici e si dispongono uno sotto l'altro. */
@media (max-width: 980px) {

    .sc-home-highlight-actions {
        grid-template-columns: 1fr;
        max-width: 760px;
        gap: 13px;
        margin: 25px auto 23px;
    }

    .sc-home-highlight-card {
        min-height: 0;
        padding: 22px 23px;
    }

    .sc-home-highlight-content {
        min-height: 120px;
    }

    .sc-home-paths,
    .sc-home-world {
        grid-template-columns: 1fr;
    }

    .sc-home-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 720px;
    }

    .sc-home-path-card {
        min-height: 360px;
    }
}

@media (max-width: 800px) {

    .sc-home-highlight-actions {
        gap: 12px;
        margin: 24px auto 22px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .sc-home-highlight-card {
        padding: 21px 20px;
        gap: 16px;
        border-radius: 18px;
    }

    .sc-home-highlight-icon {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }

    .sc-home-highlight-icon svg {
        width: 23px;
        height: 23px;
    }

    .sc-home-highlight-photo-logo {
        flex-basis: 64px;
        width: 64px;
        height: 64px;
        padding: 7px;
        border-radius: 15px;
    }

    .sc-home-highlight-photo-logo img {
        max-width: 50px;
        max-height: 50px;
    }

    .sc-home-highlight-content {
        min-height: 0;
    }

    .sc-home-highlight-title {
        font-size: 18px;
    }

    .sc-home-highlight-description {
        font-size: 13.5px;
    }
}

@media (max-width: 767px) {

    .sc-home {
        padding: 0 16px 42px;
    }

    .sc-home-title {
        font-size: clamp(34px, 10vw, 46px);
    }

    .sc-home-claim {
        margin-bottom: 9px;
    }

    .sc-home-project,
    .sc-home-project-under-title {
        flex-direction: row;
        gap: 8px;
        margin: 0 auto 20px;
        font-size: 12px;
    }

    .sc-home-project img,
    .sc-home-project-under-title img {
        width: 40px;
    }

    .sc-home-intro {
        font-size: 16px;
        line-height: 1.65;
    }

    .sc-home-main-actions .wp-block-button,
    .sc-home-main-actions .wp-block-button__link,
    .sc-home-event-actions .wp-block-button,
    .sc-home-event-actions .wp-block-button__link {
        width: 100%;
    }

    .sc-home-paths {
        gap: 18px;
        margin-top: 28px;
        margin-bottom: 42px;
    }

    .sc-home-path-card {
        min-height: 330px;
        border-radius: 28px;
    }

    .sc-home-card-content {
        padding: 24px;
    }

    .sc-home-section-head {
        margin-top: 46px;
    }

    .sc-home-events-grid .wp-block-column {
        padding: 18px;
        border-radius: 24px;
    }

    .sc-home-link-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        gap: 14px;
    }

    .sc-home-link-card {
        min-height: auto;
        padding: 22px;
    }

    .sc-home-link-card span {
        min-height: auto;
    }

    .sc-home-world {
        padding: 26px 22px;
        border-radius: 28px;
    }
}

@media (max-width: 480px) {

    .sc-home-highlight-actions {
        padding-left: 14px;
        padding-right: 14px;
    }

    .sc-home-highlight-card {
        align-items: flex-start;
        padding: 19px 17px;
        gap: 14px;
    }

    .sc-home-highlight-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        border-radius: 13px;
    }

    .sc-home-highlight-icon svg {
        width: 21px;
        height: 21px;
    }

    .sc-home-highlight-photo-logo {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
        padding: 6px;
        border-radius: 13px;
    }

    .sc-home-highlight-photo-logo img {
        max-width: 44px;
        max-height: 44px;
    }

    .sc-home-highlight-kicker {
        font-size: 9.5px;
        letter-spacing: 0.065em;
    }

    .sc-home-highlight-title {
        font-size: 17px;
    }

    .sc-home-highlight-description {
        font-size: 13px;
        line-height: 1.5;
    }

    .sc-home-highlight-link {
        padding-top: 11px;
        font-size: 12.5px;
    }
}



/* ==================================================
   PAGINA COTRONEI
================================================== */

/* PAGINA COTRONEI */

.sc-cotronei-page {
    --sc-cot-verde: #264733;
    --sc-cot-verde-2: #2f4a2f;
    --sc-cot-verde-hover: #1f3a2a;
    --sc-cot-crema: #f7f4ea;
    --sc-cot-crema-2: #fbfaf6;
    --sc-cot-bianco: #ffffff;
    --sc-cot-testo: #2f2f2f;
    --sc-cot-soft: #5f635f;
    --sc-cot-bordo: rgba(38, 71, 51, 0.16);
    --sc-cot-ombra: 0 16px 42px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px 56px;
    box-sizing: border-box;
    color: var(--sc-cot-testo);
}

.sc-cotronei-page *,
.sc-cotronei-page *::before,
.sc-cotronei-page *::after {
    box-sizing: border-box;
}

.sc-cotronei-page a {
    text-decoration: none;
}

/* HERO */

.sc-cotronei-hero {
    position: relative;
    min-height: clamp(390px, 44vw, 520px);
    margin: 22px auto 54px;
    border-radius: 34px;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: var(--sc-cot-ombra);
    isolation: isolate;
}

.sc-cotronei-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to right,
        rgba(245, 245, 242, 0.82) 0%,
        rgba(245, 245, 242, 0.64) 34%,
        rgba(245, 245, 242, 0.24) 68%,
        rgba(245, 245, 242, 0.04) 100%
    );
}

.sc-cotronei-hero-img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 48% 35%;
    filter: grayscale(26%);
}

.sc-cotronei-hero-content {
    position: relative;
    z-index: 3;
    width: min(100%, 650px);
    padding: 52px 64px;
}

.sc-cotronei-kicker,
.sc-cotronei-intro > span,
.sc-cotronei-section-head > span,
.sc-cotronei-story span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 12px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--sc-cot-crema);
    color: var(--sc-cot-verde);
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.sc-cotronei-hero h1 {
    margin: 0;
    color: var(--sc-cot-verde);
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.05;
    font-weight: 850;
    letter-spacing: -1px;
}

.sc-cotronei-hero p {
    max-width: 560px;
    margin: 18px 0 0;
    color: #324536;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 500;
}

.sc-cotronei-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.sc-cotronei-actions a,
.sc-cotronei-story > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--sc-cot-verde);
    color: #ffffff;
    font-size: 14px;
    font-weight: 850;
    line-height: 1;
    transition: all 0.2s ease;
}

.sc-cotronei-actions a:nth-child(2) {
    background: #ffffff;
    color: var(--sc-cot-verde);
    border: 1px solid var(--sc-cot-bordo);
}

.sc-cotronei-actions a:hover,
.sc-cotronei-story > a:hover {
    background: var(--sc-cot-verde-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

.sc-cotronei-actions a:nth-child(2):hover {
    background: var(--sc-cot-verde);
    color: #ffffff;
}

/* INTRO */

.sc-cotronei-intro,
.sc-cotronei-section-head {
    max-width: 850px;
    margin: 0 auto 32px;
    text-align: center;
}

.sc-cotronei-intro h2,
.sc-cotronei-section-head h2,
.sc-cotronei-story h2 {
    margin: 0;
    color: var(--sc-cot-verde);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    font-weight: 850;
    letter-spacing: -0.5px;
}

.sc-cotronei-intro p,
.sc-cotronei-section-head p,
.sc-cotronei-story p {
    margin: 14px auto 0;
    color: var(--sc-cot-soft);
    font-size: 16px;
    line-height: 1.75;
}

/* CARD IMMAGINE */

.sc-cotronei-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 32px auto 62px;
}

.sc-cotronei-feature-card {
    position: relative;
    min-height: 340px;
    border-radius: 30px;
    overflow: hidden;
    background: var(--sc-cot-verde);
    display: flex;
    align-items: flex-end;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.075);
    isolation: isolate;
}

.sc-cotronei-feature-card img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.sc-cotronei-feature-card:hover img {
    transform: scale(1.04);
}

.sc-cotronei-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to top,
        rgba(18, 38, 25, 0.90) 0%,
        rgba(18, 38, 25, 0.58) 50%,
        rgba(18, 38, 25, 0.12) 100%
    );
}

.sc-cotronei-card-content {
    position: relative;
    z-index: 3;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    color: #ffffff;
}

.sc-cotronei-card-content span {
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.sc-cotronei-card-content strong {
    font-size: clamp(28px, 3.6vw, 42px);
    line-height: 1.05;
    font-weight: 850;
}

.sc-cotronei-card-content small {
    max-width: 480px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.55;
}

/* LINK CARD */

.sc-cotronei-section-head {
    margin-top: 8px;
}

.sc-cotronei-link-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    max-width: 980px;
    margin: 0 auto 62px;
}

.sc-cotronei-link-card {
    min-height: 225px;
    padding: 26px 24px;
    border: 1px solid var(--sc-cot-bordo);
    border-radius: 24px;
    background: var(--sc-cot-crema-2);
    color: var(--sc-cot-testo);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.045);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: all 0.22s ease;
}

.sc-cotronei-link-card:hover {
    transform: translateY(-3px);
    border-color: rgba(38, 71, 51, 0.34);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
}

.sc-cotronei-link-card span {
    display: flex;
    align-items: flex-start;
    min-height: 58px;
    color: var(--sc-cot-verde);
    font-size: 21px;
    line-height: 1.12;
    font-weight: 850;
}

.sc-cotronei-link-card strong {
    display: block;
    color: var(--sc-cot-soft);
    font-size: 14px;
    line-height: 1.55;
    font-weight: 500;
}

/* CTA FINALE */

.sc-cotronei-story {
    margin: 68px auto 10px;
    padding: 34px;
    border-radius: 32px;
    background: linear-gradient(135deg, #264733 0%, #1f3a2a 100%);
    color: #ffffff;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 30px;
    align-items: center;
    box-shadow: var(--sc-cot-ombra);
}

.sc-cotronei-story span {
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
}

.sc-cotronei-story h2 {
    color: #ffffff;
}

.sc-cotronei-story p {
    color: rgba(255, 255, 255, 0.84);
}

.sc-cotronei-story > a {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    text-align: center;
}

.sc-cotronei-story > a:hover {
    background: #ffffff;
    color: var(--sc-cot-verde);
}

/* RESPONSIVE */

@media (max-width: 980px) {
    .sc-cotronei-feature-grid,
    .sc-cotronei-story {
        grid-template-columns: 1fr;
    }

    .sc-cotronei-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 720px;
    }
}

@media (max-width: 767px) {
    .sc-cotronei-page {
        padding: 0 16px 42px;
    }

    .sc-cotronei-hero {
        min-height: 520px;
        margin-top: 12px;
        margin-bottom: 42px;
        border-radius: 28px;
        align-items: flex-end;
    }

    .sc-cotronei-hero::before {
        background: linear-gradient(
            to bottom,
            rgba(245, 245, 242, 0.05) 0%,
            rgba(245, 245, 242, 0.44) 42%,
            rgba(245, 245, 242, 0.88) 100%
        );
    }

    .sc-cotronei-hero-content {
        padding: 28px 24px;
    }

    .sc-cotronei-hero h1 {
        font-size: clamp(36px, 10vw, 48px);
    }

    .sc-cotronei-hero p {
        font-size: 16px;
        line-height: 1.65;
    }

    .sc-cotronei-actions a {
        width: 100%;
    }

    .sc-cotronei-feature-grid {
        gap: 18px;
        margin-bottom: 48px;
    }

    .sc-cotronei-feature-card {
        min-height: 310px;
        border-radius: 26px;
    }

    .sc-cotronei-card-content {
        padding: 24px;
    }

    .sc-cotronei-link-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        gap: 14px;
    }

    .sc-cotronei-link-card {
        min-height: auto;
    }

    .sc-cotronei-link-card span {
        min-height: auto;
    }

    .sc-cotronei-story {
        padding: 26px 22px;
        border-radius: 28px;
    }

    .sc-cotronei-story > a {
        width: 100%;
    }
}

/* ==========================================================
   LA SILA DI COTRONEI
   CSS COMPLETO
   ========================================================== */


/* ==========================================================
   VARIABILI E CONTENITORE
   ========================================================== */

.sc-sila-page {
    --sc-sila-verde: #264733;
    --sc-sila-verde-hover: #1f3a2a;

    --sc-sila-crema: #f7f4ea;
    --sc-sila-crema-2: #fbfaf6;

    --sc-sila-bianco: #ffffff;

    --sc-sila-testo: #2f2f2f;
    --sc-sila-soft: #5f635f;

    --sc-sila-bordo: rgba(38, 71, 51, 0.16);

    --sc-sila-ombra:
        0 16px 42px rgba(0, 0, 0, 0.08);

    width: 100%;
    max-width: 1120px;

    margin: 0 auto;
    padding: 0 20px 56px;

    color: var(--sc-sila-testo);

    box-sizing: border-box;
}


.sc-sila-page *,
.sc-sila-page *::before,
.sc-sila-page *::after {
    box-sizing: border-box;
}


.sc-sila-page a {
    text-decoration: none;
}


/* ==========================================================
   BREADCRUMB
   ========================================================== */

.sc-sila-page .sc-breadcrumb {
    width: 100%;
    max-width: 1080px;

    margin: 20px auto 14px;
    padding: 0 4px;
}


/* ==========================================================
   HERO
   ========================================================== */

.sc-sila-hero {
    position: relative;

    display: flex;
    align-items: center;

    min-height: clamp(430px, 46vw, 560px);

    margin: 0 auto 54px;

    border-radius: 34px;

    overflow: hidden;
    isolation: isolate;

    box-shadow: var(--sc-sila-ombra);
}


.sc-sila-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            to right,
            rgba(245, 245, 242, 0.88) 0%,
            rgba(245, 245, 242, 0.73) 35%,
            rgba(245, 245, 242, 0.30) 69%,
            rgba(245, 245, 242, 0.07) 100%
        );
}


.sc-sila-hero-img {
    position: absolute;
    inset: 0;

    z-index: 1;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: 36% 56%;

    filter:
        saturate(0.94)
        contrast(0.97);
}


.sc-sila-hero-content {
    position: relative;

    z-index: 3;

    width: min(100%, 700px);

    padding: 54px 64px;
}


/* ==========================================================
   KICKER / LABEL
   ========================================================== */

.sc-sila-kicker,
.sc-sila-focus-content > span,
.sc-sila-section-head > span,
.sc-sila-event-head > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;

    min-height: 29px;

    margin-bottom: 12px;
    padding: 0 13px;

    border-radius: 999px;

    background: var(--sc-sila-crema);
    color: var(--sc-sila-verde);

    font-size: 10px;
    font-weight: 850;
    line-height: 1;

    text-transform: uppercase;

    letter-spacing: 0.65px;
}


/* ==========================================================
   HERO TITLE
   ========================================================== */

.sc-sila-hero h1 {
    margin: 0;

    color: var(--sc-sila-verde);

    font-size: clamp(42px, 5.5vw, 68px);
    font-weight: 850;
    line-height: 1.02;

    letter-spacing: -1px;
}


.sc-sila-hero p {
    max-width: 590px;

    margin: 19px 0 0;

    color: #324536;

    font-size: 17px;
    font-weight: 500;
    line-height: 1.7;
}


/* ==========================================================
   HERO ACTIONS
   ========================================================== */

.sc-sila-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 27px;
}


.sc-sila-actions a,
.sc-sila-cta a,
.sc-sila-event-actions .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 22px;

    border-radius: 999px;

    background: var(--sc-sila-verde);
    color: #ffffff !important;

    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;

    text-align: center;
    text-decoration: none !important;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.sc-sila-actions a:nth-child(2),
.sc-sila-actions a:nth-child(3) {
    border: 1px solid var(--sc-sila-bordo);

    background: #ffffff;
    color: var(--sc-sila-verde) !important;
}


.sc-sila-actions a:hover,
.sc-sila-event-actions .wp-block-button__link:hover {
    transform: translateY(-2px);

    background: var(--sc-sila-verde-hover);
    color: #ffffff !important;
}


.sc-sila-actions a:nth-child(2):hover,
.sc-sila-actions a:nth-child(3):hover {
    border-color: var(--sc-sila-verde);

    background: var(--sc-sila-verde);
    color: #ffffff !important;
}


/* ==========================================================
   TITOLI SEZIONI
   ========================================================== */

.sc-sila-section-head,
.sc-sila-event-head {
    width: 100%;
    max-width: 860px;

    margin: 0 auto 30px;

    text-align: center;
}


.sc-sila-hero + .sc-sila-section-head {
    margin-top: 0;
}


.sc-sila-section-head + .sc-sila-section-head {
    margin-top: 50px;
}


.sc-sila-section-head h2,
.sc-sila-event-head h2,
.sc-sila-focus h2,
.sc-sila-cta h2 {
    margin: 0;

    color: var(--sc-sila-verde);

    font-size: clamp(30px, 4vw, 46px);
    font-weight: 850;
    line-height: 1.1;

    letter-spacing: -0.5px;
}


.sc-sila-section-head p,
.sc-sila-event-head p,
.sc-sila-focus p,
.sc-sila-cta p {
    max-width: 780px;

    margin: 14px auto 0;

    color: var(--sc-sila-soft);

    font-size: 16px;
    line-height: 1.72;
}


/* ==========================================================
   TRE PERCORSI
   Compatibilità con eventuali blocchi già presenti
   ========================================================== */

.sc-sila-main-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;

    margin: 0 auto 58px;
}


.sc-sila-main-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    gap: 22px;

    min-height: 245px;

    padding: 28px 26px;

    border: 1px solid var(--sc-sila-bordo);
    border-radius: 28px;

    background: var(--sc-sila-crema-2);
    color: var(--sc-sila-testo);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.045);

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}


.sc-sila-main-card:hover {
    transform: translateY(-3px);

    border-color: rgba(38, 71, 51, 0.34);

    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.08);
}


.sc-sila-main-card span {
    color: var(--sc-sila-verde);

    font-size: 27px;
    font-weight: 850;
    line-height: 1.08;
}


.sc-sila-main-card strong {
    color: var(--sc-sila-soft);

    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}


/* ==========================================================
   FOCUS
   Compatibilità
   ========================================================== */

.sc-sila-focus {
    display: grid;

    grid-template-columns:
        minmax(0, 1.12fr)
        minmax(320px, 0.88fr);

    gap: 30px;

    align-items: center;

    margin: 0 auto 62px;
    padding: 34px;

    border: 1px solid var(--sc-sila-bordo);
    border-radius: 32px;

    background:
        linear-gradient(
            135deg,
            #f7f4ea 0%,
            #fbfaf6 100%
        );
}


.sc-sila-focus-list {
    display: grid;

    gap: 14px;
}


.sc-sila-focus-list div {
    padding: 18px 20px;

    border: 1px solid rgba(38, 71, 51, 0.12);
    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.035);
}


.sc-sila-focus-list strong {
    display: block;

    margin-bottom: 6px;

    color: var(--sc-sila-verde);

    font-size: 18px;
    font-weight: 850;
    line-height: 1.2;
}


.sc-sila-focus-list span {
    display: block;

    color: var(--sc-sila-soft);

    font-size: 14px;
    line-height: 1.55;
}


/* ==========================================================
   LINK PRINCIPALI
   4 CARD -> 2 x 2 SU DESKTOP
   ========================================================== */

.sc-sila-link-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

    width: 100%;
    max-width: 980px;

    margin: 0 auto 68px;
}


.sc-sila-link-card {
    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 210px;

    padding: 26px;

    border: 1px solid var(--sc-sila-bordo);
    border-radius: 24px;

    background: var(--sc-sila-crema-2);
    color: var(--sc-sila-testo) !important;

    text-decoration: none !important;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.045);

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}


.sc-sila-link-card:hover {
    transform: translateY(-3px);

    border-color: rgba(38, 71, 51, 0.34);

    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.08);
}


/* ETICHETTA */

.sc-sila-link-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    align-self: flex-start;

    width: fit-content;
    min-height: 29px;

    margin: 0;
    padding: 0 11px;

    border-radius: 999px;

    background: var(--sc-sila-crema);
    color: #956b22;

    font-size: 9px;
    font-weight: 850;
    line-height: 1;

    text-transform: uppercase;

    letter-spacing: 0.6px;
}


/* TITOLO CARD */

.sc-sila-link-card > strong {
    display: block;

    margin-top: 21px;

    color: var(--sc-sila-verde);

    font-size: 22px;
    font-weight: 850;
    line-height: 1.15;
}


/* DESCRIZIONE */

.sc-sila-link-card > p {
    margin: 11px 0 0;

    color: var(--sc-sila-soft);

    font-size: 14px;
    font-weight: 500;
    line-height: 1.63;
}


/* ==========================================================
   EVENTI
   ========================================================== */

.sc-sila-event-head {
    max-width: 820px;

    margin-top: 6px;
    margin-bottom: 28px;
}


.sc-sila-event-query {
    width: 100%;
    max-width: 820px;

    margin: 0 auto 20px;
}


.sc-sila-event-query .wp-block-post-template {
    margin: 0;
    padding: 0;

    list-style: none;
}


.sc-sila-event-query .wp-block-post {
    margin: 0;
    padding: 20px;

    border: 1px solid var(--sc-sila-bordo);
    border-radius: 28px;

    background: #ffffff;

    box-shadow:
        0 10px 34px rgba(0, 0, 0, 0.055);

    overflow: hidden;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}


.sc-sila-event-query .wp-block-post:hover {
    transform: translateY(-2px);

    border-color: rgba(38, 71, 51, 0.26);

    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.075);
}


/* ==========================================================
   IMMAGINE EVENTO
   ========================================================== */

.sc-sila-event-query .wp-block-post-featured-image {
    width: 100%;

    margin: 0 0 19px;

    border-radius: 22px;

    overflow: hidden;
}


.sc-sila-event-query .wp-block-post-featured-image a {
    display: block;
}


.sc-sila-event-query .wp-block-post-featured-image img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 16 / 9;

    object-fit: cover;

    border-radius: 22px;

    transition:
        transform 0.35s ease;
}


.sc-sila-event-query .wp-block-post:hover
.wp-block-post-featured-image img {
    transform: scale(1.015);
}


/* ==========================================================
   TITOLO EVENTO
   ========================================================== */

.sc-sila-post-title,
.sc-sila-event-query .wp-block-post-title {
    max-width: 740px;

    margin: 0 2px 10px;

    color: var(--sc-sila-verde);

    font-size: clamp(21px, 2.4vw, 27px);
    font-weight: 850;
    line-height: 1.16;

    letter-spacing: -0.25px;
}


.sc-sila-post-title a,
.sc-sila-event-query .wp-block-post-title a {
    color: var(--sc-sila-verde) !important;

    text-decoration: none !important;
}


.sc-sila-post-title a:hover,
.sc-sila-event-query .wp-block-post-title a:hover {
    color: var(--sc-sila-verde-hover) !important;
}


/* ==========================================================
   EXCERPT EVENTO
   ========================================================== */

.sc-sila-post-excerpt,
.sc-sila-event-query .wp-block-post-excerpt {
    margin: 0 2px;

    color: var(--sc-sila-soft);

    font-size: 14px;
    line-height: 1.62;
}


.sc-sila-post-excerpt p,
.sc-sila-event-query .wp-block-post-excerpt p {
    margin: 0;
}


.sc-sila-post-excerpt a,
.sc-sila-event-query .wp-block-post-excerpt a {
    color: var(--sc-sila-verde) !important;

    font-weight: 850;

    text-decoration: underline !important;
    text-underline-offset: 3px;
}


/* ==========================================================
   PULSANTE EVENTI
   ========================================================== */

.sc-sila-event-actions {
    width: 100%;

    margin: 22px auto 68px;
}


.sc-sila-event-actions .wp-block-button {
    margin: 0;
}


.sc-sila-event-actions .wp-block-button__link {
    min-height: 45px;

    padding: 0 20px;

    border: 0;

    background: var(--sc-sila-verde);
    color: #ffffff !important;

    font-size: 12px;
}


/* ==========================================================
   CTA FINALE
   ========================================================== */

.sc-sila-cta {
    width: 100%;
    max-width: 900px;

    margin: 64px auto 10px;
    padding: 36px;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #264733 0%,
            #1f3a2a 100%
        );

    color: #ffffff;

    text-align: center;

    box-shadow: var(--sc-sila-ombra);
}


.sc-sila-cta h2 {
    color: #ffffff;
}


.sc-sila-cta p {
    max-width: 680px;

    margin-bottom: 24px;

    color: rgba(255, 255, 255, 0.84);
}


.sc-sila-cta a {
    min-height: 44px;

    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;

    border: 1px solid rgba(255, 255, 255, 0.18);
}


.sc-sila-cta a:hover {
    transform: translateY(-2px);

    background: #ffffff;
    color: var(--sc-sila-verde) !important;
}


/* ==========================================================
   ACCESSIBILITÀ
   ========================================================== */

.sc-sila-page a:focus-visible {
    outline: 3px solid rgba(217, 180, 107, 0.65);
    outline-offset: 3px;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 980px) {

    .sc-sila-main-grid,
    .sc-sila-focus {
        grid-template-columns: 1fr;
    }


    .sc-sila-link-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        max-width: 760px;
    }


    .sc-sila-event-query {
        max-width: 760px;
    }

}


/* ==========================================================
   TABLET PICCOLO
   ========================================================== */

@media (max-width: 760px) {

    .sc-sila-link-grid {
        grid-template-columns: 1fr;

        max-width: 520px;

        gap: 14px;
    }


    .sc-sila-link-card {
        min-height: 0;

        padding: 23px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {

    .sc-sila-page {
        padding: 0 16px 42px;
    }


    .sc-sila-page .sc-breadcrumb {
        margin-top: 15px;
        margin-bottom: 12px;

        padding: 0;
    }


    /* HERO */

    .sc-sila-hero {
        min-height: 540px;

        margin-top: 0;
        margin-bottom: 42px;

        border-radius: 27px;

        align-items: flex-end;
    }


    .sc-sila-hero::before {
        background:
            linear-gradient(
                to bottom,
                rgba(245, 245, 242, 0.05) 0%,
                rgba(245, 245, 242, 0.33) 37%,
                rgba(245, 245, 242, 0.91) 78%,
                rgba(245, 245, 242, 0.97) 100%
            );
    }


    .sc-sila-hero-img {
        object-position: 50% 50%;
    }


    .sc-sila-hero-content {
        width: 100%;

        padding: 29px 23px;
    }


    .sc-sila-hero h1 {
        font-size: clamp(37px, 10vw, 49px);
    }


    .sc-sila-hero p {
        margin-top: 15px;

        font-size: 15px;
        line-height: 1.62;
    }


    .sc-sila-actions {
        flex-direction: column;

        gap: 9px;

        margin-top: 22px;
    }


    .sc-sila-actions a {
        width: 100%;
    }


    /* SECTION HEAD */

    .sc-sila-section-head,
    .sc-sila-event-head {
        margin-bottom: 25px;
    }


    .sc-sila-section-head + .sc-sila-section-head {
        margin-top: 44px;
    }


    .sc-sila-section-head h2,
    .sc-sila-event-head h2 {
        font-size: clamp(29px, 8.5vw, 38px);
    }


    .sc-sila-section-head p,
    .sc-sila-event-head p {
        font-size: 15px;
        line-height: 1.65;
    }


    /* OLD MAIN GRID */

    .sc-sila-main-grid {
        margin-bottom: 48px;
    }


    .sc-sila-main-card {
        min-height: auto;
    }


    /* FOCUS */

    .sc-sila-focus {
        padding: 26px 22px;

        border-radius: 28px;
    }


    /* LINK GRID */

    .sc-sila-link-grid {
        grid-template-columns: 1fr;

        width: 100%;
        max-width: 500px;

        margin-bottom: 56px;

        gap: 14px;
    }


    .sc-sila-link-card {
        min-height: auto;

        padding: 22px;

        border-radius: 21px;
    }


    .sc-sila-link-card > strong {
        margin-top: 17px;

        font-size: 21px;
    }


    .sc-sila-link-card > p {
        font-size: 14px;
    }


    /* EVENTO */

    .sc-sila-event-head {
        margin-top: 0;
    }


    .sc-sila-event-query {
        max-width: 100%;
    }


    .sc-sila-event-query .wp-block-post {
        padding: 15px;

        border-radius: 23px;
    }


    .sc-sila-event-query .wp-block-post-featured-image,
    .sc-sila-event-query .wp-block-post-featured-image img {
        border-radius: 18px;
    }


    .sc-sila-post-title,
    .sc-sila-event-query .wp-block-post-title {
        margin-left: 1px;
        margin-right: 1px;

        font-size: 21px;
        line-height: 1.18;
    }


    .sc-sila-post-excerpt,
    .sc-sila-event-query .wp-block-post-excerpt {
        font-size: 14px;
    }


    .sc-sila-event-actions {
        margin-bottom: 56px;
    }


    .sc-sila-event-actions .wp-block-button,
    .sc-sila-event-actions .wp-block-button__link,
    .sc-sila-cta a {
        width: 100%;
    }


    /* CTA */

    .sc-sila-cta {
        margin-top: 56px;
        padding: 27px 22px;

        border-radius: 27px;
    }

}


/* ==========================================================
   MOBILE PICCOLO
   ========================================================== */

@media (max-width: 480px) {

    .sc-sila-page {
        padding-left: 14px;
        padding-right: 14px;
    }


    .sc-sila-hero {
        min-height: 520px;

        border-radius: 24px;
    }


    .sc-sila-hero-content {
        padding: 25px 19px;
    }


    .sc-sila-kicker,
    .sc-sila-section-head > span,
    .sc-sila-event-head > span {
        font-size: 9px;
    }


    .sc-sila-link-card {
        padding: 20px;
    }


    .sc-sila-event-query .wp-block-post {
        padding: 13px;
    }


    .sc-sila-post-title,
    .sc-sila-event-query .wp-block-post-title {
        font-size: 20px;
    }

}


/* ==========================================================
   RIDUZIONE ANIMAZIONI
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .sc-sila-page *,
    .sc-sila-page *::before,
    .sc-sila-page *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

}

/* ==========================================================
   ULTIMO EVENTO - SHORTCODE COMUNE
========================================================== */


/* DATA EVENTO */

.sc-ultimo-evento-data {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;
    min-height: 29px;

    margin: 0 0 13px;
    padding: 0 11px;

    border-radius: 999px;

    background: #f7f4ea;
    color: #956b22;

    font-size: 9px;
    font-weight: 850;
    line-height: 1;

    text-transform: uppercase;

    letter-spacing: 0.6px;
}


/* ==========================================================
   HOME
========================================================== */

.sc-home-events-grid .sc-ultimo-evento-thumb {
    margin: 0 0 16px;

    overflow: hidden;

    border-radius: 22px;
}


.sc-home-events-grid .sc-ultimo-evento-thumb a {
    display: block;
}


.sc-home-events-grid .sc-ultimo-evento-thumb img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 3 / 4;

    object-fit: cover;
}


.sc-home-latest-event .sc-home-post-excerpt p {
    margin: 0;
}


/* ==========================================================
   SILA
========================================================== */

.sc-sila-event-query .sc-ultimo-evento-data {
    margin-left: 2px;
}


/* ==========================================================
   MESSAGGIO VUOTO
========================================================== */

.sc-ultimo-evento-vuoto {
    max-width: 760px;

    margin: 0 auto 24px;
    padding: 16px 18px;

    border: 1px solid rgba(38, 71, 51, 0.14);
    border-radius: 16px;

    background: #fbfaf6;
    color: #5f635f;

    font-size: 14px;
    line-height: 1.6;

    text-align: center;
}

