/* OrbitFunds — indigo + steel, sharp corners, dark hero, thick table */
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&family=Merriweather:wght@700;900&display=swap");

:root {
  --brand: #1B2A4A !important;
  --brand-dark: #121C33 !important;
  --brand-mid: #243868 !important;
  --accent: #6366F1 !important;
  --accent-hover: #818CF8 !important;
  --accent-soft: rgba(99, 102, 241, 0.14) !important;
  --on-accent: #ffffff !important;
  --gold: #6366F1 !important;
  --gold2: #818CF8 !important;
  --bg: #eef0f5 !important;
  --surface: #ffffff !important;
  --ink: #222222 !important;
  --muted: #555555 !important;
  --shell: 94% !important;
  --shell-max: 1400px !important;
  --radius: 0 !important;
  --btn-radius: 0 !important;
  --primary: var(--accent) !important;
  --green: var(--accent) !important;
  --navy: var(--brand) !important;
  --purple: var(--accent) !important;
  --bg-primary: var(--bg) !important;
  --bg-secondary: var(--surface) !important;
  --text-primary: var(--ink) !important;
  --text-secondary: var(--muted) !important;
  --border: rgba(99, 102, 241, 0.25) !important;
  --light: #ffffff !important;
  --paper: var(--bg) !important;
  --font-sans: "Lato", Arial, Helvetica, sans-serif !important;
  --font-display: "Merriweather", Georgia, serif !important;
}

html, body { margin: 0 !important; padding: 0 !important; width: 100% !important; overflow-x: hidden !important; }
body {
  font-family: var(--font-sans) !important; background: #eef0f5 !important; color: #222222 !important;
  line-height: 1.55 !important; min-height: 100vh !important; display: flex !important;
  flex-direction: column !important; align-items: center !important;
}
a { color: #1B2A4A !important; }
a:hover { color: #6366F1 !important; }

header, .nx-header, .site-header, body > header:not(.nx-skip) {
  width: 100% !important; align-self: stretch !important; background: #1B2A4A !important; color: #ffffff !important;
  text-align: center !important; padding: 20px !important; border-bottom: 4px solid #6366F1 !important;
}
.logo, .nx-logo, .logo-text, .logo-link, .header-logo, a.logo-link {
  font-family: "Merriweather", Georgia, serif !important; font-weight: 900 !important;
  font-size: clamp(22px, 5.5vw, 38px) !important; color: #A5B4FC !important; letter-spacing: 0.02em !important; text-decoration: none !important;
}
.logo span { color: #A5B4FC !important; }
.logo-sub, .nx-tagline { font-size: 0.64em !important; font-weight: 700 !important; letter-spacing: 0.2em !important; text-transform: uppercase !important; color: rgba(255,255,255,0.75) !important; margin-top: 5px !important; }
.header-links, .nx-nav { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; justify-content: center !important; margin-top: 14px !important; }
header a, .site-header a, .header-links a, .header-link, .nx-nav a, .btn-ghost, .header-cta, a.header-cta {
  display: inline-flex !important; padding: 9px 18px !important; border: 2px solid #6366F1 !important;
  border-radius: 0 !important; background: transparent !important; color: #C7D2FE !important;
  font-weight: 900 !important; font-size: 13px !important; text-decoration: none !important;
}
header a.logo-link, a.logo-link { display: inline-block !important; border: none !important; background: transparent !important; padding: 0 !important; color: #A5B4FC !important; }
header a:hover, .header-links a:hover, .header-link:hover, .nx-nav a:hover, .header-cta:hover { background: #6366F1 !important; color: #ffffff !important; }
.network-bar { display: none !important; }

.site-network-bar { width: 100% !important; background: #ffffff !important; border-bottom: 1px solid #dddddd !important; padding: 5px 0 !important; }
.site-network-track { width: 94% !important; max-width: 1400px !important; margin: 0 auto !important; padding: 0 15px !important; display: flex !important; align-items: center !important; gap: 5px !important; overflow-x: auto !important; white-space: nowrap !important; }
.site-network-label { font-size: 0.56em !important; font-weight: 900 !important; text-transform: uppercase !important; color: #666666 !important; flex-shrink: 0 !important; }
.site-pill { display: inline-flex !important; padding: 3px 8px !important; border-radius: 0 !important; border: 1px solid #1B2A4A !important; background: #fff !important; color: #1B2A4A !important; font-size: 0.62em !important; font-weight: 700 !important; text-decoration: none !important; flex-shrink: 0 !important; }
.site-pill:hover, .site-pill.current { background: #6366F1 !important; color: #ffffff !important; border-color: #6366F1 !important; }
@media (min-width: 1150px) { .site-network-track { justify-content: center !important; } }

.hero, .nx-hero, section.hero {
  width: 100% !important; background: linear-gradient(150deg, #243868 0%, #121C33 100%) !important;
  color: #ffffff !important; text-align: center !important; padding: 48px 20px 40px !important;
  border-bottom: 1px solid rgba(99,102,241,0.35) !important;
}
.hero h1, .nx-hero h1 { font-family: "Merriweather", Georgia, serif !important; font-weight: 900 !important; font-size: clamp(1.5em, 4vw, 2.4em) !important; color: #ffffff !important; margin: 0 0 12px !important; }
.hero h1 span, .nx-hero h1 span { color: #A5B4FC !important; }
.hero .hero-desc, .nx-hero .nx-support, .hero p { color: rgba(255,255,255,0.9) !important; }
.main-h1 { background: transparent !important; color: #222222 !important; text-align: center !important; padding: 24px 16px 8px !important; }
.main-h1 h1 { color: #1B2A4A !important; }
.intro-text, .top-disclaimer, .subhead { color: #333333 !important; }

.content, .nx-shell, .container, .wrap, #etfTableWrapper { width: 94% !important; max-width: 1400px !important; margin-left: auto !important; margin-right: auto !important; }
.section-head { text-align: left !important; margin: 24px 0 12px !important; display: flex !important; justify-content: space-between !important; align-items: flex-end !important; gap: 16px !important; flex-wrap: wrap !important; }
.section-head h2 { font-family: "Merriweather", Georgia, serif !important; color: #1B2A4A !important; font-weight: 900 !important; margin: 0 !important; border-left: 4px solid #6366F1 !important; padding-left: 12px !important; }
.section-head h2 span { color: #6366F1 !important; }
.section-head p { color: #555555 !important; margin: 6px 0 0 !important; }
.gold-rule { width: 48px !important; height: 4px !important; background: #6366F1 !important; margin: 10px 0 18px !important; border: none !important; }

.browse-link, .btn { border-radius: 0 !important; font-weight: 900 !important; }
.browse-link, .btn-ghost { display: inline-flex !important; padding: 10px 18px !important; border: 2px solid #1B2A4A !important; background: #fff !important; color: #1B2A4A !important; text-decoration: none !important; }
.browse-link.primary, .btn-primary { background: #6366F1 !important; border-color: #6366F1 !important; color: #ffffff !important; }

#filters, .search-wrap { display: flex !important; flex-wrap: wrap !important; gap: 10px !important; justify-content: center !important; width: 100% !important; }
#filters input, #etfSearch, input[type="text"], select, textarea {
  border: 2px solid #cccccc !important; border-radius: 0 !important; padding: 9px 14px !important; background: #ffffff !important; color: #222222 !important;
}
#resetFilters, .search-clear { background: #1B2A4A !important; color: #ffffff !important; border: none !important; padding: 9px 18px !important; border-radius: 0 !important; font-weight: 700 !important; cursor: pointer !important; }

#etfTable, table, .table-card table {
  width: 100% !important; border-collapse: collapse !important; background: #ffffff !important;
  border: 4px solid #1B2A4A !important; box-shadow: 0 6px 24px rgba(27,42,74,0.14) !important;
}
#etfTable th, table th, thead th {
  background: #1B2A4A !important; color: #ffffff !important; font-weight: 700 !important;
  font-size: 0.74em !important; text-transform: uppercase !important; letter-spacing: 0.1em !important; padding: 13px 10px !important;
}
#etfTable td, table td { color: #222222 !important; padding: 11px 10px !important; border-bottom: 1px solid #e4e7ef !important; text-align: center !important; }
#etfTable tbody tr:nth-child(even) { background: #f5f6fa !important; }
.symbol, .symbol a { color: #1B2A4A !important; font-weight: 900 !important; }

.ad-slot.leaderboard, .leaderboard-ad, .display-ad {
  width: 100% !important; max-width: 970px !important; margin: 18px auto 24px !important; min-height: 90px !important;
  background: repeating-linear-gradient(-45deg, #f0f0f0, #f0f0f0 8px, #e8e8e8 8px, #e8e8e8 16px) !important;
  border: 2px dashed #bbbbbb !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important;
  color: #666666 !important; font-weight: 700 !important; font-size: 0.78em !important; text-transform: uppercase !important;
}
.display-ad img, .display-ad a { display: none !important; }
.sponsor-label { color: #666666 !important; }

.disclaimer, .table-meta, .loading, .site-network-label, .sponsor-label, .updated-badge, footer, .footer { color: #555555 !important; }
.footer, footer { width: 90% !important; max-width: 900px !important; margin: 16px auto 28px !important; text-align: center !important; border-top: 1px solid #dddddd !important; padding-top: 12px !important; font-size: 0.85em !important; line-height: 1.9 !important; }
.footer a { color: #1B2A4A !important; font-weight: 700 !important; }
.back-to-top { background: #1B2A4A !important; color: #ffffff !important; border-radius: 0 !important; padding: 8px 22px !important; border: none !important; font-weight: 700 !important; }
.stars, .orb, body::before { display: none !important; }

/* Share / Post — readable on light canvas (below dark hero) */
.share-buttons { display: flex !important; gap: 12px !important; justify-content: center !important; flex-wrap: wrap !important; margin: 18px auto 8px !important; }
.share-btn, a.share-btn {
  display: inline-flex !important; align-items: center !important; gap: 6px !important;
  padding: 8px 14px !important; border-radius: 0 !important;
  font-weight: 800 !important; font-size: 0.85em !important; text-decoration: none !important;
  color: #222222 !important; background: #ffffff !important;
  border: 1.5px solid #1B2A4A !important; box-shadow: none !important;
}
.share-btn:hover, a.share-btn:hover {
  background: #f4f5f9 !important; color: #111111 !important; border-color: #6366F1 !important;
}
.share-btn.fb, a.share-btn.fb, .fb.share-btn {
  color: #1877F2 !important; border-color: #1877F2 !important; background: #ffffff !important;
}
.share-btn.x, a.share-btn.x, .x.share-btn, .share-btn.xbtn, a.share-btn.xbtn {
  color: #111111 !important; border-color: #111111 !important; background: #ffffff !important;
}
.share-btn svg { width: 15px !important; height: 15px !important; fill: currentColor !important; }
