:root {
            --cose-primary: #1a6e46;       /* Primary brand green */
            --cose-primary-dark: #0d4b2a;  /* Darker green for contrast */
            --cose-primary-light: #4c9d6f; /* Lighter green */
            --cose-secondary: #f5f0e6;     /* Beige for backgrounds */
            --cose-accent: #e63946;        /* Red for important actions */
            --cose-text: #333333;          /* High contrast text */
            --cose-text-light: #6c757d;    /* Secondary text */
            --cose-bg-light: #f8f9fa;      /* Light background */
            --cose-white: #ffffff;         /* Pure white */
            --cose-black: #212529;         /* Almost black */
        }
        
        body {
            background-color: var(--cose-secondary);
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            color: var(--cose-text);
            line-height: 1.6;
        }
        
        /* Header Section */
        .announcement-header {
            background: linear-gradient(135deg, var(--cose-primary) 0%, var(--cose-primary-dark) 100%);
            color: var(--cose-white);
            padding: 3rem 0 2rem;
            margin-bottom: 2rem;
            position: relative;
        }
        
        .header-content {
            position: relative;
            z-index: 2;
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 1rem;
            margin-top: 1.5rem;
        }
        
        .stat-item {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(5px);
            border-radius: 8px;
            padding: 1rem;
            text-align: center;
        }
        
        .stat-number {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
            color: var(--cose-white);
        }
        
        .stat-label {
            font-size: 0.8rem;
            opacity: 0.9;
        }
        
        /* Filter Controls */
        .filter-controls {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            align-items: center;
            margin: 1.5rem 0;
            padding: 1rem 0;
            border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        }
        
        .filter-group {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .filter-label {
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--cose-text-light);
        }
        
        .filter-select {
            border: 1px solid #dee2e6;
            border-radius: 6px;
            padding: 0.375rem 1.75rem 0.375rem 0.75rem;
            font-size: 0.9rem;
            background-color: var(--cose-white);
            transition: border-color 0.15s ease-in-out;
        }
        
        .filter-select:focus {
            border-color: var(--cose-primary-light);
            outline: 0;
            box-shadow: 0 0 0 0.25rem rgba(26, 110, 70, 0.25);
        }
        
        /* Update Cards */
        .updates-container {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.25rem;
            margin: 2rem 0;
        }
        
        .update-card {
            background: var(--cose-white);
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            border: none;
            overflow: hidden;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        
        .update-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
        }
        
        .card-header {
            padding: 1rem 1.25rem;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: var(--cose-bg-light);
        }
        
        .card-body {
            padding: 1.25rem;
        }
        
                .update-type {
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .mhcs-type {
            background-color: #28a745;
        }
        
        .org-type, .organization-type {
            background-color: #6f42c1;
        }
        
        .update-date {
            font-size: 0.8rem;
            color: var(--cose-text-light);
            display: flex;
            align-items: center;
        }
        
        .update-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: var(--cose-primary-dark);
        }
        
        .update-meta {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
            flex-wrap: wrap;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            font-size: 0.8rem;
            color: var(--cose-text-light);
        }
        
        /* Pagination */
        .pagination {
            margin-top: 2rem;
        }
        
        .page-item.active .page-link {
            background-color: var(--cose-primary);
            border-color: var(--cose-primary);
        }
        
        .page-link {
            color: var(--cose-primary);
        }
        
        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .announcement-header {
                padding: 2rem 0 1.5rem;
            }
            
            .stats-grid {
                grid-template-columns: 1fr 1fr;
            }
            
            .filter-controls {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.75rem;
            }
        }
        
        /* Filter Section Styles */
        .filter-section {
            background: var(--cose-white);
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            margin-bottom: 2rem;
        }
        
        .filter-section .card-title {
            color: var(--cose-primary);
            font-weight: 600;
        }
        
        .filter-section .form-select {
            border: 2px solid #e9ecef;
            border-radius: 8px;
            transition: border-color 0.3s ease;
        }
        
        .filter-section .form-select:focus {
            border-color: var(--cose-primary);
            box-shadow: 0 0 0 0.2rem rgba(26, 110, 70, 0.25);
        }
        
        .filter-section .btn-primary {
            background-color: var(--cose-primary);
            border-color: var(--cose-primary);
            border-radius: 8px;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .filter-section .btn-primary:hover {
            background-color: var(--cose-primary-dark);
            border-color: var(--cose-primary-dark);
            transform: translateY(-1px);
        }
        
        .filter-section .btn-outline-secondary {
            border-radius: 8px;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        /* Last Updated Styles */
        .update-last-modified {
            margin-top: 1rem;
            padding-top: 0.75rem;
            border-top: 1px solid #e9ecef;
        }
        
        .update-last-modified small {
            font-size: 0.875rem;
            color: var(--cose-text-light);
        }
        
        /* Empty State Styles */
        .empty-state {
            padding: 4rem 2rem;
            text-align: center;
        }
        
        .empty-state i {
            font-size: 4rem;
            color: #dee2e6;
            margin-bottom: 1.5rem;
        }
        
        .empty-state h3 {
            color: var(--cose-text-light);
            font-weight: 500;
            margin-bottom: 0.5rem;
        }
        
        .empty-state p {
            color: var(--cose-text-light);
            margin-bottom: 0;
        }
        
        /* Dynamic Type Styles */
        .mhcs-type {
            background-color: #28a745;
            color: white;
        }
        
        .organization-type {
            background-color: #6f42c1;
            color: white;
        }
        
        .policy-type {
            background-color: #17a2b8;
            color: white;
        }
        
        .technology-type {
            background-color: #6c757d;
            color: white;
        }
        
        .research-type {
            background-color: #e83e8c;
            color: white;
        }
        
        .equipment-type {
            background-color: #fd7e14;
            color: white;
        }
        
        .training-type {
            background-color: #20c997;
            color: white;
        }
        
        /* Modal Styles */
        .modal-content {
            border-radius: 12px;
            border: none;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }
        
        .modal-header {
            background: linear-gradient(135deg, var(--cose-primary) 0%, var(--cose-primary-dark) 100%);
            color: var(--cose-white);
            border-radius: 12px 12px 0 0;
            border-bottom: none;
        }
        
        .modal-title {
            font-weight: 600;
        }
        
        .btn-close {
            filter: invert(1);
        }
        
        .modal-body {
            padding: 2rem;
        }
        
        .modal .update-type {
            display: inline-block;
            padding: 0.375rem 0.75rem;
            border-radius: 6px;
            font-size: 0.875rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .modal .update-date {
            color: var(--cose-text-light);
            font-size: 0.9rem;
        }
        
        .modal .update-title {
            color: var(--cose-primary);
            font-weight: 600;
            margin-bottom: 1.5rem;
        }
        
        .modal .update-content p {
            line-height: 1.7;
            color: var(--cose-text);
        }
        
        /* View Button Styles */
        .btn-outline-primary {
            border-color: var(--cose-primary);
            color: var(--cose-primary);
            border-width: 2px;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .btn-outline-primary:hover {
            background-color: var(--cose-primary);
            border-color: var(--cose-primary);
            color: white;
            transform: translateY(-1px);
        }