:root {
  --fr-navy: #17365d;
  --fr-blue: #1f5f9f;
  --fr-gold: #f4b942;
  --fr-green: #2f6f3e;
  --fr-light: #f7f4eb;
  --fr-dark: #18202a;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--fr-dark);
  background: #fff;
}

.navbar {
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.navbar-brand strong {
  color: var(--fr-navy);
  letter-spacing: 0.02em;
}

.navbar-brand-logo {
  overflow: hidden;
  width: 234px;
  height: 55px;
}

.navbar-brand-logo img {
  max-height: 85px !important;
  width: auto;
  object-fit: contain;
}

.btn-primary-fr {
  background: var(--fr-gold);
  border-color: var(--fr-gold);
  color: #1a1a1a;
  font-weight: 700;
}

.btn-primary-fr:hover {
  background: #e5aa32;
  border-color: #e5aa32;
  color: #111;
}

.btn-outline-fr {
  border-color: #fff;
  color: #fff;
  font-weight: 700;
}

.btn-outline-fr:hover {
  background: #fff;
  color: var(--fr-navy);
}

.btn-fr-navy {
  background: var(--fr-navy);
  border-color: var(--fr-navy);
  color: #fff;
  font-weight: 700;
}

.btn-fr-navy:hover {
  background: var(--fr-blue);
  border-color: var(--fr-blue);
  color: #fff;
}

.btn-fr-green {
  background: var(--fr-green);
  border-color: var(--fr-green);
  color: #fff;
  font-weight: 700;
}

.btn-fr-green:hover {
  filter: brightness(1.08);
  color: #fff;
}

.btn-outline-fr-content {
  border: 2px solid var(--fr-navy);
  color: var(--fr-navy);
  background: transparent;
  font-weight: 700;
}

.btn-outline-fr-content:hover {
  background: var(--fr-navy);
  border-color: var(--fr-navy);
  color: #fff;
}

.hero {
  min-height: 74vh;
  background:
    linear-gradient(90deg, rgba(23, 54, 93, 0.94), rgba(23, 54, 93, 0.72), rgba(23, 54, 93, 0.35)),
    url("/images/hero.avif") center / cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.section-pad {
  padding: 5rem 0;
}

.section-title {
  color: var(--fr-navy);
  font-weight: 800;
}

.kicker {
  color: var(--fr-green);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.fr-kicker-gold {
  color: var(--fr-gold);
}

.impact-card {
  border: 0;
  border-radius: 1.25rem;
  box-shadow: 0 14px 34px rgba(23, 54, 93, 0.1);
  height: 100%;
}

.impact-number {
  color: var(--fr-blue);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.bg-fr-light {
  background: var(--fr-light);
}

.feature-card-md p:last-child {
  margin-bottom: 0;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(244, 185, 66, 0.22);
  color: var(--fr-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.image-card {
  min-height: 420px;
  border-radius: 1.5rem;
  background: url("/images/image_card.avif") center / cover no-repeat;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.15);
}

.story-card {
  border: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.story-card.position-relative {
  position: relative;
}

.story-img {
  height: 210px;
  background-size: cover;
  background-position: center;
}

.donate-band {
  background:
    linear-gradient(90deg, rgba(23, 54, 93, 0.96), rgba(31, 95, 159, 0.88)),
    url("/images/donate_band.avif") center / cover no-repeat;
  color: #fff;
  border-radius: 2rem;
}

.trust-strip {
  background: var(--fr-navy);
  color: #fff;
}

.footer {
  background: #101820;
  color: rgba(255, 255, 255, 0.78);
}

.footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.subpage-hero {
  background:
    linear-gradient(90deg, rgba(23, 54, 93, 0.94), rgba(23, 54, 93, 0.6)),
    url("/images/subpage_hero.avif") center / cover no-repeat;
  color: #fff;
  padding: 7rem 0 5rem;
}

.subpage-hero-kicker {
  color: var(--fr-gold);
}

.subpage-prose h2.section-title {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.subpage-prose > h2.section-title:first-child {
  margin-top: 0;
}

.subpage-prose h3 {
  color: var(--fr-navy);
  font-weight: 800;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.subpage-prose > p.lead,
.subpage-prose p.lead {
  font-size: 1.25rem;
  line-height: 1.6;
}

.subpage-prose .placeholder-note {
  margin-top: 1.5rem;
}

.subpage-sidebar-links li:last-child {
  border-bottom: 0 !important;
}

.subpage-sidebar-card a:hover {
  color: var(--fr-blue) !important;
}

.placeholder-note {
  border: 2px dashed rgba(23, 54, 93, 0.25);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(247, 244, 235, 0.7);
  font-size: 0.95rem;
}

.fr-lead-narrow {
  max-width: 760px;
}

.prose-flow {
  max-width: 48rem;
}

.subpage-main-col .prose-flow,
.subpage-body .col-lg-8 > .prose-flow {
  max-width: none;
}

.prose-flow img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

.pagination {
  margin-top: 2rem;
}

.pagination a,
.pagination span {
  margin-right: 0.5rem;
}

.board-member-photo-top {
  min-height: 500px;
  height:500px;
  background-size: cover;
  background-position: center top;
}
