/* =============================================================
   VHU Theme — Main Stylesheet
   Veterans Hockey United | 501(c)(3) Nonprofit
   ============================================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;600&display=swap');

/* --- CSS Variables --- */
:root {
  --vhu-navy:       #1C3A5C;
  --vhu-navy-dark:  #122540;
  --vhu-navy-light: #274d7a;
  --vhu-red:        #C0392B;
  --vhu-red-dark:   #96281d;
  --vhu-gold:       #D4AF37;
  --vhu-gold-light: #e8c94a;
  --vhu-white:      #ffffff;
  --vhu-off-white:  #f7f6f2;
  --vhu-light-gray: #eaece8;
  --vhu-mid-gray:   #8a8c87;
  --vhu-text:       #1a1a1a;
  --vhu-muted:      #5a5c57;
  --vhu-font-head:  'Oswald', sans-serif;
  --vhu-font-body:  'Source Sans 3', sans-serif;
  --vhu-radius:     8px;
  --vhu-shadow:     0 2px 16px rgba(0,0,0,0.08);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--vhu-font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--vhu-text);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--vhu-navy); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.5rem; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--vhu-font-head);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--vhu-navy-dark);
}

/* --- Skip Link (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--vhu-gold);
  color: var(--vhu-navy-dark);
  font-weight: 700;
  padding: 10px 20px;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* =============================================================
   UTILITY BAR
   ============================================================= */
.vhu-util-bar {
  background: var(--vhu-navy-dark);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  padding: 6px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vhu-util-bar a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.vhu-util-bar a:hover { color: var(--vhu-gold); text-decoration: none; }
.util-left { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.util-right { display: flex; gap: 14px; align-items: center; }
/* Member sign-in link - subtle, sits left of social icons. Distinct from
   the main Donate CTA so it doesn't compete with the public-facing call to
   action, but discoverable for existing members. */
.util-portal-link {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.util-portal-link:hover {
  color: var(--vhu-gold);
  border-bottom-color: var(--vhu-gold);
  text-decoration: none;
}
.util-portal-link span { margin-left: 2px; }
.social-link {
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: rgba(255,255,255,0.7);
  text-decoration: none; transition: background 0.2s, color 0.2s;
}
.social-link:hover { background: var(--vhu-gold); color: var(--vhu-navy-dark); text-decoration: none; }

/* =============================================================
   NAVIGATION
   ============================================================= */
#site-navigation {
  background: var(--vhu-navy);
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  text-decoration: none;
}
.site-branding:hover { text-decoration: none; }
.brand-mark {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}
/* WordPress's the_custom_logo() outputs an <a><img></a> wrapper; size it
   the same way as our fallback image so the layout stays identical whether
   a custom logo is set in the Customizer or not. */
.brand-mark .custom-logo-link,
.brand-mark .custom-logo {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--vhu-font-head);
  font-size: 17px; font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff; line-height: 1.2;
}
.brand-sub {
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--vhu-gold); text-transform: uppercase;
}
.main-navigation { display: flex; align-items: center; }
.main-navigation ul { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 2px; }
.main-navigation ul li a {
  display: block;
  color: rgba(255,255,255,0.88);
  font-size: 13.5px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 8px 13px; border-radius: 4px;
  text-decoration: none; transition: color 0.2s, background 0.2s;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current-page-ancestor > a { color: var(--vhu-gold); background: rgba(255,255,255,0.07); }
.nav-cta > a {
  background: var(--vhu-red) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
}
.nav-cta > a:hover { background: var(--vhu-red-dark) !important; }

/* Gold CTA — matches .nav-cta shape but uses the VHU gold palette.
   Used for the "VHU Gear" storefront link (external to redwolfhockey.com).
   Dark navy text on gold reads better than white on gold. */
.nav-cta-gear > a {
  background: var(--vhu-gold) !important;
  color: var(--vhu-navy-dark) !important;
  padding: 9px 20px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
}
.nav-cta-gear > a:hover { background: var(--vhu-gold-light) !important; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: transparent; border: 2px solid rgba(255,255,255,0.3);
  color: #fff; padding: 8px 14px; border-radius: 4px; cursor: pointer;
  font-family: var(--vhu-font-body); font-size: 14px; font-weight: 600;
}
.menu-toggle:focus { outline: 2px solid var(--vhu-gold); }

/* Sub-menus */
.main-navigation ul li { position: relative; }
.main-navigation ul ul {
  position: absolute; top: 100%; left: 0;
  background: var(--vhu-navy-dark); min-width: 200px;
  border-radius: 0 0 6px 6px; padding: 6px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s; z-index: 300;
  list-style: none;
}
.main-navigation ul li:hover > ul,
.main-navigation ul li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.main-navigation ul ul li a { padding: 9px 18px !important; font-size: 13px !important; border-radius: 0 !important; }

/* =============================================================
   PAGE HERO (inner pages)
   ============================================================= */
.page-hero {
  background: var(--vhu-navy-dark);
  padding: 60px 40px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(to bottom, var(--vhu-red) 33%, #fff 33%, #fff 66%, var(--vhu-gold) 66%);
}
.page-hero-inner {
  max-width: 1160px; margin: 0 auto; position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.page-hero-text { flex: 1 1 auto; min-width: 0; }
.page-hero-logo { flex: 0 0 140px; display: flex; align-items: center; justify-content: center; }
.page-hero-logo img {
  width: 100%; height: auto; max-width: 140px;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.35));
}
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 12px; letter-spacing: 0.05em; }
.breadcrumb a { color: var(--vhu-gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: rgba(255,255,255,0.45); }
.page-hero h1 { font-size: 44px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.page-hero .hero-desc { font-size: 18px; color: rgba(255,255,255,0.72); max-width: 600px; }

/* =============================================================
   HOMEPAGE HERO
   ============================================================= */
.home-hero {
  position: relative;
  min-height: 620px;
  display: flex; align-items: center;
  background: var(--vhu-navy-dark); overflow: hidden;
}
.home-hero .hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(18,37,64,0.97) 45%, rgba(18,37,64,0.72) 100%);
  z-index: 1;
}
.home-hero .hero-bg-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-color: #0e1e30;
}
.hero-stripe {
  position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: linear-gradient(to bottom, var(--vhu-red) 33%, #fff 33%, #fff 66%, var(--vhu-gold) 66%);
  z-index: 2;
}
.home-hero .hero-content {
  position: relative; z-index: 2;
  max-width: 1160px; margin: 0 auto; padding: 80px 40px; width: 100%;
  display: flex; align-items: center; gap: 60px;
}
/* Text column takes the remaining width; logo column sits on the right at
   a fixed width that scales down on tablet and stacks below on mobile. */
.hero-text-col { flex: 1 1 auto; min-width: 0; }
.hero-logo-col {
  flex: 0 0 600px;
  display: flex; align-items: center; justify-content: center;
}
.hero-logo {
  width: 100%; height: auto;
  max-width: 600px;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.55));
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--vhu-gold); background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.3); padding: 6px 14px; border-radius: 3px; margin-bottom: 22px;
}
.home-hero h1 { font-size: 60px; font-weight: 700; color: #fff; max-width: 680px; margin-bottom: 18px; line-height: 1.05; }
.home-hero h1 span { color: var(--vhu-gold); }
.hero-subtext { font-size: 19px; color: rgba(255,255,255,0.78); max-width: 520px; margin-bottom: 36px; line-height: 1.6; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust { margin-top: 44px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.6); font-weight: 600; letter-spacing: 0.06em; }
.trust-dot { width: 7px; height: 7px; border-radius: 50%; background: #4caf85; }

/* =============================================================
   IMPACT BAR
   ============================================================= */
.impact-bar { background: var(--vhu-gold); }
.impact-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.impact-stat { padding: 32px 20px; text-align: center; border-right: 1px solid rgba(28,58,92,0.18); display: flex; align-items: center; justify-content: center; min-height: 96px; }
.impact-stat:last-child { border-right: none; }
.impact-num { font-family: var(--vhu-font-head); font-size: 38px; font-weight: 700; color: var(--vhu-navy-dark); display: block; line-height: 1; }
/* Without the giant number above it, the label can carry more weight on its
   own. Bumped from 13px to 15px and dropped the top margin since labels are
   now the only line in each cell. */
.impact-label { font-size: 15px; font-weight: 700; color: var(--vhu-navy-dark); letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.3; display: block; }

/* =============================================================
   BUTTONS
   ============================================================= */
.btn-primary {
  display: inline-block; background: var(--vhu-red); color: #fff;
  font-family: var(--vhu-font-head); font-size: 15px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 13px 30px; border-radius: 4px; text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--vhu-red-dark); text-decoration: none; color: #fff; }
.btn-secondary {
  display: inline-block; background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.45);
  font-family: var(--vhu-font-head); font-size: 15px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 11px 28px; border-radius: 4px; text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--vhu-gold); background: rgba(212,175,55,0.08); text-decoration: none; color: #fff; }
.btn-outline {
  display: inline-block; background: transparent; color: var(--vhu-navy);
  border: 2px solid var(--vhu-navy);
  font-family: var(--vhu-font-head); font-size: 14px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 10px 22px; border-radius: 4px; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--vhu-navy); color: #fff; text-decoration: none; }
.btn-gold {
  display: inline-block; background: var(--vhu-gold); color: var(--vhu-navy-dark);
  font-family: var(--vhu-font-head); font-size: 15px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 13px 30px; border-radius: 4px; text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s;
}
.btn-gold:hover { background: var(--vhu-gold-light); text-decoration: none; color: var(--vhu-navy-dark); }

/* =============================================================
   SECTION LAYOUT
   ============================================================= */
.vhu-section { padding: 72px 40px; }
.vhu-section-inner { max-width: 1160px; margin: 0 auto; }
.bg-off { background: var(--vhu-off-white); }
.bg-navy { background: var(--vhu-navy-dark); }
.bg-navy * { color: rgba(255,255,255,0.85); }
.vhu-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--vhu-red); margin-bottom: 10px; }
.vhu-section-title { font-family: var(--vhu-font-head); font-size: 36px; font-weight: 600; color: var(--vhu-navy-dark); margin-bottom: 14px; line-height: 1.1; }
.vhu-section-lead { font-size: 18px; color: var(--vhu-muted); line-height: 1.65; max-width: 640px; }
.vhu-accent { width: 48px; height: 4px; background: var(--vhu-gold); border-radius: 2px; margin: 16px 0 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* =============================================================
   CARDS
   ============================================================= */
.vhu-card { background: #fff; border-radius: var(--vhu-radius); border: 1px solid #e0e0db; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.vhu-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.card-top { display: flex; align-items: center; justify-content: center; position: relative; }
.card-body { padding: 22px 24px; }
.card-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(255,255,255,0.18); color: rgba(255,255,255,0.85); padding: 4px 10px; border-radius: 3px; position: absolute; top: 12px; left: 12px; }
.card-title { font-family: var(--vhu-font-head); font-size: 19px; font-weight: 600; color: var(--vhu-navy-dark); margin-bottom: 10px; }
.card-text { font-size: 15px; color: var(--vhu-muted); line-height: 1.6; margin-bottom: 16px; }
.card-link { font-size: 13px; font-weight: 700; color: var(--vhu-navy); text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 2px solid var(--vhu-gold); padding-bottom: 2px; }

/* =============================================================
   NONPROFIT BADGE
   ============================================================= */
.nfp-badge { display: inline-flex; align-items: center; gap: 10px; background: #eef5ee; border: 1px solid #b5d5b5; border-radius: 5px; padding: 10px 16px; }
.nfp-check { width: 20px; height: 20px; background: #3a8a3a; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.nfp-text { font-size: 13px; font-weight: 600; color: #2a6a2a; }

/* =============================================================
   DONATE BANNER SECTION
   ============================================================= */
.donate-banner { background: var(--vhu-navy-dark); padding: 70px 40px; position: relative; overflow: hidden; }
.donate-banner-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.donate-banner h2 { font-size: 40px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.donate-banner h2 span { color: var(--vhu-gold); }
.donate-banner p { font-size: 17px; color: rgba(255,255,255,0.72); max-width: 500px; line-height: 1.65; }
.donate-amounts { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-bottom: 14px; }
.donate-amount-btn { background: rgba(255,255,255,0.08); border: 2px solid rgba(255,255,255,0.2); color: #fff; font-family: var(--vhu-font-head); font-size: 18px; font-weight: 600; padding: 14px; border-radius: 5px; cursor: pointer; text-align: center; transition: all 0.2s; }
.donate-amount-btn:hover, .donate-amount-btn.active { background: var(--vhu-gold); border-color: var(--vhu-gold); color: var(--vhu-navy-dark); }
.donate-submit-btn { display: block; background: var(--vhu-red); color: #fff; font-family: var(--vhu-font-head); font-size: 17px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 15px; border-radius: 5px; text-decoration: none; text-align: center; margin-top: 14px; border: none; cursor: pointer; width: 100%; transition: background 0.2s; }
.donate-submit-btn:hover { background: var(--vhu-red-dark); color: #fff; text-decoration: none; }
.donate-note { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 8px; text-align: center; }

/* =============================================================
   SPONSOR TIERS
   ============================================================= */
.tier-card { border-radius: 10px; overflow: hidden; border: 2px solid #e0e0db; display: flex; flex-direction: column; transition: transform 0.2s; }
.tier-card:hover { transform: translateY(-4px); }
.tier-card.featured { border-color: var(--vhu-gold); box-shadow: 0 0 0 4px rgba(212,175,55,0.15); }
.tier-header { padding: 28px 24px 22px; text-align: center; }
.tier-badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; background: var(--vhu-gold); color: var(--vhu-navy-dark); border-radius: 3px; padding: 3px 10px; margin-bottom: 12px; }
.tier-name { font-family: var(--vhu-font-head); font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.tier-price { font-family: var(--vhu-font-head); font-size: 38px; font-weight: 700; color: var(--vhu-gold); line-height: 1; }
.tier-price-sub { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 4px; }
.tier-body { padding: 22px 24px; flex: 1; background: #fff; }
.tier-features { list-style: none; padding: 0; }
.tier-features li { font-size: 14px; color: var(--vhu-muted); padding: 8px 0; border-bottom: 1px solid #f0f0ec; display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.tier-features li:last-child { border-bottom: none; }
.tf-check { width: 16px; height: 16px; background: var(--vhu-navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; font-size: 9px; color: #fff; font-weight: 700; }
.tf-check.gold-check { background: var(--vhu-gold); color: var(--vhu-navy-dark); }
.tf-check.gray-check { background: var(--vhu-light-gray); }
.tier-cta { padding: 0 24px 24px; background: #fff; }
.tier-btn { display: block; text-align: center; background: var(--vhu-navy-dark); color: #fff; font-family: var(--vhu-font-head); font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 12px; border-radius: 4px; text-decoration: none; transition: background 0.2s; }
.tier-btn:hover { background: var(--vhu-red); color: #fff; text-decoration: none; }
.tier-btn-gold { background: var(--vhu-gold); color: var(--vhu-navy-dark); }
.tier-btn-gold:hover { background: var(--vhu-gold-light); color: var(--vhu-navy-dark); }

/* =============================================================
   FORMS
   ============================================================= */
.vhu-form label { display: block; font-size: 13px; font-weight: 600; color: var(--vhu-navy-dark); letter-spacing: 0.04em; margin-bottom: 6px; }
.vhu-form input[type="text"],
.vhu-form input[type="email"],
.vhu-form input[type="tel"],
.vhu-form input[type="number"],
.vhu-form select,
.vhu-form textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid #e0e0db; border-radius: 6px;
  font-family: var(--vhu-font-body); font-size: 15px;
  color: var(--vhu-text); background: #fff;
  margin-bottom: 16px; outline: none; transition: border-color 0.2s;
  appearance: none;
}
.vhu-form input:focus,
.vhu-form select:focus,
.vhu-form textarea:focus { border-color: var(--vhu-navy); box-shadow: 0 0 0 3px rgba(28,58,92,0.1); }
.vhu-form textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit { background: var(--vhu-red); color: #fff; font-family: var(--vhu-font-head); font-size: 16px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 14px 36px; border: none; border-radius: 4px; cursor: pointer; transition: background 0.2s; }
.form-submit:hover { background: var(--vhu-red-dark); }

/* WPForms integration */
.wpforms-form .wpforms-submit { background: var(--vhu-red) !important; color: #fff !important; font-family: var(--vhu-font-head) !important; font-size: 16px !important; font-weight: 700 !important; letter-spacing: 0.1em !important; text-transform: uppercase !important; padding: 13px 32px !important; border-radius: 4px !important; border: none !important; }
.wpforms-form label { color: var(--vhu-navy-dark) !important; font-weight: 600 !important; }
.wpforms-form input, .wpforms-form textarea, .wpforms-form select { border: 1.5px solid #e0e0db !important; border-radius: 6px !important; }

/* GiveWP integration */
.give-form-wrap .give-btn { background: var(--vhu-red) !important; font-family: var(--vhu-font-head) !important; text-transform: uppercase !important; letter-spacing: 0.1em !important; }
#give-recurring-form .give-donation-levels-wrap li.default-level, .give-btn-level-default { background: var(--vhu-gold) !important; border-color: var(--vhu-gold) !important; color: var(--vhu-navy-dark) !important; }

/* The Events Calendar integration */
.tribe-events-calendar .tribe-events-calendar-header { background: var(--vhu-navy) !important; }
.tribe-events .tribe-events-c-nav__next-text, .tribe-events .tribe-events-c-nav__prev-text { color: var(--vhu-navy) !important; }
.tribe-events-c-subscribe-dropdown__button { background: var(--vhu-navy) !important; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer { background: var(--vhu-navy-dark); color: rgba(255,255,255,0.65); padding: 60px 40px 28px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand p { font-size: 14px; line-height: 1.65; margin: 16px 0 20px; color: rgba(255,255,255,0.55); }
.footer-social { display: flex; gap: 10px; }
.footer-nav h4 { font-family: var(--vhu-font-head); font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--vhu-gold); margin-bottom: 18px; }
.footer-nav ul { list-style: none; padding: 0; }
.footer-nav ul li { margin-bottom: 10px; }
.footer-nav ul li a { color: rgba(255,255,255,0.55); font-size: 14px; text-decoration: none; transition: color 0.2s; }
.footer-nav ul li a:hover { color: var(--vhu-gold); text-decoration: none; }
.footer-bottom { max-width: 1160px; margin: 22px auto 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: var(--vhu-gold); }
.ein-badge { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 4px 12px; font-size: 11px; letter-spacing: 0.08em; }

/* =============================================================
   CONTENT AREA
   ============================================================= */
.entry-content { max-width: 780px; margin: 0 auto; padding: 40px 20px; }
.entry-content h2, .entry-content h3 { margin: 1.5rem 0 0.75rem; }
.entry-content p { margin-bottom: 1.2rem; }
.entry-content ul, .entry-content ol { margin-bottom: 1.2rem; }
.entry-content a { color: var(--vhu-navy); border-bottom: 1px solid var(--vhu-gold); }
.entry-content a:hover { color: var(--vhu-red); text-decoration: none; }
.entry-content img { border-radius: var(--vhu-radius); margin: 1.5rem 0; }
.entry-content blockquote { border-left: 4px solid var(--vhu-gold); padding: 12px 20px; background: var(--vhu-off-white); margin: 1.5rem 0; font-style: italic; border-radius: 0 4px 4px 0; }

/* =============================================================
   SINGLE POST
   ============================================================= */
.post-header { background: var(--vhu-off-white); padding: 50px 40px; }
.post-header-inner { max-width: 780px; margin: 0 auto; }
.post-category { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--vhu-red); margin-bottom: 12px; }
.post-title { font-size: 40px; font-weight: 700; color: var(--vhu-navy-dark); margin-bottom: 16px; }
.post-meta { font-size: 13px; color: var(--vhu-mid-gray); display: flex; gap: 14px; flex-wrap: wrap; }
.post-featured-image { max-height: 460px; overflow: hidden; }
.post-featured-image img { width: 100%; height: 100%; object-fit: cover; }

/* =============================================================
   NEWS / BLOG ARCHIVE
   ============================================================= */
.archive-layout { display: grid; grid-template-columns: 1fr 300px; gap: 50px; max-width: 1160px; margin: 0 auto; padding: 60px 40px; align-items: start; }
.news-card-horiz { background: #fff; border: 1px solid #e0e0db; border-radius: var(--vhu-radius); overflow: hidden; display: grid; grid-template-columns: 180px 1fr; margin-bottom: 20px; transition: transform 0.2s; }
.news-card-horiz:hover { transform: translateX(4px); }
.news-thumb { background: var(--vhu-navy); display: flex; align-items: center; justify-content: center; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 20px 22px; }
.news-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--vhu-red); margin-bottom: 8px; }
.news-title { font-family: var(--vhu-font-head); font-size: 19px; color: var(--vhu-navy-dark); margin-bottom: 8px; line-height: 1.2; }
.news-excerpt { font-size: 14px; color: var(--vhu-muted); line-height: 1.55; margin-bottom: 12px; }
.news-meta { font-size: 12px; color: var(--vhu-mid-gray); display: flex; gap: 10px; }
.news-meta a { color: var(--vhu-navy); font-weight: 600; border-bottom: 1.5px solid var(--vhu-gold); text-decoration: none; }
.sidebar-widget { background: var(--vhu-off-white); border-radius: var(--vhu-radius); padding: 22px; margin-bottom: 20px; }
.sidebar-widget-title { font-family: var(--vhu-font-head); font-size: 15px; font-weight: 600; color: var(--vhu-navy-dark); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--vhu-gold); }

/* =============================================================
   EVENTS (The Events Calendar overrides)
   ============================================================= */
.tribe-events-calendar { border-color: #e0e0db !important; }
.tribe-events-calendar td { border-color: #e0e0db !important; }
.tribe-events-calendar .tribe-events-has-events { background: rgba(28,58,92,0.05) !important; }
.tribe-events-calendar .tribe-event-notice { color: var(--vhu-navy-dark) !important; }

/* =============================================================
   TIMELINE
   ============================================================= */
.vhu-timeline { position: relative; padding-left: 40px; }
.vhu-timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 3px; background: var(--vhu-light-gray); border-radius: 2px; }
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-dot { position: absolute; left: -36px; top: 4px; width: 18px; height: 18px; background: var(--vhu-gold); border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--vhu-navy); }
.timeline-year { font-family: var(--vhu-font-head); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--vhu-red); margin-bottom: 4px; }
.timeline-item h3 { font-family: var(--vhu-font-head); font-size: 19px; color: var(--vhu-navy-dark); margin-bottom: 8px; }
.timeline-item p { font-size: 15px; color: var(--vhu-muted); line-height: 1.6; }

/* =============================================================
   STATS
   ============================================================= */
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat-box { text-align: center; padding: 28px 18px; background: #fff; border-radius: var(--vhu-radius); border: 1px solid #e0e0db; }
.stat-num { font-family: var(--vhu-font-head); font-size: 42px; font-weight: 700; color: var(--vhu-navy-dark); display: block; line-height: 1; }
.stat-label { font-size: 12px; font-weight: 600; color: var(--vhu-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 6px; display: block; }

/* =============================================================
   PAGINATION
   ============================================================= */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1.5px solid #e0e0db; border-radius: 4px; font-size: 14px; font-weight: 600; color: var(--vhu-navy); text-decoration: none; transition: all 0.2s; }
.pagination .page-numbers.current { background: var(--vhu-navy); color: #fff; border-color: var(--vhu-navy); }
.pagination .page-numbers:hover { background: var(--vhu-navy); color: #fff; border-color: var(--vhu-navy); text-decoration: none; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .home-hero h1 { font-size: 46px; }
  .impact-inner { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .donate-banner-inner { grid-template-columns: 1fr; }
  .archive-layout { grid-template-columns: 1fr; }
  /* Shrink the hero logo on tablet so the headline doesn't wrap awkwardly */
  .home-hero .hero-content { gap: 32px; }
  .hero-logo-col { flex-basis: 380px; }
  .hero-logo { max-width: 380px; }
}
@media (max-width: 768px) {
  .vhu-util-bar { display: none; }
  #site-navigation { padding: 0 20px; }
  .menu-toggle { display: block; }
  .main-navigation { display: none; width: 100%; }
  .main-navigation.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--vhu-navy-dark); padding: 16px 20px; }
  .main-navigation.is-open ul { flex-direction: column; gap: 0; }
  .main-navigation.is-open ul li a { padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .main-navigation.is-open ul ul { position: static; opacity: 1; visibility: visible; transform: none; background: rgba(0,0,0,0.2); margin-left: 16px; }
  .home-hero { min-height: auto; }
  .home-hero h1 { font-size: 36px; }
  .hero-content { padding: 60px 20px; flex-direction: column; gap: 40px; }
  /* On phones, put the logo above the headline (more visual hierarchy
     than putting it at the bottom of the section, less competing with
     the CTA buttons). Halve the size for vertical economy. */
  .hero-logo-col { order: -1; flex-basis: auto; }
  .hero-logo { max-width: 180px; }
  .page-hero { padding: 40px 20px; }
  .page-hero h1 { font-size: 32px; }
  .vhu-section { padding: 50px 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .impact-inner { grid-template-columns: repeat(2,1fr); }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
  .donate-banner { padding: 50px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .news-card-horiz { grid-template-columns: 1fr; }
  .news-thumb { height: 180px; }
  .form-row { grid-template-columns: 1fr; }
  .archive-layout { padding: 40px 20px; }
}
@media (max-width: 480px) {
  .home-hero h1 { font-size: 30px; }
  .vhu-section-title { font-size: 28px; }
  .impact-inner { grid-template-columns: 1fr 1fr; }
  .donate-amounts { grid-template-columns: repeat(3,1fr); }
}

/* =============================================================
   PRINT
   ============================================================= */
@media print {
  .vhu-util-bar, #site-navigation, .site-footer, .donate-banner { display: none; }
  body { font-size: 12pt; }
  h1 { font-size: 24pt; }
}

/* =============================================================
   EVENTS LIST (portal-backed) — used by page-templates/template-events.php
   ============================================================= */
.vhu-events-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}
.vhu-event-card {
  display: flex;
  flex-direction: row;
  background: #fff;
  border: 1px solid var(--vhu-light-gray);
  border-radius: var(--vhu-radius);
  overflow: hidden;
  box-shadow: var(--vhu-shadow);
}
.vhu-event-card__date {
  flex: 0 0 110px;
  background: var(--vhu-navy);
  color: var(--vhu-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  text-align: center;
}
.vhu-event-card__date-month {
  font-family: var(--vhu-font-head);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--vhu-gold);
}
.vhu-event-card__date-day {
  font-family: var(--vhu-font-head);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  margin-top: 4px;
}
.vhu-event-card__body {
  flex: 1 1 auto;
  padding: 20px 24px;
  color: var(--vhu-text);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.vhu-event-card__type {
  font-family: var(--vhu-font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--vhu-navy);
}
.vhu-event-card__title {
  font-family: var(--vhu-font-head);
  font-size: 22px;
  color: var(--vhu-navy-dark);
  margin: 0;
  line-height: 1.2;
}
.vhu-event-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--vhu-muted);
  font-size: 14px;
}
.vhu-event-card__meta-item { white-space: nowrap; }
.vhu-event-card__meta-region {
  background: var(--vhu-off-white);
  border-radius: 4px;
  padding: 1px 8px;
  color: var(--vhu-navy);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.vhu-event-card__desc {
  color: var(--vhu-muted);
  font-size: 15px;
  margin: 4px 0 0;
}
.vhu-event-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.vhu-event-card__actions .btn-outline { padding: 8px 18px; font-size: 13px; }

.vhu-events-empty,
.vhu-events-fallback {
  background: var(--vhu-off-white);
  border-radius: var(--vhu-radius);
  padding: 32px;
  text-align: center;
  color: var(--vhu-muted);
  margin-top: 24px;
}
.vhu-events-fallback h3 {
  font-family: var(--vhu-font-head);
  color: var(--vhu-navy-dark);
  font-size: 22px;
  margin-bottom: 10px;
}
.vhu-events-fallback p { margin: 6px 0; }

@media (max-width: 600px) {
  .vhu-event-card { flex-direction: column; }
  .vhu-event-card__date {
    flex: 0 0 auto;
    flex-direction: row;
    gap: 10px;
    padding: 12px 20px;
    justify-content: flex-start;
  }
  .vhu-event-card__date-day { font-size: 28px; margin-top: 0; }
  .vhu-event-card__date-month { font-size: 14px; }
  .vhu-event-card__body { padding: 16px 20px; }
}

/* =============================================================
   ACCESSIBILITY
   ============================================================= */
:focus-visible { outline: 3px solid var(--vhu-gold); outline-offset: 2px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
