.news-filter,
.news-filter select,
.news-filter button {
    font-family: var(--fontTesto);
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 600;
    line-height: 2.8rem;
}

.news-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--grigio);
}

.news-filter select {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 4px 24px 4px 8px;
    max-width: 100%;
    cursor: pointer;
}

.news-filter-select {
    position: relative;
    max-width: 100%;
}

.news-filter-select::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 14px;
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    pointer-events: none;
}

.news-filter .button {
    margin: 0;
    padding: 4px 14px;
}

.news-filter.ajax-ready .news-filter-submit {
    display: none;
}

.news-status:empty {
    display: none;
}

.news-status {
    margin-bottom: 20px;
}

.news-list {
    display: grid;
    gap: 24px;
}

.box-news {
    background: var(--bianco);
    color: var(--nero);
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.07);
    border: 1px solid #ededed;
    border-radius: 0;
    min-width: 0;
}

.box-news-list {
    display: flex;
}

.box-news-image {
    width: 32%;
    flex-shrink: 0;
    display: block;
}

.box-news-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box-news-content {
    padding: 28px;
    min-width: 0;
    flex: 1;
}

.news-date {
    display: block;
    color: var(--rosso);
    margin-bottom: 12px;
}

.box-news .titolo-small {
    margin-bottom: 16px;
    overflow-wrap: anywhere;
}

.box-news .titolo-small a {
    color: inherit;
    text-decoration: none;
}

.news-excerpt {
    color: var(--grigio);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 11.2rem;
    overflow-wrap: anywhere;
}

.box-news .link-arrow {
    margin-top: 16px;
}

.news-pagination {
    margin-top: 40px;
}

.news-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.news-pagination li {
    margin: 0;
}

.news-pagination a,
.news-pagination span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 36px;
    min-height: 36px;
    color: var(--nero);
    text-decoration: none;
}

.news-pagination .current,
.news-pagination a:hover {
    color: var(--rosso);
}

#news-results {
    scroll-margin-top: calc(var(--header-height) + 20px);
}

#news-results[aria-busy="true"] {
    opacity: 0.55;
}

.news-article-heading {
    margin-bottom: 40px;
}

.news-article-heading .titolo-page {
    overflow-wrap: anywhere;
}

.news-article {
    max-width: 760px;
    margin: 0 auto;
    padding: 36px;
}

.news-article-image {
    margin-bottom: 30px;
}

.news-article-image img {
    display: block;
    width: 100%;
    height: auto;
}

.news-article .cont-testo {
    color: var(--grigio);
    overflow-wrap: anywhere;
}

.news-article .cont-testo img,
.news-article .cont-testo iframe {
    max-width: 100%;
}

.section-news-related {
    border-top: 1px solid #ededed;
}

.swiperNews {
	position: relative;
    margin-top: 40px;
    padding: 16px 48px 52px;
}

.swiperNews .swiper-slide {
    height: auto;
}

.swiperNews .box-news {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.swiperNews .box-news-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
}

.swiperNews .news-excerpt {
    flex-grow: 1;
    margin-bottom: 0;
}

.swiperNews .box-news .link-arrow {
    margin-top: auto;
    padding-top: 16px;
}

.swiperNews .carousel-pagination {
    position: absolute;
    bottom: -24px;
    left: 50%;
    width: auto;
    margin: 0;
    transform: translateX(-50%);
    pointer-events: auto;
}

.swiperNews .cont-carousel {
    position: absolute;
    top: 16px;
    right: 0;
    bottom: 52px;
    left: 0;
    padding: 0;
    pointer-events: none;
}

.swiperNews .carousel-prev,
.swiperNews .carousel-next {
    position: absolute;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    pointer-events: auto;
}

.swiperNews .carousel-prev {
    left: 0;
}

.swiperNews .carousel-next {
    right: 0;
}

.swiperNews .swiper-pagination-bullet {
    width: 24px;
    height: 3px;
    border-radius: 0;
}

.swiperNews .swiper-pagination-bullet-active {
    background: var(--rosso);
}

.swiperNewsHome {
    margin-top: 40px;
}

.swiperNewsHome .button-icon {
    border-color: var(--rosso);
    color: var(--rosso);
    opacity: 1;
}

.swiperNewsHome .button-icon:hover {
    background: var(--rosso);
    color: var(--bianco);
}

.page-news :focus-visible,
.page-news-single :focus-visible {
    outline: 2px solid var(--rosso);
    outline-offset: 4px;
}

@media (max-width: 575.98px) {
    .swiperNews {
        padding-right: 40px;
        padding-left: 40px;
    }

    .box-news-list {
        flex-direction: column;
    }

    .box-news-image {
        width: 100%;
        aspect-ratio: 16 / 10;
    }

    .box-news-content,
    .news-article {
        padding: 24px;
    }
}