.news-article-card {
    display: flex;
    flex-direction: column;

    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;

    background: #fff;
    border: 1px solid #bbb;
    -webkit-box-shadow: 1px 1px 5px .5px rgba(0, 0, 0, .28);
    box-shadow: 1px 1px 5px .5px rgba(0, 0, 0, .28);
    overflow: hidden;
    color: #5a6772;

}

/*.news-article-card img {
    margin-bottom: 1rem;
}*/

.news-article-card img {
    height: auto;
    width: 90%;
    margin: auto;
}

.news-article-card .date {
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 400;
    color: #1c2024;
    margin-bottom: 0;
}

.news-article-card .title {
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
    line-height: 0.9;
}

.news-article-card .title>a {
    font-size: 1.16rem;
    font-weight: 500;
    color: #1c2024;
    text-decoration: none;
}

.news-article-card .body {
    margin-top: 0;
    margin-bottom: 1rem;
}

.news-article-card>a {
    width: 24px;
    height: 24px;
    margin-bottom: 0.2rem;
}

.news-article-card a>svg {
    width: 24px;
    height: 24px;
}

/*.news-article-card a {
    margin-top: 1rem;
}

.news-article-card p {
    margin-top: 1rem;
    margin-bottom: 0;
}*/

.view-news-block header {
    display: grid;
    background: #eee;
}

.view-news-block header h1,
.view-news-block header h2 {
    justify-self: center;
    color: var(--bs-primary);
    margin-bottom: 0;
    margin-top: 4px;
    text-transform: uppercase;
}

.view-news-block header>div.row {
    width: 100%;
    max-width: 1440px;
    margin: auto;
    padding-right: 18px;
    position: relative;
    display: inline-block;
}

.view-news-block header>div.row>a {
    /*text-align: end;
    width: 100%;
    max-width: 1270px;
    margin-left: auto;
    margin-right: auto;
    padding-right: 18px;*/
    padding: 0;
    color: #06c;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    float: right;
    width: auto;
    display: inline-block;

}

.view-news-block {
    background: #eee;
}

.view-news-block .horizontal.clearfix {
    background: #eee;
    padding: 12px;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 992px) {
    .news-article-column {
        width: 100%;
        padding: 8px;
    }
}

@media (min-width: 992px) {
    .news-article-column {
        width: 33.333%;
        padding: 8px;
    }
}

.view-news-block header .arrow {
    border-top: 6px solid var(--bs-body-bg);
}

.view-news-block header .arrow span {
    display: block;
    width: 0;
    height: 0;
    border-top: 24px solid;
    border-right: 40px solid transparent;
    border-left: 40px solid transparent;
    margin: 0 auto;
    color: #fff;
}

.news-article-labels {
    width: 100%;
    height: auto;
    column-count: 2;
    column-gap: 30px;
    margin-top: 4px;
}

.news-article-labels a {
    background: #06c;
    color: var(--bs-white);
    text-decoration: none;
    padding: 6px;
    margin-bottom: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    line-height: 0.9rem;
    font-weight: 400;
    display: table;
    break-inside: avoid-column;
}

.news-article-labels a[href="/Pagine/default"],
.news-article-labels a[href="/pagine/default"],
.news-article-labels a[href="/"],
.news-article-labels a[href=""] {
    display: none;
}

.masonry-layout-news-block {
    padding-top: 2px;
    padding-bottom: 6px;
}

@media (min-width: 992px) {
    .masonry-layout-news-block .masonry-item.views-row {
        width: calc(33.333%) !important;
    }

    .masonry-layout-news-block {
        max-width: 1440px;
        margin-left: auto;
        margin-right: auto;
    }
}

.masonry-layout-news-block .masonry-item.views-row {
    width: 100%;
}

.masonry-layout-news-block .masonry-item.views-row {
    padding: 16px;
}

.view-news-block.view-display-id-block_1 {
    padding-bottom: 16px;
}

div.view-id-news_block>div.item-list>ul {
    column-width: 450px;
    column-gap: 20px;
    list-style-type: none;
    margin: auto;
    padding: 20px 20px;
    max-width: 1500px;
}

div.view-id-news_block > div.item-list > ul > div,
div.view-id-news_block > div.item-list > ul > li {
    margin-bottom: 20px;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}
div.view-id-news_block > div.item-list > ul > div > li,
div.view-id-news_block > div.item-list > ul > li {
    margin-bottom: 20px;
}