.footer-link a{text-decoration:none}#footer-wrapper .footer-link a,#footer-wrapper .footer-list a,.article-wrapper a,.footer-link a:hover{text-decoration:underline}#footer-wrapper .footer-link a:hover,#footer-wrapper .footer-list a:hover{text-decoration:none}.article-wrapper img{max-width:100%;height:auto}.article-wrapper ul{font-family:Lora,Georgia,serif;margin:0 0 40px 0}.article-wrapper ul li{margin:0 0 22px 0}.calendar-vertical .calendar-date .calendar-date-day span{font-family:"Roboto Mono",monospace;font-size:2.5rem;line-height:1;margin:0 0 5px 0;text-align:center;padding-right:34px;display:block}.calendar-vertical .calendar-date .calendar-date-description .calendar-date-description-content:before{margin:0}.home-message.blue a:not(.btn),.home-message.green a:not(.btn),.home-message.purple a:not(.btn),.home-message.red a:not(.btn){color:#fff!important;text-decoration:underline}.home-message.yellow a:not(.btn){color:#333!important;text-decoration:underline}
/* Correzione definitiva WCAG F73 per le Ricerche frequenti */
.searches-list a {
    text-decoration: underline !important;
}
/* Correzione forzata per il link Password dimenticata in tutti i modali */
a[href*="lostpassword"],
.w3-modal a[href*="password"] {
    text-decoration: underline !important;
    color: #003366 !important;
}
/* Correzione definitiva WCAG F73 per i link nei titoli delle card */
.card-content h3 a,
.card-body h3 a,
.card h3 a,
.card-title a {
    text-decoration: underline !important;
}
/* Correzione WCAG 1.4.3 (G18): Contrasto per il pulsante custom-submit-redbrown */
.custom-submit-redbrown .custom-control-submit,
.custom-submit-redbrown .custom-control-submit strong {
    background-color: #5c1813 !important; /* Rosso/marrone scuro ad alto contrasto */
    color: #ffffff !important;             /* Testo bianco nitido */
    border-color: #5c1813 !important;
}

.custom-submit-redbrown .custom-control-submit:hover,
.custom-submit-redbrown .custom-control-submit:focus {
    background-color: #3d100d !important;
    color: #ffffff !important;
}
/* Correzione WCAG 1.4.3 (G18): Contrasto per il pulsante custom-submit-greendark */
.custom-submit-greendark .custom-control-submit,
.custom-submit-greendark .custom-control-submit strong {
    background-color: #004d26 !important; /* Verde scuro ad alto contrasto */
    color: #ffffff !important;             /* Testo bianco nitido */
    border-color: #004d26 !important;
}

.custom-submit-greendark .custom-control-submit:hover,
.custom-submit-greendark .custom-control-submit:focus {
    background-color: #002d16 !important;
    color: #ffffff !important;
}
/* Correzione WCAG 1.4.3 (G18): Contrasto per i titoli nella sezione access-login */
.access-login h3,
.access-login h1,
.access-login h2,
.access-login h4 {
    color: #1a1a1a !important; /* Nero/grigio scurissimo ad altissimo contrasto */
}
/* Correzione WCAG 1.4.3 (G18): Contrasto per il testo descrittivo .text-large */
.access-login p.text-large,
.text-large {
    color: #333333 !important; /* Grigio molto scuro ad alto contrasto */
}
/* Correzione WCAG 1.4.3 (G18): Contrasto per le etichette form e checkbox Ricordami */
.form-check label,
.form-check-inline label,
label[for="rememberme"] {
    color: #212529 !important; /* Colore scuro ad altissimo contrasto (> 10:1) */
}
/* 1. Regola base per testo bianco e interlinea su tutti i banner */
.dsi-banner-left-content,
.dsi-banner-left-content span,
.dsi-banner-left-content * {
    color: #ffffff !important;   
    line-height: 1.5 !important; 
}

/* 2. Rotazione a 4 colori basata sull'ordine dei banner nella pagina */
.home-blocks .col-lg-3:nth-of-type(4n+1) .dsi-banner-left-content,
.row .col-lg-3:nth-of-type(4n+1) .dsi-banner-left-content {
    background: #db1500 !important; /* Rosso */
}

.home-blocks .col-lg-3:nth-of-type(4n+2) .dsi-banner-left-content,
.row .col-lg-3:nth-of-type(4n+2) .dsi-banner-left-content {
    background: #005b94 !important; /* Blu */
}

.home-blocks .col-lg-3:nth-of-type(4n+3) .dsi-banner-left-content,
.row .col-lg-3:nth-of-type(4n+3) .dsi-banner-left-content {
    background: #006633 !important; /* Verde */
}

.home-blocks .col-lg-3:nth-of-type(4n+4) .dsi-banner-left-content,
.row .col-lg-3:nth-of-type(4n+4) .dsi-banner-left-content {
    background: #2d3748 !important; /* Antracite */
}/* Correzione WCAG 1.4.4 / C12: Unità relative per i pulsanti CookieYes */
.cky-btn {
    font-size: 0.875rem !important; /* Uso di rem anziché px */
    line-height: 1.5 !important;
}
/* Correzione WCAG 1.4.4 / C12 per il banner CookieYes */
.cky-title,
.cky-notice-des *,
.cky-btn {
    font-size: 1rem !important;
    line-height: 1.5 !important;
}
/* Correzione WCAG 1.4.12 / C21: Interlinea esplicita per il pre-header */
#pre-header,
#pre-header * {
    line-height: 1.5 !important;
}
/* Correzione WCAG 1.4.12 / C21: Interlinea esplicita per i container di layout */
.container,
.container-fluid {
    line-height: 1.5 !important;
}
/* Correzione WCAG 1.4.12 / C21: Interlinea esplicita per layout e griglie */
.container,
.container-fluid,
.row {
    line-height: 1.5 !important;
}
/* Correzione WCAG 1.4.12 / C21: Interlinea esplicita per le colonne del layout */
[class*="col-"] {
    line-height: 1.5 !important;
}
/* Correzione WCAG 1.4.12 / C21 per header-utils */
.header-utils {
    line-height: 1.5 !important;
}
