/* ── CachetPro — YMCA Brand Headline Font ── */
@font-face {
  font-family: "CachetPro";
  src: url("https://ymca1dev.wpenginepowered.com/wp-content/themes/ymca-tulsa-theme/assets/fonts/CachetPro-ExtraLight_0.otf")
    format("opentype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "CachetPro";
  src: url("https://ymca1dev.wpenginepowered.com/wp-content/themes/ymca-tulsa-theme/assets/fonts/CachetPro-Book_0.otf")
    format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "CachetPro";
  src: url("https://ymca1dev.wpenginepowered.com/wp-content/themes/ymca-tulsa-theme/assets/fonts/CachetPro-Medium_0.otf")
    format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "CachetPro";
  src: url("https://ymca1dev.wpenginepowered.com/wp-content/themes/ymca-tulsa-theme/assets/fonts/CachetPro-Bold_0.otf")
    format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* YMCA of Greater Tulsa — Main Stylesheet */
/* Auto-extracted from design comp + responsive breakpoints */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font-heading: "CachetPro", "Open Sans", sans-serif;
  --font-body: "Noto Serif", Georgia, serif;
  --green: #1d9e75;
  --green-dk: #0f6e56;
  --green-xdk: #085041;
  --teal: #01a490;
  --blue: #0060af;
  --blue-lt: #7dd4f0;
  --pad: 48px;
}

html,
body {
  font-family: "Noto Serif", serif;
  color: #1a1a1a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

/* ─────────────────────────────
   SUBNAV
───────────────────────────── */
.subnav {
  background: #1a1a1a;
  padding: 7px var(--pad);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}
.subnav a {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.subnav a:hover {
  color: #fff;
}
.sn-div {
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, 0.2);
}
.sn-login {
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 3px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 1px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.sn-login:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ─────────────────────────────
   PRIMARY NAV
───────────────────────────── */
.mainnav {
  background: #fff;
  padding: 0 var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  border-bottom: 1px solid #ebebeb;
  position: sticky;
  top: 0;
  z-index: 700;
}
.mainnav-logo {
  display: flex;
  align-items: center;
}
.mainnav-logo img {
  height: 44px;
  display: block;
}
.mainnav-links {
  display: flex;
  align-items: stretch;
}
.mainnav-links a {
  font-size: 11.5px;
  font-weight: 600;
  color: #3a3a3a;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 16px;
  display: flex;
  align-items: center;
  border-bottom: 2.5px solid transparent;
  transition:
    color 0.15s,
    border-color 0.15s;
}
.mainnav-links a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.mainnav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0 14px 24px;
  border-left: 1px solid #ebebeb;
  margin-left: 12px;
}
.btn-donate {
  background: transparent;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 3px;
  border: 1.5px solid var(--teal);
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition:
    background 0.15s,
    color 0.15s;
}
.btn-donate:hover {
  background: var(--teal);
  color: #fff;
}
.btn-join {
  background: var(--blue);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 3px;
  border: 1.5px solid var(--blue);
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.btn-join:hover {
  background: #004f96;
  border-color: #004f96;
}

/* ─────────────────────────────
   HERO — frosted card
───────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-inner {
  position: relative;
  z-index: 3;
  padding: 64px var(--pad);
}
.frosted {
  background: rgba(8, 8, 8, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 44px 48px;
  max-width: 600px;
}
.hero-ew {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7dd4f0;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-ew-bar {
  width: 22px;
  height: 2px;
  background: #7dd4f0;
  border-radius: 1px;
}
.hero-h1 {
  font-family: "CachetPro", sans-serif;
  font-weight: 800;
  font-size: 54px;
  line-height: 1.06;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.hero-h1 em {
  font-style: normal;
  color: var(--blue-lt);
}
.hero-sub {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 28px;
}
.hero-btns {
  display: flex;
  gap: 12px;
}
.btn-hero-solid {
  background: var(--blue);
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 3px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition:
    background 0.18s ease,
    transform 0.15s ease;
}
.btn-hero-solid:hover {
  background: #004f96;
  transform: translateY(-1px);
}
.btn-hero-ghost {
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 3px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.15s ease;
}
.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.75);
  transform: translateY(-1px);
}

/* ─────────────────────────────
   QUICK LINKS
───────────────────────────── */
.quicklinks {
  background: #f7f7f5;
  padding: 22px var(--pad);
  border-bottom: 0.5px solid #ebebeb;
}
.ql-lbl {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 12px;
}
.ql-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ql-card {
  background: #fff;
  border: 0.5px solid #e4e4e4;
  border-radius: 8px;
  padding: 15px 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
}
.ql-card:hover {
  border-color: var(--blue);
}
.ql-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ql-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 2px;
}
.ql-sub {
  font-size: 11.5px;
  color: #999;
}

/* ─────────────────────────────
   SHARED SECTION HELPERS
───────────────────────────── */
.sec-ew {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.sec-ew-bar {
  width: 22px;
  height: 2px;
  border-radius: 1px;
  flex-shrink: 0;
}
.sec-ew-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sec-h2 {
  font-weight: 300;
  font-size: 34px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #1a1a1a;
  margin-bottom: 14px;
}
.sec-body {
  font-size: 15.5px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 22px;
}
.btn-solid {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 3px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  color: #fff;
  margin-right: 14px;
  text-decoration: none;
  display: inline-block;
  transition:
    filter 0.18s ease,
    transform 0.15s ease;
}
.btn-solid:hover {
  filter: brightness(0.88);
  transform: translateY(-1px);
}
.btn-text-link {
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  padding-top: 6px;
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.btn-text-link:hover {
  opacity: 0.72;
}

/* ─────────────────────────────
   MEMBERSHIP — two-row
───────────────────────────── */
.mem-section {
  border-bottom: 0.5px solid #ebebeb;
}
.two-row-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 600px;
}
.two-row-photo {
  position: relative;
  overflow: hidden;
}
.two-row-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.two-row-text {
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.benefit-list {
  list-style: none;
  margin-bottom: 0;
}
.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.55;
}
.chk {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.mem-cta-row {
  display: flex;
  align-items: center;
  padding-top: 28px;
}

/* ─────────────────────────────
   COMMUNITY IMPACT — two-row
───────────────────────────── */
.impact-section {
  border-bottom: 0.5px solid #ebebeb;
}
.impact-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
}
.impact-stat-row {
  padding: 20px 0;
  border-bottom: 0.5px solid #e8e8e8;
}
.impact-stat-row:first-child {
  padding-top: 4px;
}
.impact-num {
  font-weight: 300;
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 7px;
}
.impact-desc {
  font-size: 14px;
  color: #888;
  line-height: 1.55;
}

/* ─────────────────────────────
   PROGRAMS
───────────────────────────── */
.progs {
  padding: 72px var(--pad);
  border-bottom: 0.5px solid #ebebeb;
  background: #f8f8f6;
}
.prog-hdr {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}
.prog-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.prog-card {
  border: 0.5px solid #e4e4e4;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 327px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
  cursor: pointer;
}
.prog-card:hover {
  border-color: #c8c8c8;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}
.prog-card-img {
  height: 180px;
  position: relative;
  overflow: hidden;
  background: #f0f0ee;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prog-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.prog-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
}
.prog-card-body {
  padding: 20px 20px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.prog-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.3;
}
.prog-card-desc {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.prog-card-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  padding-bottom: 18px;
}
.prog-card-cta:hover {
  color: var(--green-dk);
}

/* ─────────────────────────────
   SUPPORT
───────────────────────────── */
.support-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 0.5px solid #ebebeb;
  min-height: 600px;
}
.support-img {
  position: relative;
  overflow: hidden;
}
.support-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.support-txt {
  padding: 68px 60px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sup-h2 {
  font-weight: 300;
  font-size: 42px;
  line-height: 1.1;
  color: #1a1a1a;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.sup-h2 em {
  font-style: normal;
}
.sup-body {
  font-size: 15.5px;
  line-height: 1.85;
  color: #666;
  margin-bottom: 26px;
  max-width: 420px;
}
.sup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.sup-stat {
  background: #f7f7f5;
  border-radius: 8px;
  padding: 16px 14px;
}
.sup-stat-num {
  font-weight: 300;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.sup-stat-lbl {
  font-size: 12px;
  color: #888;
  line-height: 1.4;
}
.sup-btns {
  display: flex;
  gap: 12px;
  align-items: center;
}
.btn-sup {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  transition:
    filter 0.18s ease,
    transform 0.15s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-sup:hover {
  filter: brightness(0.88);
  transform: translateY(-1px);
}
.btn-sup-ghost {
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.btn-sup-ghost:hover {
  opacity: 0.7;
}

/* ─────────────────────────────
   CTA
───────────────────────────── */
.cta-section {
  background: #eff5f2;
  padding: 96px var(--pad);
  border-top: 0.5px solid #dde8e3;
  position: relative;
  overflow: hidden;
}
.cta-rings {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.5;
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: center;
}
.cta-ew {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.cta-ew-bar {
  width: 26px;
  height: 2px;
  background: var(--green);
  border-radius: 1px;
}
.cta-ew-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}
.cta-h2 {
  font-weight: 300;
  font-size: 52px;
  line-height: 1.06;
  color: #1a1a1a;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.cta-h2 em {
  font-style: normal;
}
.cta-body {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 28px;
  max-width: 480px;
}
.cta-trust {
  display: flex;
  gap: 26px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.cta-ti {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cta-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--green);
}
.cta-trust-text {
  font-size: 13px;
  color: #888;
}
.cta-btns {
  display: flex;
  gap: 12px;
  align-items: center;
}
.btn-cta {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green);
  text-decoration: none;
  display: inline-block;
  transition:
    background 0.18s ease,
    transform 0.15s ease;
}
.btn-cta:hover {
  background: var(--green-dk);
  transform: translateY(-1px);
}
.btn-cta-ghost {
  background: transparent;
  color: #555;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 3px;
  border: 1.5px solid #d0d0d0;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.15s ease;
}
.btn-cta-ghost:hover {
  border-color: #888;
  color: #1a1a1a;
  transform: translateY(-1px);
}
.cta-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cta-card {
  background: #fff;
  border: 0.5px solid #d6e8df;
  border-radius: 10px;
  padding: 22px 26px;
}
.cta-card-num {
  font-weight: 300;
  font-size: 38px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.cta-card-lbl {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
}
.cta-note {
  position: relative;
  z-index: 2;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 0.5px solid #d0ddd8;
  font-size: 11px;
  color: #bbb;
  letter-spacing: 0.04em;
  text-align: center;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* ─────────────────────────────
   FOOTER
───────────────────────────── */
.footer {
  background: #1a1a1a;
}
.footer-upper {
  padding: 60px var(--pad) 44px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.07);
}
.footer-logo {
  margin-bottom: 18px;
}
.footer-logo img {
  height: 36px;
  display: block;
}
.footer-mission {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.8;
  margin-bottom: 14px;
}
.footer-ein {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.22);
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 8px;
}
.soc-pill {
  height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.06);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.15s;
}
.soc-pill:hover {
  background: rgba(255, 255, 255, 0.1);
}
.soc-pill span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}
a.soc-pill {
  text-decoration: none;
}

/* Y360 App section */
.footer-y360 {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.08);
}
.footer-y360-logo {
  display: block;
  max-width: 70px;
  width: 100%;
  margin-bottom: 10px;
  opacity: 0.9;
}
.footer-y360-label {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}
.footer-y360-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-y360-store {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 0.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.footer-y360-store:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.footer-y360-store svg {
  flex-shrink: 0;
}

/* ── Mainnav Search ── */
.nav-search {
  position: relative;
  display: flex;
  align-items: center;
}

/* Icon button — sits on white nav bar */
.nav-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  border: 1.5px solid #d8d8d8;
  background: transparent;
  color: #666;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
  flex-shrink: 0;
}
.nav-search-toggle:hover,
.nav-search-toggle.is-open {
  background: #f4f4f2;
  border-color: var(--green);
  color: var(--green);
}

/* Dropdown panel */
.nav-search-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 320px;
  background: #fff;
  border-radius: 8px;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s;
  z-index: 800;
}

/* Little arrow */
.nav-search-dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 12px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  border-radius: 2px 0 0 0;
  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.06);
}

.nav-search-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Search input */
.nav-search-dropdown form {
  display: flex;
  align-items: center;
  background: #f4f4f2;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.nav-search-dropdown form:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(29, 158, 117, 0.1);
}
.nav-search-input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 14px;
  color: #1a1a1a;
  background: transparent;
  border: none;
  outline: none;
  padding: 11px 14px;
  -webkit-appearance: none;
  appearance: none;
}
.nav-search-input::placeholder {
  color: #bbb;
}
.nav-search-input::-webkit-search-cancel-button {
  display: none;
}

/* Footer contact button */
.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 9px 24px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  background: #004f96;
  border: 0.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.footer-contact-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.footer-col-title {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.07);
}
.footer-link {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.46);
  margin-bottom: 9px;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s;
}
.footer-link:hover {
  color: rgba(255, 255, 255, 0.8);
}
.footer-lower {
  padding: 18px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.22);
}
.footer-legal {
  display: flex;
  gap: 18px;
}
.footer-legal a {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
}
.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.6);
}
.footer-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
}

/* ══════════════════════════════════════════
   TABLET — 768px to 1024px
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root {
    --pad: 36px;
  }

  /* Nav */
  .mainnav-links a {
    padding: 0 10px;
    font-size: 10.5px;
  }

  /* Hero */
  .hero {
    min-height: 480px;
  }
  .hero-h1 {
    font-size: 46px;
  }
  .frosted {
    padding: 32px 36px;
    max-width: 520px;
  }

  /* Quick links */
  .ql-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Membership / Impact split */
  .two-row-top {
    height: auto;
    min-height: 440px;
  }
  .two-row-text {
    padding: 48px 40px;
  }

  /* Programs */
  .prog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .prog-card {
    min-height: auto;
  }

  /* Support */
  .support-section {
    min-height: 440px;
  }
  .support-txt {
    padding: 48px 40px;
  }
  .sup-h2 {
    font-size: 34px;
  }

  /* CTA */
  .cta-inner {
    grid-template-columns: 1fr 280px;
    gap: 48px;
  }
  .cta-h2 {
    font-size: 40px;
  }

  /* Footer */
  .footer-upper {
    grid-template-columns: 240px 1fr;
    gap: 48px;
  }
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* ══════════════════════════════════════════
   MOBILE — up to 767px
══════════════════════════════════════════ */
@media (max-width: 767px) {
  :root {
    --pad: 20px;
  }

  /* Subnav */
  .subnav {
    padding: 7px 20px;
    gap: 14px;
  }

  /* Nav — collapse to logo + join button only */
  .mainnav {
    padding: 0 20px;
  }
  .mainnav-links {
    display: none;
  }
  .mainnav-right {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
    gap: 8px;
  }
  .btn-donate {
    display: none;
  }
  .btn-join {
    padding: 8px 16px;
    font-size: 11px;
  }

  /* Hero */
  .hero {
    min-height: 520px;
    align-items: flex-end;
  }
  .hero-inner {
    padding: 32px 20px 48px;
  }
  .frosted {
    padding: 28px 24px;
    max-width: 100%;
  }
  .hero-h1 {
    font-size: 36px;
    margin-bottom: 12px;
  }
  .hero-sub {
    font-size: 13.5px;
    margin-bottom: 22px;
  }
  .hero-eyebrow {
    font-size: 10px;
  }
  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }
  .btn-hero-solid,
  .btn-hero-ghost {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Quick links */
  .quicklinks {
    padding: 20px;
  }
  .ql-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .ql-card {
    padding: 12px 14px;
    gap: 10px;
  }
  .ql-title {
    font-size: 12px;
  }
  .ql-sub {
    font-size: 10px;
  }

  /* Membership — stack vertically */
  .mem-section .two-row-top {
    grid-template-columns: 1fr;
    height: auto;
  }
  .two-row-photo {
    height: 260px;
  }
  .two-row-text {
    padding: 36px 24px;
  }
  .sec-h2 {
    font-size: 28px;
  }
  .sec-body {
    font-size: 14px;
  }
  .benefit-list li {
    font-size: 13px;
  }
  .mem-cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 20px;
  }
  .btn-text-link {
    padding-top: 0;
  }

  /* Community Impact — stack vertically, photo on top */
  .impact-section .two-row-top {
    grid-template-columns: 1fr;
    height: auto;
  }
  .impact-section .two-row-photo {
    order: -1;
    height: 260px;
  }
  .impact-section .two-row-text {
    padding: 36px 24px;
  }
  .impact-num {
    font-size: 36px;
  }

  /* Programs */
  .progs {
    padding: 48px 20px;
  }
  .prog-hdr {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
  }
  .prog-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .prog-card {
    min-height: auto;
  }
  .prog-card-img {
    height: 100px;
  }
  .prog-card-body {
    padding: 14px 14px 16px;
  }
  .prog-card-title {
    font-size: 13px;
  }
  .prog-card-desc {
    font-size: 12px;
  }

  /* Support */
  .support-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .support-img {
    height: 300px;
    position: relative;
  }
  .support-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .support-txt {
    padding: 40px 24px;
  }
  .sup-h2 {
    font-size: 42px;
    text-align: center;
  }
  .support-txt {
    justify-content: center;
    text-align: center;
  }

  /* CTA */
  .cta-section {
    padding: 60px 20px;
  }
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cta-h2 {
    font-size: 36px;
  }
  .cta-body {
    font-size: 14px;
    max-width: 100%;
  }
  .cta-trust {
    gap: 16px;
  }
  .cta-btns {
    flex-direction: column;
    gap: 10px;
  }
  .btn-cta,
  .btn-cta-ghost {
    width: 100%;
    text-align: center;
  }
  .cta-cards {
    flex-direction: row;
    gap: 10px;
  }
  .cta-card {
    flex: 1;
    padding: 18px 14px;
  }
  .cta-card-num {
    font-size: 28px;
  }
  .cta-note {
    margin-top: 36px;
  }

  /* YMCA is for all section */
  .support-section .support-txt div {
    font-size: 38px !important;
  }

  /* Footer */
  .footer-upper {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 44px 20px 32px;
  }
  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-lower {
    flex-direction: column;
    gap: 14px;
    text-align: center;
    padding: 20px;
  }
  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .nav-search {
    display: none;
  }
}

/* ══════════════════════════════════════════
   SMALL MOBILE — up to 400px
══════════════════════════════════════════ */
@media (max-width: 400px) {
  .hero-h1 {
    font-size: 30px;
  }
  .ql-grid {
    grid-template-columns: 1fr;
  }
  .prog-grid {
    grid-template-columns: 1fr;
  }
  .cta-cards {
    flex-direction: column;
  }
  .footer-nav {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════
   PRIMARY NAV — DROPDOWN MENUS
══════════════════════════════════════════ */

/* Reset list inside mainnav */
.mainnav-list {
  list-style: none;
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
}

/* Each top-level item */
.nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-item > a {
  font-size: 11.5px;
  font-weight: 600;
  color: #3a3a3a;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 2.5px solid transparent;
  transition:
    color 0.15s,
    border-color 0.15s;
  white-space: nowrap;
}

.nav-item > a:hover,
.nav-item.active > a,
.nav-item > a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* Keep parent text blue on dropdown hover, no underline */
.nav-item.has-dropdown:hover > a {
  color: var(--blue);
  border-bottom-color: transparent;
}
/* Top-level parent items are not clickable */
.nav-item.has-dropdown > a {
  cursor: default;
}

/* Chevron icon */
.nav-chevron {
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
  flex-shrink: 0;
  opacity: 0.45;
}
.nav-item:hover .nav-chevron,
.nav-item:focus-within .nav-chevron {
  transform: rotate(180deg);
  opacity: 0.9;
}

/* Dropdown panel */
.nav-dropdown {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 0.5px solid #e0e0e0;
  border-top: none;
  border-bottom: 3px solid var(--blue);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  z-index: 200;
  list-style: none;
  padding: 8px 0 10px;
  margin: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s;
}

/* Show on hover — fade + slide in */
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Dropdown items */
.nav-dropdown li {
  display: block;
}

.nav-dropdown li a {
  display: block;
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #3a3a3a;
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: none;
  transition:
    background 0.15s,
    color 0.15s;
}

.nav-dropdown li a:hover {
  background: #f0f7ff;
  color: var(--blue);
}

/* ══════════════════════════════════════════
   HAMBURGER
══════════════════════════════════════════ */
.mainnav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 4px;
  margin-left: 16px;
  flex-shrink: 0;
}
.mainnav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 1px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}
.mainnav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mainnav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.mainnav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ══════════════════════════════════════════
   BACKDROP
══════════════════════════════════════════ */
.mob-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.52);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.28s ease,
    visibility 0.28s;
}
body.mob-open .mob-backdrop {
  opacity: 1;
  visibility: visible;
}

/* ══════════════════════════════════════════
   DRAWER
══════════════════════════════════════════ */
.mob-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100vw;
  background: #fff;
  z-index: 9999;
  transform: translateX(110%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: -6px 0 40px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
}
.mob-drawer.is-open {
  transform: translateX(0);
}
body.mob-open {
  overflow: hidden;
}

/* ── Sticky header inside drawer ── */
.mob-drawer-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #ebebeb;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}
.mob-drawer-logo img {
  height: 34px;
  display: block;
}
.mob-drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f4f4f2;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  transition: background 0.15s;
  flex-shrink: 0;
}
.mob-drawer-close:hover {
  background: #e4e4e2;
}

/* ── Nav list ── */
.mob-nav {
  list-style: none;
  padding: 6px 0 0;
  margin: 0;
}

/* Top-level item wrapper */
.mob-item {
  display: block;
  border-bottom: 1px solid #f0f0ee;
}

/* Top-level link row */
.mob-item-row {
  display: flex;
  align-items: stretch;
}

/* Top-level link */
.mob-link {
  display: flex;
  align-items: center;
  flex: 1;
  font-size: 12.5px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 15px 20px;
  transition:
    color 0.15s,
    background 0.15s;
  border-left: 3px solid transparent;
}
.mob-link:hover,
.mob-link.mob-active {
  color: var(--blue);
  background: #f5f8ff;
  border-left-color: var(--blue);
}

/* Direct link (no children) — same but full width */
.mob-item > .mob-link {
  padding: 15px 20px;
}

/* Toggle button */
.mob-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  border-left: 1px solid #f0f0ee;
  transition:
    color 0.15s,
    background 0.15s;
}
.mob-toggle:hover {
  background: #f5f8ff;
  color: var(--blue);
}
.mob-toggle svg {
  transition: transform 0.22s ease;
}
.mob-item.sub-open > .mob-item-row .mob-toggle svg {
  transform: rotate(180deg);
}
.mob-item.sub-open > .mob-item-row .mob-toggle {
  color: var(--blue);
}

/* ── Sub-menu ── */
.mob-sub {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #f9f9f7;
  border-top: 1px solid #ebebeb;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mob-item.sub-open > .mob-sub {
  max-height: 800px;
}
.mob-sub li {
  border-bottom: 1px solid #f0f0ee;
}
.mob-sub li:last-child {
  border-bottom: none;
}
.mob-sub-link {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  padding: 12px 20px 12px 32px;
  letter-spacing: 0.02em;
  transition:
    color 0.15s,
    background 0.15s;
  position: relative;
}
.mob-sub-link::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 1px;
  background: #ccc;
}
.mob-sub-link:hover,
.mob-sub-link.mob-active {
  color: var(--blue);
  background: #eef3ff;
}
.mob-sub-link:hover::before,
.mob-sub-link.mob-active::before {
  background: var(--blue);
}

/* ── CTA buttons ── */
.mob-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-top: 1px solid #ebebeb;
  margin-top: auto;
}
.mob-ctas .btn-donate,
.mob-ctas .btn-join {
  display: block;
  text-align: center;
  width: 100%;
  padding: 13px 20px;
  font-size: 12px;
  text-decoration: none;
}

/* ── Footer note ── */
.mob-drawer-note {
  padding: 14px 20px 20px;
  font-size: 11px;
  color: #ccc;
  letter-spacing: 0.03em;
  text-align: center;
}

/* ── Show hamburger, hide desktop links ── */
@media (max-width: 767px) {
  .mainnav-hamburger {
    display: flex;
  }
  .mainnav-links {
    display: none;
  }
  .mainnav-right .btn-donate {
    display: none;
  }
}

/* ════════════════════════════════════════
   SEARCH RESULTS PAGE
════════════════════════════════════════ */
.search-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 64px 96px;
}

/* Search form */
.search-form-wrap {
  margin-bottom: 48px;
}
.search-form-wrap .search-form {
  display: flex;
  gap: 0;
}
.search-form-wrap .search-field {
  flex: 1;
  font-family: var(--font-body);
  font-size: 15px;
  color: #1a1a1a;
  border: 1.5px solid #d8d8d8;
  border-right: none;
  border-radius: 5px 0 0 5px;
  padding: 12px 16px;
  outline: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.search-form-wrap .search-field:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(29, 158, 117, 0.1);
}
.search-form-wrap .search-submit {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--green);
  color: #fff;
  border: 1.5px solid var(--green);
  border-radius: 0 5px 5px 0;
  padding: 12px 24px;
  cursor: pointer;
  transition: background 0.15s;
}
.search-form-wrap .search-submit:hover {
  background: var(--green-dk);
}

/* Result items */
.search-results {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.search-result {
  padding: 28px 0;
  border-bottom: 0.5px solid #ebebeb;
}
.search-result:first-child {
  border-top: 0.5px solid #ebebeb;
}
.search-result-type {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}
.search-result-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
}
.search-result-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.15s;
}
.search-result-title a:hover {
  color: var(--blue);
}
.search-result-excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 12px;
}
.search-result-link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s;
}
.search-result-link:hover {
  color: var(--green);
}

/* No results */
.search-no-results {
  padding: 48px 0;
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}
.search-no-results strong {
  color: #1a1a1a;
  font-weight: 600;
}

/* Pagination */
.search-pagination {
  margin-top: 48px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.search-pagination .page-numbers {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #888;
  text-decoration: none;
  padding: 8px 14px;
  border: 0.5px solid #e8e8e8;
  border-radius: 4px;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.search-pagination .page-numbers:hover,
.search-pagination .page-numbers.current {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

@media (max-width: 767px) {
  .search-wrap {
    padding: 40px 20px 64px;
  }
}
