/* 
 * Nieuwsberichten - Complete standalone CSS
 * Alle originele styling (zonder comments)
 */

:root {
            --primary: #d2691e;
            --secondary: #173752;
            --light: #f8f9fa;
            --grey: #667788;
            --light-grey: #e9ecef;
            --border: #dee2e6;
            --success: #28a745;
            --warning: #ffc107;
            --danger: #dc3545;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.6;
            color: #333;
        }

        .news-content-section {
            padding: 20px 0;
            background-color: var(--light);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .loading-state {
            text-align: center;
            padding: 60px 20px;
            background: white;
            border-radius: 15px;
            border: 1px solid var(--border);
        }

        .loading-spinner {
            width: 50px;
            height: 50px;
            border: 4px solid var(--light-grey);
            border-top: 4px solid var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .news-filters {
            background-color: white;
            border-radius: 15px;
            padding: 25px;
            margin-bottom: 20px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.03);
            border: 1px solid var(--border);
        }

        .filter-tabs {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
        }

        .filter-tab {
            padding: 6px 12px;
            border: 2px solid var(--light-grey);
            border-radius: 18px;
            background: transparent;
            color: var(--grey);
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.8rem;
        }

        .filter-tab.active {
            background-color: var(--primary);
            border-color: var(--primary);
            color: white;
        }

        .filter-tab:hover:not(.active) {
            border-color: var(--primary);
            color: var(--primary);
        }

        .news-section {
            margin-bottom: 50px;
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, 380px);
            gap: 30px;
            justify-content: start;
        }

        .news-card {
            background-color: white;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
            border: 1px solid var(--border);
            overflow: hidden;
            transition: all 0.3s ease;
            position: relative;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            height: 100%;
            animation: fadeInUp 0.6s ease forwards;
        }

        .news-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.12);
            border-color: var(--primary);
        }

        .news-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            background: linear-gradient(135deg, var(--light-grey) 0%, white 100%);
        }

        .news-date-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--primary);
            color: white;
            padding: 8px 15px;
            border-radius: 25px;
            font-size: 0.85rem;
            font-weight: 700;
            z-index: 2;
            box-shadow: 0 2px 10px rgba(210, 105, 30, 0.3);
        }

        .news-content {
            padding: 25px 25px 15px 30px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .news-categories {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 15px;
        }

        .category-tag {
            display: inline-block;
            padding: 4px 10px;
            background: rgba(210, 105, 30, 0.15);
            color: var(--primary);
            border-radius: 15px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .news-title {
            font-size: 1.4rem;
            color: var(--secondary);
            margin-bottom: 15px;
            font-weight: 600;
            line-height: 1.3;
            padding-right: 60px;
        }

        .news-excerpt {
            color: var(--grey);
            font-size: 0.95rem;
            line-height: 1.5;
            margin-bottom: 20px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            flex: 1;
        }

        .news-footer {
            padding: 0 30px 25px;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 15px;
            margin-top: auto;
        }

        .news-button {
            padding: 10px 20px;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            background-color: var(--primary);
            color: white !important;
            display: inline-block;
            text-align: center;
            box-shadow: 0 2px 8px rgba(210, 105, 30, 0.2);
        }

        .news-button:hover {
            background-color: #b85c1a;
            transform: translateY(-2px);
            text-decoration: none;
            color: white !important;
            box-shadow: 0 4px 12px rgba(210, 105, 30, 0.3);
        }

        .news-button:active {
            transform: translateY(0);
            box-shadow: 0 1px 4px rgba(210, 105, 30, 0.2);
        }

        .error-state {
            text-align: center;
            padding: 60px 20px;
            background: white;
            border-radius: 15px;
            border: 1px solid var(--border);
        }

        .error-icon {
            width: 80px;
            height: 80px;
            background: rgba(220, 53, 69, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: var(--danger);
            font-size: 32px;
        }

        .error-title {
            font-size: 1.5rem;
            color: var(--secondary);
            margin-bottom: 10px;
        }

        .error-description {
            color: var(--grey);
            margin-bottom: 25px;
        }

        .empty-state {
            text-align: center;
            padding: 60px 20px;
            background: white;
            border-radius: 15px;
            border: 1px solid var(--border);
        }

        .empty-icon {
            width: 80px;
            height: 80px;
            background: rgba(210, 105, 30, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: var(--primary);
            font-size: 32px;
        }

        .empty-title {
            font-size: 1.5rem;
            color: var(--secondary);
            margin-bottom: 10px;
        }

        .empty-description {
            color: var(--grey);
            margin-bottom: 25px;
        }

        @media (max-width: 1200px) {
            .news-grid {
                justify-content: center;
            }
        }

        @media (max-width: 900px) {
            .news-grid {
                grid-template-columns: repeat(auto-fill, 350px);
                gap: 25px;
            }
        }

        @media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        justify-content: stretch;
        gap: 20px;
    }

    .news-image {
        height: 150px;
    }

    .filter-tabs {
        justify-content: center;
    }

    .news-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .news-button {
        text-align: center;
    }
}

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
