/* ==========================================================================
   YLY News Section - Light & Dark Mode Complete Stylesheet
   ========================================================================== */

/* ── Light Mode Root Overrides ── */
body.theme-light .news-page-root,
html.theme-light .news-page-root,
[data-theme="light"] .news-page-root,
.theme-light .news-page-root {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

/* ── Hero Section Light Mode ── */
body.theme-light .news-hero-section,
html.theme-light .news-hero-section,
[data-theme="light"] .news-hero-section {
  background: #ffffff !important;
  border-bottom: 1px solid var(--border, #d6e4ff) !important;
  box-shadow: 0 2px 10px rgba(30, 64, 175, 0.04) !important;
}

body.theme-light .news-hero-title,
html.theme-light .news-hero-title,
[data-theme="light"] .news-hero-title {
  color: #0f2557 !important;
  text-shadow: none !important;
}

body.theme-light .news-hero-subtitle,
html.theme-light .news-hero-subtitle,
[data-theme="light"] .news-hero-subtitle {
  color: #2f4272 !important;
  line-height: 1.8 !important;
  font-size: 1rem !important;
}

body.theme-light .news-hero-badge,
html.theme-light .news-hero-badge,
[data-theme="light"] .news-hero-badge {
  background: #eef4ff !important;
  border-color: #d6e4ff !important;
  color: #1d4ed8 !important;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.08) !important;
}

body.theme-light .news-hero-glow,
html.theme-light .news-hero-glow,
[data-theme="light"] .news-hero-glow {
  display: none !important;
  opacity: 0 !important;
}
/* ── Filter Tabs Light Mode ── */
body.theme-light .news-filter-tab,
html.theme-light .news-filter-tab,
[data-theme="light"] .news-filter-tab {
  background: #ffffff !important;
  color: #334155 !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

body.theme-light .news-filter-tab:hover,
html.theme-light .news-filter-tab:hover,
[data-theme="light"] .news-filter-tab:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}

body.theme-light .news-filter-tab.active,
html.theme-light .news-filter-tab.active,
[data-theme="light"] .news-filter-tab.active {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28) !important;
}

/* ── Search Input & Select Light Mode ── */
body.theme-light .news-search-input,
html.theme-light .news-search-input,
[data-theme="light"] .news-search-input {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

body.theme-light .news-search-input::placeholder,
html.theme-light .news-search-input::placeholder,
[data-theme="light"] .news-search-input::placeholder {
  color: #94a3b8 !important;
}

body.theme-light .news-search-input:focus,
html.theme-light .news-search-input:focus,
[data-theme="light"] .news-search-input:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

body.theme-light .news-select-box,
html.theme-light .news-select-box,
[data-theme="light"] .news-select-box {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

/* ── Featured Card Light Mode ── */
body.theme-light .news-card-featured,
html.theme-light .news-card-featured,
[data-theme="light"] .news-card-featured {
  background: var(--card-mesh, radial-gradient(circle at 12% 15%, rgba(184, 208, 255, 0.82) 0%, transparent 45%), radial-gradient(circle at 88% 85%, rgba(203, 220, 255, 0.85) 0%, transparent 45%), radial-gradient(circle at 50% 50%, rgba(191, 227, 255, 0.75) 0%, transparent 50%), radial-gradient(circle at 92% 10%, rgba(211, 216, 255, 0.65) 0%, transparent 35%), #EAF1FF) !important;
  border: var(--card-mesh-border, 1px solid rgba(37, 99, 235, 0.25)) !important;
  box-shadow: var(--card-mesh-shadow, 0 10px 30px rgba(37, 99, 235, 0.18)) !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

body.theme-light .news-card-featured:hover,
html.theme-light .news-card-featured:hover,
[data-theme="light"] .news-card-featured:hover {
  border-color: rgba(37, 99, 235, 0.35) !important;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.18) !important;
  transform: translateY(-4px) !important;
}

body.theme-light .news-card-featured .featured-gradient-desktop,
html.theme-light .news-card-featured .featured-gradient-desktop,
[data-theme="light"] .news-card-featured .featured-gradient-desktop {
  background: linear-gradient(to left, var(--surface, #ffffff), transparent, transparent) !important;
}

body.theme-light .news-card-featured .featured-title,
html.theme-light .news-card-featured .featured-title,
[data-theme="light"] .news-card-featured .featured-title {
  color: var(--text-title, #0f2557) !important;
}

body.theme-light .news-card-featured:hover .featured-title,
html.theme-light .news-card-featured:hover .featured-title,
[data-theme="light"] .news-card-featured:hover .featured-title {
  color: var(--text-link, #1d4ed8) !important;
}

body.theme-light .news-card-featured .featured-excerpt,
html.theme-light .news-card-featured .featured-excerpt,
[data-theme="light"] .news-card-featured .featured-excerpt {
  color: var(--text-secondary, #4a5d88) !important;
}

/* ── Normal Card Light Mode ── */
body.theme-light .news-card-normal,
html.theme-light .news-card-normal,
[data-theme="light"] .news-card-normal {
  background: var(--card-mesh, radial-gradient(circle at 12% 15%, rgba(184, 208, 255, 0.82) 0%, transparent 45%), radial-gradient(circle at 88% 85%, rgba(203, 220, 255, 0.85) 0%, transparent 45%), radial-gradient(circle at 50% 50%, rgba(191, 227, 255, 0.75) 0%, transparent 50%), radial-gradient(circle at 92% 10%, rgba(211, 216, 255, 0.65) 0%, transparent 35%), #EAF1FF) !important;
  border: var(--card-mesh-border, 1px solid rgba(37, 99, 235, 0.25)) !important;
  box-shadow: var(--card-mesh-shadow, 0 10px 30px rgba(37, 99, 235, 0.18)) !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}
body.theme-light .news-card-normal:nth-child(2n),
html.theme-light .news-card-normal:nth-child(2n),
[data-theme="light"] .news-card-normal:nth-child(2n) {
  background: var(--card-mesh-alt) !important;
}
body.theme-light .news-card-normal:nth-child(3n),
html.theme-light .news-card-normal:nth-child(3n),
[data-theme="light"] .news-card-normal:nth-child(3n) {
  background: var(--card-mesh-alt2) !important;
}

body.theme-light .news-card-normal:hover,
html.theme-light .news-card-normal:hover,
[data-theme="light"] .news-card-normal:hover {
  border-color: rgba(37, 99, 235, 0.35) !important;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.18) !important;
  transform: translateY(-4px) !important;
}

body.theme-light .news-card-normal .card-title,
html.theme-light .news-card-normal .card-title,
[data-theme="light"] .news-card-normal .card-title {
  color: var(--text-title, #0f2557) !important;
}

body.theme-light .news-card-normal:hover .card-title,
html.theme-light .news-card-normal:hover .card-title,
[data-theme="light"] .news-card-normal:hover .card-title {
  color: var(--text-link, #1d4ed8) !important;
}

body.theme-light .news-card-normal .card-excerpt,
html.theme-light .news-card-normal .card-excerpt,
[data-theme="light"] .news-card-normal .card-excerpt {
  color: var(--text-secondary, #4a5d88) !important;
}

body.theme-light .news-meta-pill,
html.theme-light .news-meta-pill,
[data-theme="light"] .news-meta-pill {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  border: 1px solid rgba(37, 99, 235, 0.18) !important;
  color: var(--text-link, #1d4ed8) !important;
}

body.theme-light .news-latest-badge-text,
html.theme-light .news-latest-badge-text,
[data-theme="light"] .news-latest-badge-text {
  color: var(--accent, #2563eb) !important;
}

body.theme-light .news-count-text,
html.theme-light .news-count-text,
[data-theme="light"] .news-count-text {
  color: var(--text-muted, #5b6c93) !important;
}

/* ── Empty State Light Mode ── */
body.theme-light .news-empty-box,
html.theme-light .news-empty-box,
[data-theme="light"] .news-empty-box {
  background: var(--surface, #ffffff) !important;
  border-color: var(--border, #d6e4ff) !important;
  color: var(--text-title, #0f2557) !important;
}

body.theme-light .news-empty-box h3,
html.theme-light .news-empty-box h3,
[data-theme="light"] .news-empty-box h3 {
  color: var(--text-title, #0f2557) !important;
}

body.theme-light .news-empty-box p,
html.theme-light .news-empty-box p,
[data-theme="light"] .news-empty-box p {
  color: var(--text-secondary, #4a5d88) !important;
}

body.theme-light .news-empty-icon-wrap,
html.theme-light .news-empty-icon-wrap,
[data-theme="light"] .news-empty-icon-wrap {
  background: var(--surface-soft, #eef4ff) !important;
  color: var(--text-muted, #5b6c93) !important;
}

/* ── Upcoming Events Section Light Mode ── */
body.theme-light .news-events-section,
html.theme-light .news-events-section,
[data-theme="light"] .news-events-section {
  background: #f1f5f9 !important;
  border-top-color: #e2e8f0 !important;
}

body.theme-light .news-events-section h2,
html.theme-light .news-events-section h2,
[data-theme="light"] .news-events-section h2 {
  color: #0f172a !important;
}

body.theme-light .news-events-section p,
html.theme-light .news-events-section p,
[data-theme="light"] .news-events-section p {
  color: #475569 !important;
}

body.theme-light .news-events-section .event-card,
html.theme-light .news-events-section .event-card,
[data-theme="light"] .news-events-section .event-card {
  background: var(--card-mesh, radial-gradient(circle at 12% 15%, rgba(184, 208, 255, 0.82) 0%, transparent 45%), radial-gradient(circle at 88% 85%, rgba(203, 220, 255, 0.85) 0%, transparent 45%), radial-gradient(circle at 50% 50%, rgba(191, 227, 255, 0.75) 0%, transparent 50%), radial-gradient(circle at 92% 10%, rgba(211, 216, 255, 0.65) 0%, transparent 35%), #EAF1FF) !important;
  border: var(--card-mesh-border, 1px solid rgba(37, 99, 235, 0.25)) !important;
  box-shadow: var(--card-mesh-shadow, 0 10px 30px rgba(37, 99, 235, 0.18)) !important;
}
body.theme-light .news-events-section .event-card:nth-child(2n),
html.theme-light .news-events-section .event-card:nth-child(2n),
[data-theme="light"] .news-events-section .event-card:nth-child(2n) {
  background: var(--card-mesh-alt) !important;
}
body.theme-light .news-events-section .event-card:nth-child(3n),
html.theme-light .news-events-section .event-card:nth-child(3n),
[data-theme="light"] .news-events-section .event-card:nth-child(3n) {
  background: var(--card-mesh-alt2) !important;
}

body.theme-light .news-events-section .event-card:hover,
html.theme-light .news-events-section .event-card:hover,
[data-theme="light"] .news-events-section .event-card:hover {
  border-color: rgba(37, 99, 235, 0.35) !important;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.18) !important;
}

body.theme-light .news-events-section .event-title,
html.theme-light .news-events-section .event-title,
[data-theme="light"] .news-events-section .event-title {
  color: #0f172a !important;
}

body.theme-light .news-events-section .event-meta,
html.theme-light .news-events-section .event-meta,
[data-theme="light"] .news-events-section .event-meta {
  color: #64748b !important;
}

body.theme-light .news-events-section .event-date-box,
html.theme-light .news-events-section .event-date-box,
[data-theme="light"] .news-events-section .event-date-box {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
  color: #1d4ed8 !important;
}

/* ── News Detail Page Light Mode ── */
body.theme-light .news-detail-root,
html.theme-light .news-detail-root,
[data-theme="light"] .news-detail-root {
  background: #f8fafc !important;
  color: #0f172a !important;
}

body.theme-light .news-detail-breadcrumb,
html.theme-light .news-detail-breadcrumb,
[data-theme="light"] .news-detail-breadcrumb {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom-color: #e2e8f0 !important;
}

body.theme-light .news-detail-title,
html.theme-light .news-detail-title,
[data-theme="light"] .news-detail-title {
  color: #0f172a !important;
}

body.theme-light .news-detail-meta,
html.theme-light .news-detail-meta,
[data-theme="light"] .news-detail-meta {
  color: #64748b !important;
}

body.theme-light .news-detail-card,
html.theme-light .news-detail-card,
[data-theme="light"] .news-detail-card {
  background: var(--card-mesh, #ffffff) !important;
  border: var(--card-mesh-border, 1px solid rgba(37, 99, 235, 0.25)) !important;
  color: #1e293b !important;
  box-shadow: var(--card-mesh-shadow, 0 10px 30px rgba(37, 99, 235, 0.18)) !important;
}

body.theme-light .news-detail-card p,
html.theme-light .news-detail-card p,
[data-theme="light"] .news-detail-card p {
  color: #334155 !important;
}

body.theme-light .news-detail-card h2,
body.theme-light .news-detail-card h3,
body.theme-light .news-detail-card h4,
html.theme-light .news-detail-card h2,
html.theme-light .news-detail-card h3,
html.theme-light .news-detail-card h4 {
  color: #0f172a !important;
}

body.theme-light .news-detail-card blockquote,
html.theme-light .news-detail-card blockquote,
[data-theme="light"] .news-detail-card blockquote {
  background: #eff6ff !important;
  border-right-color: #2563eb !important;
  border-left-color: #2563eb !important;
  color: #1e3a8a !important;
}

body.theme-light .news-detail-sidebar-box,
html.theme-light .news-detail-sidebar-box,
[data-theme="light"] .news-detail-sidebar-box {
  background: var(--card-mesh-alt, #ffffff) !important;
  border: var(--card-mesh-border, 1px solid rgba(37, 99, 235, 0.25)) !important;
  box-shadow: var(--card-mesh-shadow, 0 10px 30px rgba(37, 99, 235, 0.18)) !important;
}

body.theme-light .news-detail-sidebar-title,
html.theme-light .news-detail-sidebar-title,
[data-theme="light"] .news-detail-sidebar-title {
  color: #0f172a !important;
}

body.theme-light .news-detail-feedback,
html.theme-light .news-detail-feedback,
[data-theme="light"] .news-detail-feedback {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
}

body.theme-light .news-detail-feedback h3,
html.theme-light .news-detail-feedback h3,
[data-theme="light"] .news-detail-feedback h3 {
  color: #0f172a !important;
}

body.theme-light .news-comment-input,
html.theme-light .news-comment-input,
[data-theme="light"] .news-comment-input {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

/* ── Admin Modal Light Mode ── */
body.theme-light .admin-modal-box,
html.theme-light .admin-modal-box,
[data-theme="light"] .admin-modal-box {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2) !important;
}

body.theme-light .admin-modal-box h3,
html.theme-light .admin-modal-box h3,
[data-theme="light"] .admin-modal-box h3 {
  color: #0f172a !important;
}

body.theme-light .admin-modal-box .admin-close-btn,
html.theme-light .admin-modal-box .admin-close-btn,
[data-theme="light"] .admin-modal-box .admin-close-btn {
  color: #64748b !important;
}

body.theme-light .admin-modal-box .admin-close-btn:hover,
html.theme-light .admin-modal-box .admin-close-btn:hover,
[data-theme="light"] .admin-modal-box .admin-close-btn:hover {
  color: #0f172a !important;
}

body.theme-light .news-form-label,
html.theme-light .news-form-label,
[data-theme="light"] .news-form-label {
  color: #1e293b !important;
}

body.theme-light .news-form-input,
html.theme-light .news-form-input,
[data-theme="light"] .news-form-input {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

body.theme-light .news-form-input::placeholder,
html.theme-light .news-form-input::placeholder,
[data-theme="light"] .news-form-input::placeholder {
  color: #94a3b8 !important;
}

body.theme-light .news-form-input:focus,
html.theme-light .news-form-input:focus,
[data-theme="light"] .news-form-input:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

body.theme-light .news-form-subbox,
html.theme-light .news-form-subbox,
[data-theme="light"] .news-form-subbox {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}
