/* News page dark mode fixes */
body.dark-mode { background-color: #121212; color: #e0e0e0; }
body.dark-mode .header { background: #181818 !important; }
body.dark-mode .nav-links a { color: #e0e0e0 !important; }
body.dark-mode .page-header { background: #1e1e1e; border-bottom: 1px solid #2a2a2a; }
body.dark-mode .breadcrumbs a { color: #90caf9; }
body.dark-mode .news-archive-section { background: #121212; }
body.dark-mode .news-filter { background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 8px; }
body.dark-mode .filter-controls { background: transparent; }
body.dark-mode .search-box input, body.dark-mode select {
  background: #1e1e1e; color: #e0e0e0; border: 1px solid #333; border-radius: 6px;
}
body.dark-mode .news-card { background: #1e1e1e; border: 1px solid #2a2a2a; border-radius: 12px; }
body.dark-mode .news-card-content { color: #e0e0e0; }
body.dark-mode .news-card h3 { color: #ffffff; }
body.dark-mode .news-card .news-date { color: #b0b0b0; }
body.dark-mode .news-category { background: #263445; color: #90caf9; }
body.dark-mode .read-more-btn { background: #2c3e50; color: #fff; border: 1px solid #2c3e50; }
body.dark-mode .footer { background: #181818; color: #e0e0e0; }
body.dark-mode .footer a { color: #90caf9; }

/* Additional dark mode fixes for news filter and pagination */
body.dark-mode .news-filter h2 { color: #ffffff; }
body.dark-mode .filter-controls { border-top: 1px solid #2a2a2a; border-bottom: 1px solid #2a2a2a; padding: 0.75rem; border-radius: 8px; }
body.dark-mode .search-box button { background: #2c3e50; color: #fff; border: 1px solid #2c3e50; border-radius: 6px; }
body.dark-mode .search-box button i { color: #fff; }
body.dark-mode .filter-dropdown select { background: #1e1e1e; color: #e0e0e0; border: 1px solid #333; }
body.dark-mode .news-card-content a { color: #90caf9; }
body.dark-mode .news-card-content a:hover { color: #64b5f6; }
body.dark-mode .pagination { color: #b0b0b0; }
body.dark-mode .pagination .current-page { color: #b0b0b0; }
body.dark-mode .page-btn { background: #1e1e1e; color: #e0e0e0; border: 1px solid #333; border-radius: 6px; }
body.dark-mode .page-btn:disabled { opacity: 0.5; }
body.dark-mode .page-btn:not(:disabled):hover { background: #2a2a2a; }
/* Fix light backgrounds coming from generic wrappers */
body.dark-mode .main-content { background: #121212 !important; color: #e0e0e0 !important; }
body.dark-mode .page-header .content-wrapper,
body.dark-mode .news-archive-section .content-wrapper { background: transparent !important; color: #e0e0e0 !important; }
body.dark-mode .news-grid { background: transparent !important; }
body.dark-mode .news-card-image { background: #0f0f0f; }