:root {
  --brand-navy: #12233F;
  --brand-gold: #F5A524;
  --brand-navy-dark: #0B172A;
  --brand-surface: #F8FAFC;
}

body {
  color: var(--brand-navy);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Inter', sans-serif;
}

main a:not(.btn):not(.nav-link),
footer a {
  color: var(--brand-navy);
}

main a:not(.btn):not(.nav-link):hover,
footer a:hover {
  color: #8A5A00;
}

.card,
.portal-card,
.filter-card,
.action-bar,
.sidebar-card,
.library-sidebar-card,
.article-header-card,
.article-body-card {
  border-radius: 8px !important;
}

.navbar {
  border-bottom-color: rgba(245, 165, 36, .55) !important;
}

.navbar-brand,
.navbar-brand:hover,
.nav-link:hover,
.nav-link.active,
.text-primary {
  color: var(--brand-navy) !important;
}

.nav-link {
  color: #475569 !important;
}

.nav-link:hover,
.nav-link.active {
  border-bottom-color: var(--brand-gold) !important;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--brand-navy) !important;
  border-color: var(--brand-navy) !important;
  color: #fff !important;
}

.btn-outline-primary {
  color: var(--brand-navy) !important;
  border-color: var(--brand-navy) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--brand-navy) !important;
  color: #fff !important;
}

.form-control:focus,
.custom-select:focus {
  border-color: var(--brand-gold) !important;
  box-shadow: 0 0 0 .2rem rgba(245, 165, 36, .2) !important;
}

header[class*="hero"],
section[class*="hero"],
.hero-banner,
.hero-forum {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #1F3B64 100%) !important;
}

.badge-primary,
.bg-primary {
  background-color: var(--brand-navy) !important;
}

.border-primary {
  border-color: var(--brand-gold) !important;
}

[style*="color:#007bff"],
[style*="color: #007bff"],
[style*="color:#0284c7"],
[style*="color: #0284c7"],
[style*="color:#0369a1"],
[style*="color: #0369a1"],
[style*="color:#0a3663"],
[style*="color: #0a3663"] {
  color: var(--brand-navy) !important;
}

[style*="background:#007bff"],
[style*="background: #007bff"],
[style*="background:#0284c7"],
[style*="background: #0284c7"],
[style*="background-color:#0284c7"],
[style*="background-color: #0284c7"] {
  background: var(--brand-navy) !important;
}

[style*="border-color:#0284c7"],
[style*="border-color: #0284c7"] {
  border-color: var(--brand-navy) !important;
}
