/* Nieuws-archief
   Plaats dit bestand in de theme-root: news.css
   Wordt ingeladen via functions.php (wp_enqueue_style).
   De filterbalk hergebruikt .feature-filters / .filter-btn uit style.css. */

.news-filters a.filter-btn {
    text-decoration: none;
    display: inline-block;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
    width: 100%;
    margin-top: 40px;
}

.news-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    padding: 30px;
    background: #FFF;
    border-radius: 30px;
}

.news-card-image {
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #f2f0ea;
}

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

.news-card .pill {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 24px;
    display: inline-block;
    opacity: 0.75;
}

.news-card-title {
    margin: 4px 0 8px;
    color: #922A7C;
}

.news-card-excerpt {
    color: #444;
    line-height: 1.55;
}

/* Paginatie */

.pagination {
    width: 100%;
    margin-top: 60px;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    line-height: 1;
}

.pagination .page-numbers.current {
    border-color: #222;
    font-weight: 500;
    color: #222;
}

.pagination a.page-numbers:hover {
    border-color: #222;
}

.pagination .page-numbers.dots {
    border: 0;
    padding: 10px 4px;
}

@media (max-width: 1099px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}
