.rss-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* Marge ter vervanging van de inline style op de filter-buttons container */
.rss-filter-buttons {
    margin-bottom: 25px !important;
}

.rss-filter-buttons .btn.filter-btn {
    display: inline-block !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    border: 1px solid #ddd !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
}

.rss-filter-buttons .btn.filter-btn.active {
    background-color: #0073aa !important;
    color: #ffffff !important;
    border-color: #0073aa !important;
    box-shadow: 0 4px 8px rgba(0,115,170,0.3) !important;
}

.rss-filter-buttons .btn.filter-btn:not(.active) {
    background-color: #ffffff !important;
    color: #444444 !important; 
    border-color: #cccccc !important;
}

.rss-filter-buttons .btn.filter-btn:not(.active):hover {
    background-color: #f8f9fa !important;
    color: #000000 !important;
    border-color: #999999 !important;
    transform: translateY(-1px) !important;
}

.vcard-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.dordtfeed-card {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    width: 310px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease !important;
}

.dordtfeed-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* ==========================================================================
   DE DEFINITIEVE THUMBNAIL & IMAGE FIX
   ========================================================================== */

/* Container geforceerd op exact 200px hoog en volledige breedte */
.pod-thumbnail {
    position: relative !important;
    display: block !important;
    height: 200px !important;
    width: 100% !important;
    overflow: hidden !important;
    background: #fafafa;
}

/* Zorgt dat de link de volledige container vult */
.pod-thumbnail a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

/* HIER GEBEURT HET: We dwingen de afbeelding om de container loepzuiver te vullen */
.pod-thumbnail img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    
    /* We stretchen de afbeelding over de volledige breedte en hoogte */
    object-fit: fill !important; 
    
    /* We herstellen de standaard vloeiende browser-rendering (GEEN pixelated meer!) */
    image-rendering: auto !important;
    transform: translateZ(0); /* Dwingt hardwareversnelling af voor scherpere sub-pixel rendering */
}

.dordtfeed-card .card-header {
    background: #fafafa !important;
    padding: 12px 15px !important;
    border-bottom: 1px solid #eee !important;
    text-align: center;
}

.date-text {
    font-size: 0.8rem !important;
    color: #777 !important;
    margin: 0 !important;
}

.card-logo-wrapper {
    padding: 20px !important;
    text-align: center;
    background: #ffffff !important;
    border-bottom: 1px solid #f5f5f5 !important;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feed-logo {
    max-height: 40px !important;
    width: auto !important;
}

.dordtfeed-card .card-body {
    padding: 20px !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.dordtfeed-card .card-title {
    margin: 0 0 15px 0 !important;
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
    min-height: 3em;
}

.dordtfeed-card .card-title a {
    color: #222 !important;
    text-decoration: none !important;
}

.dordtfeed-card .card-title a:hover {
    color: #0073aa !important;
}

.desc-text {
    font-size: 0.92rem !important;
    color: #555 !important;
    line-height: 1.6 !important;
    margin-bottom: 25px !important;
    flex-grow: 1;
}

.btn-read-more {
    align-self: center !important;
    background-color: #0073aa !important;
    color: #ffffff !important;
    padding: 10px 25px !important;
    border-radius: 5px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background-color 0.2s, transform 0.2s !important;
    border: none !important;
    margin-top: auto;
}

.btn-read-more:hover {
    background-color: #005a87 !important;
    color: #ffffff !important;
    transform: scale(1.05);
}

@media (max-width: 650px) {
    .dordtfeed-card {
        width: 100% !important;
        max-width: 350px;
    }
}

/* TOEGEVOEGDE STIJLEN VOOR ZOEKBALK & RESET */
.dordtfeed-controls {
    text-align: center;
    width: 100%;
    margin-bottom: 25px !important;
}

#dordtfeed-search {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    border: 1px solid #ccc !important;
    border-radius: 5px;
    font-size: 14px;
}

#btn-reset-all {
    background-color: #f1f1f1 !important;
    border-color: #ccc !important;
    color: #333 !important;
}

#btn-reset-all.active {
    background-color: #333 !important;
    color: #fff !important;
}