/* News Filter CSS - Ohne Animationen */

/* News-Karten ohne Transition-Animationen */
.news-card {
    /* Keine Animationen beim Ein-/Ausblenden */
    transition: none !important;
    animation: none !important;
}

/* Filter-Buttons */
.filter-btn {
    padding: 10px 20px;
    margin: 5px;
    border: 2px solid #dee2e6;
    background: #ffffff;
    color: #6c757d;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    outline: none;
}

.filter-btn:hover {
    border-color: #007bff;
    color: #007bff;
    background: #f8f9fa;
}

.filter-btn.active {
    background: #007bff;
    color: #ffffff;
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

/* News-Grid Layout */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Sofortige Sichtbarkeit ohne Animationen */
.news-card[style*="display: block"] {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

.news-card[style*="display: none"] {
    opacity: 0 !important;
    transform: translateY(0) !important;
    visibility: hidden !important;
}

/* Filter-Container */
.news-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 2rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 15px;
}

/* Responsive Design für Filter */
@media (max-width: 768px) {
    .news-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
        text-align: center;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Fade-In Klasse komplett deaktivieren */
.fade-in {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

/* Sicherstellen, dass keine CSS-Animationen stören */
.news-card * {
    transition: none !important;
    animation: none !important;
}

/* Nur Button-Hover-Effekte beibehalten */
.filter-btn, .read-more, .featured-read-more {
    transition: all 0.2s ease !important;
}

/* Debug-Hilfe: News-Karten mit sichtbarem Rand */
.news-card.debug-visible {
    border: 2px solid #28a745 !important;
    background: #d4edda !important;
}

.news-card.debug-hidden {
    border: 2px solid #dc3545 !important;
    background: #f8d7da !important;
} 