/* ============================================================
   NIGER FLICKERS HOCKEY CLUB — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@700;900&display=swap');

:root {
  --green-dark:   #0a3d1f;
  --green-mid:    #1a6b35;
  --green-bright: #2d9b4e;
  --gold:         #c9a227;
  --gold-light:   #e8c84a;
  --cream:        #f9f6ef;
  --white:        #ffffff;
  --dark:         #0d0d0d;
  --grey:         #6b7280;
  --grey-light:   #f3f4f6;
}

/* Global reset — low specificity (universal selector) so it never
   overrides component spacing rules (which use class selectors).
   Elementor's own widgets manage their own box-sizing/spacing via
   higher-specificity rules and are unaffected. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #111;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* Don't force theme link/image resets inside Elementor widgets */
.elementor-widget-container a { text-decoration: revert; color: revert; }
.elementor-widget-container img { display: revert; }

/* ── TYPOGRAPHY ─────────────────────────────────────── */
.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--green-bright);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--green-dark);
  line-height: 1.2;
}
.gold-line {
  width: 60px; height: 3px;
  background: var(--gold);
  margin: 1rem 0;
}
.gold-line.center { margin-inline: auto; }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 13px 30px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: .2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); color: var(--green-dark); }

.btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 11px 30px;
  border-radius: 3px;
  cursor: pointer;
  transition: .2s;
  background: transparent;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-ghost {
  display: inline-block;
  color: var(--green-bright);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--green-bright);
  padding-bottom: 2px;
  transition: .2s;
}
.btn-ghost:hover { color: var(--green-dark); border-color: var(--green-dark); }

/* ── NAVIGATION ──────────────────────────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 61, 31, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 72px;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-branding .custom-logo { height: 52px; width: 52px; object-fit: contain; border-radius: 4px; }
.site-branding .brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.site-branding .brand-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; color: var(--gold); letter-spacing: 2px; }
.site-branding .brand-sub  { font-size: 0.65rem; color: rgba(255,255,255,0.6); letter-spacing: 1px; text-transform: uppercase; }

#primary-menu { display: flex; gap: 0.2rem; list-style: none; }
#primary-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 8px 14px; border-radius: 4px; transition: .2s;
}
#primary-menu a:hover,
#primary-menu .current-menu-item > a,
#primary-menu .current_page_item > a { color: var(--gold); background: rgba(201,162,39,0.12); }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--gold); border-radius: 2px; transition: .3s; display: block; }

/* ── HERO (front-page) ───────────────────────────────── */
.hero {
  position: relative;
  height: calc(100vh - 72px);
  background: linear-gradient(135deg, var(--green-dark) 0%, #0f5c2a 50%, #1a6b35 100%);
  display: flex; align-items: center; overflow: hidden;
  margin-top: 72px;
}
.hero-bg-pattern {
  position: absolute; inset: 0; opacity: .04;
  background-image: repeating-linear-gradient(45deg,#fff 0,#fff 1px,transparent 0,transparent 50%);
  background-size: 20px 20px;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.hero-motto {
  display: inline-block; margin-bottom: 1.2rem;
  font-size: 0.72rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold);
  padding: 5px 16px; border-radius: 2px;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--white); line-height: 0.95; letter-spacing: 3px;
}
.hero-title span { color: var(--gold); }
.hero-desc {
  color: rgba(255,255,255,0.75); font-size: 1.05rem;
  line-height: 1.7; max-width: 480px; margin-top: 1.2rem;
}
.hero-cta { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.hero-logo-wrap {
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.05); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(201,162,39,0.3);
  box-shadow: 0 0 80px rgba(201,162,39,0.15);
  animation: float 3s ease-in-out infinite;
}
.hero-logo-wrap img { width: 260px; height: 260px; object-fit: contain; border-radius: 50%; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

.hero-stats { display: flex; gap: 2.5rem; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.65rem; color: rgba(255,255,255,0.5); letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4); font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollAnim 1.5s ease-in-out infinite;
}
@keyframes scrollAnim { 0%{opacity:1;transform:scaleY(1)} 100%{opacity:0;transform-origin:top;transform:scaleY(0)} }

/* ── GOVERNOR SECTION ────────────────────────────────── */
.gov-section { background: var(--cream); padding: 90px 2rem; }
.gov-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.gov-img-wrap { position: relative; }
.gov-img-wrap img,
.gov-img-wrap .gov-placeholder {
  width: 100%; aspect-ratio: 3/4; max-height: 500px;
  border-radius: 8px; object-fit: cover;
  border: 3px solid var(--gold);
}
.gov-placeholder {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 0.9rem; text-align: center; gap: 12px;
}
.gov-badge {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--gold); color: var(--green-dark);
  font-family: 'Bebas Neue', sans-serif; font-size: 0.9rem; letter-spacing: 2px;
  padding: 10px 20px; border-radius: 4px;
}
.gov-quote {
  border-left: 4px solid var(--gold); padding-left: 1.5rem; margin: 1.5rem 0;
  font-style: italic; color: var(--green-dark);
  font-size: 1.05rem; font-family: 'Playfair Display', serif;
}
.gov-text p { color: var(--grey); line-height: 1.8; font-size: 0.95rem; margin-bottom: .8rem; }

/* ── ACHIEVEMENTS ────────────────────────────────────── */
.achievements { background: var(--green-dark); padding: 80px 2rem; }
.achievements-inner { max-width: 1100px; margin: 0 auto; }
.achievements .section-title { color: var(--gold); text-align: center; font-family: 'Bebas Neue', sans-serif; letter-spacing: 3px; margin-bottom: 3rem; }
.achieve-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1.5rem; }
.achieve-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(201,162,39,0.2);
  border-radius: 6px; padding: 1.8rem; text-align: center; transition: .2s;
}
.achieve-card:hover { background: rgba(201,162,39,0.08); border-color: var(--gold); transform: translateY(-3px); }
.achieve-year { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--gold); }
.achieve-title { color: #fff; font-size: 0.85rem; margin-top: 6px; line-height: 1.4; }

/* ── NEWS PREVIEW ────────────────────────────────────── */
.news-section { padding: 90px 2rem; background: #fff; }
.news-inner { max-width: 1100px; margin: 0 auto; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 2rem; }
.news-card { border-radius: 8px; overflow: hidden; border: 1px solid #e5e7eb; transition: .2s; }
.news-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); transform: translateY(-3px); }
.news-thumb {
  height: 200px; overflow: hidden; background: linear-gradient(135deg,var(--green-dark),var(--green-mid));
  display: flex; align-items: center; justify-content: center;
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 1.5rem; }
.news-tag { font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; color: var(--green-bright); font-weight: 600; }
.news-body h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; margin: .5rem 0; color: #111; line-height: 1.4; }
.news-body p { font-size: 0.85rem; color: var(--grey); line-height: 1.6; }
.news-meta { display: flex; align-items: center; gap: 8px; margin-top: 1rem; font-size: 0.75rem; color: #9ca3af; }

/* ── PAGE HERO ───────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), #0f5c2a);
  padding: 90px 2rem 70px; text-align: center;
  margin-top: 72px;
}
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #fff; letter-spacing: 4px;
}
.page-hero p { color: rgba(255,255,255,0.65); max-width: 600px; margin: 1rem auto 0; font-size: 1rem; line-height: 1.7; }

/* ── ABOUT / TIMELINE ────────────────────────────────── */
.about-content { max-width: 900px; margin: 0 auto; padding: 80px 2rem; }
.timeline { position: relative; padding-left: 3rem; }
.timeline::before {
  content: ''; position: absolute; left: 14px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--gold), var(--green-bright));
}
.timeline-item { position: relative; margin-bottom: 3rem; }
.timeline-dot {
  position: absolute; left: -36px; top: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--green-bright);
}
.timeline-year { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; color: var(--green-bright); letter-spacing: 2px; }
.timeline-item h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--green-dark); margin: .3rem 0; }
.timeline-item p { color: var(--grey); font-size: 0.9rem; line-height: 1.7; }

/* ── LEADERSHIP CARDS ────────────────────────────────── */
.leadership-section { background: var(--cream); padding: 80px 2rem; }
.leadership-inner { max-width: 1100px; margin: 0 auto; }
.leadership-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px,1fr)); gap: 1.5rem; margin-top: 2rem; }
.leader-card {
  background: #fff; border-radius: 8px; padding: 1.5rem; text-align: center;
  border: 1px solid #e5e7eb; transition: .2s;
}
.leader-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); transform: translateY(-3px); }
.leader-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-dark), var(--green-bright));
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--gold); border: 3px solid var(--gold);
  overflow: hidden;
}
.leader-avatar img { width: 100%; height: 100%; object-fit: cover; }
.leader-name { font-weight: 700; font-size: 0.9rem; color: #111; }
.leader-role { font-size: 0.72rem; color: var(--grey); margin-top: 3px; text-transform: uppercase; letter-spacing: 1px; }

/* ── UMPIRES ─────────────────────────────────────────── */
.umpires-section { background: var(--green-dark); padding: 70px 2rem; }
.umpires-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.umpires-inner h2 { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--gold); letter-spacing: 3px; margin-bottom: 2rem; }
.umpires-grid { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.umpire-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(201,162,39,0.3);
  border-radius: 8px; padding: 1.5rem 2rem; min-width: 180px;
}
.umpire-card .ump-icon { font-size: 2.5rem; margin-bottom: .8rem; }
.umpire-card h3 { color: #fff; font-size: 0.95rem; font-weight: 600; }
.umpire-card p { color: var(--gold); font-size: 0.75rem; letter-spacing: 1px; margin-top: 3px; }

/* ── PLAYERS ─────────────────────────────────────────── */
.players-section { max-width: 1100px; margin: 0 auto; padding: 70px 2rem; }
.players-intro { text-align: center; margin-bottom: 2.5rem; }
.filter-tabs { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-btn {
  border: 2px solid #e5e7eb; background: #fff;
  padding: 8px 20px; border-radius: 99px; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: .2s; color: var(--grey);
}
.filter-btn.active, .filter-btn:hover { border-color: var(--green-bright); color: var(--green-bright); background: rgba(45,155,78,0.05); }
.squad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 1.5rem; }
.player-card { background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid #e5e7eb; transition: .2s; }
.player-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-4px); }
.player-photo {
  height: 170px; overflow: hidden; position: relative;
  background: linear-gradient(160deg, var(--green-dark), var(--green-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; color: rgba(255,255,255,0.15);
}
.player-photo img { width: 100%; height: 100%; object-fit: cover; }
.player-number {
  position: absolute; top: 8px; right: 8px;
  font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; color: var(--gold);
  background: rgba(10,61,31,0.75); padding: 2px 8px; border-radius: 3px;
}
.player-info { padding: 1rem; }
.player-name { font-weight: 700; font-size: 0.9rem; color: #111; }
.player-pos { font-size: 0.72rem; color: var(--green-bright); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

/* ── GALLERY ─────────────────────────────────────────── */
.gallery-section { max-width: 1200px; margin: 0 auto; padding: 70px 2rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 1rem; margin-top: 2rem;
}
.gallery-item {
  border-radius: 6px; overflow: hidden; cursor: pointer; position: relative;
  background: linear-gradient(135deg,var(--green-dark),var(--green-mid));
  aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: .3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(10,61,31,0.8);
  opacity: 0; transition: .3s;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Gallery lightbox */
.lightbox { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.95); align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 4px; }
.lightbox-close { position: absolute; top: 1.5rem; right: 2rem; color: #fff; font-size: 2rem; cursor: pointer; background: none; border: none; }

/* ── BLOG ────────────────────────────────────────────── */
.blog-layout { max-width: 1100px; margin: 0 auto; padding: 70px 2rem; }
.blog-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; }

.post-card { border-bottom: 1px solid #e5e7eb; padding-bottom: 3rem; margin-bottom: 3rem; }
.post-card:last-child { border-bottom: none; }
.post-thumb {
  width: 100%; height: 260px; border-radius: 8px; overflow: hidden; margin-bottom: 1.5rem;
  background: linear-gradient(135deg,var(--green-dark),var(--green-mid));
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: .8rem; }
.post-tag {
  background: rgba(45,155,78,0.1); color: var(--green-bright);
  font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700;
  padding: 4px 10px; border-radius: 3px;
}
.post-date { font-size: 0.8rem; color: var(--grey); }
.post-card h2 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--green-dark); line-height: 1.3; margin-bottom: .8rem; }
.post-card h2 a { color: inherit; }
.post-card h2 a:hover { color: var(--green-bright); }
.post-card .excerpt { color: var(--grey); line-height: 1.8; font-size: 0.95rem; }

/* Single post */
.single-post { max-width: 800px; margin: 0 auto; padding: 70px 2rem; }
.single-post .post-content { margin-top: 2rem; color: #333; line-height: 1.9; font-size: 1rem; }
.single-post .post-content h2,
.single-post .post-content h3 { font-family: 'Playfair Display', serif; color: var(--green-dark); margin: 2rem 0 .8rem; }
.single-post .post-content p { margin-bottom: 1.2rem; }
.single-post .post-content img { border-radius: 6px; margin: 1.5rem 0; }

/* Sidebar */
.sidebar-widget { background: var(--cream); border-radius: 8px; padding: 1.5rem; margin-bottom: 2rem; border-left: 4px solid var(--gold); }
.sidebar-widget h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--green-dark); margin-bottom: 1rem; }
.recent-post { display: flex; gap: .8rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid #e5e7eb; }
.recent-post:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.rp-thumb { width: 60px; height: 60px; flex-shrink: 0; border-radius: 4px; overflow: hidden; background: linear-gradient(135deg,var(--green-dark),var(--green-mid)); }
.rp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rp-title { font-size: 0.8rem; font-weight: 600; color: #111; line-height: 1.4; }
.rp-title a { color: inherit; }
.rp-title a:hover { color: var(--green-bright); }
.rp-date { font-size: 0.7rem; color: var(--grey); margin-top: 3px; }

.tag-cloud a {
  display: inline-block; margin: 3px;
  background: rgba(45,155,78,0.08); color: var(--green-bright);
  font-size: 0.75rem; padding: 5px 12px; border-radius: 99px;
  border: 1px solid rgba(45,155,78,0.2); transition: .2s;
}
.tag-cloud a:hover { background: var(--green-bright); color: #fff; }

/* Pagination */
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 2rem; }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 4px;
  font-size: 0.85rem; font-weight: 600;
  border: 1px solid #e5e7eb; color: #111; transition: .2s;
}
.pagination a:hover, .pagination .current { background: var(--green-bright); color: #fff; border-color: var(--green-bright); }

/* ── CONTACT ─────────────────────────────────────────── */
.contact-section { max-width: 1100px; margin: 0 auto; padding: 80px 2rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.8rem; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 8px;
  background: var(--green-dark); display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.contact-label { font-weight: 700; font-size: 0.82rem; color: #111; margin-bottom: 3px; text-transform: uppercase; letter-spacing: 1px; }
.contact-value { font-size: 0.9rem; color: var(--grey); line-height: 1.6; }
.map-wrap { border-radius: 8px; overflow: hidden; border: 2px solid #e5e7eb; margin-top: 2rem; }

/* Contact form (supports WP contact plugins) */
.contact-form-wrap h2 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--green-dark); margin-bottom: 1.5rem; }
.contact-form-wrap .wpcf7-form,
.nf-form-cont { margin-top: 0; }
.form-row { margin-bottom: 1.2rem; }
.form-row label { display: block; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #111; margin-bottom: 6px; }
.form-row input,
.form-row textarea,
.form-row select,
.wpcf7-text,
.wpcf7-email,
.wpcf7-textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid #e5e7eb; border-radius: 6px;
  font-family: 'Inter', sans-serif; font-size: 0.9rem; color: #111;
  transition: .2s; outline: none; background: #fff;
}
.form-row input:focus,
.form-row textarea:focus,
.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-textarea:focus { border-color: var(--green-bright); box-shadow: 0 0 0 3px rgba(45,155,78,0.1); }
.form-row textarea { resize: vertical; min-height: 120px; }
.wpcf7-submit { background: var(--gold) !important; color: var(--green-dark) !important; font-weight: 700 !important; border: none !important; }

/* ── FOOTER ──────────────────────────────────────────── */
#site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.7);
  padding: 70px 2rem 30px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-top: 1rem; color: rgba(255,255,255,0.5); }
.footer-logo { height: 80px; margin-bottom: 1rem; }
.footer-motto-tag { font-family: 'Bebas Neue', sans-serif; letter-spacing: 3px; font-size: 0.9rem; color: var(--gold); margin-top: 1.2rem; display: block; }
.footer-col h4 { font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.85rem; transition: .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  #primary-menu {
    display: none; position: fixed; top: 72px; left: 0; right: 0;
    background: var(--green-dark); flex-direction: column; padding: 1rem;
    border-bottom: 2px solid var(--gold); gap: 0;
  }
  #primary-menu.open { display: flex; }
  #primary-menu a { padding: 12px 16px; font-size: 0.9rem; }
  .menu-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero-visual { order: -1; }
  .hero-logo-wrap { width: 200px; height: 200px; }
  .hero-logo-wrap img { width: 170px; height: 170px; }
  .hero-cta { justify-content: center; }
  .hero-desc { margin-inline: auto; }
  .gov-inner { grid-template-columns: 1fr; gap: 2rem; }
  .gov-badge { right: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero { height: auto; padding: 4rem 0 3rem; }
  .hero-stats { gap: 1.5rem; }
  .achieve-grid { grid-template-columns: 1fr 1fr; }
}

/* ── WORDPRESS DEFAULTS ──────────────────────────────── */
.wp-block-image img { border-radius: 6px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8rem; color: var(--grey); text-align: center; margin-top: 6px; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1.5rem auto; }
.screen-reader-text { position: absolute; left: -9999em; }

/* ── ELEMENTOR CONFLICT HARDENING ──────────────────────
   Elementor's global frontend stylesheet declares its own
   resets/utility rules on generic selectors (e.g. *, img,
   section layout helpers). These rules sit alongside ours
   and can win on equal specificity depending on load order
   or caching. The selectors below restate the theme's
   layout-critical declarations with higher specificity so
   our page sections render correctly even when Elementor's
   CSS is present on the page (it always is once activated,
   even on non-Elementor pages). */

body .hero.hero,
body section.hero {
  display: flex !important;
  align-items: center !important;
  height: calc(100vh - 72px) !important;
  position: relative !important;
  overflow: hidden !important;
}

body .hero-inner.hero-inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 4rem !important;
  align-items: center !important;
  position: relative !important;
  z-index: 2 !important;
}

body .gov-inner.gov-inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 5rem !important;
  align-items: center !important;
}

body .gov-img-wrap.gov-img-wrap {
  position: relative !important;
}

body .gov-badge.gov-badge {
  position: absolute !important;
}

body .achieve-grid.achieve-grid,
body .news-grid.news-grid {
  display: grid !important;
}

body .achieve-grid.achieve-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr)) !important;
}

body .news-grid.news-grid {
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr)) !important;
}

body .hero-visual.hero-visual,
body .hero-stats.hero-stats {
  display: flex !important;
}

body .hero-visual.hero-visual { flex-direction: column !important; }

/* Emoji icons used inline in headings: constrain to a sane
   size so they don't inherit huge heading font-sizes. */
.section-title .emoji-icon,
h1 .emoji-icon, h2 .emoji-icon, h3 .emoji-icon {
  font-size: 1em;
  vertical-align: middle;
  display: inline-block;
}

@media (max-width: 768px) {
  body .hero-inner.hero-inner,
  body .gov-inner.gov-inner {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 480px) {
  body .achieve-grid.achieve-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}
