/* ===== UASNewsUS – Navy Gold Theme (Public / Patrick) ===== */
/* Black hero + navy panels + white text + gold decorative borders only */
/* Reference: rprdte.com (RPRDT&E) — Patrick Egan's brand palette */
/* Applied when theme_key === 'navy-gold' (site default) */
/* 2026-07-15: gold text → white per Patrick direction; gold retained for borders/dividers only */

[data-theme-preset='navy-gold'] {
  --bg-primary: #0a0a0a;
  --bg-secondary: #152244;
  --bg-tertiary: #1e3060;
  --bg: #0a0a0a;
  --panel: #152244;
  --panel-2: #1e3060;
  --text-primary: #ffffff;
  --text-secondary: #d0d8e8;
  --text-muted: #7a8499;
  --fg: #ffffff;
  --muted: #7a8499;
  --accent-cyan: #00d4ff;
  --accent-blue: #1a3a7a;
  --accent-gold: #c9a227;
  --accent-red: #c0392b;
  --gold: #c9a227;
  --blue: #1a3a7a;
  --red: #c0392b;
  --border: #2a3a6a;
  --ad-border: rgba(201, 162, 39, 0.3);
  --ad-background: rgba(21, 34, 68, 0.95);
  --border-glow: rgba(201, 162, 39, 0.35);
  --shadow-glow: rgba(201, 162, 39, 0.12);
  --gradient-cyber: linear-gradient(135deg, #0a0a0a 0%, #152244 100%);
  --gradient-badge: linear-gradient(45deg, #2a3a6a, #1e3060);
}

/* White text with subtle blue-white glow — nav highlights, section titles */
[data-theme-preset='navy-gold'] .accent-glow,
[data-theme-preset='navy-gold'] .text-accent {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4), 0 0 20px rgba(0, 212, 255, 0.15);
}

/* Gold border glow for cards and panels — decorative only, not text */
[data-theme-preset='navy-gold'] .border-glow {
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: 0 0 12px rgba(201, 162, 39, 0.15);
}

/* Sponsored/badge labels → white in this theme */
[data-theme-preset='navy-gold'] .sponsored-label,
[data-theme-preset='navy-gold'] .editorial-badge span {
  color: #ffffff;
}

/* Math inline code → white with navy border in this theme */
[data-theme-preset='navy-gold'] .article-content .math {
  color: #ffffff;
  border-color: rgba(201, 162, 39, 0.4);
}

/* ===== Cyan-text overrides for navy-gold — anchor and component level ===== */

/* All links → white. Cyan is cyberpunk-only. */
[data-theme-preset='navy-gold'] a {
  color: #ffffff;
}

[data-theme-preset='navy-gold'] a:hover {
  color: #d0d8e8;
  text-shadow: none;
}

/* Site logo text */
[data-theme-preset='navy-gold'] .site-title {
  color: #ffffff;
  filter: none;
}

/* Drone/asterisk icon — white, no cyan glow */
[data-theme-preset='navy-gold'] .drone-icon {
  color: #ffffff;
  filter: none;
}

/* Nav links */
[data-theme-preset='navy-gold'] .nav a,
[data-theme-preset='navy-gold'] .nav-link {
  color: #ffffff;
}

[data-theme-preset='navy-gold'] .nav a:hover,
[data-theme-preset='navy-gold'] .nav-link:hover {
  color: #d0d8e8;
  text-shadow: none;
}

/* Read more buttons — white text, gold border */
[data-theme-preset='navy-gold'] .read-more {
  color: #ffffff;
  border-color: rgba(201, 162, 39, 0.5);
}

[data-theme-preset='navy-gold'] .read-more:hover {
  background: rgba(201, 162, 39, 0.15);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(201, 162, 39, 0.2);
}

/* Article h2 subheadings */
[data-theme-preset='navy-gold'] .article-content h2 {
  color: #ffffff;
}

/* Category badges — keep dark text on gold/navy badge background */
[data-theme-preset='navy-gold'] .category-badge {
  box-shadow: none;
}

/* Header controls that were still using accent cyan inline or base rules */
[data-theme-preset='navy-gold'] .theme-toggle,
[data-theme-preset='navy-gold'] form[action*='search'] button[type='submit'] {
  color: #ffffff;
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: none;
}

[data-theme-preset='navy-gold'] .theme-toggle:hover,
[data-theme-preset='navy-gold'] form[action*='search'] button[type='submit']:hover {
  color: #ffffff;
  background: rgba(201, 162, 39, 0.15);
  box-shadow: 0 0 12px rgba(201, 162, 39, 0.2);
}

[data-theme-preset='navy-gold'] form[action*='search'] input[type='text'] {
  color: #ffffff;
}

/* Light mode variant for navy-gold theme */
[data-theme='light'][data-theme-preset='navy-gold'] {
  --bg-primary: #f5f7fb;
  --bg-secondary: #e8ecf4;
  --bg-tertiary: #dbe3f0;
  --bg: #f5f7fb;
  --panel: #ffffff;
  --panel-2: #eef2f8;
  --text-primary: #0b1220;
  --text-secondary: #334166;
  --text-muted: #5b6780;
  --fg: #0b1220;
  --muted: #5b6780;
  --border: #c8d0e0;
  --ad-border: rgba(201, 162, 39, 0.28);
  --ad-background: rgba(255, 255, 255, 0.96);
  --border-glow: rgba(201, 162, 39, 0.2);
  --shadow-glow: rgba(201, 162, 39, 0.08);
  --gradient-cyber: linear-gradient(135deg, #f5f7fb 0%, #e8ecf4 100%);
  --gradient-badge: linear-gradient(45deg, #e8ecf4, #dbe3f0);
}

[data-theme='light'][data-theme-preset='navy-gold'] body {
  background: radial-gradient(ellipse at center, #ffffff 0%, #f5f7fb 100%);
}

[data-theme='light'][data-theme-preset='navy-gold'] .header,
[data-theme='light'][data-theme-preset='navy-gold'] .footer {
  background: rgba(245, 247, 251, 0.95);
}

[data-theme='light'][data-theme-preset='navy-gold'] a,
[data-theme='light'][data-theme-preset='navy-gold'] .site-title,
[data-theme='light'][data-theme-preset='navy-gold'] .drone-icon,
[data-theme='light'][data-theme-preset='navy-gold'] .nav a,
[data-theme='light'][data-theme-preset='navy-gold'] .nav-link,
[data-theme='light'][data-theme-preset='navy-gold'] .theme-toggle,
[data-theme='light'][data-theme-preset='navy-gold'] form[action*='search'] button[type='submit'],
[data-theme='light'][data-theme-preset='navy-gold'] form[action*='search'] input[type='text'],
[data-theme='light'][data-theme-preset='navy-gold'] .article-content h2,
[data-theme='light'][data-theme-preset='navy-gold'] .read-more {
  color: #1a2a4a;
}

[data-theme='light'][data-theme-preset='navy-gold'] .read-more:hover {
  color: #1a2a4a;
}

[data-theme='light'][data-theme-preset='navy-gold'] a:hover,
[data-theme='light'][data-theme-preset='navy-gold'] .nav a:hover,
[data-theme='light'][data-theme-preset='navy-gold'] .nav-link:hover {
  color: #334166;
  text-shadow: none;
}
