/* 
###
BACKSTAGE 5.1 CSS > NEWS AND CALENDAR PLUGINS
###
*/
.news-overview { display: flex; flex-direction: column; flex-wrap: wrap; gap: 0; margin-top: 30px; width: 100%; border-top: 1px solid #efefef; }

.news-overview.news-overview--is-calendar { /* calendar only class */ }
.news-overview.news-overview--is-news { /* news only class */ }

a.back { display: block; margin-top: 30px; }

.news-overview .item { position: relative; padding: 20px 0; border-bottom: 1px solid #efefef; background: var(--accents); background-color: #fff; }
.news-overview .item a { display: flex; color: var(--main); }
.news-overview .item a .image { position: relative; width: 150px; box-sizing: border-box; }
.news-overview .item a .image img { display: block; width: 100%; border-radius: 10px; }
.news-overview .item a .image .icon { width: 24px; height: 24px; }
.news-overview .item a .image .icon svg { width: 100%; height: 100%; }

.news-overview .item a .news-overview-content { display: flex; flex-direction: column; justify-content: center; flex: 1; gap: 2px; padding: 0 30px; width: 100%; line-height: 1.5; box-sizing: border-box; }
.news-overview .item a .news-overview-content .title { font-size: 21px; font-weight: 600; }
.news-overview .item a .news-overview-content .meta .date { display: block; font-size: 16px; color: var(--main); opacity: 0.5; line-height: 1.4; }

.news_item .date { display: flex; flex-direction: column; margin: 20px 0; font-size: 16px; color: var(--main); opacity: 0.5; }
.news_item .date span { white-space: pre-wrap; }

/*p a.back {
    margin-top: 40px;
    display: inline-block;
}*/
.news_item .section {
    margin-top: 40px;
    padding: 40px;
    background: var(--accents);
}
div.pagination {
    display: flex;
    justify-content: center;
    width: 70%;
    margin: 40px auto;
    margin-bottom: 0;
}
div.pagination div {
    width: 50px;
    height: 50px;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 50px;
    text-align: center;
    margin: 0 10px;
}
div.pagination div:not(.disabled) {
    background: var(--accents);
}
div.pagination div a {
    display: block;
    color: var(--main);
}
div.pagination div:hover:not(.disabled),
div.pagination div.active {
    background: var(--primarycta);
}
div.pagination div:not(.disabled):hover a,
div.pagination div.active,
div.pagination div.active a {
    color: var(--background);
}

.tag-wrapper .tag {
    background: var(--primarycta);
    border-radius: 8px;
    padding: 2px 6px;
    color: white;
    margin: 2px;
    text-align: center;
    font-size: 0.8em;
}

@media screen and (max-width: 1000px) {

    .news-overview {
        display: block;
        width: 100%;
        margin-left: 0;
    }
    .news-overview .item {
        width: 100%;
        margin: 0;
        margin-bottom: 0;
        background: transparent;
    }
    .news-overview .item:last-of-type {
        margin-bottom: 0;
    }
    .news-overview .item a {
        flex-direction: row;
        align-items: flex-start;
    }
    .news-overview .item a .image {
        width: 30%;
    }
    .news-overview .item a .news-overview-content {
        width: 70%;
        padding: 0 15px;
        padding-right: 0;
    }
    .news-overview .item a .news-overview-content .title {
        font-size: 1em;
    }
    .news-overview .item a .news-overview-content .meta,
    .page_content .date {
        font-size: .9em;
        white-space: nowrap;
    }
    .news-overview .item a .news-overview-content .meta .date {
        font-size: 14px;
    }

}
