/* =========================================================
   FDWC NAV — BASELINE (KNOWN GOOD)
========================================================= */

/* Desktop */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--nav-h); /* ← FIX */
  background: var(--brand);
  display: flex;
  align-items: center;      /* ← TRUE CENTERING */
  justify-content: space-between;
  padding: 10px 22px;       /* ← CONTROLLED PADDING */
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}



.site-nav::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #b58e00, #ffd700, #b58e00);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 800;
  font-size: 22px;
  text-decoration: none;
}

.brand img {
  height: 26px;
  width: auto;
}

.site-nav .main-nav {
  display: flex;
  gap: 20px;
}

.site-nav .main-nav a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  position: relative;
}

.site-nav .main-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #e6c764;
  transition: width 0.3s ease;
}

.site-nav .main-nav a:hover::after {
  width: 100%;
}

.site-nav .nav-toggle {
  display: none;
}

/* Mobile */
@media (max-width: 768px) {

  .site-nav {
    flex-wrap: wrap;
    height: auto;
    padding-bottom: 10px;
  }

  .site-nav .nav-toggle {
    display: block;
    position: absolute;
    right: 16px;
    top: 14px;
    font-size: 28px;
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    z-index: 9999;
  }

  .site-nav .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    background: #0b1d4d;
    margin-top: 10px;
  }

  .site-nav .main-nav.active {
    display: flex;
  }

  .site-nav .main-nav a {
    padding: 14px;
    text-align: center;
    font-size: 18px;
    color: #ffffff;
    border-bottom: 1px solid rgba(212,175,55,0.25);
  }
}
/* FIX: vertically center menu items in the navbar */
.site-nav {
  display: flex;
  align-items: center;
}

.site-nav .main-nav {
  display: flex;
  align-items: center;
}

.site-nav .main-nav a {
  display: inline-flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
}
/* Tighten desktop menu spacing */
.site-nav .main-nav {
  gap: 12px; /* was too large */
}

.site-nav .main-nav a {
  padding: 0 6px; /* horizontal spacing only */
}
.site-nav .main-nav a.btn-give:hover {
  background: rgba(212,175,55,0.12);
}
/* ===== HARD RESET DESKTOP NAV SPACING ===== */
@media (min-width: 769px) {

  .site-nav .main-nav {
    gap: 0 !important;            /* kill flex gap */
  }

  .site-nav .main-nav a {
    margin: 0 !important;         /* kill margins */
    padding: 0 12px !important;    /* tight horizontal padding */
    letter-spacing: 0 !important; /* kill extra text spacing */
  }
}
/* NAV LINKS — DESKTOP */
.site-nav .main-nav a{
  position: relative;
  display: inline-block;          /* important for underline sizing */
  color: #d4af37;                 /* gold */
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  padding: 10px 10px;             /* controls spacing */
  margin: 0;                      /* stop double spacing */
  line-height: 1;                 /* keeps it vertically centered */
}

/* GOLD UNDERLINE (shows on hover + active page) */
.site-nav .main-nav a::after{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  bottom: -10px;                  /* distance under the text */
  height: 2px;
  background: #d4af37;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease, opacity .2s ease;
}

/* show underline on hover */
.site-nav .main-nav a:hover::after{
  opacity: 1;
  transform: scaleX(1);
}

/* show underline for current page link */
.site-nav .main-nav a.active::after,
.site-nav .main-nav a[aria-current="page"]::after{
  opacity: 1;
  transform: scaleX(1);
}
/* ===========================
   HAMBURGER MENU — FINAL
=========================== */

/* Desktop */
.site-nav .main-nav {
  display: flex;
  gap: 14px;
}

.site-nav .nav-toggle {
  display: none;
}

/* Mobile */
@media (max-width: 768px) {

  .site-nav {
    flex-wrap: wrap;
  }

  .site-nav .nav-toggle {
    display: block;
    font-size: 28px;
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
  }

  .site-nav .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    background: var(--brand);
    margin-top: 10px;
  }

  .site-nav .main-nav.active {
    display: flex;
  }

  .site-nav .main-nav a {
    padding: 14px;
    text-align: center;
    color: #ffffff;
    border-bottom: 1px solid rgba(212,175,55,0.25);
  }
}
/* FORCE NAVBAR ABOVE ALL CONTENT */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999999;
}

.site-nav * {
  pointer-events: auto;
}
/* =====================================
   MOBILE HAMBURGER MENU — TEXT FIX
===================================== */
@media (max-width: 768px) {

  .site-nav .main-nav a {
    font-size: 20px;          /* ✅ readable */
    padding: 16px 12px;       /* ✅ finger-friendly */
    line-height: 1.3;
    text-align: center;
    color: #ffffff;
    margin: 0;
  }

  /* Optional: slightly smaller Give button text */
  .site-nav .main-nav .btn-give {
    font-size: 18px;
    padding: 14px 20px;
  }
}
/* =========================================
   FINAL — MINISTERIAL STAFF CARD TEXT SIZE
========================================= */

/* Desktop */
a.staff-card > .staff-name {
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
  color: #ffffff; /* restore color */
  text-align: center;
}

/* Mobile */
@media (max-width: 768px) {
  a.staff-card > .staff-name {
    font-size: 15px !important;
    line-height: 1.2 !important;
  }
}

/* Small phones */
@media (max-width: 480px) {
  a.staff-card > .staff-name {
    font-size: 14px !important;
  }
}
/* =========================
   GIVE SECTION – HERO LOGO
========================= */

#give .give-logo {
  display: block;
  margin: 0 auto 18px;
  width: 220px;          /* 🔥 HERO-SIZED */
  max-width: 80%;
  height: auto;
}
/* =========================
   FIX GAP ABOVE GIVE
========================= */

#give {
  padding-top: 40px !important;   /* 🔥 was too large */
  margin-top: 0 !important;
}
/* Reduce space after Resources wave */
.wave-divider + #give {
  margin-top: -40px;
}


