/**
 * News and Gallery Page Fixes
 * Override any conflicting styles
 */

/* ==========================================
   Page Headers - Force White Text
   ========================================== */

.page-header .page-title,
.page-header h1 {
    color: #ffffff !important;
}

.page-header .page-subtitle,
.page-header p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ==========================================
   News Cards - Proper Colors
   ========================================== */

.news-card .card-title,
.news-card .card-title a {
    color: #1f2937 !important;
    text-decoration: none;
}

.news-card .card-title a:hover {
    color: #73281E !important;
}

.news-card .card-link {
    color: #73281E !important;
    font-weight: 600;
}

.news-card .card-link:hover {
    color: #5a1f17 !important;
}

/* ==========================================
   Category Filter Buttons
   ========================================== */

.news-filter-btn,
.gallery-filter-btn {
    background: #ffffff !important;
    border: 2px solid #e5e7eb !important;
    color: #374151 !important;
}

.news-filter-btn:hover,
.gallery-filter-btn:hover {
    background: #f3f4f6 !important;
    border-color: #73281E !important;
    color: #73281E !important;
}

.news-filter-btn.active,
.gallery-filter-btn.active {
    background: #73281E !important;
    border-color: #73281E !important;
    color: #ffffff !important;
}

/* ==========================================
   Gallery Grid Layout
   ========================================== */

.photo-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 20px !important;
}

@media (max-width: 1024px) {
    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .photo-grid {
        grid-template-columns: 1fr !important;
    }
}
