/**
 * News.
 */

#news {
    display: block;
    background-color: var(--main-theme-light);
}

.news-grid-wrapper {
    margin: 0 14%;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 15px;
    margin: 0 25px;
    padding-bottom: 50px;
}

.teaser .teaser__inner {
    margin: 20px;
}

.teaser a {
    text-decoration: none;
    color: inherit;
}

.teaser__inner .teaser__date {
    text-align: right;
    margin-bottom: 10px;
}

.teaser {
    border: 1px var(--main-theme-light) solid;
    border-radius: 4px;
}

.teaser:hover {
    background-color: var(--main-theme-dark);
}

.teaser__inner h3 {
    margin-bottom: 25px;
}

.teaser__inner img {
    width: 100%;
    margin-bottom: 5px;
}

@media only screen and (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}