/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 30 2026 | 15:12:45 */
/*
 * Scopri Cotronei - modulo 03-fotografie-eventi-vivi.css
 * Estratto senza modifiche funzionali dal CSS originale.
 * Righe originali: 6171-10057.
 * Contenuto: Fotografie storiche, eventi Cotronei/Sila e Vivi Cotronei.
 */

/* ==========================================================
   PAGINA FOTOGRAFIE STORICHE
   Layout SEO + integrazione con archivio e decenni
========================================================== */

.sc-foto-page {
    --sc-foto-verde: var(--verde-principale, #264733);
    --sc-foto-verde-hover: var(--verde-hover, #1f3a2a);
    --sc-foto-oro: var(--oro-accento, #d9b46b);
    --sc-foto-crema: #f7f4ea;
    --sc-foto-crema-2: #fbfaf6;
    --sc-foto-bianco: #ffffff;
    --sc-foto-testo: var(--testo-principale, #2f2f2f);
    --sc-foto-soft: var(--testo-secondario, #5f635f);
    --sc-foto-bordo: rgba(38, 71, 51, 0.16);
    --sc-foto-ombra: 0 16px 42px rgba(0, 0, 0, 0.08);

    width: 100% !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 20px 56px !important;
    box-sizing: border-box !important;
    color: var(--sc-foto-testo);
}

.sc-foto-page,
.sc-foto-page *,
.sc-foto-page *::before,
.sc-foto-page *::after {
    box-sizing: border-box;
}

/* Gutenberg constrained layout: il main deve poter usare tutta la larghezza wide. */
.wp-block-group.sc-foto-page > .sc-foto-main,
.sc-foto-page > .sc-foto-main {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.sc-foto-main {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    color: var(--sc-foto-testo);
    --wp--style--block-gap: 0px;
}

.sc-foto-main a {
    text-decoration: none;
}

/* ----------------------------------------------------------
   BREADCRUMB
---------------------------------------------------------- */

.sc-foto-page .sc-breadcrumb {
    width: 100%;
    max-width: 1080px;
    margin: 20px auto 14px;
    padding: 0 4px;
}

/* ----------------------------------------------------------
   INTRO / HERO TESTUALE
---------------------------------------------------------- */

.sc-foto-intro {
    width: 100%;
    max-width: 980px;
    margin: 0 auto 62px;
    padding: 48px 50px;
    border: 1px solid var(--sc-foto-bordo);
    border-radius: 34px;
    background: linear-gradient(135deg, #f7f4ea 0%, #fbfaf6 100%);
    box-shadow: var(--sc-foto-ombra);
    text-align: center;
}

.sc-foto-intro h1 {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    color: var(--sc-foto-verde);
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -0.8px;
}

.sc-foto-intro p {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    color: var(--sc-foto-soft);
    font-size: 16px;
    line-height: 1.75;
}

.sc-foto-intro .sc-foto-lead,
.sc-foto-intro p:first-of-type {
    margin-top: 19px;
    margin-bottom: 0;
    color: var(--sc-foto-verde);
    font-size: clamp(18px, 2.1vw, 24px);
    font-weight: 600;
    line-height: 1.4;
}

.sc-foto-intro p:nth-of-type(2) {
    margin-top: 22px;
    margin-bottom: 0;
    font-size: 17px;
}

.sc-foto-intro p:nth-of-type(3) {
    margin-top: 15px;
    margin-bottom: 0;
}

.sc-foto-intro p:last-of-type {
    max-width: 760px;
    margin-top: 20px;
    margin-bottom: 0;
    padding: 16px 20px;
    border: 1px solid rgba(38, 71, 51, 0.13);
    border-radius: 18px;
    background: #ffffff;
    color: var(--sc-foto-soft);
    font-size: 15px;
    line-height: 1.65;
}

.sc-foto-intro strong {
    color: var(--sc-foto-verde);
    font-weight: 850;
}

/* ----------------------------------------------------------
   TESTATE DELLE SEZIONI
---------------------------------------------------------- */

.sc-foto-archive,
.sc-foto-decades {
    display: block;
    width: 100%;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.sc-foto-archive {
    margin-bottom: 72px;
}

.sc-foto-decades {
    margin-bottom: 0;
}

.sc-foto-section-head {
    width: 100%;
    max-width: 860px;
    margin: 0 auto 30px;
    padding: 0 16px;
    text-align: center;
}

.sc-foto-section-head > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 29px;
    margin: 0 auto 12px;
    padding: 0 13px;
    border-radius: 999px;
    background: var(--sc-foto-crema);
    color: var(--sc-foto-verde);
    font-size: 10px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.65px;
    text-transform: uppercase;
}

.sc-foto-section-head h2 {
    margin: 0;
    color: var(--sc-foto-verde);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.sc-foto-section-head p {
    max-width: 760px;
    margin: 14px auto 0;
    color: var(--sc-foto-soft);
    font-size: 16px;
    line-height: 1.72;
}

/* ----------------------------------------------------------
   SHORTCODE ARCHIVIO / DECENNI DENTRO LA NUOVA PAGINA
---------------------------------------------------------- */

.sc-foto-archive .fs-wrap,
.sc-foto-decades .dec-wrap {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.sc-foto-archive .fs-wrap {
    margin-bottom: 0;
}

.sc-foto-decades .dec-wrap {
    margin-bottom: 0;
}

/* Evita spazi extra prodotti dai wrapper WordPress. */
.sc-foto-archive > .wp-block-shortcode,
.sc-foto-decades > .wp-block-shortcode,
.sc-foto-archive .wp-block-shortcode,
.sc-foto-decades .wp-block-shortcode {
    width: 100%;
    max-width: none;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* ----------------------------------------------------------
   CTA CONTRIBUISCI
---------------------------------------------------------- */

.sc-foto-contribute {
    width: 100%;
    max-width: 900px;
    margin: 72px auto 10px;
    padding: 38px 40px;
    border-radius: 30px;
    background: linear-gradient(135deg, #264733 0%, #1f3a2a 100%);
    color: #ffffff;
    text-align: center;
    box-shadow: var(--sc-foto-ombra);
}

.sc-foto-contribute h2 {
    max-width: 760px;
    margin: 0 auto;
    color: #ffffff;
    font-size: clamp(28px, 3.7vw, 42px);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -0.4px;
}

.sc-foto-contribute p {
    max-width: 700px;
    margin: 14px auto 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    line-height: 1.7;
}

.sc-foto-contribute a,
.sc-foto-contribute a:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 24px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    background: #ffffff;
    color: var(--sc-foto-verde) !important;
    font-size: 13px;
    font-weight: 850;
    line-height: 1;
    text-align: center;
    text-decoration: none !important;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.sc-foto-contribute a:hover,
.sc-foto-contribute a:focus-visible {
    transform: translateY(-2px);
    background: var(--sc-foto-crema);
    color: var(--sc-foto-verde-hover) !important;
}

/* ----------------------------------------------------------
   ACCESSIBILITA
---------------------------------------------------------- */

.sc-foto-page a:focus-visible,
.sc-foto-page button:focus-visible,
.sc-foto-page input:focus-visible {
    outline: 3px solid rgba(217, 180, 107, 0.58);
    outline-offset: 3px;
}

/* ----------------------------------------------------------
   TABLET
---------------------------------------------------------- */

@media (max-width: 900px) {
    .sc-foto-intro {
        padding: 42px 36px;
    }

    .sc-foto-archive {
        margin-bottom: 62px;
    }

    .sc-foto-contribute {
        margin-top: 62px;
    }
}

/* ----------------------------------------------------------
   MOBILE
---------------------------------------------------------- */

@media (max-width: 767px) {
    .sc-foto-page {
        max-width: 100% !important;
        padding: 0 16px 42px !important;
    }

    .sc-foto-page .sc-breadcrumb {
        margin-top: 15px;
        margin-bottom: 12px;
        padding: 0;
    }

    .sc-foto-intro {
        margin-bottom: 48px;
        padding: 32px 22px;
        border-radius: 28px;
    }

    .sc-foto-intro h1 {
        font-size: clamp(34px, 10vw, 46px);
        letter-spacing: -0.5px;
    }

    .sc-foto-intro .sc-foto-lead,
    .sc-foto-intro p:first-of-type {
        margin-top: 16px;
        font-size: 18px;
        line-height: 1.45;
    }

    .sc-foto-intro p:nth-of-type(2),
    .sc-foto-intro p:nth-of-type(3) {
        font-size: 15px;
        line-height: 1.65;
    }

    .sc-foto-intro p:last-of-type {
        margin-top: 17px;
        padding: 14px 15px;
        border-radius: 15px;
        font-size: 14px;
        line-height: 1.6;
    }

    .sc-foto-archive {
        margin-bottom: 54px;
    }

    .sc-foto-section-head {
        margin-bottom: 25px;
        padding: 0;
    }

    .sc-foto-section-head > span {
        min-height: 28px;
        margin-bottom: 10px;
        padding: 0 11px;
        font-size: 9px;
    }

    .sc-foto-section-head h2 {
        font-size: clamp(28px, 8.5vw, 38px);
        line-height: 1.12;
    }

    .sc-foto-section-head p {
        margin-top: 12px;
        font-size: 15px;
        line-height: 1.65;
    }

    .sc-foto-archive .fs-wrap,
    .sc-foto-decades .dec-wrap {
        padding-left: 0;
        padding-right: 0;
    }

    .sc-foto-contribute {
        margin-top: 56px;
        padding: 27px 22px;
        border-radius: 27px;
    }

    .sc-foto-contribute h2 {
        font-size: clamp(27px, 8vw, 36px);
    }

    .sc-foto-contribute p {
        font-size: 14px;
        line-height: 1.65;
    }

    .sc-foto-contribute a {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .sc-foto-page {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .sc-foto-intro {
        padding: 28px 18px;
        border-radius: 24px;
    }

    .sc-foto-contribute {
        padding: 25px 19px;
        border-radius: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-foto-page *,
    .sc-foto-page *::before,
    .sc-foto-page *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* ==================================================
   FOTOGRAFIE STORICHE, ARCHIVIO E DECENNI
================================================== */

/* FOTOGRAFIE STORICHE */

.fs-wrap {
    max-width: 1200px;
    margin: 28px auto;
    padding: 18px;
    font-family: system-ui, Arial, Helvetica, sans-serif;
    color: var(--testo-principale);
}

.fs-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 10px;
}

.fs-search {
    width: 100%;
    padding: 13px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--bordo-medio);
    font-size: 14px;
    transition: all 0.2s ease;
}

.fs-search:focus {
    outline: none;
    border-color: var(--verde-principale);
    box-shadow: 0 0 0 3px rgba(38, 71, 51, 0.1);
}

.fs-timeline-nav {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
    margin-bottom: 28px;
}

.fs-time-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    background: var(--sfondo-chiaro);
    color: var(--verde-principale);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.2px;
    line-height: 1;
    text-align: center;
    transition: all 0.2s ease;
}

.fs-time-pill:hover,
.fs-time-pill.is-active {
    background: var(--verde-principale);
    color: var(--bianco);
}

.fs-time-pill-speciale {
    border: 1px dashed rgba(38, 71, 51, 0.35);
}

.fs-search-results {
    margin-top: 32px;
}

.fs-results-title {
    margin: 0 0 18px;
    font-size: 28px;
    color: var(--verde-principale);
}

.fs-results-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fs-result-card,
.fs-latest-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--bianco);
    box-shadow: var(--ombra-card);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fs-result-card:hover,
.fs-latest-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ombra-leggera);
}

.fs-result-cover,
.fs-latest-cover {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f6f6f6;
}

.fs-result-cover img,
.fs-latest-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fs-result-content,
.fs-latest-content {
    padding: 14px;
}

.fs-result-meta {
    font-size: 13px;
    color: #666666;
    margin-bottom: 8px;
}

.fs-result-content h3,
.fs-latest-content h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--verde-principale);
}

.fs-result-content p,
.fs-latest-content p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #444444;
}

.fs-empty {
    margin-top: 16px;
    color: var(--testo-secondario);
}

.fs-latest {
    margin-top: 42px;
}

.fs-latest-head {
    text-align: center;
    margin-bottom: 24px;
}

.fs-latest-head h2 {
    margin: 0 0 8px;
    font-size: 30px;
    color: var(--verde-principale);
}

.fs-latest-head p {
    margin: 0;
    color: var(--testo-secondario);
    font-size: 16px;
}

.fs-latest-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* VISTA DECENNIO FOTOGRAFIE */

.dec-wrap {
    max-width: 1100px;
    margin: 20px auto;
    padding: 18px;
    font-family: system-ui, Arial, Helvetica, sans-serif;
    color: #444444;
}

.dec-hero {
    text-align: center;
    margin-bottom: 22px;
}

.dec-hero h2 {
    margin: 0 0 8px 0;
    font-size: 30px;
    color: var(--verde-principale);
}

.dec-hero p {
    margin: 0;
    color: #444444;
    line-height: 1.45;
}

.year-list {
    margin-top: 12px;
}

.year-item {
    border-radius: var(--radius-card);
    margin-bottom: 14px;
    overflow: hidden;
    background: var(--bianco);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.year-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 18px;
    cursor: pointer;
    background: var(--sfondo-leggero);
}

.year-head h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 18px;
    color: var(--verde-principale);
}

.year-head .meta {
    display: inline-block;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    background: var(--sfondo-chiaro);
    font-size: 13px;
    color: #666666;
    font-weight: 600;
}

.year-body {
    padding: 14px;
    display: none;
    background: var(--bianco);
    border-top: 1px solid #efefef;
}

.event-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.event-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    padding: 10px;
    background: var(--bianco);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    min-height: 260px;
}

.cover {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 8px;
    background: #f6f6f6;
}

.cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-card h4 {
    margin: 10px 0 6px 0;
    font-size: 16px;
    color: var(--verde-principale);
}

.event-card p {
    margin: 8px 0 0 0;
    color: #444444;
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.event-actions {
    margin-top: 10px;
    text-align: right;
}

.btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    background: var(--verde-principale);
    color: var(--bianco);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn:hover {
    background: var(--verde-hover);
    color: var(--bianco);
}

.show-more {
    display: block;
    margin: 14px auto 0 auto;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    background: var(--sfondo-chiaro);
    border: none;
    color: var(--verde-principale);
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
}

.show-more:hover {
    background: var(--verde-principale);
    color: var(--bianco);
}

.dec-wrap .hidden,
.fs-wrap .hidden,
.show-more.hidden {
    display: none !important;
}

.year-head .toggle {
    transition: transform 0.12s ease;
}

.year-head.open .toggle {
    transform: rotate(180deg);
}

.year-head:focus {
    outline: 3px solid rgba(217, 180, 107, 0.25);
}

/* RESPONSIVE FOTOGRAFIE STORICHE */

@media (max-width: 767px) {
    .fs-wrap,
    .dec-wrap {
        padding: 14px;
    }

    .fs-timeline-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fs-results-grid,
    .fs-latest-grid,
    .event-grid {
        grid-template-columns: 1fr;
    }

    .year-head h3 {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    .fs-timeline-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fs-results-grid,
    .fs-latest-grid,
    .event-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 980px) {
    .fs-timeline-nav {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .fs-results-grid,
    .fs-latest-grid,
    .event-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.single-raccolta-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.single-raccolta-back-row {
    display: flex;
    justify-content: flex-start;
    max-width: 900px;
    margin: 0 auto 22px;
}

.single-raccolta-back-row-bottom {
    margin-top: 34px;
    margin-bottom: 0;
}

.single-raccolta-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 17px;
    border-radius: var(--radius-pill);
    background: var(--verde-principale);
    color: var(--bianco) !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    box-shadow: var(--ombra-card);
    transition: all 0.2s ease;
}

.single-raccolta-back-link:hover {
    background: var(--verde-hover);
    color: var(--bianco) !important;
    transform: translateY(-1px);
    box-shadow: var(--ombra-leggera);
}

.single-raccolta-back-icon {
    font-size: 18px;
    line-height: 1;
    transform: translateY(-1px);
}

.single-raccolta-intro {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 30px 34px;
    border-radius: 28px;
    background: linear-gradient(135deg, #f7f4ea 0%, #fbfaf6 100%);
    border: 1px solid rgba(38, 71, 51, 0.16);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
    text-align: left;
    box-sizing: border-box;
}

.single-raccolta-intro-text {
    max-width: 780px;
    margin: 0 auto;
}

.single-raccolta-intro-text p {
    margin: 0 0 16px;
    font-size: 17px;
    line-height: 1.75;
    color: var(--testo-principale);
}

.single-raccolta-intro-text p:first-child {
    color: var(--verde-principale);
    font-size: 19px;
    line-height: 1.65;
    font-weight: 650;
}

.single-raccolta-intro-text p:last-child {
    margin-bottom: 0;
}

.single-raccolta-gallery {
    margin-top: 28px;
}

@media (max-width: 767px) {
    .single-raccolta-wrap {
        padding: 14px;
    }

    .single-raccolta-back-row {
        max-width: 100%;
        margin-bottom: 18px;
    }

    .single-raccolta-back-row-bottom {
        margin-top: 28px;
    }

    .single-raccolta-back-link {
        width: 100%;
        min-height: 44px;
        padding: 10px 15px;
        font-size: 14px;
    }

    .single-raccolta-intro {
        padding: 24px 22px;
        border-radius: 24px;
        margin-bottom: 32px;
    }

    .single-raccolta-intro-text p {
        font-size: 15px;
        line-height: 1.7;
    }

    .single-raccolta-intro-text p:first-child {
        font-size: 16px;
    }
}

.event-card p,
.fs-result-content p,
.fs-latest-content p {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ==================================================
   EVENTI COTRONEI E SILA
================================================== */

/* CONTENITORE PRINCIPALE */

.eventi-cotronei {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.eventi-cotronei.eventi-loading {
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.titolo-sezione-eventi {
    text-align: center;
    margin: 0 0 24px;
    color: var(--verde-principale);
    font-size: 42px;
    line-height: 1.2;
}


/* ==================================================
   MINI CALENDARIO
================================================== */

.mini-calendario-wrapper {
    margin-bottom: 36px;
}

.mini-calendario {
    max-width: 760px;
    margin: 0 auto 30px;
    background: var(--bianco);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--ombra-leggera);
}

.mini-calendario-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.freccia-calendario {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--sfondo-chiaro);
    color: var(--verde-principale);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.freccia-calendario:hover {
    background: var(--verde-principale);
    color: var(--bianco);
}

.mini-calendario-header {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--verde-principale);
    text-transform: capitalize;
    margin: 0;
}

.mini-calendario-giorni-settimana,
.mini-calendario-griglia {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.mini-calendario-giorni-settimana {
    margin-bottom: 10px;
}

.mini-calendario-giorni-settimana span {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--verde-principale);
}

.giorno-vuoto {
    display: block;
    min-height: 44px;
}

.giorno-calendario {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-soft);
    background: var(--sfondo-chiaro);
    color: var(--verde-principale);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.giorno-calendario.ha-evento {
    background: var(--verde-principale);
    color: var(--bianco);
}

.giorno-calendario.giorno-attivo {
    outline: 3px solid var(--oro-accento);
}


/* ==================================================
   CALENDARIO EVENTI
================================================== */

.calendario-eventi-section {
    margin: 22px auto 28px;
}

.calendario-eventi-intro {
    max-width: 760px;
    margin: 0 auto 18px;
    text-align: center;
}

.calendario-eventi-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border: 1px solid rgba(214, 176, 103, 0.65);
    border-radius: 999px;
    background: #fff;
    color: #0f3521;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.calendario-eventi-intro h2 {
    margin: 0 0 8px;
    color: #0f3521;
    font-size: 26px;
    line-height: 1.2;
}

.calendario-eventi-intro p {
    margin: 0;
    color: #26342d;
    font-size: 16px;
    line-height: 1.5;
}


/* ==================================================
   FILTRI EVENTI
================================================== */

.filtri-eventi {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.filtri-eventi a {
    padding: 10px 16px;
    background: var(--sfondo-chiaro);
    color: var(--verde-principale);
    text-decoration: none;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
}

.filtri-eventi a.attivo,
.filtri-eventi a:hover {
    background: var(--verde-principale);
    color: var(--bianco);
}

.filtro-giorno-attivo {
    margin-bottom: 28px;
    font-size: 15px;
    color: var(--verde-principale);
}

.filtro-giorno-attivo a {
    margin-left: 12px;
    font-weight: 700;
    color: var(--verde-principale);
    text-decoration: underline;
}


/* ==================================================
   GRIGLIA EVENTI
================================================== */

.griglia-eventi {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 32px;
    align-items: start;
}

.card-evento a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.img-evento {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e9e9e9;
}

.img-evento img,
.img-evento-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-evento-placeholder {
    background: #e5e5e5;
}

.contenuto-evento {
    padding-top: 18px;
}

.meta-evento {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.cartellino-data {
    min-width: 64px;
    border-radius: var(--radius-soft);
    overflow: hidden;
    background: var(--verde-principale);
    color: var(--bianco);
    text-align: center;
    flex-shrink: 0;
}

.cartellino-giorno {
    display: block;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    padding: 10px 8px 4px;
}

.cartellino-mese {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0 8px 10px;
}

.meta-evento-testo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.badge-evento {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: max-content;
    margin-bottom: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.badge-evento.teatro {
    background: #eee8ff;
    color: #5a3db5;
}

.badge-evento.sagre {
    background: #fff1dc;
    color: #b46a00;
}

.badge-evento.culturali {
    background: #e1f2e8;
    color: #1d6a49;
}

.badge-evento.sport {
    background: #e3f0ff;
    color: #1f5fa8;
}

.badge-evento.religiosi {
    background: #f1e9d8;
    color: #7a5a1f;
}

.badge-evento.solidarieta {
    background: #fde8e8;
    color: #a83232;
}

.badge-evento.sport-sila {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-evento.natura {
    background: #edf7d9;
    color: #5f7f1f;
}

.data-evento-estesa {
    display: block;
    width: 100%;
    font-size: 14px;
    font-weight: 700;
    color: var(--verde-principale);
    text-transform: none;
}

.contenuto-evento h3 {
    margin: 0 0 14px;
    font-size: 34px;
    line-height: 1.2;
    color: var(--verde-principale);
}

.contenuto-evento p {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--testo-principale);
}

.card-evento .leggi-tutto {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 44px;
    margin-top: 6px;
    padding: 0 18px;
    border-radius: var(--radius-pill);
    background: var(--verde-principale);
    color: var(--bianco);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(38, 71, 51, 0.16);
    transition: all 0.2s ease;
}

.card-evento .leggi-tutto::after {
    content: "→";
    margin-left: 8px;
    font-size: 16px;
    line-height: 1;
    transform: translateY(-1px);
}

.card-evento a:hover .leggi-tutto {
    background: var(--verde-hover);
    color: var(--bianco);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(38, 71, 51, 0.22);
}

.nessun-evento {
    font-size: 16px;
    color: var(--verde-principale);
}


/* ==================================================
   LOCANDINE E PROGRAMMI DEL MESE
================================================== */

.locandine-programma-mese {
    margin: 22px auto 28px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(214, 176, 103, 0.45);
    background: #fffdf7;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.05);
}

.locandine-programma-header {
    margin-bottom: 22px;
}

.locandine-programma-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border: 1px solid rgba(214, 176, 103, 0.65);
    border-radius: 999px;
    background: #fff;
    color: #0f3521;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.locandine-programma-header h2 {
    margin: 0 0 8px;
    color: #0f3521;
    font-size: 25px;
    line-height: 1.2;
}

.locandine-programma-header p {
    margin: 0;
    color: #26342d;
    font-size: 16px;
    line-height: 1.5;
}

.locandine-programma-griglia {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.locandina-programma-card {
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(214, 176, 103, 0.35);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.locandina-programma-immagine {
    display: block;
    padding: 14px;
    background: #fff;
    text-decoration: none;
}

.locandina-programma-immagine img {
    width: 100%;
    height: 360px;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
}

.locandina-programma-contenuto {
    padding: 0 18px 20px;
}

.locandina-programma-contenuto h3 {
    margin: 0 0 8px;
    color: #0f3521;
    font-size: 20px;
    line-height: 1.25;
}

.locandina-programma-contenuto p {
    margin: 0 0 16px;
    color: #26342d;
    font-size: 15px;
    line-height: 1.5;
}

.pulsante-locandina-programma {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 17px;
    border-radius: 999px;
    border: 1px solid rgba(214, 176, 103, 0.75);
    color: #0f3521;
    font-weight: 800;
    text-decoration: none;
    background: #fff8e8;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pulsante-locandina-programma:hover {
    background: #2e5635;
    color: #fff;
    border-color: #2e5635;
}


/* ==================================================
   EVENTI RICORRENTI
================================================== */

.eventi-cotronei .info-ricorrenti-cotronei {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 20px 0 24px;
}

.eventi-cotronei .info-ricorrente-card {
    background: linear-gradient(135deg, #fbfaf6 0%, #f7f4ea 100%);
    border: 1px solid rgba(38, 71, 51, 0.14);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--ombra-card);
}

.eventi-cotronei .info-ricorrente-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 10px;
    padding: 7px 12px;
    border-radius: var(--radius-pill);
    background: #ffffff;
    color: var(--verde-principale);
    border: 1px solid rgba(217, 180, 107, 0.38);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.eventi-cotronei .info-ricorrente-card h2 {
    margin: 0 0 10px;
    color: var(--verde-principale);
    font-size: 20px;
    line-height: 1.2;
}

.eventi-cotronei .info-ricorrente-card ul {
    margin: 0;
    padding-left: 18px;
}

.eventi-cotronei .info-ricorrente-card li {
    margin-bottom: 6px;
    color: var(--testo-principale);
}

.eventi-cotronei .info-ricorrente-nota {
    margin: 12px 0 0;
    color: var(--testo-secondario);
    font-size: 14px;
    line-height: 1.5;
}

.eventi-cotronei .azioni-info-ricorrente {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.eventi-cotronei .pulsante-mappa-ricorrente,
.eventi-cotronei .pulsante-mappa-ricorrente:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    background: #fff8e8;
    color: var(--verde-principale);
    border: 1px solid rgba(217, 180, 107, 0.55);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: all 0.2s ease;
}

.eventi-cotronei .pulsante-mappa-ricorrente::before {
    content: "📍";
    margin-right: 6px;
}

.eventi-cotronei .pulsante-mappa-ricorrente:hover {
    background: var(--verde-principale);
    color: var(--bianco);
    border-color: var(--verde-principale);
    text-decoration: none;
}


/* ==================================================
   MAPPA EVENTI
================================================== */

.testata-evento-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.testata-evento-card .meta-evento {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0;
}

.azioni-evento {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
}

.card-evento .pulsante-mappa-evento,
.card-evento .pulsante-mappa-evento:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    background: #fff8e8;
    color: var(--verde-principale);
    border: 1px solid rgba(217, 180, 107, 0.55);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: all 0.2s ease;
}

.card-evento .pulsante-mappa-evento::before {
    content: "📍";
    margin-right: 6px;
}

.card-evento .pulsante-mappa-evento:hover {
    background: var(--verde-principale);
    color: var(--bianco);
    border-color: var(--verde-principale);
    text-decoration: none;
}

.card-evento .titolo-evento-link {
    color: inherit;
    text-decoration: none;
}

.card-evento .titolo-evento-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ==================================================
   PAGINAZIONE EVENTI
================================================== */

.paginazione-eventi {
    width: 100%;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.paginazione-eventi .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f3f1e8;
    color: #173c2b;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(23, 60, 43, 0.15);
    transition: all 0.2s ease;
}

.paginazione-eventi .page-numbers:hover {
    background: #173c2b;
    color: #ffffff;
}

.paginazione-eventi .page-numbers.current {
    background: #173c2b;
    color: #ffffff;
    border-color: #173c2b;
}

.paginazione-eventi .prev,
.paginazione-eventi .next {
    min-width: auto;
    padding: 0 20px;
}


/* ==================================================
   BADGE DATA EVENTO SINGOLO
================================================== */

.featured-image-evento-wrap {
    position: relative;
}

.featured-image-evento-wrap .badge-data-evento {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 20;
    width: 62px;
    background: #2f5d3a;
    color: #fff;
    border-radius: 10px;
    padding: 12px 8px;
    box-sizing: border-box;
    text-align: center;
    line-height: 1;
}

.featured-image-evento-wrap .badge-data-evento .giorno {
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
}

.featured-image-evento-wrap .badge-data-evento .mese {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.featured-image-evento-wrap .wp-block-post-featured-image,
.featured-image-evento-wrap figure,
.featured-image-evento-wrap img {
    display: block;
}

.bottone-eventi {
    margin-top: 40px;
}

.btn-torna-eventi {
    display: inline-block;
    padding: 10px 18px;
    background: var(--verde-principale);
    color: var(--bianco);
    text-decoration: none;
    border-radius: var(--radius-pill);
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-torna-eventi:hover {
    background: var(--verde-hover);
    color: var(--bianco);
}


/* ==========================================================
   INTRO PAGINE EVENTI
   COTRONEI + SILA
   ========================================================== */


/* ==========================================================
   CONTENITORE PAGINA
   Allineato alla larghezza dei contenuti eventi
   ========================================================== */

.sc-eventi-cotronei-page,
.sc-eventi-sila-page {
    width: 100%;
    max-width: 1080px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    box-sizing: border-box;
}


/* ==========================================================
   INTRO
   ========================================================== */

.wp-block-group.sc-eventi-cotronei-intro,
.wp-block-group.sc-eventi-sila-intro {
    width: 100% !important;
    max-width: 1080px !important;

    margin: 12px auto 34px !important;
    padding: 34px 38px !important;

    border: 1px solid rgba(38, 71, 51, 0.16);
    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            #f7f4ea 0%,
            #fbfaf6 100%
        );

    text-align: center;

    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.065);

    box-sizing: border-box;
}


.sc-eventi-cotronei-intro *,
.sc-eventi-cotronei-intro *::before,
.sc-eventi-cotronei-intro *::after,
.sc-eventi-sila-intro *,
.sc-eventi-sila-intro *::before,
.sc-eventi-sila-intro *::after {
    box-sizing: border-box;
}


/* ==========================================================
   TITOLO
   ========================================================== */

.sc-eventi-cotronei-intro h1,
.sc-eventi-sila-intro h1 {
    max-width: 900px;

    margin: 0 auto;

    color: #264733;

    font-size: clamp(36px, 5vw, 58px);
    font-weight: 850;
    line-height: 1.05;

    letter-spacing: -0.8px;
}


/* ==========================================================
   TESTI
   ========================================================== */

.sc-eventi-cotronei-intro p,
.sc-eventi-sila-intro p {
    max-width: 820px;

    margin-left: auto;
    margin-right: auto;

    color: #5f635f;

    line-height: 1.65;
}


/* SOTTOTITOLO IN CORSIVO */

.sc-eventi-cotronei-intro p:first-of-type,
.sc-eventi-sila-intro p:first-of-type {
    margin-top: 14px;
    margin-bottom: 0;

    color: #264733;

    font-size: clamp(18px, 2.2vw, 24px);
    line-height: 1.35;
}


/* PRIMO TESTO DESCRITTIVO */

.sc-eventi-cotronei-intro p:nth-of-type(2),
.sc-eventi-sila-intro p:nth-of-type(2) {
    margin-top: 18px;
    margin-bottom: 0;

    font-size: 16px;
}


/* SECONDO TESTO DESCRITTIVO */

.sc-eventi-cotronei-intro p:nth-of-type(3),
.sc-eventi-sila-intro p:nth-of-type(3) {
    margin-top: 14px;
    margin-bottom: 0;

    font-size: 16px;
}


/* BOX SEGNALAZIONE EVENTI */

.sc-eventi-cotronei-intro p:nth-of-type(4),
.sc-eventi-sila-intro p:nth-of-type(4) {
    max-width: 740px;

    margin-top: 18px;
    margin-bottom: 0;

    padding: 15px 18px;

    border: 1px solid rgba(38, 71, 51, 0.14);
    border-radius: 17px;

    background: #ffffff;

    font-size: 15px;
    line-height: 1.65;
}


/* ==========================================================
   LINK
   ========================================================== */

.sc-eventi-cotronei-intro a,
.sc-eventi-sila-intro a {
    color: #264733;

    font-weight: 700;

    text-decoration: underline;
    text-underline-offset: 3px;
}

.sc-eventi-cotronei-intro a:hover,
.sc-eventi-cotronei-intro a:focus,
.sc-eventi-sila-intro a:hover,
.sc-eventi-sila-intro a:focus {
    color: #1f3a2a;
}


/* ==========================================================
   BREADCRUMB
   ========================================================== */

.sc-eventi-cotronei-page .sc-breadcrumb,
.sc-eventi-sila-page .sc-breadcrumb {
    width: 100%;
    max-width: 1080px;

    margin-left: auto;
    margin-right: auto;
}


/* ==========================================================
   AVVICINA IL BLOCCO EVENTI ALLA INTRO
   Compatibile con il nuovo wrapper pagina
   ========================================================== */

.sc-eventi-cotronei-page + .wp-block-shortcode,
.sc-eventi-sila-page + .wp-block-shortcode,
.sc-eventi-cotronei-page + .eventi-cotronei,
.sc-eventi-sila-page + .eventi-cotronei {
    margin-top: 0 !important;
}


/* Compatibilità con la vecchia struttura */

.sc-eventi-cotronei-intro + .wp-block-shortcode,
.sc-eventi-cotronei-intro ~ .wp-block-shortcode,
.sc-eventi-sila-intro + .wp-block-shortcode,
.sc-eventi-sila-intro ~ .wp-block-shortcode {
    margin-top: 0 !important;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .wp-block-group.sc-eventi-cotronei-intro,
    .wp-block-group.sc-eventi-sila-intro {
        padding: 32px 30px !important;

        border-radius: 26px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {

    .sc-eventi-cotronei-page,
    .sc-eventi-sila-page {
        width: 100%;
        max-width: 100% !important;
    }


    .wp-block-group.sc-eventi-cotronei-intro,
    .wp-block-group.sc-eventi-sila-intro {
        width: 100% !important;
        max-width: 100% !important;

        margin-top: 10px !important;
        margin-bottom: 26px !important;

        padding: 28px 20px !important;

        border-radius: 24px;
    }


    .sc-eventi-cotronei-intro h1,
    .sc-eventi-sila-intro h1 {
        font-size: clamp(34px, 10vw, 46px);

        letter-spacing: -0.5px;
    }


    .sc-eventi-cotronei-intro p:first-of-type,
    .sc-eventi-sila-intro p:first-of-type {
        margin-top: 13px;

        font-size: 18px;
        line-height: 1.4;
    }


    .sc-eventi-cotronei-intro p:nth-of-type(2),
    .sc-eventi-cotronei-intro p:nth-of-type(3),
    .sc-eventi-sila-intro p:nth-of-type(2),
    .sc-eventi-sila-intro p:nth-of-type(3) {
        font-size: 15px;
        line-height: 1.65;
    }


    .sc-eventi-cotronei-intro p:nth-of-type(2),
    .sc-eventi-sila-intro p:nth-of-type(2) {
        margin-top: 17px;
    }


    .sc-eventi-cotronei-intro p:nth-of-type(3),
    .sc-eventi-sila-intro p:nth-of-type(3) {
        margin-top: 13px;
    }


    .sc-eventi-cotronei-intro p:nth-of-type(4),
    .sc-eventi-sila-intro p:nth-of-type(4) {
        margin-top: 17px;

        padding: 14px 15px;

        border-radius: 15px;

        font-size: 14px;
        line-height: 1.6;
    }

}


/* ==========================================================
   MOBILE PICCOLO
   ========================================================== */

@media (max-width: 480px) {

    .wp-block-group.sc-eventi-cotronei-intro,
    .wp-block-group.sc-eventi-sila-intro {
        padding: 25px 17px !important;

        border-radius: 21px;
    }


    .sc-eventi-cotronei-intro h1,
    .sc-eventi-sila-intro h1 {
        font-size: clamp(32px, 10vw, 42px);
    }

}



/* ==================================================
   ACCORDION MOBILE PER INFO E LOCANDINE
================================================== */

.eventi-cotronei .eventi-mobile-accordion {
    display: block;
}

.eventi-cotronei .eventi-mobile-accordion-summary {
    display: none;
}

.eventi-cotronei .eventi-mobile-accordion-summary::-webkit-details-marker {
    display: none;
}

.eventi-cotronei .eventi-mobile-accordion-summary::marker {
    content: "";
}


/* ==================================================
   RESPONSIVE GENERALE EVENTI
================================================== */

@media (max-width: 768px) {

    .eventi-cotronei {
        padding: 26px 14px;
    }

    .titolo-sezione-eventi {
        font-size: 34px;
    }

    .mini-calendario-wrapper {
        margin-bottom: 26px;
    }

    .mini-calendario {
        padding: 16px;
        border-radius: 16px;
        margin-bottom: 22px;
    }

    .mini-calendario-nav {
        gap: 10px;
        margin-bottom: 14px;
    }

    .freccia-calendario {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .mini-calendario-header {
        font-size: 19px;
    }

    .mini-calendario-giorni-settimana,
    .mini-calendario-griglia {
        gap: 6px;
    }

    .mini-calendario-giorni-settimana span {
        font-size: 12px;
    }

    .giorno-vuoto {
        min-height: 38px;
    }

    .giorno-calendario {
        min-height: 40px;
        font-size: 14px;
    }

    .calendario-eventi-section {
        margin: 18px auto 24px;
    }

    .calendario-eventi-intro {
        margin-bottom: 16px;
        padding: 0 8px;
    }

    .calendario-eventi-intro h2 {
        font-size: 22px;
    }

    .calendario-eventi-intro p {
        font-size: 15px;
    }

    .filtri-eventi {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 10px;
        margin-bottom: 26px;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .filtri-eventi a {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 9px 14px;
        font-size: 14px;
    }

    .filtro-giorno-attivo {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 24px;
    }

    .filtro-giorno-attivo a {
        margin-left: 0;
    }

    .griglia-eventi {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .contenuto-evento {
        padding-top: 15px;
    }

    .contenuto-evento h3 {
        font-size: 27px;
    }

    .contenuto-evento p {
        font-size: 15px;
    }

    .testata-evento-card {
        gap: 10px;
    }

    .cartellino-data {
        min-width: 58px;
    }

    .cartellino-giorno {
        font-size: 22px;
    }

    .badge-evento {
        font-size: 11px;
    }

    .data-evento-estesa {
        font-size: 13px;
    }

    .locandine-programma-mese {
        padding: 20px;
        border-radius: 20px;
    }

    .locandine-programma-griglia {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .locandina-programma-immagine img {
        height: auto;
        max-height: none;
    }

    .locandine-programma-header h2 {
        font-size: 22px;
    }

    .locandine-programma-header p {
        font-size: 15px;
    }

    .eventi-cotronei .info-ricorrenti-cotronei {
        grid-template-columns: 1fr;
    }

    .paginazione-eventi {
        flex-wrap: wrap;
        margin-top: 34px;
    }

    .paginazione-eventi .page-numbers {
        min-width: 38px;
        height: 38px;
        padding: 0 12px;
        font-size: 14px;
    }
}


/* ==================================================
   RESPONSIVE ACCORDION MOBILE
================================================== */

@media (max-width: 768px) {

    .eventi-cotronei .eventi-mobile-accordion {
        border: 1px solid rgba(38, 71, 51, 0.12);
        border-radius: 18px;
        background: #ffffff;
        margin-bottom: 12px;
        overflow: hidden;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
    }

    .eventi-cotronei .eventi-mobile-accordion-summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 15px 16px;
        color: var(--verde-principale);
        font-weight: 800;
        font-size: 15px;
        line-height: 1.2;
        cursor: pointer;
        list-style: none;
        background: #fffdf7;
    }

    .eventi-cotronei .eventi-mobile-accordion-summary::after {
        content: "+";
        width: 28px;
        height: 28px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        font-size: 20px;
        line-height: 1;
        background: rgba(38, 71, 51, 0.08);
        color: var(--verde-principale);
    }

    .eventi-cotronei .eventi-mobile-accordion[open] .eventi-mobile-accordion-summary::after {
        content: "−";
    }

    .eventi-cotronei .eventi-mobile-accordion > .info-ricorrenti-cotronei,
    .eventi-cotronei .eventi-mobile-accordion > .locandine-programma-mese {
        margin: 0;
    }

    .eventi-cotronei .eventi-mobile-accordion > .info-ricorrenti-cotronei {
        padding: 0 12px 14px;
    }

    .eventi-cotronei .eventi-mobile-accordion > .locandine-programma-mese {
        padding: 0 12px 14px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .eventi-cotronei .eventi-mobile-accordion > .locandine-programma-mese .locandine-programma-header {
        padding-top: 4px;
        margin-bottom: 16px;
    }

    .eventi-cotronei .eventi-mobile-accordion > .locandine-programma-mese .locandine-programma-label {
        display: none;
    }

    .eventi-cotronei .eventi-mobile-accordion > .locandine-programma-mese .locandine-programma-header h2 {
        font-size: 20px;
    }

    .eventi-cotronei .eventi-mobile-accordion > .locandine-programma-mese .locandine-programma-header p {
        font-size: 14px;
    }

    .eventi-cotronei .calendario-eventi-section {
        margin-top: 14px;
    }
}


/* ==================================================
   RESPONSIVE PICCOLO
================================================== */

@media (max-width: 520px) {

    .testata-evento-card {
        gap: 10px;
    }

    .card-evento .pulsante-mappa-evento {
        min-height: 38px;
        padding: 9px 12px;
        font-size: 13px;
    }

    .eventi-cotronei .pulsante-mappa-ricorrente {
        min-height: 38px;
        padding: 9px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {

    .eventi-cotronei {
        padding-left: 12px;
        padding-right: 12px;
    }

    .mini-calendario {
        padding: 14px;
    }

    .mini-calendario-giorni-settimana,
    .mini-calendario-griglia {
        gap: 5px;
    }

    .giorno-vuoto {
        min-height: 36px;
    }

    .giorno-calendario {
        min-height: 38px;
        border-radius: 10px;
        font-size: 13px;
    }

    .contenuto-evento h3 {
        font-size: 24px;
    }

    .locandine-programma-mese {
        padding: 18px;
    }

    .locandina-programma-contenuto {
        padding: 0 16px 18px;
    }

    .locandina-programma-contenuto h3 {
        font-size: 18px;
    }

    .pulsante-locandina-programma {
        width: 100%;
        padding: 12px 16px;
    }
}


/* ==================================================
   SINGOLO EVENTO
   Scheda, torna agli eventi e correlati
   ================================================== */


/* ==================================================
   MINI SCHEDA EVENTO
   ================================================== */

.sc-evento-identikit {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(180px, 1fr)
    );
    gap: 1px;

    width: 100%;
    margin: 0 0 38px;

    overflow: hidden;

    border: 1px solid rgba(38, 71, 51, 0.14);
    border-radius: 18px;

    background: rgba(38, 71, 51, 0.14);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.035);
}


.sc-evento-identikit-item {
    min-width: 0;

    padding: 17px 20px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 6px;

    background: #fbfaf6;
}


.sc-evento-identikit-label {
    display: block;

    color: var(--testo-secondario);

    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;

    letter-spacing: 0.7px;
    text-transform: uppercase;
}


.sc-evento-identikit-value {
    display: block;

    color: var(--verde-principale);

    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}


.sc-evento-mappa-link,
.sc-evento-mappa-link:visited {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    width: fit-content;

    color: var(--verde-principale) !important;

    text-decoration: underline !important;
    text-decoration-color:
        rgba(38, 71, 51, 0.35) !important;

    text-underline-offset: 3px;
}


.sc-evento-mappa-link:hover,
.sc-evento-mappa-link:focus {
    color: var(--verde-hover) !important;

    text-decoration-color:
        currentColor !important;
}


/* ==================================================
   TORNA AGLI EVENTI
   ================================================== */

.bottone-eventi {
    margin-top: 42px;
}


.btn-torna-eventi,
.btn-torna-eventi:visited {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 10px 18px;

    border-radius: var(--radius-pill);

    background: var(--verde-principale);

    color: var(--bianco) !important;

    text-decoration: none !important;

    font-size: 14px;
    font-weight: 800;
    line-height: 1;

    box-shadow:
        0 8px 20px rgba(38, 71, 51, 0.14);

    transition: all 0.2s ease;
}


.btn-torna-eventi::before {
    content: "\2190";

    margin-right: 8px;

    font-size: 16px;
    line-height: 1;
}


.btn-torna-eventi:hover,
.btn-torna-eventi:focus {
    background: var(--verde-hover);

    color: var(--bianco) !important;

    transform: translateY(-1px);

    box-shadow:
        0 10px 24px rgba(38, 71, 51, 0.20);
}


/* ==================================================
   PROSSIMI EVENTI
   ================================================== */

.sc-eventi-correlati {
    margin-top: 58px;

    padding-top: 40px;

    border-top:
        1px solid rgba(38, 71, 51, 0.14);
}


.sc-eventi-correlati-head {
    max-width: 700px;

    margin: 0 auto 26px;

    text-align: center;
}


.sc-eventi-correlati-head > span {
    display: inline-flex;

    width: fit-content;

    margin-bottom: 10px;

    padding: 7px 13px;

    border-radius: 999px;

    background: #f7f4ea;

    color: var(--verde-principale);

    font-size: 11px;
    font-weight: 850;
    line-height: 1;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.single-post
.sc-eventi-correlati-head h2 {
    margin: 0;

    color: var(--verde-principale);

    font-size: clamp(
        27px,
        3.5vw,
        38px
    );

    font-weight: 850;
    line-height: 1.12;
}


.single-post
.sc-eventi-correlati-head p {
    margin: 12px auto 0;

    color: var(--testo-secondario);

    font-size: 15px;
    line-height: 1.65;
}


/* ==================================================
   GRIGLIA EVENTI CORRELATI
   ================================================== */

.sc-eventi-correlati-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}


.sc-evento-correlato-card {
    min-width: 0;

    overflow: hidden;

    border:
        1px solid rgba(38, 71, 51, 0.11);

    border-radius: 18px;

    background: #ffffff;

    box-shadow: var(--ombra-card);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.sc-evento-correlato-card:hover {
    transform: translateY(-3px);

    box-shadow: var(--ombra-leggera);
}


/* ==================================================
   IMMAGINE
   ================================================== */

.sc-evento-correlato-media {
    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: var(--sfondo-chiaro);

    text-decoration: none !important;
}


.sc-evento-correlato-media img,
.sc-evento-correlato-placeholder {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.sc-evento-correlato-media img {
    transition:
        transform 0.3s ease;
}


.sc-evento-correlato-card:hover
.sc-evento-correlato-media img {
    transform: scale(1.035);
}


.sc-evento-correlato-placeholder {
    background: #e9e9e9;
}


/* ==================================================
   DATA SULLA FOTO
   ================================================== */

.sc-evento-correlato-date {
    position: absolute;

    top: 12px;
    left: 12px;

    z-index: 2;

    min-width: 58px;

    padding: 9px 8px 8px;

    border-radius: 11px;

    background: var(--verde-principale);

    color: #ffffff;

    text-align: center;

    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.16);
}


.sc-evento-correlato-date strong,
.sc-evento-correlato-date small {
    display: block;

    color: #ffffff;
}


.sc-evento-correlato-date strong {
    font-size: 22px;
    font-weight: 850;
    line-height: 1;
}


.sc-evento-correlato-date small {
    margin-top: 5px;

    font-size: 11px;
    font-weight: 800;
    line-height: 1;

    letter-spacing: 0.7px;
}


/* ==================================================
   CONTENUTO CARD
   ================================================== */

.sc-evento-correlato-content {
    padding: 16px;
}


.sc-evento-correlato-content
.badge-evento {
    margin-bottom: 10px;
}


.sc-evento-correlato-meta {
    display: flex;
    flex-direction: column;

    gap: 3px;

    margin-bottom: 9px;

    color: var(--testo-secondario);

    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}


.single-post
.sc-evento-correlato-content h3 {
    margin: 0 0 10px;

    color: var(--verde-principale);

    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}


.sc-evento-correlato-content h3 a,
.sc-evento-correlato-content h3 a:visited {
    color:
        var(--verde-principale) !important;

    text-decoration: none !important;
}


.sc-evento-correlato-content h3 a:hover,
.sc-evento-correlato-content h3 a:focus {
    color:
        var(--verde-hover) !important;

    text-decoration: underline !important;

    text-underline-offset: 3px;
}


.single-post
.sc-evento-correlato-content p {
    display: -webkit-box;

    margin: 0 0 14px;

    overflow: hidden;

    color: var(--testo-secondario);

    font-size: 13px;
    line-height: 1.55;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


/* ==================================================
   CTA CARD
   ================================================== */

.sc-evento-correlato-cta,
.sc-evento-correlato-cta:visited {
    display: inline-flex;

    align-items: center;

    color:
        var(--verde-principale) !important;

    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;

    text-decoration: none !important;
}


.sc-evento-correlato-cta::after {
    content: "\2192";

    margin-left: 7px;

    font-size: 15px;
}


.sc-evento-correlato-cta:hover,
.sc-evento-correlato-cta:focus {
    color:
        var(--verde-hover) !important;
}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 900px) {

    .sc-eventi-correlati-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 639px) {

    .sc-evento-identikit {
        grid-template-columns: 1fr;

        margin-bottom: 30px;

        border-radius: 16px;
    }


    .sc-evento-identikit-item {
        padding: 14px 16px;
    }


    .bottone-eventi {
        margin-top: 34px;
    }


    .btn-torna-eventi {
        width: 100%;
    }


    .sc-eventi-correlati {
        margin-top: 48px;

        padding-top: 34px;
    }


    .sc-eventi-correlati-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

}

/* ==========================================================
   VIVI COTRONEI
   Classi specifiche .sc-vivi-*
========================================================== */

.sc-vivi-page,
.sc-vivi-page *,
.sc-vivi-page *::before,
.sc-vivi-page *::after {
    box-sizing: border-box;
}


/* ==========================================================
   HERO
========================================================== */

.sc-vivi-hero {
    width: 100%;
    max-width: 1080px;

    margin: 0 auto;
    padding: 58px 56px;

    border-radius: 28px;

    background:
        radial-gradient(
            circle at 88% 18%,
            rgba(255,255,255,.10) 0,
            rgba(255,255,255,0) 30%
        ),
        linear-gradient(
            135deg,
            #264733 0%,
            #365740 58%,
            #506952 100%
        );

    color: #ffffff;

    box-shadow:
        0 12px 30px rgba(27,52,37,.10);
}

.sc-vivi-hero-content {
    max-width: 780px;
}

.sc-vivi-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 31px;
    padding: 0 13px;

    border-radius: 999px;

    background: rgba(255,255,255,.14);
    color: #ffffff;

    font-size: 10px;
    font-weight: 850;
    line-height: 1;

    text-transform: uppercase;
    letter-spacing: .65px;
}

.sc-vivi-hero h1 {
    margin: 18px 0 0;

    color: #ffffff;

    font-size: clamp(42px,5.8vw,66px);
    font-weight: 850;
    line-height: 1.02;

    letter-spacing: -1px;
}

.sc-vivi-lead {
    max-width: 700px;

    margin: 21px 0 0;

    color: rgba(255,255,255,.89);

    font-size: 16px;
    line-height: 1.72;
}


/* ==========================================================
   HERO ACTIONS
========================================================== */

.sc-vivi-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 28px;
}

.sc-vivi-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 47px;
    padding: 0 21px;

    border-radius: 999px;

    background: #ffffff;
    color: var(--verde-principale,#264733) !important;

    font-size: 12px;
    font-weight: 850;

    text-decoration: none !important;

    box-shadow:
        0 6px 15px rgba(0,0,0,.15);

    transition:
        transform .2s ease,
        background .2s ease;
}

.sc-vivi-actions a + a {
    border: 1px solid rgba(255,255,255,.40);

    background: rgba(255,255,255,.09);
    color: #ffffff !important;

    box-shadow: none;
}

.sc-vivi-actions a:hover {
    transform: translateY(-2px);
}

.sc-vivi-actions a:first-child:hover {
    background: #f7f4ea;
}

.sc-vivi-actions a + a:hover {
    background: rgba(255,255,255,.17);
}


/* ==========================================================
   ACCESSI PRINCIPALI
========================================================== */

.sc-vivi-primary-grid {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 20px;

    width: 100%;
    max-width: 1080px;

    margin: 42px auto 0;
}

.sc-vivi-primary-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-width: 0;
    min-height: 310px;

    padding: 30px;

    border-radius: 25px;

    color: #ffffff !important;
    text-decoration: none !important;

    box-shadow:
        0 10px 28px rgba(27,52,37,.09);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.sc-vivi-primary-eventi {
    background:
        linear-gradient(
            135deg,
            #284b36 0%,
            #3e6248 100%
        );
}

.sc-vivi-primary-servizi {
    background:
        linear-gradient(
            135deg,
            #4c523d 0%,
            #686d4d 100%
        );
}

.sc-vivi-primary-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 17px 34px rgba(27,52,37,.14);
}

.sc-vivi-primary-card span {
    display: inline-flex;

    width: fit-content;

    padding: 7px 11px;

    border-radius: 999px;

    background: rgba(255,255,255,.13);
    color: rgba(255,255,255,.9);

    font-size: 9px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: .65px;
}

.sc-vivi-primary-card h2 {
    margin: 22px 0 0;

    color: #ffffff;

    font-size: clamp(29px,3.5vw,40px);
    font-weight: 850;
    line-height: 1.08;
}

.sc-vivi-primary-card p {
    max-width: 430px;

    margin: 13px 0 0;

    color: rgba(255,255,255,.84);

    font-size: 14px;
    line-height: 1.65;
}

.sc-vivi-primary-card > strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    align-self: flex-start;

    min-height: 42px;

    margin-top: 30px;
    padding: 0 16px;

    border-radius: 999px;

    background: #ffffff;
    color: var(--verde-principale,#264733);

    font-size: 11px;
    font-weight: 850;
}


/* ==========================================================
   SPAZIATURA
========================================================== */

.sc-vivi-page .sc-cotronei-section-head {
    margin-top: 72px;
}


/* ==========================================================
   LINK TERRITORIO
========================================================== */

.sc-vivi-links-grid,
.sc-vivi-audience-grid {
    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap: 20px;

    width: 100%;
    max-width: 1080px;

    margin: 0 auto;
}

.sc-vivi-link-card,
.sc-vivi-audience-card {
    min-width: 0;

    padding: 25px;

    border: 1px solid rgba(38,71,51,.14);
    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 7px 22px rgba(27,52,37,.045);
}

.sc-vivi-link-card {
    color: inherit !important;
    text-decoration: none !important;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.sc-vivi-link-card:hover {
    transform: translateY(-3px);

    border-color: rgba(38,71,51,.30);

    box-shadow:
        0 16px 34px rgba(27,52,37,.10);
}

.sc-vivi-link-card > span,
.sc-vivi-audience-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 29px;
    padding: 0 11px;

    border-radius: 999px;

    background: #f7f4ea;
    color: #956b22;

    font-size: 9px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: .6px;
}

.sc-vivi-link-card > strong,
.sc-vivi-audience-card h3 {
    display: block;

    margin: 21px 0 0;

    color: var(--verde-principale,#264733);

    font-size: 22px;
    font-weight: 850;
    line-height: 1.15;
}

.sc-vivi-link-card p,
.sc-vivi-audience-card p {
    margin: 11px 0 0;

    color: #606660;

    font-size: 14px;
    line-height: 1.63;
}


/* ==========================================================
   EVENTI HIGHLIGHT
========================================================== */

.sc-vivi-highlight {
    display: grid;

    grid-template-columns:
        minmax(0,1.65fr)
        minmax(230px,.65fr);

    gap: 28px;

    width: 100%;
    max-width: 1080px;

    margin: 72px auto 0;
    padding: 35px;

    border-radius: 27px;

    background:
        linear-gradient(
            135deg,
            #284b36 0%,
            #41634a 100%
        );

    color: #ffffff;

    box-shadow:
        0 12px 30px rgba(27,52,37,.10);
}

.sc-vivi-highlight-content {
    align-self: center;
}

.sc-vivi-highlight-content > span {
    color: #e4c982;

    font-size: 10px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: .7px;
}

.sc-vivi-highlight-content h2 {
    margin: 10px 0 0;

    color: #ffffff;

    font-size: clamp(31px,4vw,45px);
    font-weight: 850;
    line-height: 1.06;
}

.sc-vivi-highlight-content p {
    max-width: 670px;

    margin: 15px 0 0;

    color: rgba(255,255,255,.87);

    font-size: 14px;
    line-height: 1.68;
}

.sc-vivi-highlight-content > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 43px;

    margin-top: 23px;
    padding: 0 17px;

    border-radius: 999px;

    background: #ffffff;
    color: var(--verde-principale,#264733) !important;

    font-size: 11px;
    font-weight: 850;

    text-decoration: none !important;
}

.sc-vivi-highlight-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 240px;

    padding: 22px;

    border: 1px solid rgba(255,255,255,.16);
    border-radius: 22px;

    background: rgba(255,255,255,.08);

    text-align: center;
}

.sc-vivi-highlight-mark span {
    color: rgba(255,255,255,.72);

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.sc-vivi-highlight-mark strong {
    margin-top: 8px;

    color: #ffffff;

    font-size: 36px;
    font-weight: 850;
}

.sc-vivi-highlight-mark small {
    margin-top: 13px;

    color: #e4c982;

    font-size: 10px;
    font-weight: 700;
}


/* ==========================================================
   SERVIZI
========================================================== */

.sc-vivi-services {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    width: 100%;
    max-width: 900px;

    margin: 0 auto;
    padding: 29px;

    border: 1px solid rgba(38,71,51,.14);
    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #faf8f2 100%
        );
}

.sc-vivi-services > div {
    max-width: 650px;
}

.sc-vivi-services span {
    color: #956b22;

    font-size: 9px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: .65px;
}

.sc-vivi-services h3 {
    margin: 8px 0 0;

    color: var(--verde-principale,#264733);

    font-size: 27px;
    font-weight: 850;
    line-height: 1.12;
}

.sc-vivi-services p {
    margin: 11px 0 0;

    color: #606660;

    font-size: 14px;
    line-height: 1.65;
}

.sc-vivi-services > a {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 43px;
    padding: 0 17px;

    border-radius: 999px;

    background: var(--verde-principale,#264733);
    color: #ffffff !important;

    font-size: 11px;
    font-weight: 850;

    text-decoration: none !important;
}


/* ==========================================================
   CONTRIBUISCI
========================================================== */

.sc-vivi-contribute-grid {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 18px;

    width: 100%;
    max-width: 900px;

    margin: 0 auto;
}

.sc-vivi-contribute-card {
    min-width: 0;

    padding: 25px;

    border: 1px solid rgba(38,71,51,.14);
    border-radius: 22px;

    background: #fbfaf6;

    color: inherit !important;
    text-decoration: none !important;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.sc-vivi-contribute-card:hover {
    transform: translateY(-3px);

    border-color: rgba(38,71,51,.30);

    box-shadow:
        0 16px 34px rgba(27,52,37,.10);
}

.sc-vivi-contribute-card > span {
    color: #956b22;

    font-size: 9px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: .6px;
}

.sc-vivi-contribute-card > strong {
    display: block;

    margin-top: 12px;

    color: var(--verde-principale,#264733);

    font-size: 22px;
    font-weight: 850;
}

.sc-vivi-contribute-card > p {
    margin: 10px 0 0;

    color: #606660;

    font-size: 14px;
    line-height: 1.62;
}


/* ==========================================================
   CTA
========================================================== */

.sc-vivi-page .sc-cotronei-story {
    margin-top: 72px;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width:900px) {

    .sc-vivi-hero {
        padding: 46px 38px;
    }

    .sc-vivi-links-grid,
    .sc-vivi-audience-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .sc-vivi-link-card:last-child,
    .sc-vivi-audience-card:last-child {
        grid-column: 1 / -1;
    }

    .sc-vivi-highlight {
        grid-template-columns: 1fr;
    }

    .sc-vivi-highlight-mark {
        min-height: 170px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width:680px) {

    .sc-vivi-hero {
        padding: 34px 22px;

        border-radius: 24px;
    }

    .sc-vivi-lead {
        font-size: 14px;
    }

    .sc-vivi-actions {
        flex-direction: column;
    }

    .sc-vivi-actions a {
        width: 100%;
    }


    .sc-vivi-primary-grid,
    .sc-vivi-links-grid,
    .sc-vivi-audience-grid,
    .sc-vivi-contribute-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .sc-vivi-primary-card {
        min-height: 260px;

        padding: 24px;
    }

    .sc-vivi-link-card:last-child,
    .sc-vivi-audience-card:last-child {
        grid-column: auto;
    }


    .sc-vivi-page .sc-cotronei-section-head {
        margin-top: 56px;
    }


    .sc-vivi-highlight {
        grid-template-columns: 1fr;

        gap: 22px;

        margin-top: 56px;
        padding: 25px 22px;

        border-radius: 24px;
    }


    .sc-vivi-services {
        flex-direction: column;
        align-items: stretch;

        padding: 23px;
    }

    .sc-vivi-services > a {
        width: 100%;
    }


    .sc-vivi-page .sc-cotronei-story {
        margin-top: 56px;
    }

}


/* ==========================================================
   ACCESSIBILITÀ
========================================================== */

.sc-vivi-page a:focus-visible {
    outline: 3px solid rgba(217,180,107,.62);
    outline-offset: 3px;
}


@media (prefers-reduced-motion:reduce) {

    .sc-vivi-page *,
    .sc-vivi-page *::before,
    .sc-vivi-page *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

}

