/*______________________________________

            NEWS
______________________________________*/

.site-News header {
    margin-top: 0;
}

.news-list-view a:first-of-type {
    display: contents;
}

.article h3 {
    margin-top: 1rem;
}

.article h3 a {
    color: var(--text-color);
}

.article:hover h3 a {
    color: var(--primary-color);
}

.news-list-view {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 2rem;
}

.news-list-view .article {
    flex: 1 1 100%;
}

.news-img-wrap {
    position: relative;
}

.news-list-category {
    position: absolute;
    top: -.5rem;
    right: -.5rem;
    padding: .5rem;
    min-width: 55%;
    text-align: right;
    color: var(--white);
    font-size: var(--font-size-basic);
    z-index: 1;
}

.news-list-category::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 50%;
    border-style: solid;
    border-width: 2.5rem 0 0 2.5rem;
    border-color: var(--primary-color) transparent transparent transparent;
    z-index: -1;
}

.news-single {
    margin-top: -2rem;
}

.news-single h1 {
    font-size: var(--font-size-h2);
}

.news-single h2 {
    font-size: var(--font-size-h3);
} 

.news-single .news-img-wrap {
    margin-bottom: 2rem;
}

.news-single .header {
    position: relative;
}

.news-single .header .news-list-category {
    top: .75rem;
    right: 49%;
    min-width: 35%;
}


@media only screen and (min-device-width: 45em) {
    .news-single {
        margin-top: 6rem;
    }
    .news-list-view .article {
        flex: 1 1 45%;
        max-width: 33%;
    }
}

@media only screen and (min-device-width: 67.5em) {
    .news-list-view .article {
        flex: 1 1 30%;
    }
}

