
    :root {
        --text: #565656;
--links: #005e7c;
--titles: #000000;
--page-background: #F6F8FB;
--highlight: #005e7c;
--boxes-background: #FFFFFF;
--boxes-border: #CBD2DB;
--section-titles: #142E7B;
--section-titles-background: #F6F8FB;
--header-background: #FFFFFF;
--header-links: #323232;
--footer-background: #323232;
--footer-links: #0080A9;
--titles-font-family: "Titillium Web", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
--titles-h1-font-size: 2.2143rem;
--titles-h1-font-weight: 700;
--titles-h1-color: #000000;
--titles-h2-font-size: 1.5714rem;
--titles-h2-font-weight: 400;
--titles-h2-color: #000000;
--titles-h3-font-size: 1.2857rem;
--titles-h3-font-weight: 400;
--titles-h3-color: #000000;
--texts-font-family: "Titillium Web", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
--texts-primary-font-size: 1.1429rem;
--texts-primary-color: #565656;
--texts-secondary-font-size: 1.0000rem;
--texts-secondary-color: #565656;
--texts-link-color: #005e7c;
    }
    
:root { --react-body-font-family: "Titillium Web", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }

/* --- FONTS --- */
@font-face {
    font-family:"Titillium Web";
    src:url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-ExtraLight.woff2') format("woff2"),
    url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-ExtraLight.woff') format("woff"),
    url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-ExtraLight.ttf') format("truetype");
    font-style:normal;
    font-weight:200;
}
@font-face {
    font-family:"Titillium Web";
    src:url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-ExtraLightItalic.woff2') format("woff2"),
    url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-ExtraLightItalic.woff') format("woff"),
    url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-ExtraLightItalic.ttf') format("truetype");
    font-style:italic;
    font-weight:200;
}
@font-face {
    font-family:"Titillium Web";
    src:url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-Light.woff2') format("woff2"),
    url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-Light.woff') format("woff"),
    url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-Light.ttf') format("truetype");
    font-style:normal;
    font-weight:300;
}
@font-face {
    font-family:"Titillium Web";
    src:url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-LightItalic.woff2') format("woff2"),
    url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-LightItalic.woff') format("woff"),
    url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-LightItalic.ttf') format("truetype");
    font-style:italic;
    font-weight:300;
}
@font-face {
    font-family:"Titillium Web";
    src:url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-Regular.woff2') format("woff2"),
    url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-Regular.woff') format("woff"),
    url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-Regular.ttf') format("truetype");
    font-style:normal;
    font-weight:400;
}
@font-face {
    font-family:"Titillium Web";
    src:url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-Italic.woff2') format("woff2"),
    url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-Italic.woff') format("woff"),
    url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-Italic.ttf') format("truetype");
    font-style:italic;
    font-weight:400;
}
@font-face {
    font-family:"Titillium Web";
    src:url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-SemiBold.woff2') format("woff2"),
    url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-SemiBold.woff') format("woff"),
    url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-SemiBold.ttf') format("truetype");
    font-style:normal;
    font-weight:600;
}
@font-face {
    font-family:"Titillium Web";
    src:url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-SemiBoldItalic.woff2') format("woff2"),
    url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-SemiBoldItalic.woff') format("woff"),
    url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-SemiBoldItalic.ttf') format("truetype");
    font-style:italic;
    font-weight:600;
}
@font-face {
    font-family:"Titillium Web";
    src:url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-Bold.woff2') format("woff2"),
    url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-Bold.woff') format("woff"),
    url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-Bold.ttf') format("truetype");
    font-style:normal;
    font-weight:700;
}
@font-face {
    font-family:"Titillium Web";
    src:url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-BoldItalic.woff2') format("woff2"),
    url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-BoldItalic.woff') format("woff"),
    url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-BoldItalic.ttf') format("truetype");
    font-style:italic;
    font-weight:700;
}
@font-face {
    font-family:"Titillium Web";
    src:url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-Black.woff2') format("woff2"),
    url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-Black.woff') format("woff"),
    url('https://s3-eu-central-1.amazonaws.com/aws-ec2-eu-central-1-opendatasoft-staticfileset/arpae/theme_font/TitilliumWeb-Black.ttf') format("truetype");
    font-style:normal;
    font-weight:900;
}

/* --- BASIC SETUP --- */
html, body {
    font-family: "Titillium Web", Helvetica, arial, sans-serif;
}
/* -- REMOVE BOOKMARK ICON ON DATASET PAGE --
.rods-button-icon.rods-button-icon--variant-tertiary {
    display: none;
}

.rods-tooltip-wrapper__btn {
    display: none;
}
*/
/* --- FOOTER MAIN --- */
.fa.fa-twitter::before {
    content: "𝕏";
    font-family: Arial, sans-serif;
    font-weight: normal;
}

.ods-front-footer {
    padding: 3rem 0;
    height: auto !important;
    text-align: left;
}

/* Logo rimpicciolito e a sinistra */
.footer-logo {
    text-align: left;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    filter: brightness(0) invert(1);
    max-height: 45px;
    width: auto;
    display: block;
    margin-left: 0;
}

/* Sezione Social nel Footer */
.footer-social-section {
    margin: 1.5rem 0;
}

.social-title {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.arpae-social-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.arpae-search-box {
  border-radius: var(--front-office__filter__border-radius, 6px);
}

.arpae-social-link {
    color: #fff !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    /* Ristretto a proprietà specifiche: evita il costo di "transition: all"
       e non interferisce con prefers-reduced-motion in home.css */
    transition: color 0.3s ease, opacity 0.3s ease;
}

.arpae-social-link:hover {
    /* Allineato a #005e7c invece di #0080a9 hardcodato:
       segue il colore principale del tema se cambia */
    color: #005e7c !important;
    opacity: 1;
}

/* Focus accessibile sui link social (WCAG 2.1 AA) */
.arpae-social-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
    border-radius: 2px;
}

.arpae-social-icon {
    font-size: 1.3rem;
    margin-right: 8px;
}

.arpae-social-text {
    font-size: 0.9rem;
    font-weight: 400;
}

/* Link Legali/Dati */
.footer-data-container {
    font-size: 1.1em;
    margin-top: 1rem;
}

.footer-data-container .ods-front-footer__link {
    color: #fff;
}

.footer-data-container .ods-front-footer__link:hover {
    /* Allineato a #005e7c invece di #0080a9 hardcodato */
    color: #005e7c;
}

/* Focus accessibile sui link legali del footer (WCAG 2.1 AA) */
.footer-data-container .ods-front-footer__link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
    border-radius: 2px;
}

/* --- CARDS & TABLES --- */
.card-news {
    background: #fff;
    margin-bottom: 20px;
}

.card-news .card-body {
    padding: 24px;
    flex: 1 1 auto;
}

.card-news .head-tags {
    justify-content: space-between;
    display: flex;
}

.card-news .card-tag {
    /* Allineato a #005e7c invece di #06c hardcodato:
       segue il colore link del tema */
    color: #005e7c;
    font-size: .875rem;
    font-weight: bold;
    letter-spacing: .9px;
    padding: 0 8px;
    border-radius: 50px;
    border: 1px solid #005e7c;
}

.card-news .head-tags .data {
    font-size: .875rem;
    text-transform: uppercase;
    color: hsl(0, 0%, 10%);
}

.card-news .card-body .card-title.h5 {
    font-size: 1.125rem;
    line-height: 1.5rem;
    font-weight: 700;
    color: hsl(210, 33%, 28%);
    margin-bottom: 16px;
    /* Ristretto a proprietà specifiche invece di "transition: all" */
    transition: color .3s ease;
}

.card.card-news .img-responsive-wrapper .img-responsive {
    padding-bottom: 61.29%;
    height: 0;
    position: relative;
}

.card.card-news .img-responsive-wrapper .img-responsive .img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.card.card-news .img-responsive-wrapper .img-responsive .img-wrapper img {
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
}

a.read-more {
    display: flex;
    align-items: center;
    /* Allineato a #005e7c invece di #06c hardcodato */
    color: #005e7c;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: .9px;
    font-size: .875rem;
    text-decoration: none;
}

/* Focus accessibile su read-more (WCAG 2.1 AA) */
a.read-more:focus-visible {
    outline: 2px solid #005e7c;
    outline-offset: 3px;
    border-radius: 2px;
}

a.read-more .icon {
    margin-left: 8px;
    /* Allineato a #005e7c invece di #06c hardcodato */
    fill: #005e7c;
    width: 2em;
    height: 2em;
    flex-shrink: 0;
}

.h-100 {
    height: 100%;
}

table.table.border-black td,
table.table.border-black th {
    border: 1px solid #5b5b5b;
}

/* --- RESPONSIVE --- */
@media (max-width: 767px) {
    .footer-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}