/* ========================================================================
   WCAG 2.4.1 – Skip to content link
   Visibile solo a focus da tastiera, invisibile via mouse. Non altera layout.
   ======================================================================== */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 9999;
    background: #001B4C;
    color: #fff;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0 0 4px 0;
    transition: top 0.1s;
}
.skip-to-content:focus {
    top: 0;
    outline: 3px solid #ef4a45;
    outline-offset: 2px;
}

/* ========================================================================
   WCAG 2.4.7 – Focus visibile (solo navigazione da tastiera via :focus-visible)
   NON impatta click mouse. Colore primario brand per area chiara, bianco per
   aree scure (header). Non sovrascrive stili :hover esistenti.
   ======================================================================== */
:focus-visible {
    outline: 3px solid #ef4a45;
    outline-offset: 2px;
    border-radius: 2px;
}
.container-header :focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}
.cookie-btn:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

body {
    background: #d6d6d6;
    color: #111;
}

.site-grid {
    max-width: 1320px;
    margin: 0 auto;
    gap: 0 22px;
    align-items: start;
}

.container-component {
    background: #efefef;
    border: 1px solid #c8c8c8;
    border-radius: 4px;
    padding: 18px 18px 24px;
}

.container-sidebar-right {
    background: #efefef;
    border: 1px solid #c8c8c8;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
}

.container-sidebar-right .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.container-sidebar-right .mod-custom,
.container-sidebar-right .mod-custom p,
.container-sidebar-right .mod-custom div {
    text-align: center;
}

.container-sidebar-right .mod-custom img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.container-header {
    background: #3f3f3f;
    border-bottom: 1px solid #1f1f1f;
    min-height: 60px;
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    overflow: visible;
    position: relative;
    z-index: 1100;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.container-header .container-topbar,
.container-header .container-below-top {
    display: none !important;
}

.container-header > .grid-child {
    max-width: none;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    padding-top: 0;
    padding-bottom: 0;
}

.container-header > .grid-child:first-child {
    flex: 0 0 auto;
    width: auto;
    margin-right: 20px;
}

.container-header > .grid-child.container-nav {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
}

.container-header .navbar-brand {
    background: #ef4a45;
    margin: 0;
    padding: 9px 10px 7px;
    width: fit-content;
    line-height: 1;
    box-sizing: border-box;
    overflow: hidden;
}

.container-header .navbar-brand a,
.container-header .navbar-brand .site-title,
.container-header .navbar-brand .site-description {
    color: #fff;
}

.container-header .navbar-brand .brand-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
}

.container-header .navbar-brand .site-title {
    display: block;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    letter-spacing: 0.7px;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

.container-header .navbar-brand .site-subtitle {
    display: block;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.1;
    opacity: 1;
}

.container-header .navbar-brand .site-description {
    display: none;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0;
    text-transform: uppercase;
    line-height: 1;
    padding: 0;
    white-space: nowrap;
}

.container-header .mod-menu > li {
    margin-right: 0;
    padding: 0 11px;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    height: 60px;
    display: flex;
    align-items: center;
}

.container-header .mod-menu > li:first-child {
    border-left: 0;
}

.container-header .container-search .form-control {
    width: 172px;
    max-width: 100%;
    height: 19px;
    font-size: 13px;
    padding: 0 6px;
    border: 1px solid #aaa;
    padding-right:4% !important;
}

.container-header .container-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    padding: 0 0 0 10px;
    min-height: 60px;
    flex-wrap: nowrap;
    min-width: 0;
    overflow: visible;
}

.container-header .container-nav-tools {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
    gap: 8px;
    padding-right: 16px;
    overflow: visible;
}

.container-header .mod-menu {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.container-header .container-search {
    margin-top: 0;
    margin-left: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    padding-right: 0 !important;
    position: relative;
    z-index: 1200;
}

.container-header .container-contact-link {
    margin-left: 0;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.container-header .container-contact-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    background: rgba(255, 255, 255, .07);
}

.container-header .container-contact-link a:hover,
.container-header .container-contact-link a:focus {
    background: rgba(255, 255, 255, .18);
    color: #fff;
    text-decoration: none;
}

.container-header .container-nav-toggle {
    display: none;
}

.container-header .container-search::before {
    content: none;
}

.com-content-article.item-page {
    background: #efefef;
}

.com-content-article__body {
    font-size: 16px;
    line-height: 1.7;
}

.com-content-article__body p {
    margin-bottom: 16px;
}

.com-content-article__body p[style*="text-align: center"] a {
    color: #d34d47;
    font-style: italic;
}

.com-content-article__body p[style*="text-align: center"] img {
    max-width: 78%;
    height: auto;
}

.com-content-article__body > h3 {
    font-size: 13px;
    line-height: 1.25;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 8px;
}

.com-content-article__body > h3:first-of-type[style*="text-align: center"] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.com-content-article__body > h3:nth-of-type(2)[style*="text-align: center"] {
    font-size: 12px;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    letter-spacing: 0;
}

.com-content-article__body > h3 a,
.com-content-article__body > h3 span,
.com-content-article__body > h3 strong {
    font-size: inherit;
    line-height: inherit;
}

.page-header{
    text-align: center;
    margin-top: 5%;
}


.com-content-article .page-header h2 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 12px;
}

body.itemid-555 .com-content-article__body h3,
body.itemid-557 .com-content-article__body h3,
body.itemid-558 .com-content-article__body h3,
body.itemid-559 .com-content-article__body h3 {
    font-size: 12px !important;
    line-height: 1.2 !important;
    margin-bottom: 6px !important;
}

body.itemid-555 .com-content-article__body h3 a,
body.itemid-557 .com-content-article__body h3 a,
body.itemid-558 .com-content-article__body h3 a,
body.itemid-559 .com-content-article__body h3 a,
body.itemid-555 .com-content-article__body h3 span,
body.itemid-557 .com-content-article__body h3 span,
body.itemid-558 .com-content-article__body h3 span,
body.itemid-559 .com-content-article__body h3 span,
body.itemid-555 .com-content-article__body h3 strong,
body.itemid-557 .com-content-article__body h3 strong,
body.itemid-558 .com-content-article__body h3 strong,
body.itemid-559 .com-content-article__body h3 strong {
    font-size: inherit !important;
    line-height: inherit !important;
}

body.itemid-435 .com-content-article__body p,
body.itemid-435 .com-content-article__body h3 {
    line-height: 1.3 !important;
}

.awesomemplete,
.awesomplete {
    padding-right: 20px !important;
}

.container-header .mod-finder {
    position: relative;
    overflow: visible;
}

.container-header .awesomplete,
.container-header .awesomemplete {
    display: block;
    position: relative;
    width: 172px;
    overflow: visible;
}

.container-header .awesomplete > ul,
.container-header .awesomemplete > ul {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 5000;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #b9b9b9;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
    max-height: 280px;
    overflow-y: auto;
    color: #222;
}

.container-header .awesomplete > ul:empty,
.container-header .awesomemplete > ul:empty {
    display: none;
}

.container-header .awesomplete > ul > li,
.container-header .awesomemplete > ul > li {
    padding: 6px 10px;
    font-size: 13px;
    line-height: 1.35;
    white-space: normal;
    text-align: left;
    cursor: pointer;
}

.container-header .awesomplete > ul > li[aria-selected="true"],
.container-header .awesomemplete > ul > li[aria-selected="true"],
.container-header .awesomplete > ul > li:hover,
.container-header .awesomemplete > ul > li:hover {
    background: #ef4a45;
    color: #fff;
}

.category-desc h3 {
    font-size: 0.82rem !important;
    line-height: 1.18 !important;
    font-weight: 700 !important;
    margin-top: 0 !important;
    margin-bottom: 4px !important;
}

.category-desc h3 a,
.category-desc h3 span,
.category-desc h3 strong,
.category-desc h3 em {
    font-size: inherit !important;
    line-height: inherit !important;
}

.mod-custom img {
    max-width: 100%;
    height: auto;
}

.container-footer {
    background: transparent;
    margin-top: 18px;
}

.container-footer .grid-child {
    max-width: 1320px;
    display: block;
    color: #595959; /* WCAG 1.4.3: era #8a8a8a (ratio 2.4:1), ora 5.3:1 su #d6d6d6 */
    font-size: 11px;
    line-height: 1.75;
    text-align: center;
    padding: 8px 8px 16px;
}

.container-footer a {
    color: #595959; /* WCAG 1.4.3 */
    text-decoration: underline;
}

.container-footer .mod-custom p,
.container-footer .footer1,
.container-footer .footer2,
.container-footer .mod-footer {
    margin: 0;
    font-size: 11px;
    color: #595959; /* WCAG 1.4.3 */
}

.container-footer .mod-custom p {
    margin-bottom: 4px;
}

.com-content-category-blog .badge.bg-warning,
.com-content-article .badge.bg-warning {
    display: none !important;
}

.com-content-category-blog .badge-warning,
.com-content-article .badge-warning {
    display: none !important;
}

.container-facebook-bottom {
    background: linear-gradient(145deg, #ececec 0%, #e2e2e2 50%, #dadada 100%);
    border: 1px solid #bcbcbc;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.facebook-follow-card {
    width: min(100%, 560px);
    padding: 14px 16px 16px;
    border-radius: 8px;
    border: 1px solid #d9d9d9;
    background: linear-gradient(160deg, #ffffff 0%, #f2f2f2 100%);
    margin: 0 auto;
}

body.itemid-435 .com-content-article__body td[style*="text-align: center"] .facebook-follow-card {
    margin-left: auto;
    margin-right: auto;
}

.facebook-follow-eyebrow {
    margin: 0;
    font-size: 10px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #7a7a7a;
    font-weight: 700;
}

.facebook-follow-title {
    margin: 6px 0 8px;
    font-size: 22px;
    line-height: 1.1;
    color: #202020;
    font-weight: 800;
    text-transform: uppercase;
}

.facebook-follow-text {
    margin: 0 0 12px;
    color: #404040;
    font-size: 14px;
    line-height: 1.45;
}

.facebook-follow-action-wrap {
    margin: 0;
}

.facebook-follow-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #b71c1c;
    background: linear-gradient(180deg, #e53935 0%, #c62828 100%);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.facebook-follow-action:hover,
.facebook-follow-action:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    background: linear-gradient(180deg, #ef5350 0%, #d32f2f 100%);
    box-shadow: 0 4px 10px rgba(183, 28, 28, 0.35);
}

.container-component .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    text-align: center;
}

.container-component .pagination .counter {
    width: 100%;
    margin: 0;
}

.container-component .pagination ul,
.container-component .pagination .pagination-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

.container-component td.is-spacer-cell {
    font-size: 0;
    line-height: 1;
    min-width: 0;
    padding: 0 !important;
    width: 1% !important;
}

.container-component iframe[src*=".pdf"],
.container-component iframe[src*="pdf"],
.container-component object[data*=".pdf"],
.container-component object[type="application/pdf"],
.container-component embed[src*=".pdf"],
.container-component embed[type="application/pdf"] {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 420px;
    height: clamp(420px, 72vh, 980px);
    box-sizing: border-box;
    display: block;
}

@media (max-width: 767px) {
    .facebook-follow-card {
        padding: 12px;
    }

    .facebook-follow-title {
        font-size: 18px;
    }

    .facebook-follow-text {
        font-size: 13px;
    }
}

body.itemid-556 .container-component {
    padding: 10px 10px 18px;
}

body.itemid-556 .category-desc h3 {
    font-size: 0.84rem !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
}

body.itemid-556 .category-desc h3:last-child {
    font-size: 0.96rem !important;
    line-height: 1.45 !important;
    letter-spacing: 0.02em;
}

body.itemid-556 .edocs_viewer {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    text-align: center;
}

body.itemid-556 .edocs_viewer iframe,
body.itemid-556 .edocs_viewer object,
body.itemid-556 .edocs_viewer embed {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: clamp(1400px, 98vh, 1900px) !important;
    margin: 0 auto !important;
}

.cookie-consent {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 2000;
    background: #1f1f1f;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.cookie-consent p {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.4;
}

.cookie-consent-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.cookie-btn {
    min-height: 36px;
    min-width: 110px;
    padding: 0 12px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.cookie-btn-reject {
    background: transparent;
    border-color: #b8b8b8;
    color: #fff;
}

.cookie-btn-accept {
    background: #ef4a45;
    border-color: #ef4a45;
    color: #fff;
}

@media (max-width: 991.98px) {
    .site-grid {
        max-width: 100%;
        padding: 0 10px;
        gap: 12px;
    }

    .container-header {
        display: block;
        min-height: 0;
        overflow: visible;
    }

    .container-component .pagination a,
    .container-component .pagination span,
    .container-component .pagination strong {
        display: inline-flex;
        justify-content: center;
        min-height: 34px;
        min-width: 34px;
        padding: 4px 8px;
    }

    .container-header > .grid-child,
    .container-header > .grid-child:first-child,
    .container-header > .grid-child.container-nav {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        display: block;
    }

    .container-header .navbar-brand {
        width: 100%;
        min-height: 54px;
        padding: 10px 12px 8px;
    }

    .container-header .navbar-brand .site-title {
        font-size: 15px;
        letter-spacing: 0.6px;
    }

    .container-header .navbar-brand .site-subtitle {
        font-size: 9px;
    }

    .container-header .container-nav {
        padding: 6px 10px 10px;
        overflow: visible;
        display: block;
    }

    .container-header .container-nav-tools {
        display: block;
        min-width: 0;
        padding-right: 0;
    }

    .container-header .container-nav-toggle {
        align-items: center;
        background: rgba(0, 0, 0, .22);
        border: 1px solid rgba(255, 255, 255, .32);
        border-radius: 999px;
        color: #fff;
        cursor: pointer;
        display: inline-flex;
        font-size: 13px;
        font-weight: 700;
        gap: 8px;
        letter-spacing: .03em;
        min-height: 40px;
        padding: 0 14px;
        text-transform: uppercase;
    }

    .container-header .container-nav-toggle .menu-icon {
        font-size: 17px;
        line-height: 1;
        transition: transform .2s ease;
    }

    .container-header .container-nav.is-open .container-nav-toggle .menu-icon {
        transform: rotate(90deg);
    }

    .container-header .mod-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        margin-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, .2);
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transform: translateY(-4px);
        transition: max-height .28s ease, opacity .2s ease, transform .2s ease;
        padding-bottom: 0;
    }

    .container-header .container-nav.is-open .mod-menu {
        display: flex;
        max-height: 80vh;
        opacity: 1;
        transform: translateY(0);
        overflow-y: auto;
    }

    .container-header .mod-menu > li {
        height: auto;
        padding: 0;
        border-left: 0;
        display: block;
        position: relative;
    }

    .container-header .mod-menu > li > a,
    .container-header .mod-menu > li > span {
        display: block;
        font-size: 13px;
        line-height: 1.35;
        padding: 12px 44px 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .container-header .mod-menu .submenu-toggle {
        background: transparent;
        border: 0;
        color: #fff;
        cursor: pointer;
        font-size: 16px;
        line-height: 1;
        min-height: 42px;
        min-width: 42px;
        padding: 0;
        position: absolute;
        right: 0;
        top: 0;
    }

    .container-header .mod-menu .submenu-toggle span {
        display: inline-block;
        transition: transform .2s ease;
    }

    .container-header .mod-menu > li.mobile-open > .submenu-toggle span {
        transform: rotate(180deg);
    }

    .container-header .mod-menu > li > ul,
    .container-header .mod-menu > li > .mod-menu__sub {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height .25s ease, opacity .2s ease;
    }

    .container-header .mod-menu > li.mobile-open > ul,
    .container-header .mod-menu > li.mobile-open > .mod-menu__sub {
        max-height: 1000px;
        opacity: 1;
    }

    .container-header .container-search {
        margin: 8px 0 0;
        width: 100%;
    }

    .container-header .container-contact-link {
        margin: 8px 0 0;
        width: 100%;
    }

    .container-header .container-contact-link a {
        min-height: 40px;
        width: 100%;
        justify-content: flex-start;
        padding: 0 12px;
    }

    .container-header .container-search::before {
        display: none;
    }

    .container-header .container-search .form-control {
        width: 100%;
        height: 40px;
        font-size: 16px;
        padding: 0 10px;
    }

    .container-component,
    .container-sidebar-right {
        padding: 12px;
    }

    .com-content-article__body {
        font-size: 15px;
        line-height: 1.6;
    }

    .category-desc h3 {
        font-size: 0.81rem !important;
        line-height: 1.16 !important;
    }

    .cookie-consent {
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 10px;
    }

    .cookie-consent-actions {
        justify-content: stretch;
    }

    .cookie-btn {
        flex: 1 1 50%;
        min-width: 0;
        min-height: 40px;
    }
}

@media (max-width: 575.98px) {
    .container-header .navbar-brand .site-title {
        font-size: 14px;
        letter-spacing: 0.4px;
    }

    .container-header .mod-menu > li {
        padding: 0 8px;
    }

    .container-header .mod-menu > li > a,
    .container-header .mod-menu > li > span {
        font-size: 12px;
    }

    .com-content-article__body {
        font-size: 14px;
        line-height: 1.55;
    }
}
