   
  
        /* Announcements Page Styles */
        .announcements-hero {
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/announcements-bg.jpg') center/cover no-repeat;
            color: white;
            text-align: center;
            padding: 120px 20px 80px;
            margin-bottom: 60px;
        }
        
        .announcements-hero h1 {
            font-family: 'Playfair Display', serif;
            font-size: 3rem;
            margin-bottom: 20px;
            color: #fff;
        }
        
        .announcements-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .announcements-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 60px;
        }
        
        .announcement-card {
            background: #fff;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .announcement-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }
        
        /* Featured badge */
        .featured-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: #e67e22;
            color: white;
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        /* Loading state */
        .loading {
            text-align: center;
            padding: 40px 0;
            font-size: 1.2rem;
            color: #666;
        }
        
        .loading:after {
            content: '...';
            display: inline-block;
            animation: dots 1.5s steps(5, end) infinite;
        }
        
        @keyframes dots {
            0%, 20% { content: '.'; }
            40% { content: '..'; }
            60%, 100% { content: '...'; }
        }
        
        /* Error message */
        .error-message {
            grid-column: 1 / -1;
            text-align: center;
            padding: 40px 20px;
            color: #e74c3c;
            background: #fde8e6;
            border-radius: 8px;
            margin: 20px 0;
        }
        
        /* No announcements */
        .no-announcements {
            grid-column: 1 / -1;
            text-align: center;
            padding: 40px 20px;
            color: #666;
            font-style: italic;
        }
        
        .announcement-image {
            height: 220px;
            background-size: cover;
            background-position: center;
            position: relative;
        }
        
        .announcement-date {
            position: absolute;
            top: 15px;
            left: 15px;
            background: rgba(139, 90, 43, 0.9);
            color: white;
            padding: 8px 15px;
            border-radius: 4px;
            font-size: 0.9rem;
            font-weight: 500;
        }
        
        .announcement-content {
            padding: 25px;
        }
        
        .announcement-category {
            display: inline-block;
            background: #f5f5f5;
            color: #8B5A2B;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .announcement-title {
            font-family: 'Playfair Display', serif;
            font-size: 1.5rem;
            margin: 0 0 15px 0;
            color: #333;
            line-height: 1.3;
        }
        
        .announcement-excerpt {
            color: #666;
            margin-bottom: 20px;
            line-height: 1.6;
        }
        
        .read-more {
            color: #8B5A2B;
            font-weight: 500;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            transition: all 0.3s ease;
        }
        
        .read-more i {
            margin-left: 5px;
            transition: transform 0.3s ease;
        }
        
        .read-more:hover {
            color: #6d4722;
        }
        
        .read-more:hover i {
            transform: translateX(5px);
        }
        
        .no-announcements {
            text-align: center;
            padding: 60px 20px;
            color: #666;
            font-size: 1.1rem;
            grid-column: 1 / -1;
        }
        
        .pagination {
            display: flex;
            justify-content: center;
            margin: 40px 0;
            flex-wrap: wrap;
            gap: 5px;
        }
        
        .pagination a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            margin: 0 5px;
            background: #f5f5f5;
            color: #333;
            text-decoration: none;
            border-radius: 4px;
            transition: all 0.3s ease;
        }
        
        .pagination a:hover:not(.disabled):not(.active) {
            background: #e0e0e0;
        }
        
        .pagination a.active {
            background: #5d4037;
            color: white;
            font-weight: 600;
        }
        
        .pagination a.disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        .pagination a {
            color: #8B5A2B;
            padding: 8px 16px;
            text-decoration: none;
            border: 1px solid #ddd;
            margin: 0 4px;
            border-radius: 4px;
            transition: all 0.3s ease;
        }
        
        .pagination a.active, 
        .pagination a:hover:not(.disabled) {
            background: #8B5A2B;
            color: white;
            border-color: #8B5A2B;
        }
        
        .pagination a.disabled {
            color: #ddd;
            cursor: not-allowed;
        }
        
        @media (max-width: 768px) {
            .announcements-hero h1 {
                font-size: 2.2rem;
            }
            
            .announcements-grid {
                grid-template-columns: 1fr;
            }
            
            .announcement-card {
                max-width: 100%;
            }
        }


        /* Announcement Cards */
.announcement-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Category Badges */
.announcement-category .badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

/* Loading Animation */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.loading {
    animation: pulse 1.5s infinite;
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* Responsive Grid */
.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Focus States */
button:focus, a:focus {
    outline: 3px solid #8b5a2b;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .announcement-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #eee;
        margin-bottom: 1rem;
    }
    
    .filters {
        display: none;
    }
}


/* Filter Container */
.filters-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 1.5rem 0 2.5rem;
}

.filter-scroll {
    display: flex;
    gap: 0.75rem;
    padding: 0.5rem 0.25rem;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #d1d1d1 transparent;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.filter-scroll::-webkit-scrollbar {
    height: 6px;
}

.filter-scroll::-webkit-scrollbar-thumb {
    background-color: #d1d1d1;
    border-radius: 10px;
}

/* Filter Buttons */
.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    color: #555;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-btn i {
    font-size: 0.9em;
    transition: transform 0.2s ease;
}

.filter-btn:hover {
    background: #f0f2f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.filter-btn.active {
    background: #8b5a2b;
    border-color: #8b5a2b;
    color: white;
    box-shadow: 0 4px 12px rgba(78, 115, 223, 0.25);
}

/* Category-specific button colors */
.filter-btn[data-filter="exhibition"]:hover {
    border-color: #8b5a2b;
    color: #8b5a2b;
}

.filter-btn[data-filter="event"]:hover {
    border-color: #1cc88a;
    color: #1cc88a;
}

.filter-btn[data-filter="news"]:hover {
    border-color: #36b9cc;
    color: #36b9cc;
}

.filter-btn[data-filter="workshop"]:hover {
    border-color: #f6c23e;
    color: #d6a10c;
}

.filter-btn[data-filter="artist"]:hover {
    border-color: #6f42c1;
    color: #6f42c1;
}

/* Active states with category colors */
.filter-btn[data-filter="exhibition"].active { background: #4e73df; border-color: #4e73df; }
.filter-btn[data-filter="event"].active { background: #1cc88a; border-color: #1cc88a; }
.filter-btn[data-filter="news"].active { background: #36b9cc; border-color: #36b9cc; }
.filter-btn[data-filter="workshop"].active { background: #f6c23e; border-color: #f6c23e; color: #000; }
.filter-btn[data-filter="artist"].active { background: #6f42c1; border-color: #6f42c1; }

/* Scroll buttons for mobile */
.filter-scroll-buttons {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    justify-content: space-between;
    pointer-events: none;
}

.scroll-btn {
    pointer-events: all;
    background: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    transform: scale(1.1);
}

.scroll-btn.left { left: -18px; }
.scroll-btn.right { right: -18px; }

/* Responsive styles */
@media (max-width: 992px) {
    .filter-scroll {
        padding: 0.5rem 1rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .filters-container {
        margin: 1rem 0 1.5rem;
    }
    
    .filter-scroll {
        padding: 0.5rem 0.75rem;
        scroll-padding: 0 1rem;
    }
    
    .filter-btn {
        padding: 0.55rem 1rem;
        font-size: 0.8rem;
    }
    
    .filter-scroll-buttons {
        display: flex;
    }
}
    