/* ===================================================
   KMWA WordPress Theme — Main Stylesheet
   Kenya Medical Women's Association
   =================================================== */

/* --- RESET & ROOT --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --orange: #e65920;
  --orange-dark: #c44c17;
  --navy: #27204d;
  --navy-light: #342865;
  --white: #ffffff;
  --off-white: #f7f7f7;
  --text: #4a4a4a;
  --text-light: #777;
  --border: #e0e0e0;
}
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; font-size: 16px; color: var(--text); background: #fff; overflow-x: hidden; }
a { text-decoration: none; color: var(--orange); transition: color .2s; }
a:hover { color: var(--orange-dark); }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; color: var(--navy); }
p { line-height: 1.8; margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
input, select, textarea, button { font-family: inherit; }

/* --- LAYOUT --- */
.container, .kmwa-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-bg { background: var(--off-white); }
.section-navy { background: var(--navy); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* --- TOP BAR --- */
.kmwa-top-bar { background: #fff; border-bottom: 1px solid #eee; padding: 8px 0; }
.kmwa-top-bar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.kmwa-logo-link { display: flex; align-items: center; gap: 14px; }
.kmwa-logo-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: #fff; text-align: center; line-height: 1.2; flex-shrink: 0; }
.kmwa-logo-text strong { display: block; font-size: 20px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.kmwa-logo-text span { display: block; font-size: 11px; color: var(--orange); font-weight: 500; letter-spacing: .5px; }
.kmwa-top-contact { text-align: right; font-size: 13px; color: var(--text-light); line-height: 1.7; }
.kmwa-top-contact strong { color: var(--navy); }

/* --- MAIN NAVIGATION --- */
.kmwa-main-nav {
  background: var(--navy);
  position: sticky; top: 0; z-index: 9000;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
  font-family: 'Poppins', sans-serif;
}
.kmwa-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
}
/* Brand shown only on mobile */
.kmwa-nav-brand {
  color: #fff; font-weight: 700; font-size: 15px;
  padding: 14px 0; display: none; text-decoration: none;
}
.kmwa-nav-brand:hover { color: var(--orange); }

/* ── Desktop primary menu ── */
.kmwa-nav-list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0; padding: 0;
}
/* Every <li> needs position:relative so sub-menus anchor to it */
.kmwa-nav-list li,
.kmwa-nav-list .sub-menu li { position: relative; }

/* Top-level links */
.kmwa-nav-list > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 17px 11px;
  font-family: 'Poppins', sans-serif;
  color: rgba(255,255,255,.9); font-size: 13.5px; font-weight: 500;
  white-space: nowrap; transition: color .2s;
  text-decoration: none; line-height: 1;
}
.kmwa-nav-list > li > a:hover,
.kmwa-nav-list > li.current-menu-item > a,
.kmwa-nav-list > li.current-menu-ancestor > a { color: var(--orange); }

/* Dropdown toggle button (desktop: hidden; mobile: visible) */
.kmwa-sub-toggle {
  display: none; /* hidden on desktop */
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.7); padding: 0 10px; line-height: 1;
  font-size: 14px; transition: color .2s, transform .25s;
}
.kmwa-sub-toggle:hover { color: var(--orange); }
.kmwa-sub-toggle[aria-expanded="true"] { color: var(--orange); }
.kmwa-sub-toggle[aria-expanded="true"] .fa { transform: rotate(180deg); display: inline-block; }

/* ── Sub-menu (dropdown panel) ── */
.kmwa-nav-list .sub-menu {
  /* Position it absolutely below (or beside) the parent */
  position: absolute;
  top: 100%; left: 0;
  min-width: 220px;
  background: var(--navy-light);
  border-top: 3px solid var(--orange);
  list-style: none; margin: 0; padding: 0;
  /* Hidden until hover/focus */
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0,0,0,.32);
}
/* Show dropdown on hover of the parent <li> */
.kmwa-nav-list > li:hover > .sub-menu,
.kmwa-nav-list > li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
/* Nested third-level: slide right */
.kmwa-nav-list .sub-menu .sub-menu {
  top: 0; left: 100%;
  border-top: none;
  border-left: 3px solid var(--orange);
}
.kmwa-nav-list .sub-menu li:hover > .sub-menu,
.kmwa-nav-list .sub-menu li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
/* Dropdown item links */
.kmwa-nav-list .sub-menu li a {
  display: block; padding: 11px 18px;
  color: rgba(255,255,255,.85); font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  white-space: nowrap; text-decoration: none;
  transition: background .18s, color .18s;
}
.kmwa-nav-list .sub-menu li:last-child > a { border-bottom: none; }
.kmwa-nav-list .sub-menu li a:hover { background: var(--orange); color: #fff; }

/* ── Hamburger ── */
.kmwa-hamburger {
  display: none; /* hidden on desktop */
  flex-direction: column; justify-content: center; align-items: center;
  background: none; border: none; cursor: pointer;
  padding: 12px 0; gap: 0;
}
.kmwa-hamburger span {
  display: block; width: 24px; height: 2px;
  background: #fff; margin: 4px 0; border-radius: 2px; transition: .28s;
}
.kmwa-hamburger.is-active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.kmwa-hamburger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.kmwa-hamburger.is-active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* --- HERO SLIDER --- */
.kmwa-hero { position: relative; overflow: hidden; background: var(--navy); }
.kmwa-hero-slide {
  position: relative; width: 100%; height: 600px;
  background-size: cover; background-position: center;
  display: none;
}
.kmwa-hero-slide.active { display: block; }
.kmwa-hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(39,32,77,.72) 0%, rgba(0,0,0,.45) 100%);
}
.kmwa-hero-caption {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  background: rgba(255,255,255,.97); padding: 22px 44px;
  border-top: 4px solid var(--orange);
}
.kmwa-hero-caption h2 { font-size: 24px; font-weight: 600; color: #001c5e; margin: 0; }
.kmwa-hero-prev, .kmwa-hero-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; background: rgba(0,0,0,.45); border: none; color: #fff;
  width: 44px; height: 44px; border-radius: 50%; font-size: 22px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.kmwa-hero-prev { left: 20px; }
.kmwa-hero-next { right: 20px; }
.kmwa-hero-prev:hover, .kmwa-hero-next:hover { background: var(--orange); }
.kmwa-hero-dots { position: absolute; bottom: 90px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 8px; }
.kmwa-hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; border: 2px solid rgba(255,255,255,.6); transition: background .2s, border-color .2s; }
.kmwa-hero-dot.active { background: var(--orange); border-color: var(--orange); }

/* --- WELCOME BAND --- */
.kmwa-welcome { background: var(--navy); color: #fff; padding: 56px 0; text-align: center; }
.kmwa-welcome h2 { font-size: 30px; font-weight: 700; color: #fff; margin-bottom: 20px; }
.kmwa-welcome h2 .accent { color: var(--orange); }
.kmwa-welcome p { font-size: 16px; line-height: 1.9; max-width: 820px; margin: 0 auto; opacity: .88; color: rgba(255,255,255,.88); }

/* --- TITLE BAND --- */
.kmwa-title-band { background: var(--orange); padding: 24px 0; text-align: center; }
.kmwa-title-band h2, .kmwa-title-band h3 { color: #fff; font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin: 0; }

/* --- BENEFITS GRID --- */
.kmwa-benefits-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.kmwa-benefit-card { padding: 40px 32px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: background .2s, transform .2s; background: #fff; }
.kmwa-benefit-card:hover { background: #fef4ef; transform: translateY(-2px); }
.kmwa-benefit-card:nth-child(3n) { border-right: none; }
.kmwa-benefit-card:nth-child(n+4) { border-bottom: none; }
.kmwa-benefit-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.kmwa-benefit-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.kmwa-benefit-card p { font-size: 14px; color: var(--text-light); line-height: 1.75; margin: 0; }

/* --- ABOUT SECTION --- */
.kmwa-about { background: var(--off-white); padding: 72px 0; }
.about-divider { width: 50px; height: 4px; background: var(--orange); margin-bottom: 20px; }
.kmwa-about h2 { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 18px; }
.kmwa-about p { font-size: 15px; color: var(--text); margin-bottom: 15px; }
.kmwa-about-img img { width: 100%; height: 420px; object-fit: cover; border-radius: 6px; box-shadow: 0 10px 32px rgba(0,0,0,.14); }
.kmwa-about-img-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; width: 100%; height: 420px; background: #eef0f5; border-radius: 6px; border: 2px dashed var(--navy); color: var(--navy-light); text-align: center; padding: 24px; font-family: 'Poppins', sans-serif; }
.kmwa-about-img-placeholder i { color: var(--orange); }
.kmwa-about-img-placeholder p { font-size: 14px; color: var(--text-light); margin: 0; }
.kmwa-stats { display: flex; gap: 32px; margin-top: 28px; flex-wrap: wrap; }
.kmwa-stat .num { font-size: 32px; font-weight: 800; color: var(--orange); line-height: 1; }
.kmwa-stat .lbl { font-size: 12px; color: var(--text-light); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

/* --- FAQ ACCORDION --- */
.kmwa-faq { padding: 72px 0; }
.kmwa-faq h2 { font-size: 28px; font-weight: 800; color: var(--navy); text-align: center; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.kmwa-faq-underline { width: 60px; height: 4px; background: var(--orange); margin: 0 auto 40px; }
.kmwa-accordion { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin-bottom: 14px; }
.kmwa-accordion-head { display: flex; align-items: center; gap: 14px; padding: 18px 24px; cursor: pointer; background: var(--off-white); font-size: 15px; font-weight: 600; color: var(--navy); transition: background .2s; user-select: none; }
.kmwa-accordion-head:hover { background: #ede9f8; }
.kmwa-acc-icon { color: var(--orange); font-size: 13px; transition: transform .3s; flex-shrink: 0; }
.kmwa-accordion-head.open .kmwa-acc-icon { transform: rotate(45deg); }
.kmwa-accordion-body { display: none; padding: 20px 24px 20px 52px; font-size: 14px; color: var(--text); line-height: 1.85; background: #fff; border-top: 1px solid var(--border); }
.kmwa-accordion-body p { margin-bottom: 10px; }
.kmwa-accordion-body p:last-child { margin-bottom: 0; }

/* --- NEWSLETTER --- */
.kmwa-newsletter { background: var(--orange); padding: 48px 0; color: #fff; text-align: center; }
.kmwa-newsletter h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.kmwa-newsletter p { font-size: 15px; opacity: .9; margin-bottom: 24px; color: #fff; }
.kmwa-nl-form { display: flex; max-width: 480px; margin: 0 auto; }
.kmwa-nl-form input { flex: 1; padding: 13px 18px; border: none; border-radius: 4px 0 0 4px; font-size: 14px; }
.kmwa-nl-form button { padding: 13px 24px; background: var(--navy); color: #fff; border: none; border-radius: 0 4px 4px 0; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s; }
.kmwa-nl-form button:hover { background: var(--navy-light); }

/* --- PAGE HEADER (inner pages) --- */
.kmwa-page-header { background: var(--navy); padding: 56px 0 48px; text-align: center; position: relative; overflow: hidden; }
.kmwa-page-header::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(230,89,32,.15) 0%, transparent 60%); }
.kmwa-page-header h1 { font-size: 36px; font-weight: 800; color: #fff; position: relative; margin: 0; }
.kmwa-page-header .kmwa-breadcrumb { color: rgba(255,255,255,.6); font-size: 13px; margin-top: 10px; position: relative; }
.kmwa-page-header .kmwa-breadcrumb a { color: rgba(255,255,255,.6); }
.kmwa-page-header .kmwa-breadcrumb span { color: var(--orange); }
.kmwa-page-header-bar { width: 60px; height: 4px; background: var(--orange); margin: 14px auto 0; border-radius: 2px; position: relative; }

/* --- PAGE CONTENT --- */
.kmwa-page-content { padding: 64px 0; }
.kmwa-content-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.kmwa-content-wrap.no-sidebar { grid-template-columns: 1fr; }
.kmwa-entry { font-size: 15px; line-height: 1.85; }
.kmwa-entry h1, .kmwa-entry h2, .kmwa-entry h3, .kmwa-entry h4 { color: var(--navy); margin-bottom: .6em; margin-top: 1.4em; }
.kmwa-entry h2 { font-size: 24px; }
.kmwa-entry h3 { font-size: 20px; }
.kmwa-entry p { margin-bottom: 1.2em; }
.kmwa-entry ul, .kmwa-entry ol { padding-left: 24px; margin-bottom: 1.2em; }
.kmwa-entry ul { list-style: disc; }
.kmwa-entry ol { list-style: decimal; }
.kmwa-entry li { margin-bottom: .4em; line-height: 1.7; }
.kmwa-entry img { border-radius: 6px; margin: 1em 0; }
.kmwa-entry table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.kmwa-entry table th, .kmwa-entry table td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; }
.kmwa-entry table th { background: var(--navy); color: #fff; font-size: 14px; }
.kmwa-entry blockquote { border-left: 4px solid var(--orange); padding: 16px 24px; background: var(--off-white); margin: 1.5em 0; border-radius: 0 6px 6px 0; }
.kmwa-entry blockquote p { color: var(--navy); font-style: italic; font-size: 16px; }

/* --- SINGLE POST --- */
.kmwa-post-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.kmwa-post-meta span { font-size: 13px; color: var(--text-light); }
.kmwa-post-meta .kmwa-cat a { background: var(--orange); color: #fff; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.kmwa-post-thumbnail { width: 100%; height: 420px; object-fit: cover; border-radius: 8px; margin-bottom: 32px; }
.kmwa-post-tags { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.kmwa-post-tags a { display: inline-block; background: var(--off-white); color: var(--text); padding: 4px 12px; border-radius: 4px; font-size: 13px; margin: 4px; transition: background .2s; }
.kmwa-post-tags a:hover { background: var(--orange); color: #fff; }
.kmwa-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.kmwa-post-nav a { display: block; background: var(--off-white); padding: 20px; border-radius: 6px; transition: background .2s; }
.kmwa-post-nav a:hover { background: #ede9f8; }
.kmwa-post-nav .nav-label { font-size: 12px; color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 6px; }
.kmwa-post-nav .nav-title { font-size: 14px; font-weight: 700; color: var(--navy); }
.kmwa-post-nav .next-post { text-align: right; }

/* --- BLOG ARCHIVE --- */
.kmwa-posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.kmwa-post-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.07); transition: transform .2s, box-shadow .2s; }
.kmwa-post-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.13); }
.kmwa-post-card-thumb { width: 100%; height: 200px; overflow: hidden; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.kmwa-post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kmwa-post-card-thumb .no-img { font-size: 48px; color: rgba(255,255,255,.2); }
.kmwa-post-card-body { padding: 24px; }
.kmwa-post-card-meta { font-size: 12px; color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.kmwa-post-card-body h2, .kmwa-post-card-body h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.kmwa-post-card-body h2 a, .kmwa-post-card-body h3 a { color: var(--navy); }
.kmwa-post-card-body h2 a:hover, .kmwa-post-card-body h3 a:hover { color: var(--orange); }
.kmwa-post-card-body p { font-size: 14px; color: var(--text-light); margin-bottom: 14px; }
.kmwa-read-more { font-size: 13px; color: var(--orange); font-weight: 600; }
.kmwa-read-more:hover { color: var(--orange-dark); }

/* --- PAGINATION --- */
.kmwa-pagination { text-align: center; margin-top: 48px; }
.kmwa-pagination .page-numbers { display: inline-flex; gap: 6px; }
.kmwa-pagination .page-numbers a, .kmwa-pagination .page-numbers span { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; font-size: 14px; font-weight: 600; border: 2px solid var(--border); color: var(--text); transition: all .2s; }
.kmwa-pagination .page-numbers a:hover, .kmwa-pagination .page-numbers .current { background: var(--orange); border-color: var(--orange); color: #fff; }

/* --- SIDEBAR --- */
.kmwa-sidebar .widget { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 28px; margin-bottom: 28px; }
.kmwa-sidebar .widget-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--orange); display: inline-block; }
.kmwa-sidebar .widget ul li { padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.kmwa-sidebar .widget ul li:last-child { border-bottom: none; }
.kmwa-sidebar .widget ul li a { color: var(--text); }
.kmwa-sidebar .widget ul li a:hover { color: var(--orange); }
.kmwa-sidebar .search-form { display: flex; }
.kmwa-sidebar .search-field { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: 4px 0 0 4px; font-size: 14px; }
.kmwa-sidebar .search-submit { padding: 10px 16px; background: var(--orange); color: #fff; border: none; border-radius: 0 4px 4px 0; cursor: pointer; }

/* --- BUTTONS --- */
.kmwa-btn { display: inline-block; padding: 12px 32px; border-radius: 4px; font-size: 15px; font-weight: 600; cursor: pointer; border: none; transition: background .2s, transform .15s; text-decoration: none; }
.kmwa-btn-orange { background: var(--orange); color: #fff; }
.kmwa-btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); color: #fff; }
.kmwa-btn-navy { background: var(--navy); color: #fff; }
.kmwa-btn-navy:hover { background: var(--navy-light); color: #fff; }
.kmwa-btn-outline { background: transparent; border: 2px solid var(--orange); color: var(--orange); }
.kmwa-btn-outline:hover { background: var(--orange); color: #fff; }

/* --- CUSTOM PAGE TEMPLATES --- */
/* History */
.kmwa-history-lead { font-size: 18px; color: var(--navy); font-weight: 500; margin-bottom: 24px; line-height: 1.7; }
.kmwa-timeline { margin: 48px 0; }
.kmwa-timeline-item { display: flex; gap: 28px; margin-bottom: 36px; align-items: flex-start; }
.kmwa-timeline-year { min-width: 80px; height: 80px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; flex-shrink: 0; text-align: center; line-height: 1.2; }
.kmwa-timeline-text h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.kmwa-timeline-text p { font-size: 14px; color: var(--text-light); margin: 0; }

/* Mission */
.kmwa-m-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 36px 32px; margin-bottom: 24px; border-left: 5px solid var(--orange); }
.kmwa-m-card h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.kmwa-m-card h3 i { color: var(--orange); }
.kmwa-m-card ul { list-style: disc; padding-left: 20px; }
.kmwa-m-card ul li { margin-bottom: 8px; font-size: 15px; }
.kmwa-goals-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 24px; }
.kmwa-goal-item { background: var(--off-white); border-radius: 6px; padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.kmwa-goal-num { min-width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Board */
.kmwa-board-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 40px; }
.kmwa-board-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.08); text-align: center; transition: transform .2s, box-shadow .2s; }
.kmwa-board-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.14); }
.kmwa-board-avatar { width: 100%; height: 200px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); display: flex; align-items: center; justify-content: center; font-size: 52px; color: rgba(255,255,255,.25); overflow: hidden; }
.kmwa-board-avatar img { width: 100%; height: 100%; object-fit: cover; }
.kmwa-board-info { padding: 22px 18px; }
.kmwa-board-info h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.kmwa-board-info .kmwa-role { font-size: 13px; color: var(--orange); font-weight: 500; }

/* Membership */
.kmwa-mem-category { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 32px; margin-bottom: 20px; display: flex; align-items: flex-start; gap: 20px; }
.kmwa-mem-icon { min-width: 50px; height: 50px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.kmwa-mem-category h4 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.kmwa-mem-category p { font-size: 14px; color: var(--text-light); margin: 0; }

/* Well Woman Clinic */
.kmwa-wwc-banner { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: #fff; padding: 60px; border-radius: 10px; margin-bottom: 48px; text-align: center; }
.kmwa-wwc-banner h2 { font-size: 32px; font-weight: 800; margin-bottom: 14px; color: #fff; }
.kmwa-wwc-banner .tm { color: var(--orange); }
.kmwa-wwc-banner p { font-size: 16px; opacity: .88; max-width: 700px; margin: 0 auto; color: rgba(255,255,255,.88); }
.kmwa-wwc-services { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.kmwa-wwc-service { background: var(--off-white); border-radius: 8px; padding: 28px 24px; text-align: center; border-top: 4px solid var(--orange); }
.kmwa-wwc-service i { font-size: 32px; color: var(--orange); margin-bottom: 14px; display: block; }
.kmwa-wwc-service h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.kmwa-wwc-service p { font-size: 14px; color: var(--text-light); margin: 0; }

/* Events */
.kmwa-event-card { background: #fff; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.08); overflow: hidden; display: flex; margin-bottom: 24px; }
.kmwa-event-date { background: var(--orange); color: #fff; min-width: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px; }
.kmwa-event-date .day { font-size: 36px; font-weight: 800; line-height: 1; }
.kmwa-event-date .month { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.kmwa-event-date .year { font-size: 12px; opacity: .8; margin-top: 4px; }
.kmwa-event-body { padding: 24px 28px; flex: 1; }
.kmwa-event-tag { display: inline-block; background: var(--off-white); color: var(--orange); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }
.kmwa-event-body h4 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.kmwa-event-body p { font-size: 14px; color: var(--text-light); margin-bottom: 12px; }
.kmwa-event-body .location { font-size: 13px; color: var(--text-light); }

/* Gallery */
.kmwa-gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; }
.kmwa-gallery-item { height: 220px; overflow: hidden; cursor: pointer; transition: opacity .2s; }
.kmwa-gallery-item:hover { opacity: .85; }
.kmwa-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.kmwa-gallery-item.tall { grid-row: span 2; height: 446px; }

/* Contact */
.kmwa-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.kmwa-contact-info { background: var(--navy); color: #fff; border-radius: 8px; padding: 40px; }
.kmwa-contact-info h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 28px; }
.kmwa-contact-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.kmwa-contact-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; flex-shrink: 0; }
.kmwa-contact-dt { font-size: 14px; line-height: 1.7; opacity: .88; }
.kmwa-contact-dt strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; opacity: .6; margin-bottom: 4px; }
.kmwa-contact-socials { display: flex; gap: 12px; margin-top: 28px; }
.kmwa-contact-socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; transition: background .2s; }
.kmwa-contact-socials a:hover { background: var(--orange); }
.kmwa-contact-form { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 40px; }
.kmwa-contact-form h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.kmwa-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kmwa-form-group { margin-bottom: 16px; }
.kmwa-form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.kmwa-form-group input, .kmwa-form-group select, .kmwa-form-group textarea { width: 100%; padding: 11px 14px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; font-family: inherit; color: var(--text); transition: border-color .2s; }
.kmwa-form-group input:focus, .kmwa-form-group select:focus, .kmwa-form-group textarea:focus { outline: none; border-color: var(--orange); }

/* Sponsors */
.kmwa-sponsor-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 40px; }
.kmwa-sponsor-card { background: var(--off-white); border-radius: 8px; padding: 32px 20px; text-align: center; border: 1px solid var(--border); transition: box-shadow .2s; }
.kmwa-sponsor-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.kmwa-sponsor-logo { width: 80px; height: 80px; border-radius: 50%; background: var(--navy); margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: rgba(255,255,255,.4); overflow: hidden; }
.kmwa-sponsor-logo img { width: 100%; height: 100%; object-fit: contain; padding: 12px; filter: brightness(0) invert(1); }
.kmwa-sponsor-card h4 { font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.4; }

/* --- COMMENTS --- */
.kmwa-comments { padding-top: 40px; border-top: 1px solid var(--border); margin-top: 40px; }
.kmwa-comments h2 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 28px; }
.kmwa-comment { display: flex; gap: 16px; margin-bottom: 28px; }
.kmwa-comment-avatar img { border-radius: 50%; width: 48px; height: 48px; }
.kmwa-comment-body { flex: 1; background: var(--off-white); border-radius: 8px; padding: 18px 20px; }
.kmwa-comment-meta { font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.kmwa-comment-meta strong { color: var(--navy); font-weight: 600; }
.kmwa-comment-body p { font-size: 14px; margin: 0; }
.kmwa-comment-form label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; margin-top: 14px; }
.kmwa-comment-form input[type="text"], .kmwa-comment-form input[type="email"], .kmwa-comment-form input[type="url"], .kmwa-comment-form textarea { width: 100%; padding: 11px 14px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; font-family: inherit; }
.kmwa-comment-form textarea { min-height: 150px; }
.kmwa-comment-form input[type="submit"] { margin-top: 16px; padding: 12px 32px; background: var(--orange); color: #fff; border: none; border-radius: 4px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s; }
.kmwa-comment-form input[type="submit"]:hover { background: var(--orange-dark); }

/* --- 404 --- */
.kmwa-404 { padding: 100px 0; text-align: center; }
.kmwa-404 .error-num { font-size: 120px; font-weight: 800; color: var(--orange); line-height: 1; }
.kmwa-404 h2 { font-size: 28px; color: var(--navy); margin-bottom: 16px; }
.kmwa-404 p { font-size: 16px; color: var(--text-light); margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* --- FOOTER --- */
.kmwa-footer { background: var(--navy); color: rgba(255,255,255,.55); }
.kmwa-footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
.kmwa-footer-widget h4 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--orange); display: inline-block; }
.kmwa-footer-widget p, .kmwa-footer-widget address { font-size: 14px; font-style: normal; line-height: 2.1; }
.kmwa-footer-widget ul li { font-size: 14px; line-height: 2.2; }
.kmwa-footer-widget ul li a { color: rgba(255,255,255,.55); }
.kmwa-footer-widget ul li a:hover { color: var(--orange); }
.kmwa-footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.kmwa-footer-socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: background .2s, color .2s; }
.kmwa-footer-socials a:hover { background: var(--orange); color: #fff; }
.kmwa-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; }
.kmwa-footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; font-size: 13px; flex-wrap: wrap; gap: 8px; }

/* WordPress Required Core Styles */
.wp-caption { max-width: 100%; margin-bottom: 1em; }
.wp-caption-text { font-size: 13px; color: var(--text-light); text-align: center; margin-top: 6px; }
.gallery-caption { font-size: 13px; color: var(--text-light); }
.sticky { position: relative; }
.bypostauthor {}
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1em; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .kmwa-posts-grid { grid-template-columns: repeat(2,1fr); }
  .kmwa-benefits-grid { grid-template-columns: repeat(2,1fr); }
  .kmwa-benefit-card:nth-child(3n) { border-right: 1px solid var(--border); }
  .kmwa-benefit-card:nth-child(2n) { border-right: none; }
  .kmwa-board-grid { grid-template-columns: repeat(2,1fr); }
  .kmwa-footer-main { grid-template-columns: 1fr 1fr; }
  .kmwa-sponsor-grid { grid-template-columns: repeat(2,1fr); }
  .kmwa-wwc-services { grid-template-columns: repeat(2,1fr); }
  .kmwa-gallery-grid { grid-template-columns: repeat(3,1fr); }
  .kmwa-contact-grid { grid-template-columns: 1fr; }
  .kmwa-content-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  /* Show hamburger, hide desktop label */
  .kmwa-hamburger { display: flex; }
  .kmwa-nav-brand { display: block; }
  .kmwa-nav-inner { justify-content: space-between; flex-wrap: wrap; }

  /* Full-width vertical menu panel, hidden until .open */
  .kmwa-nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    background: var(--navy);
    position: absolute;
    top: 100%; left: 0; right: 0;
    border-top: 3px solid var(--orange);
    max-height: 80vh;
    overflow-y: auto;
    z-index: 9998;
    box-shadow: 0 8px 24px rgba(0,0,0,.45);
  }
  .kmwa-nav-list.open { display: flex; }

  /* Top-level items: full width, vertical */
  .kmwa-nav-list > li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .kmwa-nav-list > li > a {
    flex: 1;
    padding: 14px 20px;
    font-size: 14px;
    border-bottom: none; /* border is on the <li> */
  }

  /* Show the toggle button on mobile */
  .kmwa-sub-toggle {
    display: flex;
    align-items: center; justify-content: center;
    width: 48px; height: 48px;
    border-left: 1px solid rgba(255,255,255,.1);
    font-size: 16px;
  }

  /* Sub-menus: stack vertically, hidden by default */
  .kmwa-nav-list .sub-menu {
    position: static !important;
    top: auto; left: auto;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: none;          /* toggled by JS */
    width: 100%;
    border-top: 1px solid rgba(255,255,255,.1);
    border-left: 4px solid var(--orange);
    box-shadow: none;
    background: rgba(0,0,0,.2);
  }
  .kmwa-nav-list .sub-menu.open { display: block; }

  .kmwa-nav-list .sub-menu li a {
    padding: 11px 20px 11px 28px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,.05);
    white-space: normal;
  }
  /* Third level indent */
  .kmwa-nav-list .sub-menu .sub-menu li a { padding-left: 40px; }
  .kmwa-hero-slide { height: 380px; }
  .kmwa-hero-caption h2 { font-size: 17px; }
  .kmwa-benefits-grid { grid-template-columns: 1fr; }
  .kmwa-benefit-card { border-right: none; }
  .kmwa-footer-main { grid-template-columns: 1fr; }
  .kmwa-posts-grid { grid-template-columns: 1fr; }
  .kmwa-board-grid { grid-template-columns: 1fr; }
  .kmwa-gallery-grid { grid-template-columns: repeat(2,1fr); }
  .kmwa-wwc-services { grid-template-columns: 1fr; }
  .kmwa-form-row { grid-template-columns: 1fr; }
  .kmwa-goals-grid { grid-template-columns: 1fr; }
  .kmwa-sponsor-grid { grid-template-columns: repeat(2,1fr); }
  .kmwa-page-header h1 { font-size: 26px; }
  .kmwa-event-card { flex-direction: column; }
  .kmwa-event-date { flex-direction: row; gap: 14px; padding: 14px 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .kmwa-top-bar-inner { flex-direction: column; align-items: flex-start; }
  .kmwa-top-contact { text-align: left; }
  .kmwa-wwc-banner { padding: 30px 20px; }
  .kmwa-post-nav { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .kmwa-gallery-item.tall { height: 220px; grid-row: span 1; }
  .kmwa-hero-slide { height: 300px; }
  .kmwa-footer-bottom-inner { flex-direction: column; text-align: center; }
}
