/*
Theme Name:  GMD4
Theme URI:   https://gmd4.org
Author:      GMD4 Web Team
Author URI:  https://gmd4.org
Description: Official theme for Groundwater Management District No. 4 — Southwest Kansas. Modern, mobile-first, accessible.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gmd4
Tags:        custom-menu, featured-images, threaded-comments, translation-ready, responsive-layout
*/

/* ─── Reset & Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #1e2530;
  background: #f0f2f5;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── CSS Variables ─────────────────────────────────────────────────── */
:root {
  --navy:         #1a2e4a;
  --navy-dark:    #0f1e30;
  --navy-mid:     #243c5c;
  --navy-light:   #2f527a;
  --accent:       #b87d2e;
  --accent-light: #d4952e;
  --accent-pale:  #fdf3e3;
  --gray-bg:      #f0f2f5;
  --gray-border:  #cdd0d5;
  --gray-mid:     #8a929c;
  --white:        #ffffff;
  --text:         #1e2530;
  --text-muted:   #5a6472;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.10);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.13);
  --radius-sm:    4px;
  --radius-md:    6px;
  --radius-lg:    10px;
  --nav-height:   64px;
  --announce-height: 40px;
  --utility-height: 34px;
  --total-header: calc(var(--announce-height) + var(--utility-height) + var(--nav-height));
}

/* ─── Utility ────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.badge { display: inline-block; font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 20px; text-transform: uppercase; letter-spacing: .4px; }
.badge-accent { background: var(--accent); color: #fff; }
.badge-new    { background: #e0f0e8; color: #1a5c34; }
.badge-info   { background: #dde8f5; color: #1a3a6c; }

/* ─── Sticky Header ──────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-md); }

/* ─── Announcement Bar ───────────────────────────────────────────────── */
.announce-bar {
  background: var(--accent); color: #fff;
  height: var(--announce-height);
  display: flex; align-items: center; justify-content: center;
  gap: 10px; font-size: 12.5px; font-weight: 500;
  letter-spacing: .2px; padding: 0 16px; text-align: center;
  position: relative;
}
.announce-bar i { font-size: 15px; flex-shrink: 0; }
.announce-bar a { color: #fff; font-weight: 700; text-decoration: underline; white-space: nowrap; }
.announce-bar a:hover { opacity: .85; }
.announce-dismiss {
  position: absolute; right: 16px; background: none; border: none;
  color: rgba(255,255,255,0.7); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; transition: color .15s;
}
.announce-dismiss:hover { color: #fff; }

/* ─── Utility Bar ────────────────────────────────────────────────────── */
.utility-bar { background: var(--navy-dark); height: var(--utility-height); display: flex; align-items: center; }
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.utility-links { display: flex; gap: 20px; align-items: center; }
.utility-links a { color: #8faac4; font-size: 11.5px; display: flex; align-items: center; gap: 5px; transition: color .15s; }
.utility-links a:hover { color: #fff; }
.utility-links a i { font-size: 14px; }
.utility-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.15); }
.social-links { display: flex; gap: 8px; align-items: center; }
.social-links a { color: #8faac4; font-size: 18px; line-height: 1; transition: color .15s; display: flex; align-items: center; }
.social-links a:hover { color: #fff; }

/* ─── Main Nav ───────────────────────────────────────────────────────── */
.main-nav { background: var(--navy); height: var(--nav-height); }
.main-nav .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }

/* Logo */
.logo-area { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.logo-img {
  width: 76px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.logo-img img { width: 100%; height: 100%; object-fit: contain; }
.logo-img-text {
  width: 46px; height: 46px; background: var(--white);
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  font-family: 'Source Serif 4', serif; font-size: 9px; font-weight: 700;
  color: var(--navy); text-align: center; line-height: 1.2; padding: 4px;
  flex-shrink: 0; overflow: hidden;
}
.logo-img-text img { width: 100%; height: 100%; object-fit: contain; }
.logo-text .name { font-family: 'Source Serif 4', serif; font-size: 14px; font-weight: 600; color: #fff; line-height: 1.2; letter-spacing: .1px; }
.logo-text .tagline { font-size: 10px; color: #7a9ab8; letter-spacing: .8px; text-transform: uppercase; margin-top: 1px; }

/* Nav menu */
.nav-menu { display: flex; height: 100%; list-style: none; margin: 0; }
.nav-item { position: relative; height: 100%; }
.nav-link {
  height: 100%; display: flex; align-items: center; gap: 5px;
  padding: 0 14px; font-size: 13px; font-weight: 500; color: #ccdce8;
  letter-spacing: .2px; transition: background .15s, color .15s;
  white-space: nowrap; cursor: pointer;
}
.nav-link i.ti-chevron-down { font-size: 11px; opacity: .7; transition: transform .2s; }
.nav-item:hover > .nav-link,
.nav-item.open > .nav-link { background: rgba(255,255,255,0.1); color: #fff; }
.nav-item:hover > .nav-link i.ti-chevron-down,
.nav-item.open > .nav-link i.ti-chevron-down { transform: rotate(180deg); }
.nav-link-btn { background: none; border: none; cursor: pointer; font-family: inherit; }

/* Dropdown */
.dropdown {
  position: absolute; top: 100%; left: 0; background: var(--white);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-md); min-width: 200px;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px); transition: opacity .2s, transform .2s; z-index: 200;
}
.nav-item:hover .dropdown,
.nav-item.open .dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; font-size: 13px; color: var(--text);
  border-bottom: 1px solid #f0f2f5; transition: background .1s, color .1s, padding-left .1s;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a i { font-size: 14px; color: var(--accent); }
.dropdown a:hover { background: #f5f7fa; color: var(--navy); padding-left: 20px; }

/* WordPress nav overrides */
.nav-menu .menu-item { position: relative; height: 100%; }
.nav-menu .menu-item > a { height: 100%; display: flex; align-items: center; gap: 5px; padding: 0 14px; font-size: 13px; font-weight: 500; color: #ccdce8; letter-spacing: .2px; transition: background .15s, color .15s; white-space: nowrap; }
.nav-menu .menu-item:hover > a { background: rgba(255,255,255,0.1); color: #fff; }
.nav-menu .sub-menu {
  position: absolute; top: 100%; left: 0; background: var(--white);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-md); min-width: 200px; list-style: none;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity .2s, transform .2s; z-index: 200;
}
.nav-menu .menu-item:hover .sub-menu { opacity: 1; pointer-events: all; transform: translateY(0); }
.nav-menu .sub-menu a { display: block; padding: 10px 16px; font-size: 13px; color: var(--text); border-bottom: 1px solid #f0f2f5; transition: background .1s, color .1s, padding-left .1s; }
.nav-menu .sub-menu li:last-child a { border-bottom: none; }
.nav-menu .sub-menu a:hover { background: #f5f7fa; color: var(--navy); padding-left: 20px; }

/* Mobile toggle */
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; padding: 4px; line-height: 1; }

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero { background: var(--navy-dark); position: relative; overflow: hidden; }
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(45,90,140,0.4) 0%, transparent 55%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #2f527a 100%);
  pointer-events: none;
}
.hero-bg-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: flex; align-items: center; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
.hero-content { flex: 1; min-width: 0; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--accent-light); margin-bottom: 14px; }
.hero-eyebrow::before { content: ''; display: inline-block; width: 20px; height: 2px; background: var(--accent-light); }
.hero h1 { font-family: 'Source Serif 4', serif; font-size: clamp(22px, 3vw, 32px); font-weight: 600; color: #fff; line-height: 1.25; margin-bottom: 16px;  }
.hero p { font-size: 14px; color: #90b0cc; line-height: 1.7;  margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; padding: 11px 22px; border-radius: var(--radius-md); border: none; cursor: pointer; transition: background .15s, transform .1s; }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-outline { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: #c8dae8; font-size: 13px; font-weight: 600; padding: 11px 22px; border-radius: var(--radius-md); border: 1.5px solid rgba(255,255,255,0.3); cursor: pointer; transition: border-color .15s, color .15s, transform .1s; }
.btn-outline:hover { border-color: rgba(255,255,255,0.6); color: #fff; transform: translateY(-1px); }
.hero-stats { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; min-width: 180px; }
.stat-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.13); border-radius: var(--radius-lg); padding: 16px 20px; text-align: center; backdrop-filter: blur(4px); }
.stat-card .num { font-family: 'Source Serif 4', serif; font-size: 26px; font-weight: 700; color: #7eb8e8; line-height: 1; }
.stat-card .lbl { font-size: 11px; color: #7a9ab8; margin-top: 4px; letter-spacing: .3px; }

/* ─── Quick Links Bar ────────────────────────────────────────────────── */
.quick-bar { background: var(--white); border-bottom: 1px solid var(--gray-border); box-shadow: var(--shadow-sm); }
.quick-bar .container { display: flex; overflow-x: auto; scrollbar-width: none; }
.quick-bar .container::-webkit-scrollbar { display: none; }
.quick-link-item { display: flex; align-items: center; gap: 7px; padding: 13px 18px; font-size: 12.5px; font-weight: 500; color: var(--text-muted); border-right: 1px solid var(--gray-border); white-space: nowrap; transition: background .1s, color .1s; flex-shrink: 0; cursor: pointer; }
.quick-link-item:first-child { border-left: 1px solid var(--gray-border); }
.quick-link-item i { font-size: 16px; color: var(--accent); }
.quick-link-item:hover { background: #f5f7ff; color: var(--navy); }

/* ─── Page Body ──────────────────────────────────────────────────────── */
.page-body { background: var(--gray-bg); padding: 32px 0 48px; }
.page-body .container { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }

/* Interior pages (no sidebar) */
.page-body.no-sidebar .container { grid-template-columns: 1fr; }
.content-area { min-width: 0; }

/* ─── Section Headings ───────────────────────────────────────────────── */
.section-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2.5px solid var(--navy); padding-bottom: 8px; margin-bottom: 20px; }
.section-head h2 { font-family: 'Source Serif 4', serif; font-size: 17px; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.section-head h2 i { font-size: 18px; color: var(--accent); }
.section-head a { font-size: 12px; color: var(--accent); font-weight: 600; display: flex; align-items: center; gap: 4px; transition: gap .15s; }
.section-head a:hover { gap: 8px; }

/* ─── Mission Strip ──────────────────────────────────────────────────── */
.mission-strip { background: var(--navy); border-radius: var(--radius-lg); padding: 24px 28px; display: flex; gap: 20px; align-items: flex-start; margin-bottom: 28px; position: relative; overflow: hidden; }
.mission-strip::after { content: ''; position: absolute; right: -20px; top: -20px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,0.04); pointer-events: none; }
.mission-icon { width: 48px; height: 48px; flex-shrink: 0; background: rgba(255,255,255,0.1); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; }
.mission-icon i { font-size: 24px; color: #7eb8e8; }
.mission-text h3 { font-family: 'Source Serif 4', serif; font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.mission-text p { font-size: 13px; color: #8aafcc; line-height: 1.65; }

/* ─── News Cards ─────────────────────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.news-card { background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .2s, transform .2s; cursor: pointer; }
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.news-thumb { height: 120px; background: var(--gray-bg); display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid var(--gray-border); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-thumb-placeholder { font-size: 36px; color: var(--gray-border); }
.news-body { padding: 14px 16px; }
.news-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--accent); margin-bottom: 5px; }
.news-title { font-family: 'Source Serif 4', serif; font-size: 13.5px; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 7px; }
.news-excerpt { font-size: 12px; color: var(--text-muted); line-height: 1.55; }
.news-meta { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--gray-mid); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--gray-bg); }
.news-meta i { font-size: 13px; }

/* ─── Feature Cards ──────────────────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card { background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius-lg); padding: 18px; display: flex; flex-direction: column; gap: 6px; transition: box-shadow .2s; }
.feature-card:hover { box-shadow: var(--shadow-md); }
.feature-icon-wrap { width: 100%;  height: 144px; background: #e6edf6; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.feature-icon-wrap i { font-size: 20px; color: var(--navy); }
.feature-title { font-size: 13px; font-weight: 600; color: var(--navy); }
.feature-desc { font-size: 12px; color: var(--text-muted); line-height: 1.55; flex: 1; }
.feature-link { font-size: 12px; color: var(--accent); font-weight: 600; margin-top: 6px; display: flex; align-items: center; gap: 4px; transition: gap .15s; }
.feature-link:hover { gap: 8px; }
.feature-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;      
    display: block;
}

/* ─── Sidebar ────────────────────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

/* LEMA box */
.lema-box { background: var(--navy); border-radius: var(--radius-lg); padding: 20px; overflow: hidden; position: relative; }
.lema-box::before { content: ''; position: absolute; bottom: -30px; right: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,0.04); pointer-events: none; }
.lema-box h3 { font-family: 'Source Serif 4', serif; font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.lema-box h3 i { font-size: 18px; color: #7eb8e8; }
.lema-box p { font-size: 12px; color: #8aafcc; line-height: 1.6; margin-bottom: 14px; }
.lema-links { display: flex; flex-direction: column; gap: 6px; }
.lema-link { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md); padding: 10px 14px; font-size: 13px; font-weight: 500; color: #c8dae8; display: flex; justify-content: space-between; align-items: center; transition: background .15s; cursor: pointer; }
.lema-link:hover { background: rgba(255,255,255,0.14); color: #fff; }
.lema-link i { font-size: 14px; opacity: .6; }

/* Sidebar cards */
.sidebar-card { background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius-lg); overflow: hidden; }
.sidebar-card-head { padding: 14px 16px; border-bottom: 1px solid var(--gray-border); display: flex; justify-content: space-between; align-items: center; }
.sidebar-card-head h3 { font-family: 'Source Serif 4', serif; font-size: 15px; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 7px; }
.sidebar-card-head h3 i { color: var(--accent); font-size: 17px; }
.sidebar-card-head .view-all { font-size: 11px; color: var(--accent); font-weight: 600; display: flex; align-items: center; gap: 3px; }

/* Events */
.event-list { list-style: none; }
.event-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--gray-bg); transition: background .1s; }
.event-item:last-child { border-bottom: none; }
.event-item:hover { background: #f8f9fc; }
.event-date { background: var(--navy); color: #fff; border-radius: var(--radius-md); min-width: 46px; text-align: center; padding: 6px 8px; flex-shrink: 0; }
.event-date .mo { font-size: 9px; text-transform: uppercase; letter-spacing: .5px; color: #7eb8e8; }
.event-date .day { font-size: 20px; font-weight: 700; line-height: 1; font-family: 'Source Serif 4', serif; }
.event-info .ev-title { font-size: 12.5px; font-weight: 600; color: var(--text); }
.event-info .ev-meta { font-size: 11px; color: var(--text-muted); margin-top: 3px; display: flex; gap: 10px; flex-wrap: wrap; }
.event-info .ev-meta span { display: flex; align-items: center; gap: 3px; }
.event-info .ev-meta i { font-size: 12px; }
.events-footer { padding: 10px 16px; border-top: 1px solid var(--gray-border); text-align: center; }
.events-footer a { font-size: 12px; font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 4px; }
.events-footer a:hover { color: var(--accent); }

/* Agency links */
.agency-list { list-style: none; padding: 10px 16px; }
.agency-item { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--gray-bg); font-size: 12.5px; color: var(--text-muted); transition: color .1s; }
.agency-item:last-child { border-bottom: none; }
.agency-item i { font-size: 13px; color: var(--accent); flex-shrink: 0; }
.agency-item a { color: var(--text-muted); transition: color .1s; }
.agency-item:hover a { color: var(--navy); }

/* ─── Interior Page Content ──────────────────────────────────────────── */
.entry-content { background: var(--white); border-radius: var(--radius-lg); padding: 32px; }
.entry-content h1, .entry-content h2, .entry-content h3 { font-family: 'Source Serif 4', serif; color: var(--navy); margin-bottom: 12px; margin-top: 24px; }
.entry-content h1 { font-size: 26px; }
.entry-content h2 { font-size: 20px; }
.entry-content h3 { font-size: 17px; }
.entry-content p { margin-bottom: 16px; font-size: 14px; line-height: 1.75; }
.entry-content ul, .entry-content ol { margin: 0 0 16px 24px; font-size: 14px; line-height: 1.75; }
.entry-content a { color: var(--accent); text-decoration: underline; }
.entry-content img { border-radius: var(--radius-md); margin: 16px 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 13px; }
.entry-content th { background: var(--navy); color: #fff; padding: 10px 14px; text-align: left; }
.entry-content td { padding: 9px 14px; border-bottom: 1px solid var(--gray-border); }
.entry-content tr:hover td { background: #f8f9fc; }

/* Page title */
.page-title-bar { background: var(--navy); padding: 24px 0; margin-bottom: 0; }
.page-title-bar h1 { font-family: 'Source Serif 4', serif; font-size: 24px; font-weight: 600; color: #fff; }
.page-title-bar .breadcrumb { font-size: 12px; color: #7a9ab8; margin-top: 4px; }
.page-title-bar .breadcrumb a { color: #7a9ab8; }
.page-title-bar .breadcrumb a:hover { color: #fff; }

/* ─── Footer ─────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy-dark); padding: 40px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo-mark { width: 76px; height: 48px; background: rgba(255,255,255,0.1); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: #7eb8e8; text-align: center; line-height: 1.2; flex-shrink: 0; }
.footer-brand-name { font-family: 'Source Serif 4', serif; font-size: 13px; font-weight: 600; color: #c8dae8; line-height: 1.3; }
.footer-brand p { font-size: 12px; color: #5e7a90; line-height: 1.65; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 32px; height: 32px; border-radius: var(--radius-md); background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; font-size: 17px; color: #7a9ab8; transition: background .15s, color .15s; }
.footer-social a:hover { background: rgba(255,255,255,0.14); color: #fff; }
.footer-col h4 { font-size: 10.5px; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 12.5px; color: #5e7a90; transition: color .15s; display: block; }
.footer-col ul a:hover { color: #c8dae8; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 7px; font-size: 12.5px; color: #5e7a90; margin-bottom: 8px; }
.footer-contact-item i { font-size: 15px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: #5e7a90; }
.footer-contact-item a:hover { color: #c8dae8; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 11px; color: #3a5060; flex-wrap: wrap; gap: 8px; }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: #3a5060; transition: color .15s; }
.footer-bottom-links a:hover { color: #7a9ab8; }

/* WordPress widget areas in footer */
.footer-widgets { display: none; }

/* ─── Animations ─────────────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.hero-content { animation: fadeUp .6s ease both; }
.hero-stats   { animation: fadeUp .6s ease .15s both; }

/* ─── WordPress Specific ─────────────────────────────────────────────── */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--text-muted); margin-top: 4px; text-align: center; }
.alignleft { float: left; margin: 0 20px 16px 0; }
.alignright { float: right; margin: 0 0 16px 20px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.sticky { /* WordPress sticky post marker */ }
.bypostauthor { /* WordPress bypostauthor */ }

/* ─── Mobile ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-menu { display: none; position: fixed; top: var(--total-header); left: 0; right: 0; background: var(--navy); flex-direction: column; height: auto; padding: 8px 0 20px; box-shadow: var(--shadow-md); overflow-y: auto; max-height: calc(100vh - var(--total-header)); z-index: 999; }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-item { height: auto; }
  .nav-link { padding: 12px 20px; height: auto; }
  .dropdown, .nav-menu .sub-menu { position: static; box-shadow: none; border-top: none; border-radius: 0; opacity: 1; pointer-events: all; transform: none; background: rgba(0,0,0,0.2); display: none; min-width: 0; }
  .nav-item.open .dropdown, .nav-menu .menu-item.open .sub-menu { display: block; }
  .dropdown a, .nav-menu .sub-menu a { color: #a8c0d8; padding-left: 36px; }
  .nav-menu .menu-item { height: auto; }
  .nav-menu .menu-item > a { height: auto; padding: 12px 20px; }

  .hero .container { flex-direction: column; gap: 24px; padding-top: 32px; padding-bottom: 32px; }
  .hero-stats { flex-direction: row; width: 100%; justify-content: center; min-width: 0; }
  .stat-card { flex: 1; }

  .page-body .container { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 580px) {
  .utility-links { display: none; }
  .hero h1 { font-size: 20px; }
  .hero-stats { flex-direction: column; }
  .news-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .logo-text .name { font-size: 12px; }
}
/* Calendar wrapper */
.gmd4-cal-wrap {
    border: 1px solid var(--gray-border, #e0e0e0);
    border-radius: var(--radius-lg, 8px);
    overflow: hidden;
    margin-bottom: 8px;
    font-family: var(--font-sans, 'DM Sans', sans-serif);
}

/* Header row */
.gmd4-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--nav-bg, #5a6472);
    color: #fff;
    padding: 14px 20px;
}
.gmd4-cal-month-label {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
}
.gmd4-cal-nav {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    line-height: 1;
    transition: background .15s;
}
.gmd4-cal-nav:hover { background: rgba(255,255,255,.15); color: #fff; }

/* Grid */
.gmd4-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-left: 1px solid var(--gray-border, #e0e0e0);
}
.gmd4-cal-dow {
    background: #f5f5f5;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--text-muted, #888);
    padding: 8px 4px;
    border-right: 1px solid var(--gray-border, #e0e0e0);
    border-bottom: 1px solid var(--gray-border, #e0e0e0);
}
.gmd4-cal-cell {
    min-height: 96px;
    border-right: 1px solid var(--gray-border, #e0e0e0);
    border-bottom: 1px solid var(--gray-border, #e0e0e0);
    padding: 6px 5px 5px;
    vertical-align: top;
    font-size: 12px;
    position: relative;
}
.gmd4-cal-cell--empty { background: #fafafa; }
.gmd4-cal-cell--empty.gmd4-cal-cell--next-month .gmd4-cal-day-num { color: #ccc; }
.gmd4-cal-cell--today { background: #f0f4f8; }
.gmd4-cal-day-num {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark, #333);
    margin-bottom: 4px;
}
.gmd4-cal-cell--today .gmd4-cal-day-num {
    color: var(--accent, #1a7a6e);
}

/* Event pill inside cell */
.gmd4-cal-event-pill {
    display: block;
    background: rgba(26, 122, 110, .08);
    border-left: 3px solid var(--accent, #1a7a6e);
    color: var(--accent, #1a7a6e);
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 5px;
    margin-bottom: 3px;
    border-radius: 2px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    transition: background .15s;
}
.gmd4-cal-event-pill:hover {
    background: rgba(26, 122, 110, .18);
    color: var(--accent, #1a7a6e);
}

/* ── Sub-nav ──────────────────────────────────────────────────────────────── */
.gmd4-event-subnav {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
    border: 1px solid var(--gray-border, #e0e0e0);
    border-radius: var(--radius-md, 6px);
    overflow: hidden;
    width: fit-content;
    min-width: 240px;
}
.gmd4-event-subnav__item {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark, #333);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-border, #e0e0e0);
    transition: background .15s, color .15s;
}
.gmd4-event-subnav__item:last-child { border-bottom: none; }
.gmd4-event-subnav__item:hover,
.gmd4-event-subnav__item.is-active {
    background: var(--accent, #1a7a6e);
    color: #fff;
}

/* ── Year Tabs ────────────────────────────────────────────────────────────── */
.gmd4-year-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.gmd4-year-tab {
    padding: 8px 18px;
    border-radius: var(--radius-sm, 4px);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark, #333);
    text-decoration: none;
    background: #f0f0f0;
    border: 1px solid #ddd;
    transition: background .15s, color .15s, border-color .15s;
}
.gmd4-year-tab:hover { background: #e0e8e7; border-color: var(--accent, #1a7a6e); color: var(--accent, #1a7a6e); }
.gmd4-year-tab.is-active {
    background: var(--accent, #1a7a6e);
    color: #fff;
    border-color: var(--accent, #1a7a6e);
}

/* ── Event List Row ───────────────────────────────────────────────────────── */
.gmd4-event-list { display: flex; flex-direction: column; gap: 0; }
.gmd4-event-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-border, #e0e0e0);
}
.gmd4-event-row:last-child { border-bottom: none; }

/* Date badge */
.gmd4-event-date-badge {
    flex-shrink: 0;
    width: 72px;
    background: var(--accent, #1a7a6e);
    color: #fff;
    border-radius: var(--radius-md, 6px);
    text-align: center;
    padding: 10px 6px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}
.gmd4-event-date-badge__month {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    opacity: .85;
}
.gmd4-event-date-badge__day {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin: 3px 0;
}
.gmd4-event-date-badge__year {
    font-size: 11px;
    opacity: .75;
}

/* Info column */
.gmd4-event-row__info { flex: 1; min-width: 0; }
.gmd4-event-row__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent, #1a7a6e);
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}
.gmd4-event-row__title:hover { text-decoration: underline; }
.gmd4-event-row__meta {
    font-size: 12px;
    color: var(--text-muted, #888);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 4px 0 0;
}
.gmd4-event-row__meta span { display: flex; align-items: center; gap: 4px; }

/* Doc links */
.gmd4-event-row__docs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.gmd4-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--accent, #1a7a6e);
    border: 1px solid var(--accent, #1a7a6e);
    padding: 3px 10px;
    border-radius: 20px;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.gmd4-doc-link:hover { background: var(--accent, #1a7a6e); color: #fff; }

/* Action */
.gmd4-event-row__action { flex-shrink: 0; padding-top: 2px; }
.gmd4-read-more {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent, #1a7a6e);
    text-decoration: none;
    white-space: nowrap;
}
.gmd4-read-more:hover { text-decoration: underline; }

/* ── Cancelled Badge ──────────────────────────────────────────────────────── */
.gmd4-cancelled-badge {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 6px 0 4px;
    padding: 7px 12px;
    background: #fff0f0;
    border: 1.5px solid #e74c3c;
    border-radius: 5px;
}
.gmd4-cancelled-label {
    font-size: 17px;
    font-weight: 900;
    color: #c0392b;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.gmd4-cancelled-note {
    font-size: 12px;
    color: #8b0000;
    font-style: italic;
}

/* Responsive */
@media (max-width: 600px) {
    .gmd4-cal-cell { min-height: 56px; }
    .gmd4-cal-event-pill { display: none; } /* show dot instead on very small screens */
    .gmd4-cal-cell--has-events::after {
        content: '';
        display: block;
        width: 6px; height: 6px;
        background: var(--accent, #1a7a6e);
        border-radius: 50%;
        margin: 2px auto 0;
    }
    .gmd4-event-row { flex-wrap: wrap; }
    .gmd4-event-row__action { width: 100%; }
    .gmd4-event-subnav { width: 100%; }
}
/* "Appears on" chip */
.gmd4-ev-appears-on {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 18px;
}
.gmd4-ev-appears-on__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--text-muted, #888);
}
.gmd4-ev-appears-on__link {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--accent, #1a7a6e);
    text-decoration: none;
}
.gmd4-ev-appears-on__link:hover { text-decoration: underline; }

/* Header row */
.gmd4-ev-detail__header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

/* Date badge */
.gmd4-ev-detail__date-badge {
    flex-shrink: 0;
    width: 72px;
    background: var(--accent, #1a7a6e);
    color: #fff;
    border-radius: var(--radius-md, 6px);
    text-align: center;
    padding: 10px 6px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}
.gmd4-ev-detail__date-badge-month { font-size: 11px; font-weight: 700; letter-spacing: .06em; opacity: .85; }
.gmd4-ev-detail__date-badge-day   { font-size: 34px; font-weight: 800; line-height: 1; margin: 3px 0; }
.gmd4-ev-detail__date-badge-year  { font-size: 11px; opacity: .75; }

/* Title */
.gmd4-ev-detail__event-title {
    font-size: clamp(18px, 3vw, 26px);
    font-weight: 800;
    color: var(--text-dark, #1a2e4a);
    margin: 0 0 6px;
    line-height: 1.2;
}
.gmd4-ev-detail__subtitle {
    font-size: 14px;
    color: var(--text-muted, #666);
    margin: 0;
}
.gmd4-ev-detail__sep { opacity: .5; }

/* Meta pills row */
.gmd4-ev-detail__meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-border, #e0e0e0);
}
.gmd4-ev-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-muted, #666);
    background: #f5f5f5;
    padding: 5px 11px;
    border-radius: 20px;
    font-weight: 500;
}
.gmd4-ev-meta-pill--type {
    background: rgba(26,122,110,.1);
    color: var(--accent, #1a7a6e);
    font-weight: 700;
}

/* Promo image */
.gmd4-ev-detail__promo-img {
    margin-bottom: 24px;
    float: right;
    margin-left: 24px;
    max-width: 340px;
}
@media (max-width: 600px) {
    .gmd4-ev-detail__promo-img { float: none; margin-left: 0; max-width: 100%; }
}

/* Content */
.gmd4-ev-detail__content { clear: both; }

/* Accordion */
.gmd4-ev-accordion {
    border: 1px solid var(--gray-border, #e0e0e0);
    border-radius: var(--radius-md, 6px);
    margin-top: 28px;
    overflow: hidden;
}
.gmd4-ev-accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #f8f8f8;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark, #1a2e4a);
    font-family: inherit;
    text-align: left;
}
.gmd4-ev-accordion__trigger:hover { background: #f0f0f0; }
.gmd4-ev-accordion__icon { font-size: 18px; color: var(--accent, #1a7a6e); flex-shrink: 0; }
.gmd4-ev-accordion__panel { padding: 16px 18px; }

/* Document list */
.gmd4-ev-doc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.gmd4-ev-doc-list__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent, #1a7a6e);
    text-decoration: none;
}
.gmd4-ev-doc-list__link:hover { text-decoration: underline; }
.gmd4-ev-doc-list__link .ti { font-size: 16px; }

/* Contact box */
.gmd4-ev-detail__contact-box {
    background: #f5faf9;
    border: 1px solid rgba(26,122,110,.2);
    border-radius: var(--radius-md, 6px);
    padding: 18px 20px;
    margin-top: 28px;
    font-size: 13px;
    color: var(--text-dark, #333);
}
.gmd4-ev-detail__contact-box-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    margin: 0 0 12px;
    text-transform: uppercase;
    color: var(--text-dark, #1a2e4a);
}
.gmd4-ev-detail__contact-box p {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 8px;
}
.gmd4-ev-detail__contact-box p:last-child { margin-bottom: 0; }
.gmd4-ev-detail__contact-box a { color: var(--accent, #1a7a6e); }
.gmd4-ev-detail__contact-box a:hover { text-decoration: underline; }

/* Post navigation */
.gmd4-ev-detail__nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-border, #e0e0e0);
}
.gmd4-ev-detail__nav-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent, #1a7a6e);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}
.gmd4-ev-detail__nav-link--next { margin-left: auto; }
.gmd4-ev-detail__nav-link:hover { text-decoration: underline; }
/* ── Board Section ───────────────────────────────────── */
.board-section {
    padding: 8px 0 16px;
}

/* ── Grid ────────────────────────────────────────────── */
.board-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ── Card ────────────────────────────────────────────── */
.director-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

.director-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--accent));
}

.director-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* ── Avatar ──────────────────────────────────────────── */
.director-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Source Serif 4', serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 14px;
    flex-shrink: 0;
    border: 3px solid var(--accent-pale);
    box-shadow: 0 0 0 1px var(--accent);
}

/* ── Identity ─────────────────────────────────────────── */
.director-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 2px;
}

.director-name {
    font-family: 'Source Serif 4', serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
    margin: 0;
}

.director-position {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--white);
    background: var(--accent);
    padding: 3px 10px;
    border-radius: 20px;
}

/* ── Divider ──────────────────────────────────────────── */
.director-divider {
    width: 40px;
    height: 2px;
    background: var(--gray-border);
    border-radius: 2px;
    margin: 16px 0;
}

/* ── Meta List ────────────────────────────────────────── */
.director-meta {
    list-style: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    padding: 0;
    margin: 0;
}

.director-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.4;
}

.meta-icon {
    color: var(--accent);
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.meta-link {
    color: var(--navy-light);
    word-break: break-all;
    transition: color 0.15s;
}

.meta-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

.meta-text {
    color: var(--text-muted);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 580px) {
    .board-grid {
        grid-template-columns: 1fr;
    }
}
.budget-table {
    width: 100%;
    border-collapse: collapse;
}

.budget-table th,
.budget-table td {
    padding: 10px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.budget-table th {
    background: #f5f5f5;
    font-weight: 600;
}

.budget-table tbody tr:nth-child(even) {
    background: #fafafa;
}
.acf-accordion {
    width: 100%;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-header {
    width: 100%;
    padding: 15px;
    text-align: left;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    position: relative;
}

.accordion-header::after {
    content: "+";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
}

.accordion-item.active .accordion-header::after {
    content: "−";
}

.accordion-content {
    display: none;
    padding: 15px;
    background: #fff;
}

.accordion-item.active .accordion-content {
    display: block;
}
.event-list .event-item .event-info .gmd4-cancelled-badge {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 3px 5px;
  background: #fff0f0;
  border: 1.5px solid #e74c3c;
  border-radius: 5px;
}
.event-list .event-item .event-info .gmd4-cancelled-label {
  font-size: 10px;
  font-weight: 700;
  color: #c0392b;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.event-list .event-item .event-info .gmd4-cancelled-note {
  font-size: 10px;
  color: #8b0000;
  font-style: italic;
}
.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}