/**
 * Filter Visibility Fix
 * Ensures filtered items are properly hidden
 */

/* Hide filtered items with maximum specificity */
.article-thumbnail.filtered-out,
.video-thumbnail.filtered-out,
.event-thumbnail.filtered-out,
.speaking-thumbnail.filtered-out {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Ensure grid doesn't allocate space for hidden items */
.articles-grid .article-thumbnail.filtered-out,
.videos-grid .video-thumbnail.filtered-out,
.events-grid .event-thumbnail.filtered-out,
.speaking-grid .speaking-thumbnail.filtered-out {
    display: none !important;
}
