.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS for html, class: .elementor-element-0483471 *//* ==========================================================
   OSPEDALIERI VOLLEY — FOOTER
   CSS separato dal PHP (shortcode [ov_footer])
   Stessa palette istituzionale dell'header
   ========================================================== */


/* ----------------------------------------------------------
   1. CONTENITORE E VARIABILI
   ---------------------------------------------------------- */

#ov-site-footer {
    --ov-blue: #052E73;
    --ov-blue-dark: #063B5C;
    --ov-navy: #071B35;
    --ov-hover: #031B46;
    --ov-red: #D71920;
    --ov-white: #FFFFFF;
    --ov-max-width: 1240px;

    --ov-footer-text: rgba(255, 255, 255, 0.84);
    --ov-footer-muted: rgba(255, 255, 255, 0.62);
    --ov-footer-line: rgba(255, 255, 255, 0.14);

    display: block;

    /* Sfondo esteso ai lati: occupa tutta la larghezza della finestra,
       anche se lo shortcode sta dentro un contenitore Elementor "boxed" */
    width: 100vw;
    max-width: 100vw;
    margin-block: 0 !important;
    margin-inline: calc(50% - 50vw) !important;
    padding: 0 !important;

    color: var(--ov-footer-text);
    background: linear-gradient(
        100deg,
        var(--ov-navy) 0%,
        var(--ov-blue-dark) 52%,
        var(--ov-blue) 100%
    );
    border-top: 3px solid var(--ov-red);
}

#ov-site-footer *,
#ov-site-footer *::before,
#ov-site-footer *::after {
    box-sizing: border-box;
}

#ov-site-footer img,
#ov-site-footer svg {
    display: block;
}

#ov-site-footer p,
#ov-site-footer ul,
#ov-site-footer dl,
#ov-site-footer dd {
    margin: 0;
    padding: 0;
}

#ov-site-footer ul {
    list-style: none;
}

#ov-site-footer a {
    text-decoration: none;
}

#ov-site-footer .ov-footer-inner {
    width: 100%;
    max-width: var(--ov-max-width);
    margin: 0 auto;
    padding: 0 28px;
}


/* ----------------------------------------------------------
   2. CORREZIONE SPAZI ELEMENTOR ATTORNO ALLO SHORTCODE
   ---------------------------------------------------------- */

.elementor-widget:has(#ov-site-footer),
.elementor-widget:has(#ov-site-footer) > .elementor-widget-container {
    margin-block: 0 !important;
    padding-block: 0 !important;
}

/* 100vw include la barra di scorrimento: evitiamo lo scorrimento orizzontale */
body:has(#ov-site-footer) {
    overflow-x: clip;
}


/* ----------------------------------------------------------
   3. CORPO PRINCIPALE: GRIGLIA A TRE COLONNE
   ---------------------------------------------------------- */

#ov-site-footer .ov-footer-main {
    padding: 46px 0 52px;
}

#ov-site-footer .ov-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1.4fr;
    gap: 48px;
    align-items: start;
}

#ov-site-footer .ov-footer-col {
    min-width: 0;
}

/* Titoli di colonna con piccola barra rossa */
#ov-site-footer .ov-footer-title {
    position: relative;
    margin: 0 0 22px;
    padding: 0 0 13px;

    color: var(--ov-white);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

#ov-site-footer .ov-footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background: var(--ov-red);
    border-radius: 2px;
}


/* ----------------------------------------------------------
   4. BLOCCO CENTRALE: LOGO, TITOLO E SOTTOTITOLO
   ---------------------------------------------------------- */

#ov-site-footer .ov-footer-brand-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 58px;
    padding-bottom: 46px;
    text-align: center;
    border-bottom: 1px solid var(--ov-footer-line);
}

#ov-site-footer .ov-footer-logo {
    display: inline-block;
    margin: 0 0 24px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

#ov-site-footer .ov-footer-logo img {
    width: auto;
    max-width: 260px;
    height: auto;
    max-height: 160px;
    margin: 0 auto;
    object-fit: contain;
}

#ov-site-footer .ov-footer-name {
    color: var(--ov-white);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

#ov-site-footer .ov-footer-motto {
    margin-top: 7px;
    color: var(--ov-footer-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.3px;
}

#ov-site-footer .ov-footer-social-area {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}


/* ----------------------------------------------------------
   5. SOCIAL
   ---------------------------------------------------------- */

#ov-site-footer .ov-footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;

    width: 38px;
    height: 38px;
    margin: 0;
    padding: 9px;

    color: var(--ov-white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 50%;
    box-shadow: none;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

#ov-site-footer .ov-footer-social svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

#ov-site-footer .ov-footer-social-facebook svg path,
#ov-site-footer .ov-footer-social-youtube svg path:first-child {
    fill: currentColor;
}

#ov-site-footer .ov-footer-social-instagram svg rect,
#ov-site-footer .ov-footer-social-instagram svg circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

#ov-site-footer .ov-footer-social-instagram svg .ov-instagram-dot {
    fill: currentColor;
    stroke: none;
}

/* Il triangolo "play" prende il colore dello sfondo per restare visibile */
#ov-site-footer .ov-footer-social-youtube svg .ov-youtube-play {
    fill: var(--ov-navy);
    transition: fill 0.2s ease;
}

#ov-site-footer .ov-footer-social:hover,
#ov-site-footer .ov-footer-social:focus-visible {
    color: var(--ov-white);
    background: var(--ov-red);
    border-color: var(--ov-red);
    transform: translateY(-2px);
}

#ov-site-footer .ov-footer-social-youtube:hover svg .ov-youtube-play,
#ov-site-footer .ov-footer-social-youtube:focus-visible svg .ov-youtube-play {
    fill: var(--ov-red);
}


/* ----------------------------------------------------------
   6. DOVE SIAMO
   ---------------------------------------------------------- */

#ov-site-footer .ov-footer-address {
    display: flex;
    flex-direction: column;
    gap: 3px;

    margin: 0;
    padding: 0;

    color: var(--ov-footer-text);
    font-size: 14.5px;
    font-style: normal;
    line-height: 1.55;
}

#ov-site-footer .ov-footer-address strong {
    margin-bottom: 2px;
    color: var(--ov-white);
    font-size: 15.5px;
    font-weight: 700;
}

#ov-site-footer .ov-footer-address-note {
    margin-top: 4px;
    color: var(--ov-footer-muted);
    font-size: 13px;
}

/* Link con freccia (Google Maps, Tutte le news) */
#ov-site-footer .ov-footer-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 18px;
    padding: 0 0 3px;

    color: var(--ov-white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;

    border-bottom: 1px solid var(--ov-red);
    transition: gap 0.2s ease, border-color 0.2s ease;
}

#ov-site-footer .ov-footer-link-arrow::after {
    content: "\2192";
    font-size: 15px;
    line-height: 1;
}

#ov-site-footer .ov-footer-link-arrow:hover,
#ov-site-footer .ov-footer-link-arrow:focus-visible {
    gap: 12px;
    color: var(--ov-white);
    border-bottom-color: var(--ov-white);
}


/* ----------------------------------------------------------
   7. DATI SOCIETARI
   ---------------------------------------------------------- */

#ov-site-footer .ov-footer-data {
    margin: 0;
    padding: 0;
}

#ov-site-footer .ov-footer-data-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0 0 13px;
    margin: 0 0 13px;
    border-bottom: 1px solid var(--ov-footer-line);
}

#ov-site-footer .ov-footer-data-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

#ov-site-footer .ov-footer-data dt {
    margin: 0;
    padding: 0;
    color: var(--ov-footer-muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

#ov-site-footer .ov-footer-data dd {
    margin: 0;
    color: var(--ov-white);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.3px;
    overflow-wrap: anywhere;
}

#ov-site-footer .ov-footer-data dd a {
    color: var(--ov-white);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

#ov-site-footer .ov-footer-data dd a:hover,
#ov-site-footer .ov-footer-data dd a:focus-visible {
    color: var(--ov-white);
    border-bottom-color: var(--ov-red);
}


/* ----------------------------------------------------------
   8. ULTIME NEWS
   ---------------------------------------------------------- */

#ov-site-footer .ov-footer-news li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--ov-footer-line);
}

#ov-site-footer .ov-footer-news li:first-child {
    border-top: 1px solid var(--ov-footer-line);
}

#ov-site-footer .ov-footer-news a {
    display: flex;
    flex-direction: column;
    gap: 4px;

    padding: 13px 0;

    color: var(--ov-white);
    background: transparent;

    transition: padding-left 0.2s ease;
}

#ov-site-footer .ov-footer-news-date {
    color: var(--ov-footer-muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

#ov-site-footer .ov-footer-news-title {
    color: var(--ov-white);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.45;
}

#ov-site-footer .ov-footer-news a:hover,
#ov-site-footer .ov-footer-news a:focus-visible {
    padding-left: 8px;
}

#ov-site-footer .ov-footer-news a:hover .ov-footer-news-title,
#ov-site-footer .ov-footer-news a:focus-visible .ov-footer-news-title {
    text-decoration: underline;
    text-decoration-color: var(--ov-red);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}


/* ----------------------------------------------------------
   9. BARRA FINALE
   ---------------------------------------------------------- */

#ov-site-footer .ov-footer-bottom {
    background: var(--ov-hover);
    border-top: 1px solid var(--ov-footer-line);
}

#ov-site-footer .ov-footer-bottom-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 28px;
    padding-top: 20px;
    padding-bottom: 20px;

    color: var(--ov-footer-muted);
    font-size: 13px;
    line-height: 1.5;
}

#ov-site-footer .ov-footer-partners {
    display: flex;
    align-items: center;
    gap: 18px;
}

#ov-site-footer .ov-footer-partners img {
    width: auto;
    max-width: 90px;
    height: auto;
    max-height: 44px;
    object-fit: contain;
}

#ov-site-footer .ov-footer-copy {
    margin-right: auto;
}

#ov-site-footer .ov-footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 20px;
}

#ov-site-footer .ov-footer-legal li {
    margin: 0;
    padding: 0;
}

#ov-site-footer .ov-footer-legal a {
    color: var(--ov-footer-text);
    transition: color 0.2s ease;
}

#ov-site-footer .ov-footer-legal a:hover,
#ov-site-footer .ov-footer-legal a:focus-visible {
    color: var(--ov-white);
    text-decoration: underline;
    text-decoration-color: var(--ov-red);
    text-underline-offset: 3px;
}


/* ----------------------------------------------------------
   10. TABLET
   ---------------------------------------------------------- */

@media (max-width: 1024px) {

    #ov-site-footer .ov-footer-inner {
        padding-inline: 22px;
    }

    #ov-site-footer .ov-footer-brand-inner {
        padding-top: 50px;
        padding-bottom: 40px;
    }

    #ov-site-footer .ov-footer-main {
        padding: 40px 0 44px;
    }

    #ov-site-footer .ov-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 36px;
    }

    /* Le news occupano tutta la riga sotto le altre due colonne */
    #ov-site-footer .ov-footer-col-news {
        grid-column: 1 / -1;
    }
}


/* ----------------------------------------------------------
   11. SMARTPHONE
   ---------------------------------------------------------- */

@media (max-width: 767px) {

    #ov-site-footer .ov-footer-inner {
        padding-inline: 18px;
    }

    #ov-site-footer .ov-footer-brand-inner {
        padding-top: 40px;
        padding-bottom: 34px;
    }

    #ov-site-footer .ov-footer-logo img {
        max-width: 200px;
        max-height: 124px;
    }

    #ov-site-footer .ov-footer-name {
        font-size: 18px;
    }

    #ov-site-footer .ov-footer-main {
        padding: 34px 0 30px;
    }

    #ov-site-footer .ov-footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    #ov-site-footer .ov-footer-col-news {
        grid-column: auto;
    }

    #ov-site-footer .ov-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;

        /* Spazio extra per non finire sotto la barra mobile fissa in basso */
        padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    }

    #ov-site-footer .ov-footer-copy {
        margin-right: 0;
    }
}


/* ----------------------------------------------------------
   12. ACCESSIBILITÀ E MOVIMENTO RIDOTTO
   ---------------------------------------------------------- */

#ov-site-footer a:focus-visible {
    outline: 2px solid var(--ov-white);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    #ov-site-footer .ov-footer-social,
    #ov-site-footer .ov-footer-social svg *,
    #ov-site-footer .ov-footer-link-arrow,
    #ov-site-footer .ov-footer-news a,
    #ov-site-footer .ov-footer-data dd a,
    #ov-site-footer .ov-footer-legal a {
        transition: none !important;
    }
}/* End custom CSS */