.ance-news,
.ance-notizia {
--ance-navy: #003a79;
--ance-blue: #0070c4;
--ance-text: #161922;
--ance-muted: #4b5563;
--ance-border: #e5e7eb;
--ance-surface: #f4f6f8;
--ance-white: #ffffff;
--ance-font: "Work Sans", Helvetica, Arial, sans-serif;
font-family: var(--ance-font);
color: var(--ance-text);
box-sizing: border-box;
}
.ance-news *,
.ance-news *::before,
.ance-news *::after,
.ance-notizia *,
.ance-notizia *::before,
.ance-notizia *::after {
box-sizing: border-box;
} .ance-news {
display: grid;
grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
gap: 2rem 2.5rem;
align-items: start;
width: 100%;
} .ance-news .ance-news__title,
.ance-news h1.ance-news__title {
grid-column: 1 / -1;
margin: 26.8px 0 !important;
padding: 0 !important;
font-family: var(--ance-font) !important;
font-size: 40px !important;
font-weight: 700 !important;
line-height: 48px !important;
color: var(--ance-navy) !important;
text-transform: none !important;
letter-spacing: normal !important;
}
.ance-news__sidebar {
background: var(--ance-surface);
padding: 1.25rem 1.15rem 1.4rem;
border: 1px solid var(--ance-border);
position: sticky;
top: 1rem;
}
.ance-news .ance-news__sidebar-title {
margin: 0 0 1rem !important;
padding: 0 !important;
font-size: 0.8rem !important;
font-weight: 700 !important;
letter-spacing: 0.04em;
text-transform: uppercase;
color: var(--ance-navy) !important;
}
.ance-news__filters {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 0.35rem;
}
.ance-news__filter {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
width: 100%;
margin: 0;
padding: 0.55rem 0.7rem;
border: 1px solid transparent;
background: transparent;
color: var(--ance-text);
font: inherit;
font-size: 0.95rem;
font-weight: 500;
text-align: left;
cursor: pointer;
transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ance-news__filter:hover,
.ance-news__filter:focus-visible {
background: var(--ance-white);
border-color: #c9d5e4;
color: var(--ance-navy);
}
.ance-news__filter:focus-visible {
outline: 3px solid var(--ance-blue);
outline-offset: 2px;
}
.ance-news__filter.is-active {
background: var(--ance-white);
border-color: var(--ance-navy);
color: var(--ance-navy);
font-weight: 700;
}
.ance-news__filter-count {
flex-shrink: 0;
font-size: 0.75rem;
font-weight: 600;
color: var(--ance-muted);
}
.ance-news__filter.is-active .ance-news__filter-count {
color: var(--ance-navy);
}
.ance-news__main {
min-width: 0;
}
.ance-news__toolbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
margin: 0 0 1.15rem;
}
.ance-news__count {
margin: 0;
font-size: 0.9rem;
color: var(--ance-muted);
}
.ance-news__sort {
display: inline-flex;
align-items: center;
gap: 0.5rem;
margin-left: auto;
}
.ance-news__sort-label {
font-size: 0.85rem;
font-weight: 600;
color: var(--ance-navy);
}
.ance-news__sort-select {
min-height: 42px;
min-width: 8.5rem;
padding: 0.45rem 2.25rem 0.45rem 0.75rem;
border: 1px solid var(--ance-border);
background-color: var(--ance-white);
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23003a79' d='M2.1 4.2 6 8.1l3.9-3.9 1.1 1.1L6 10.3 1 5.3z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 0.75rem center;
appearance: none;
color: var(--ance-text);
font: inherit;
font-size: 0.9rem;
font-weight: 500;
cursor: pointer;
}
.ance-news__sort-select:focus-visible {
outline: 3px solid var(--ance-blue);
outline-offset: 2px;
border-color: var(--ance-blue);
}
.ance-news__list {
display: flex;
flex-direction: column;
gap: 1rem;
position: relative;
min-height: 4rem;
}
.ance-news__list.is-loading {
opacity: 0.55;
pointer-events: none;
}
.ance-news__list.is-loading::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.45),
transparent
);
animation: ance-news-shimmer 1.2s linear infinite;
pointer-events: none;
}
@keyframes ance-news-shimmer {
from {
transform: translateX(-40%);
}
to {
transform: translateX(40%);
}
}
.ance-news .ance-news__card {
display: flex;
flex-direction: column;
gap: 0.85rem;
margin: 0;
padding: 1.1rem 1.2rem 1.15rem;
background: var(--ance-white);
border: 1px solid var(--ance-border);
box-shadow: 0 1px 2px rgba(0, 58, 121, 0.04);
transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ance-news .ance-news__card:hover {
border-color: #c9d5e4;
box-shadow: 0 4px 14px rgba(0, 58, 121, 0.08);
}
.ance-news__card-body {
flex: 1 1 auto;
margin: 0;
padding: 0;
min-width: 0;
}
.ance-news__card-top {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 0.75rem;
}
.ance-news .ance-news__card-title,
.ance-news h3.ance-news__card-title {
margin: 0 !important;
padding: 0 !important;
font-size: 1.15rem !important;
font-weight: 700 !important;
line-height: 1.35 !important;
color: var(--ance-navy) !important;
text-transform: none;
letter-spacing: 0;
flex: 1 1 auto;
min-width: 0;
}
.ance-news__card-attach {
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
width: 2rem;
height: 2rem;
color: var(--ance-navy);
background: var(--ance-surface);
border: 1px solid var(--ance-border);
}
.ance-news__card-date {
margin: 0.35rem 0 0 !important;
padding: 0 !important;
font-size: 0.8rem !important;
line-height: 1.35 !important;
color: var(--ance-muted) !important;
}
.ance-news__card-excerpt {
margin: 0.55rem 0 0 !important;
padding: 0 !important;
font-size: 0.95rem !important;
line-height: 1.55 !important;
color: var(--ance-text) !important;
}
.ance-news__card-actions {
margin-top: 0.15rem;
}
.ance-news__card-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 40px;
padding: 0.45rem 0.95rem;
background: var(--ance-navy);
color: var(--ance-white) !important;
font-size: 0.85rem;
font-weight: 700;
letter-spacing: 0.04em;
text-decoration: none !important;
text-transform: uppercase;
border: 1px solid var(--ance-navy);
transition: background 0.15s ease, border-color 0.15s ease;
}
.ance-news__card-btn:hover,
.ance-news__card-btn:focus-visible {
background: var(--ance-blue);
border-color: var(--ance-blue);
color: var(--ance-white) !important;
}
.ance-news__card-btn:focus-visible {
outline: 3px solid var(--ance-blue);
outline-offset: 2px;
}
.ance-news__empty {
margin: 0;
padding: 1.5rem 0;
color: var(--ance-muted);
font-size: 0.95rem;
}
.ance-news__footer {
display: flex;
justify-content: center;
margin-top: 1.5rem;
}
.ance-news__load-more {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 46px;
min-width: 11rem;
padding: 0.55rem 1.35rem;
border: 1px solid var(--ance-navy);
background: var(--ance-white);
color: var(--ance-navy);
font: inherit;
font-size: 0.9rem;
font-weight: 700;
letter-spacing: 0.03em;
text-transform: uppercase;
cursor: pointer;
transition: background 0.15s ease, color 0.15s ease;
}
.ance-news__load-more:hover,
.ance-news__load-more:focus-visible {
background: var(--ance-navy);
color: var(--ance-white);
}
.ance-news__load-more:focus-visible {
outline: 3px solid var(--ance-blue);
outline-offset: 2px;
}
.ance-news__load-more.is-hidden,
.ance-news__load-more[hidden] {
display: none !important;
}
.ance-news__load-more.is-loading {
opacity: 0.7;
cursor: wait;
}
.screen-reader-text {
position: absolute !important;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
} .ance-notizia {
width: 100%;
max-width: none;
}
.ance-notizia__back {
margin: 0 0 0.35rem;
}
.ance-notizia__back-link {
color: var(--ance-navy);
font-size: 0.95rem;
font-weight: 600;
text-decoration: none;
}
.ance-notizia__back-link:hover,
.ance-notizia__back-link:focus-visible {
color: var(--ance-blue);
text-decoration: underline;
}
.ance-notizia__back-link:focus-visible {
outline: 3px solid var(--ance-blue);
outline-offset: 2px;
}
.ance-notizia .ance-notizia__title,
.ance-notizia h1.ance-notizia__title {
margin: 26.8px 0 !important;
padding: 0 !important;
font-family: var(--ance-font) !important;
font-size: 40px !important;
font-weight: 700 !important;
line-height: 48px !important;
color: var(--ance-navy) !important;
text-transform: none !important;
letter-spacing: normal !important;
}
.ance-notizia__date {
margin: 0 0 1.75rem;
font-size: 0.95rem;
color: var(--ance-muted);
}
.ance-notizia__date-label {
font-weight: 600;
margin-right: 0.35rem;
}
.ance-notizia__date-link {
color: inherit;
text-decoration: none;
}
.ance-notizia__date-link:hover,
.ance-notizia__date-link:focus-visible {
color: var(--ance-blue);
text-decoration: underline;
}
.ance-notizia__content {
font-size: 1rem;
line-height: 1.65;
color: var(--ance-text);
}
.ance-notizia__content > *:first-child {
margin-top: 0;
}
.ance-notizia__content > *:last-child {
margin-bottom: 0;
}
.ance-notizia__empty {
margin: 0;
color: var(--ance-muted);
}
.ance-notizia__allegati {
margin-top: 2.25rem;
padding-top: 1.5rem;
border-top: 1px solid var(--ance-border);
}
.ance-notizia .ance-notizia__allegati-title {
margin: 0 0 1rem !important;
padding: 0 !important;
font-size: 1.05rem !important;
font-weight: 700 !important;
color: var(--ance-navy) !important;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.ance-notizia__allegati-list {
list-style: none;
margin: 0;
padding: 0;
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.85rem;
}
.ance-notizia__allegato {
margin: 0;
}
.ance-notizia__allegato-link {
display: flex;
align-items: center;
gap: 0.65rem;
min-height: 100%;
padding: 0.85rem 0.95rem;
background: var(--ance-surface);
border: 1px solid var(--ance-border);
color: var(--ance-navy) !important;
text-decoration: none !important;
transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ance-notizia__allegato-link:hover,
.ance-notizia__allegato-link:focus-visible {
border-color: var(--ance-blue);
box-shadow: 0 2px 10px rgba(0, 58, 121, 0.08);
}
.ance-notizia__allegato-link:focus-visible {
outline: 3px solid var(--ance-blue);
outline-offset: 2px;
}
.ance-notizia__allegato-icon {
flex-shrink: 0;
color: var(--ance-navy);
}
.ance-notizia__allegato-name {
font-size: 0.9rem;
font-weight: 600;
line-height: 1.35;
word-break: break-word;
}
.ance-notizia__allegato-hint {
display: block;
width: 100%;
margin-top: 0.15rem;
font-size: 0.75rem;
font-weight: 500;
color: var(--ance-muted);
letter-spacing: 0.02em;
}
.ance-notizia__allegato-link--image .ance-notizia__allegato-icon + .ance-notizia__allegato-name {
flex: 1 1 auto;
}
.ance-notizia__allegato-link--image {
flex-wrap: wrap;
} html.ance-lightbox-open,
html.ance-lightbox-open body {
overflow: hidden;
}
.ance-lightbox {
position: fixed;
inset: 0;
z-index: 99999;
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
}
.ance-lightbox[hidden] {
display: none !important;
}
.ance-lightbox__backdrop {
position: absolute;
inset: 0;
background: rgba(10, 18, 32, 0.88);
cursor: zoom-out;
}
.ance-lightbox__dialog {
position: relative;
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
width: min(96vw, 1200px);
max-height: 92vh;
outline: none;
}
.ance-lightbox__figure {
margin: 0;
max-width: 100%;
max-height: 92vh;
display: flex;
flex-direction: column;
align-items: center;
gap: 0.65rem;
}
.ance-lightbox__img {
display: block;
max-width: min(92vw, 1100px);
max-height: calc(92vh - 2.5rem);
width: auto;
height: auto;
object-fit: contain;
background: #000;
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.ance-lightbox__counter {
margin: 0;
color: #fff;
font-size: 0.85rem;
font-weight: 500;
letter-spacing: 0.04em;
}
.ance-lightbox__close {
position: absolute;
top: -0.25rem;
right: -0.25rem;
z-index: 2;
width: 44px;
height: 44px;
border: 0;
border-radius: 0;
background: var(--ance-navy, #003a79);
color: #fff;
font-size: 1.75rem;
line-height: 1;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
}
.ance-lightbox__close:hover,
.ance-lightbox__close:focus-visible {
background: var(--ance-blue, #0095eb);
}
.ance-lightbox__close:focus-visible {
outline: 3px solid #fff;
outline-offset: 2px;
}
.ance-lightbox__nav {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 2;
width: 48px;
height: 48px;
border: 0;
background: rgba(0, 58, 121, 0.92);
color: #fff;
font-size: 1.35rem;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
}
.ance-lightbox.is-single .ance-lightbox__nav {
display: none;
}
.ance-lightbox.is-single .ance-lightbox__counter {
display: none;
}
.ance-lightbox__nav:hover,
.ance-lightbox__nav:focus-visible {
background: var(--ance-blue, #0095eb);
}
.ance-lightbox__nav:focus-visible {
outline: 3px solid #fff;
outline-offset: 2px;
}
.ance-lightbox__nav--prev {
left: 0.25rem;
}
.ance-lightbox__nav--next {
right: 0.25rem;
} @media (max-width: 1100px) {
.ance-notizia__allegati-list {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 900px) {
.ance-news {
grid-template-columns: 1fr;
gap: 1.5rem;
}
.ance-news__sidebar {
position: static;
}
.ance-news__filters {
flex-direction: row;
flex-wrap: wrap;
}
.ance-news__filter {
width: auto;
}
}
@media (max-width: 640px) {
.ance-notizia__allegati-list {
grid-template-columns: 1fr;
}
.ance-news__toolbar {
flex-direction: column;
align-items: stretch;
}
.ance-news__sort {
margin-left: 0;
justify-content: space-between;
}
.ance-news__sort-select {
flex: 1;
}
.ance-news .ance-news__title,
.ance-news h1.ance-news__title,
.ance-notizia .ance-notizia__title,
.ance-notizia h1.ance-notizia__title {
font-size: 28px !important;
line-height: 36px !important;
}
.ance-lightbox__nav--prev {
left: 0;
}
.ance-lightbox__nav--next {
right: 0;
}
.ance-lightbox__close {
top: 0;
right: 0;
}
}.ance-footer-links {
width: 100%;
margin: 0;
padding: 0;
box-sizing: border-box;
}
.ance-footer-links *,
.ance-footer-links *::before,
.ance-footer-links *::after {
box-sizing: border-box;
}
.ance-footer-links__list,
.ance-footer-links .ance-footer-links__list,
.ance-footer-links ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 0.35em;
}
.ance-footer-links .menu-item {
margin: 0;
padding: 0;
}
.ance-footer-links .sub-menu {
list-style: none;
margin: 0.25em 0 0;
padding: 0 0 0 0.75em;
display: flex;
flex-direction: column;
gap: 0.25em;
}
.ance-footer-links .menu-item > a {
display: inline;
margin: 0;
padding: 0;
color: #ffffff;
text-decoration: none; background: transparent;
border: 0;
border-radius: 0;
transition: text-decoration-color 0.15s ease;
}
.ance-footer-links .menu-item > a:hover {
color: #ffffff;
text-decoration: underline;
text-underline-offset: 0.15em;
}
.ance-footer-links .menu-item > a:focus-visible {
color: #ffffff;
text-decoration: underline;
text-underline-offset: 0.15em;
outline: 2px solid #ffffff;
outline-offset: 3px;
}
.ance-footer-links .menu-item > a:focus:not(:focus-visible) {
outline: none;
}
@media (prefers-reduced-motion: reduce) {
.ance-footer-links .menu-item > a {
transition: none;
}
}