/* ==========================================================================
   SBRMB theme stylesheet.
   Structure: 1) shared design tokens + base + header/footer/modal (used on
   every page), then one section per page template, in the same order as
   the site's own nav. Each page section is self-contained and can be
   read/edited without touching the others.
   ========================================================================== */

/* ---------- Design tokens (shared, identical across all 7 approved prototypes) ---------- */
:root {
  --navy: #394A58;
  --navy-deep: #2A3742;
  --teal: #1FB7C5;
  --teal-deep: #167F89;
  --coral: #E65A3D;
  --coral-deep: #c94a30;
  --cream: #F4E7D4;
  --sage: #93AD87;
  --sage-deep: #657959;
  --gold: #D9A441;
  --gold-deep: #906D2B;
  --gold-light: #F5C869;
  --brown: #8A6D52;
  --white: #FFFFFF;
  --paper: #FBF9F6;
  --ink: #394A58;
  --ink-soft: #5C6B78;
  --line: #E3D9C8;
  --footer-bg: #EDF2EA; /* very light sage (client, Oct 2026). The About Us "Get Involved" band and the alternate Initiatives sections use it too, so the pages without photos match the footer. */
  --gold-text: #856528; /* gold for small text on that pale sage (4.75:1; --gold-deep is 4.19:1 there) */
}

/* ---------- Base reset (shared) ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Open Sans", -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.01em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; }
button { font-family: inherit; cursor: pointer; }

.eyebrow {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Buttons (shared) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: 3px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

.btn-coral { background: var(--coral-deep); color: var(--white); border-color: var(--coral-deep); }
.btn-coral:hover { background: var(--coral); border-color: var(--coral); box-shadow: 0 10px 22px -8px rgba(230,90,61,0.55); }

.btn-navy-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-navy-outline:hover { background: var(--navy); color: var(--white); }

.btn-white-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.75); }
.btn-white-outline:hover { background: var(--white); color: var(--navy); }

.btn-teal { background: var(--teal-deep); color: var(--white); border-color: var(--teal-deep); }
.btn-teal:hover { background: var(--teal); border-color: var(--teal); box-shadow: 0 10px 22px -8px rgba(31,183,197,0.55); }

/* ---------- Scroll-reveal (shared mechanism, used on every page) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1); }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }
}

/* ---------- Header (shared) ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 0 0 rgba(42,55,66,0);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
header.site.is-scrolled { box-shadow: 0 4px 20px -6px rgba(42,55,66,0.14); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
  transition: padding 0.25s ease;
}
header.site.is-scrolled .header-inner { padding-top: 9px; padding-bottom: 9px; }

.brand { display: flex; align-items: center; height: 48px; transition: height 0.25s ease, margin-bottom 0.25s ease; flex-shrink: 0; }
header.site.is-scrolled .brand { height: 38px; }
.brand img { height: 48px; width: auto; max-width: 100%; object-fit: contain; transition: height 0.25s ease; }
header.site.is-scrolled .brand img { height: 38px; }

nav.primary {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  padding: 0;
  margin-left: 0;
  flex-shrink: 0;
}
nav.primary a {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}
nav.primary a:hover, nav.primary a.is-active { color: var(--teal-deep); border-color: var(--teal); }
nav.primary svg { width: 10px; height: 10px; opacity: 0.6; flex-shrink: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}
.header-actions .btn {
  padding: 8px 18px;
  font-size: 0.8rem;
  /* Join Us is a link and Contact Us a <button>; a button defaults to line-height: normal, which made
     it shorter than the link. Pin both to the same line height so the pair is the same size. */
  line-height: 1.6;
  white-space: nowrap;
  transition: all 0.2s ease;
}
header.site.is-scrolled .header-actions .btn { padding: 6px 14px; }

/* Desktop header: large logo on the left; Join Us / Contact Us above the nav on the right. */
.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; transition: gap 0.25s ease; }
header.site.is-scrolled .header-right { gap: 6px; }
@media (min-width: 1061px) {
  /* The logo file is trimmed to the artwork (transparent, no blank margin), so --logo-h is the height of
     the artwork itself. Larger than before (client: "larger and base-aligned with Home / About Us"). */
  header.site { --logo-h: 52px; }
  header.site.is-scrolled { --logo-h: 38px; }
  header.site .brand, header.site .brand img,
  header.site.is-scrolled .brand, header.site.is-scrolled .brand img { height: var(--logo-h); }
  /* Line the logo up with the menu (client: "move the logo a bit bottom to align horizontally to the menu").
     The logo sits on the bottom edge of the header-right block, and its bottom row (the waves and
     "Est. 2008") sits low on the menu row (about 4px below the menu text's center, nearer the underline). --logo-line is
     how far that row's center sits above the menu block's bottom edge; the logo file puts that row's center 0.111 x the logo height above its own bottom
     edge. Raise --logo-line to move the logo up, lower it to move the logo down. */
  .header-inner { align-items: flex-end; }
  header.site { --logo-line: 14.5px; }
  header.site .brand { margin-bottom: calc(var(--logo-line) - 0.111 * var(--logo-h)); }
}
@media (min-width: 1181px) {
  header.site { --logo-h: 64px; }
  header.site.is-scrolled { --logo-h: 44px; }
}
@media (min-width: 1280px) {
  header.site { --logo-h: 72px; }
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  position: relative;
  width: 36px;
  height: 36px;
  color: var(--navy);
  cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
header.site.is-open .menu-toggle .icon-open { display: none; }
header.site.is-open .menu-toggle .icon-close { display: block; }

.mobile-nav {
  display: none;
  max-height: 0;
  overflow: hidden;
  background: var(--white);
  border-top: 1px solid var(--line);
  transition: max-height 0.35s ease;
}
header.site.is-open .mobile-nav { max-height: 520px; }
.mobile-nav .wrap { padding: 18px 32px 28px; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a:not(.btn) {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--navy);
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a.is-active { color: var(--teal-deep); }
.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.mobile-actions .btn { width: 100%; justify-content: center; line-height: 1.6; } /* same line height for the link and the <button> */

/* ---------- Contact modal + generic modal system (shared — every page can open the Contact modal;
   pages with their own modals, e.g. Community Building's events, extend these same base rules) ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(42,55,66,0.6);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.is-open { display: flex; }
.modal {
  background: var(--white);
  border-radius: 16px;
  max-width: 560px; width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.4);
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--paper); border: none;
  box-shadow: 0 2px 8px rgba(20,20,20,0.1);
  display: flex; align-items: center; justify-content: center;
}
.modal-close svg { width: 16px; height: 16px; stroke: var(--navy); }
.modal-body { padding: 54px 28px 30px; position: relative; }
.modal-body h3 { font-size: 1.3rem; font-weight: 800; }
.modal-body p.desc { margin-top: 10px; color: var(--ink-soft); font-size: 0.94rem; line-height: 1.6; }
.contact-form { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.03em; color: var(--navy); }
.field input, .field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--ink);
  background: var(--paper);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); background: var(--white); }
.field input:focus:not(:focus-visible), .field textarea:focus:not(:focus-visible) { border-color: var(--teal); background: var(--white); }
.form-note { text-align: center; margin-top: 16px; font-size: 0.82rem; color: var(--ink-soft); }
.form-note a { color: var(--teal-deep); font-weight: 600; }
.form-success { text-align: center; }
.form-success svg { width: 34px; height: 34px; stroke: var(--teal-deep); margin: 0 auto 10px; display: block; }
.form-success-title { font-weight: 700; color: var(--navy); }
/* CF7's own generated markup, left unstyled beyond inheriting .field-like spacing */
.contact-form .wpcf7-form-control-wrap { display: block; }
.contact-form .wpcf7-not-valid-tip { color: var(--coral-deep); font-size: 0.8rem; margin-top: 4px; }
.contact-form .wpcf7-response-output { display: none; } /* we render our own .form-success/.form-note instead */
/* Contact modal only: center the submit (matches the centered "Prefer email?" note below it).
   CF7's spinner is inline-block with 24px side margins, which would push a centered button off-center
   while sending, so it's taken out of flow beside the button instead. */
.contact-body .wpcf7-form > p { position: relative; text-align: center; margin: 8px 0 0; }
.contact-body .wpcf7-spinner { position: absolute; margin: 11px 0 0 12px; }

/* ---------- Footer (shared) ---------- */
footer.site {
  background: var(--footer-bg);
  color: var(--navy);
  border-top: 1px solid var(--line);
  padding: 64px 0 70px;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr 1.15fr;
  gap: 36px;
}
footer .brand { height: auto; }
footer .brand img { height: 60px; }
footer h5 {
  font-family: "Montserrat", sans-serif; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy);
  margin-bottom: 18px;
}
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
footer ul a { font-size: 0.92rem; transition: color 0.2s ease; }
footer ul a:hover { color: var(--teal-deep); }
footer .connect li { display: flex; align-items: center; gap: 9px; }
footer .connect svg { width: 15px; height: 15px; stroke: var(--teal-deep); flex-shrink: 0; }
footer .mission p { font-size: 0.92rem; line-height: 1.7; color: var(--ink-soft); }
footer .photo-credits { margin-top: 22px; max-width: 36ch; font-size: 0.78rem; line-height: 1.65; color: var(--ink-soft); }
footer .photo-credits strong { font-weight: 700; color: var(--navy); }
.footer-bottom {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: center;
  position: relative;
  z-index: 1;
}
.footer-wave { position: absolute; bottom: 0; left: 0; width: 100%; height: 90px; }

/* ---------- Shared responsive rules (header/nav/footer — every page) ---------- */
@media (max-width: 1180px) {
  nav.primary { gap: 16px; }
  nav.primary a { font-size: 0.8rem; }
  .header-actions .btn { padding: 7px 12px; font-size: 0.75rem; }
  .header-inner { gap: 14px; }
}
@media (max-width: 1060px) {
  .header-right { display: none; }
  nav.primary, .header-actions { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .mobile-nav { display: block; }
  .header-inner { padding-top: 12px; padding-bottom: 12px; }
  header.site.is-scrolled .header-inner { padding-top: 8px; padding-bottom: 8px; }
  .brand { height: 34px; }
  .brand img { height: 34px; }
  header.site.is-scrolled .brand { height: 26px; }
  header.site.is-scrolled .brand img { height: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .header-inner { padding-top: 10px; padding-bottom: 10px; }
  header.site.is-scrolled .header-inner { padding-top: 8px; padding-bottom: 8px; }
  .brand { height: 28px; }
  .brand img { height: 28px; }
  header.site.is-scrolled .brand { height: 22px; }
  header.site.is-scrolled .brand img { height: 22px; }
  .mobile-nav .wrap { padding: 16px 20px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Page-specific sections below. Each page template enqueues this same
   stylesheet; the rules below only ever match the markup on their own page.
   ========================================================================== */

/* ---------- Shared: Page title band (About/Join/Meetings/Community/Issues/Resources) ---------- */
.page-title {
  background: linear-gradient(180deg, var(--paper) 0%, var(--white) 100%);
  padding: 56px 0 32px;
}
.page-title .eyebrow { color: var(--gold-deep); }
.page-title h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; margin-top: 10px; }

/* ---------- Shared: Block Editor content canvas ----------
   Wraps the_content() on every template that uses it (Homepage, About Us, Join Us,
   Meeting Information, Community Building, Issues & Committees, Community Resources).
   Constrained to the same box as .wrap so a plain paragraph/heading block lines up
   with the page-title band above it; full-bleed section blocks (card groups, board,
   committee/resource sections) break back out to the viewport edge. */
.entry-content { max-width: 1240px; margin: 0 auto; padding: 0 32px 8px; }
.entry-content > p:first-child { margin-top: 6px; color: var(--ink-soft); max-width: 62ch; font-size: 1.02rem; }
.entry-content > .hoods,
.entry-content > .voice,
.entry-content > .features,
.entry-content > .highlights,
.entry-content > .meeting,
.entry-content > .board,
.entry-content > .issue-section {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
/* .res-section is NOT full-bleed (no background of its own) — it stays contained
   by .entry-content's own .wrap-equivalent box, same as it was nested in .wrap before. */

/* ---------- Decorative elements suppression & refinement ---------- */
.head-rule, .voice-rule, .rule,
.ctas-head .rule, .board-head .rule, .form-shell .head .rule, .section-head .rule {
  display: none !important;
}

/* ---------- About Us: Story + map ---------- */
.story { padding: 40px 0 72px; }
.story .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); gap: 56px; align-items: start; }
.story-copy p { color: var(--ink-soft); font-size: 1.02rem; }
.story-copy p + p { margin-top: 18px; }
.story-copy p.emphasis {
  color: var(--navy-deep);
  font-weight: 600;
  font-family: inherit;
  font-size: 1.1rem;
  line-height: 1.55;
  border-left: 3px solid var(--coral);
  padding: 14px 22px;
  margin: 28px 0;
  background: var(--paper);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}
.map-card {
  background: var(--white);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(42,55,66,0.06);
}
.map-card img { width: 100%; height: auto; border-radius: 6px; display: block; }
.map-card .cap { margin-top: 12px; font-size: 0.82rem; color: var(--ink-soft); text-align: center; }
.map-card .cap strong { color: var(--navy); }
/* The Welcome letter and Fact sheet downloads under the story (About Us). */
.story-docs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.story-docs .btn { padding: 10px 18px; font-size: 0.76rem; }
.story-docs .btn svg { width: 15px; height: 15px; flex-shrink: 0; stroke: currentColor; fill: none; }

/* ---------- About Us: Get Involved CTA row ---------- */
.ctas { background: var(--footer-bg); padding: 64px 0; }
.ctas-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.ctas-head h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 800; }
.cta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.cta {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px; text-align: center;
  box-shadow: 0 4px 18px rgba(42,55,66,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cta:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -10px rgba(42,55,66,0.12); }
.cta-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; transition: transform 0.3s ease; }
.cta:hover .cta-icon { transform: scale(1.08) rotate(-4deg); }
.cta-icon svg { width: 25px; height: 25px; stroke: var(--white); fill: none; }
.c-navy { background: var(--navy); }
.c-coral { background: var(--coral); }
.c-sage { background: var(--sage); }
.c-gold { background: var(--gold); }
.cta h4 { font-size: 0.98rem; font-weight: 700; }
.cta p { margin-top: 8px; color: var(--ink-soft); font-size: 0.86rem; }
.cta .link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-family: "Montserrat", sans-serif; font-weight: 700;
  font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase;
}
.cta .link svg { width: 11px; height: 11px; transition: transform 0.2s ease; }
.cta .link:hover svg { transform: translateX(3px); }
.cta.navy-link .link { color: var(--navy); }
.cta.coral-link .link { color: var(--coral); }
.cta.sage-link .link { color: var(--sage-deep); }
.cta.gold-link .link { color: var(--gold-deep); }

/* ---------- About Us: Board ---------- */
.board { padding: 72px 0 88px; }
.board-head { max-width: 640px; margin-bottom: 44px; }
.board-head .rule { width: 56px; height: 4px; background: var(--gold); margin-bottom: 16px; border-radius: 2px; }
.board-head h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 800; }
.board-head p { margin-top: 14px; color: var(--ink-soft); }
.board-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
/* The client asked (comment: "our faces are a bit larger... more welcoming and friendly") for bigger board photos.
   --face sets the portrait size; the source photos are small (163 to 512 px), so it stays near their real size. */
.board-card { --face: 132px; display: flex; gap: 26px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.board-avatar {
  width: var(--face); height: var(--face); border-radius: 50%;
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-family: "Montserrat", sans-serif; font-weight: 800; font-size: calc(var(--face) * 0.3);
  flex-shrink: 0;
}
.board-avatar-photo { width: var(--face); height: var(--face); border-radius: 50%; object-fit: cover; object-position: 50% 22%; flex-shrink: 0; box-shadow: 0 0 0 3px var(--white), 0 8px 20px -10px rgba(42,55,66,0.4); }
.board-card h4 { font-size: 1.05rem; font-weight: 800; }
.board-card .role { margin-top: 2px; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--coral); }
.board-card p.bio { margin-top: 10px; color: var(--ink-soft); font-size: 0.9rem; }
.board-note { margin-top: 24px; font-size: 0.88rem; color: var(--ink-soft); font-style: italic; }
.board-link { margin-top: 12px; }
.board-grid + .board-link { margin-top: 24px; }
.board-link a { display: inline-flex; align-items: center; gap: 6px; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--navy); }
.board-link a svg { width: 12px; height: 12px; }
.board-link a:hover { color: var(--teal-deep); }

@media (max-width: 1180px) {
  .board-card { --face: 108px; gap: 22px; }
}
@media (max-width: 980px) {
  .story .wrap { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr 1fr; }
  .board-grid { grid-template-columns: 1fr; }
  .board-card { --face: 124px; }
}
@media (max-width: 620px) {
  .cta-grid { grid-template-columns: 1fr; }
  .board-card { --face: 112px; flex-direction: column; gap: 18px; padding: 22px; }
}

/* ---------- Join Us: Pricing tiers ---------- */
.tiers { padding: 12px 0 72px; }
.tiers-lead { margin-bottom: 26px; max-width: 62ch; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.tiers-foot { margin-top: 32px; text-align: center; font-size: 0.92rem; color: var(--ink-soft); }
.tiers-foot p + p { margin-top: 8px; }
.tiers-foot a { color: var(--teal-deep); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.tiers-foot a svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }
/* The Google Group notice under the tiers (it used to sit inside the application form). */
.group-notice { margin-top: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; font-size: 0.86rem; color: var(--ink-soft); line-height: 1.65; }
.group-notice h3 { margin-bottom: 6px; font-size: 0.95rem; font-weight: 800; color: var(--navy); }

/* PayPal: the client's only way to collect dues, so it gets its own panel under the tiers (and again once
   an application is sent). The picture is PayPal's own button. */
.pay-panel { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 26px 30px; }
.pay-copy h2 { font-size: 1.3rem; font-weight: 800; }
.pay-copy p { margin-top: 6px; color: var(--ink-soft); max-width: 58ch; }
.pay-action { display: flex; align-items: center; }
.paypal-btn { display: inline-block; line-height: 0; border-radius: 6px; transition: transform 0.15s ease, filter 0.15s ease; }
.paypal-btn:hover { transform: translateY(-2px); filter: brightness(1.04); }
.paypal-btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.paypal-btn img { display: block; width: 147px; height: 47px; }
.form-success .pay-action { justify-content: center; margin-top: 18px; }
.tier {
  border-radius: 16px; border: 1px solid var(--line); padding: 32px 28px;
  display: flex; flex-direction: column;
  box-shadow: 0 18px 40px -30px rgba(42,55,66,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tier:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -26px rgba(42,55,66,0.4); }
.tier-badge { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.tier-badge svg { width: 22px; height: 22px; stroke: var(--white); fill: none; }
.t-individual .tier-badge { background: var(--teal); }
.t-household .tier-badge { background: var(--coral); }
.t-benefactor .tier-badge { background: var(--gold); }
.tier h3 { font-size: 1.2rem; font-weight: 800; }
.tier .price { margin-top: 10px; display: flex; align-items: baseline; gap: 6px; }
.tier .price .amount { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 2.2rem; color: var(--navy); }
.tier .price .period { color: var(--ink-soft); font-size: 0.92rem; }
.tier .votes { margin-top: 6px; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; }
.t-individual .votes { color: var(--teal-deep); }
.t-household .votes { color: var(--coral); }
.t-benefactor .votes { color: var(--gold-light); }
.tier ul { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tier li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Member Perks ---------- */
.perks { padding: 8px 0 56px; }
.perks .section-head { margin-bottom: 28px; }
.perks-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.perks-grid.single { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.perk { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 18px 40px -30px rgba(42,55,66,0.35); }
.perk-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.perk-icon svg { width: 22px; height: 22px; stroke: var(--white); fill: none; }
.perk h3 { font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.perk-sub { margin-top: -6px; color: var(--ink-soft); font-size: 0.95rem; }
.perk-addr a { display: inline-flex; align-items: flex-start; gap: 8px; color: var(--ink-soft); font-size: 0.92rem; }
.perk-addr a:hover { color: var(--teal-deep); }
.perk-addr svg { width: 15px; height: 15px; stroke: var(--teal-deep); fill: none; flex-shrink: 0; margin-top: 3px; }
.perk-offer { font-size: 1.02rem; line-height: 1.5; color: var(--ink); }
.perk-hl { color: var(--coral-deep); font-weight: 800; }
.perk-link { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--teal-deep); }
.perk-link svg { width: 12px; height: 12px; stroke: currentColor; fill: none; }
.perk-link:hover { text-decoration: underline; }
.perks-empty { color: var(--ink-soft); }
.perks-howto { margin-top: 40px; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 30px 24px; }
.perks-howto-line { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--navy); }
.perks-more { margin-top: 8px; color: var(--ink-soft); }
.perks-join { padding: 0 0 80px; }
.perks-join-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--navy); border-radius: 16px; padding: 28px 32px; }
.perks-join-band p { max-width: 62ch; color: rgba(255,255,255,0.92); }
@media (max-width: 760px) {
  .perks-grid { grid-template-columns: 1fr; }
  .perks-join-band { padding: 24px; }
  .pay-panel { padding: 22px; }
}
.tier li svg { width: 16px; height: 16px; stroke: var(--sage-deep); flex-shrink: 0; margin-top: 2px; }
.tier .btn {
  margin-top: 24px;
  justify-content: center;
  text-align: center;
}
.t-benefactor { background: var(--navy); border-color: var(--navy); }
.t-benefactor h3, .t-benefactor .price .amount { color: var(--white); }
.t-benefactor .price .period, .t-benefactor li { color: rgba(255,255,255,0.75); }
.t-benefactor li svg { stroke: var(--gold); }

/* ---------- Join Us: Membership form ---------- */
.join-form { background: var(--cream); padding: 72px 0; }
.form-shell { max-width: 720px; margin: 0 auto; background: var(--white); border-radius: 20px; padding: 44px; box-shadow: 0 30px 60px -36px rgba(42,55,66,0.35); }
.form-shell .head { text-align: center; margin-bottom: 32px; }
.form-shell .head .rule { width: 56px; height: 4px; background: var(--gold); margin: 0 auto 16px; border-radius: 2px; }
.form-shell h2 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); font-weight: 800; }
.form-shell .head p { margin-top: 10px; color: var(--ink-soft); font-size: 0.94rem; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field-row > .field { min-width: 0; }
.field input {
  width: 100%;
  border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 14px;
  font-family: inherit; font-size: 0.94rem; color: var(--ink); background: var(--paper);
}
.field input:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); background: var(--white); }
.field input:focus:not(:focus-visible) { border-color: var(--teal); background: var(--white); }

.tier-select { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 6px 0 24px; }
.tier-pill { position: relative; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 10px; text-align: center; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; }
.tier-pill input { position: absolute; opacity: 0; pointer-events: none; }
.tier-pill .name { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.82rem; color: var(--navy); }
.tier-pill .amt { font-size: 0.82rem; color: var(--ink-soft); margin-top: 2px; }
.tier-pill.is-selected { border-color: var(--teal); background: rgba(31,183,197,0.08); }
.tier-pill:focus-within { outline: 3px solid var(--teal); outline-offset: 2px; }

.consent-box {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px; font-size: 0.84rem; color: var(--ink-soft); line-height: 1.65;
  max-height: 160px; overflow-y: auto; margin-bottom: 16px;
}
.consent-box strong { color: var(--navy); }
.consent-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 28px; }
.consent-check input { margin-top: 3px; accent-color: var(--teal); width: 16px; height: 16px; flex-shrink: 0; }

.form-shell .btn-teal, .form-shell .wpcf7-submit { width: 100%; padding: 15px; font-size: 0.88rem; }

@media (max-width: 980px) {
  .tier-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .form-shell { padding: 28px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .tier-select { grid-template-columns: 1fr; }
}

/* ---------- Meeting Information: Standing schedule strip ---------- */
.standing { padding: 8px 0 60px; }
.standing-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.standing-item {
  background: var(--paper);
  padding: 22px 26px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.standing-icon { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: rgba(31,183,197,0.14); display: flex; align-items: center; justify-content: center; }
.standing-icon svg { width: 18px; height: 18px; stroke: var(--teal-deep); }
.standing-item h5 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.2;
}
.standing-item p {
  margin: 4px 0 0;
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.5;
}
.standing-item a { color: var(--teal-deep); }
.standing-item a:hover { text-decoration: underline; }

/* ---------- Shared section head (Meeting Info / Community Building / others) ---------- */
.section-head { margin-bottom: 40px; }
.section-head .rule { width: 56px; height: 4px; background: var(--gold); margin-bottom: 14px; border-radius: 2px; }
.section-head h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 800; }
.section-head p { margin-top: 10px; color: var(--ink-soft); max-width: 62ch; font-size: 0.96rem; }

/* ---------- Meeting Information: Event cards ---------- */
.events { padding: 20px 0 92px; }
/* Upcoming meetings: a row three cards wide that scrolls sideways (CSS scroll-snap), so any number of
   meetings fit. The arrows on either side of the cards (assets/js/main.js) scroll it a screenful at a time. */
.events-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 24px; margin-bottom: 40px; }
.events-head .section-head { margin-bottom: 0; }
.events-tools { margin-left: auto; }
/* The arrows never sit on a card. On a screen wide enough for the page margins to hold them (1300px and
   up) they stand in the margin on either side of the cards, centred up and down; on anything narrower the
   margin is too thin, so they sit side by side in a row under the cards. */
.events-carousel { display: grid; grid-template-columns: 1fr auto auto 1fr; column-gap: 10px; align-items: center; }
.events-carousel .events-grid { grid-column: 1 / -1; grid-row: 1; min-width: 0; }
.events-prev { grid-column: 2; grid-row: 2; margin-top: 22px; }
.events-next { grid-column: 3; grid-row: 2; margin-top: 22px; }
.events-arrow {
  width: 44px; height: 44px; border-radius: 50%; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--navy); border: 2px solid var(--navy);
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.events-arrow[hidden] { display: none; }
.events-arrow svg { width: 18px; height: 18px; }
@media (min-width: 1300px) {
  .events-carousel { display: block; position: relative; }
  .events-arrow { position: absolute; top: 50%; z-index: 5; width: 40px; height: 40px; margin-top: -20px; }
  .events-prev { left: -50px; }
  .events-next { right: -50px; }
}
.events-arrow:hover { background: var(--navy); color: var(--white); }
.events-arrow:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.events-arrow[aria-disabled="true"] { opacity: 0.4; cursor: default; }
.events-arrow[aria-disabled="true"]:hover { background: var(--white); color: var(--navy); }
.events-grid {
  --per: 3; --gap: 28px;
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  /* room for the card's hover lift and shadow, which the scroll box would otherwise clip */
  padding: 8px 4px 30px; margin: -8px -4px -30px; scroll-padding-inline: 4px;
}
.js-on .events-grid { scrollbar-width: none; }
.js-on .events-grid::-webkit-scrollbar { display: none; }
.event-card {
  scroll-snap-align: start;
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 18px rgba(42,55,66,0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.event-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -10px rgba(42,55,66,0.12); }
.event-photo {
  height: 84px; background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative; display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; overflow: hidden;
}
.event-photo .watermark { display: none !important; }
.event-date-badge {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 52px; border-radius: 8px; overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(42,55,66,0.08);
  border: 1px solid var(--line);
  text-align: center; flex-shrink: 0;
}
.event-date-badge .mo {
  display: block; width: 100%;
  background: var(--navy); color: var(--white);
  font-family: "Montserrat", sans-serif; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 6px;
}
.event-date-badge .day {
  display: block; width: 100%;
  padding: 3px 6px 2px;
  font-family: "Montserrat", sans-serif; font-size: 1.25rem; font-weight: 800;
  color: var(--navy); line-height: 1; background: var(--white);
}
.event-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(42,55,66,0.06); color: var(--navy);
  border: 1px solid rgba(42,55,66,0.12);
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.68rem;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px;
}
.event-tag svg { width: 12px; height: 12px; stroke: var(--teal-deep); }
.event-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.event-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.event-date { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.8rem; color: var(--teal-deep); }
.event-body p.desc { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.55; }
.event-body p.desc.tba { font-style: italic; }
.event-meta { display: flex; flex-direction: column; gap: 6px; font-size: 0.82rem; color: var(--ink-soft); }
.event-meta span { display: flex; align-items: center; gap: 7px; }
.event-meta svg { width: 14px; height: 14px; stroke: var(--teal-deep); flex-shrink: 0; }
.event-cta { margin-top: auto; display: flex; gap: 10px; padding-top: 10px; }
.event-cta .btn { flex: 1; justify-content: center; padding: 10px 12px; font-size: 0.74rem; }

/* ---------- Per-event "Add to Calendar" menu (template-parts/cal-add-event.php) ---------- */
/* On a meeting card the menu floats above the button, inside the card, so the card's rounded edge and the scrolling
   row never clip it. In the Community Building pop-up (.cal-add--inline) it opens under the button instead. */
.cal-add { position: relative; flex: 1; display: flex; }
.cal-add > summary { flex: 1; justify-content: center; list-style: none; cursor: pointer; user-select: none; }
.cal-add > summary::-webkit-details-marker { display: none; }
.cal-add > summary::marker { content: ""; }
.cal-add .chevron { width: 11px; height: 11px; flex-shrink: 0; transition: transform 0.2s ease; }
.cal-add[open] .chevron { transform: rotate(180deg); }
.cal-add-menu {
  list-style: none; margin: 0; padding: 6px;
  position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 5;
  width: max-content; max-width: min(270px, calc(100vw - 32px));
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 32px -10px rgba(42,55,66,0.22);
}
.cal-add-menu a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-family: "Montserrat", sans-serif; font-size: 0.82rem; font-weight: 600; line-height: 1.3;
  letter-spacing: 0; text-transform: none; color: var(--ink); text-decoration: none;
}
.cal-add-menu a:hover, .cal-add-menu a:focus-visible { background: var(--cream); }
.cal-add--inline { display: block; flex: none; width: 100%; }
.cal-add--inline > summary { width: 100%; }
.cal-add--inline .cal-add-menu { position: static; width: auto; max-width: none; margin-top: 8px; box-shadow: none; }

/* ---------- Meeting Information: Advocacy empty-state ---------- */
.advocacy { padding: 0 0 92px; }
.advocacy-card { background: var(--cream); border-radius: 16px; padding: 44px 44px; display: flex; gap: 28px; align-items: center; }
.advocacy-icon {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; background: var(--white);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 24px -12px rgba(42,55,66,0.3);
}
.advocacy-icon svg { width: 28px; height: 28px; stroke: var(--coral); }
.advocacy-copy h3 { font-size: 1.2rem; font-weight: 800; }
.advocacy-copy p { margin-top: 8px; color: var(--ink-soft); font-size: 0.94rem; max-width: 58ch; line-height: 1.6; }
.advocacy-copy .note { margin-top: 12px; font-size: 0.84rem; }
.advocacy-copy .note a { color: var(--teal-deep); font-weight: 600; }
.advocacy-copy .note a:hover { text-decoration: underline; }

/* ---------- Advocacy campaign: active/live variant (sbrmb/advocacy-campaign block) ----------
   Embeddable on any page via the block, so these rules are scoped to the
   modifier class only and never touch the empty-state rules above. Switches
   the horizontal icon-left empty-state layout to a vertical card wide enough
   to hold the campaign's intro copy and its live Contact Official form. */
.advocacy-card.advocacy-card-active {
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid var(--line);
}
.advocacy-card.advocacy-card-active .advocacy-copy h3 { font-size: 1.3rem; }
.advocacy-body p { margin-top: 8px; color: var(--ink-soft); max-width: 58ch; font-size: 1.02rem; line-height: 1.65; }
.advocacy-body p:first-child { margin-top: 12px; }
.advocacy-card.advocacy-card-active .contact-form { margin-top: 24px; }
.advocacy-card.advocacy-card-active .contact-form .btn-teal,
.advocacy-card.advocacy-card-active .contact-form .wpcf7-submit { width: 100%; padding: 15px; font-size: 0.88rem; }

/* ---------- Meeting Information: Archive ---------- */
.archive { padding: 0 0 100px; }
.archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.archive-col h3 { font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.archive-col h3 .dot { width: 30px; height: 30px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.archive-col h3 .dot svg { width: 15px; height: 15px; stroke: var(--navy); }
.archive-list { margin-top: 18px; display: flex; flex-direction: column; }
.archive-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.archive-row .title { font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.archive-links { display: flex; gap: 8px; flex-shrink: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.68rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--teal-deep); border: 1px solid var(--line); border-radius: 100px;
  padding: 6px 12px; transition: background 0.2s ease, border-color 0.2s ease;
}
.chip svg { width: 12px; height: 12px; }
.chip:hover { background: var(--paper); border-color: var(--teal); }
.archive-note { margin-top: 14px; font-size: 0.84rem; color: var(--ink-soft); }
.archive-note .view-all { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--navy); }
.archive-note .view-all svg { width: 12px; height: 12px; }
.archive-note .view-all:hover { color: var(--teal-deep); }

/* ---------- Meeting Minutes Archive (full year-by-year page) ---------- */
.minutes-archive { padding: 0 0 120px; }
.archive-toggle { display: inline-flex; gap: 4px; border: 1.5px solid var(--line); border-radius: 10px; padding: 4px; margin-bottom: 44px; }
.archive-toggle-btn { display: flex; align-items: center; gap: 8px; border: none; background: transparent; border-radius: 7px; padding: 10px 18px; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.84rem; color: var(--ink-soft); cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.archive-toggle-btn svg { width: 14px; height: 14px; stroke: currentColor; }
.archive-toggle-btn .count { font-size: 0.72rem; font-weight: 700; color: var(--ink-soft); background: var(--paper); border-radius: 100px; padding: 2px 9px; }
.archive-toggle-btn.is-active { background: var(--navy); color: #fff; }
.archive-toggle-btn.is-active .count { background: rgba(255,255,255,0.18); color: #fff; }
.archive-toggle-btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.archive-year-group { margin-bottom: 34px; }
.archive-year-group h3 { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--navy); padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid var(--line); }
.archive-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.archive-date-chip { padding: 8px 14px; font-size: 0.76rem; }
@media (max-width: 620px) {
	.archive-toggle { display: flex; width: 100%; }
	.archive-toggle-btn { flex: 1; min-width: 0; justify-content: center; padding: 9px 6px; gap: 5px; font-size: 0.74rem; }
	.archive-toggle-btn .count { padding: 2px 7px; }
}

@media (max-width: 980px) {
  .standing-grid { grid-template-columns: 1fr; }
  .events-grid { --per: 2; }
  .archive-grid { grid-template-columns: 1fr; gap: 44px; }
  .advocacy-card { flex-direction: column; text-align: center; padding: 36px 28px; }
  .advocacy-card.advocacy-card-active { text-align: left; padding: 36px 28px; }
}
@media (max-width: 620px) {
  .events-grid { --per: 1; }
  .events-tools { margin-left: 0; width: 100%; }
  .archive-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .advocacy-card.advocacy-card-active { padding: 28px 22px; }
  .advocacy-card.advocacy-card-active .advocacy-copy h3 { font-size: 1.15rem; }
}

/* ---------- Community Building: Story intro ---------- */
.story-intro {
  padding: 0 0 56px;
}
.story-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: center;
}
.story-intro-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--sage-deep);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.story-intro-copy .eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  display: inline-block;
  flex-shrink: 0;
}
.story-intro-copy h2 {
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.story-intro-copy .story-intro-text {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}
.story-intro-copy .story-intro-text p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
.story-intro-copy .story-intro-text p:last-child {
  margin-bottom: 0;
}
.story-intro-copy strong {
  color: var(--ink);
}
.story-intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.story-intro-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  box-shadow: 0 1px 3px rgba(42,55,66,0.05);
}
.story-intro-tag .tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.story-intro-tag .tag-dot.dot-coral { background: var(--coral); }
.story-intro-tag .tag-dot.dot-sage  { background: var(--sage); }
.story-intro-tag .tag-dot.dot-gold  { background: var(--gold); }

.story-intro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.story-intro-actions .btn svg { width: 13px; height: 13px; stroke: currentColor; fill: none; }
.story-intro-visual {
  position: relative;
}
.story-intro-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px -8px rgba(42,55,66,0.16);
  border: 1px solid var(--line);
  background: var(--white);
}
.story-intro-photo { position: relative; }
.story-intro-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.story-intro-caption {
  padding: 11px 18px;
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.story-intro-caption strong {
  color: var(--navy);
  font-weight: 600;
}
.story-intro-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sage-deep);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: "Montserrat", sans-serif;
  flex-shrink: 0;
}

/* ---------- Community Building: Calendar band ---------- */
.cal-band { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); padding: 56px 0 48px; color: var(--white); }
.cal-band-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.cal-band .eyebrow { color: var(--gold-light); }
.cal-band h2 { color: var(--white); font-size: clamp(1.6rem, 2.8vw, 2.1rem); font-weight: 800; margin-top: 10px; }
.cal-band p.sub { margin-top: 10px; color: rgba(255,255,255,0.72); max-width: 52ch; font-size: 0.94rem; }
/* ---------- Community Building: Calendar subscribe dropdown ---------- */
.cal-subscribe {
  position: relative;
}
.cal-subscribe-dropdown {
  position: relative;
  display: inline-block;
}
.cal-subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.cal-subscribe-btn svg:not(.chevron) {
  width: 15px;
  height: 15px;
}
.cal-subscribe-btn .chevron {
  width: 12px;
  height: 12px;
  margin-left: 2px;
  transition: transform 0.2s ease;
}
.cal-subscribe-dropdown.is-open .cal-subscribe-btn .chevron {
  transform: rotate(180deg);
}

.cal-subscribe-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 290px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px -6px rgba(42,55,66,0.24), 0 2px 8px rgba(42,55,66,0.08);
  padding: 8px;
  z-index: 50;
  animation: calMenuFadeIn 0.18s ease-out;
}
@keyframes calMenuFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.cal-menu-header {
  padding: 8px 12px 6px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.cal-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cal-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.88rem;
  transition: background 0.15s ease, color 0.15s ease;
  width: 100%;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}
.cal-menu-item:hover,
.cal-menu-item:focus-visible {
  background: var(--paper);
  color: var(--navy);
  outline: none;
}
.cal-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--paper);
  border: 1px solid var(--line);
}
.cal-item-icon svg {
  width: 16px;
  height: 16px;
}
.cal-item-icon.gcal { background: #fef2f2; border-color: #fee2e2; color: #dc2626; }
.cal-item-icon.apple { background: #f8fafc; border-color: #e2e8f0; color: #0f172a; }
.cal-item-icon.outlook { background: #eff6ff; border-color: #bfdbfe; color: #2563eb; }
.cal-item-icon.ics { background: #f0fdfa; border-color: #99f6e4; color: #0d9488; }
.cal-item-icon.copy { background: #fffbeb; border-color: #fde68a; color: #d97706; }

.cal-item-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.cal-item-text strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
}
.cal-item-text small {
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-top: 2px;
}
.cal-menu-divider {
  height: 1px;
  background: var(--line);
  margin: 4px 6px;
}

@media (max-width: 620px) {
  .cal-subscribe-menu {
    right: auto;
    left: 0;
    max-width: calc(100vw - 40px);
    width: 290px;
  }
}

/* ---------- Community Building: Calendar grid ---------- */
.cal-grid-section { padding: 48px 0 56px; background: var(--paper); }
.cal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.cal-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; cursor: pointer;
  box-shadow: 0 4px 18px rgba(42,55,66,0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  text-align: left; border-width: 1px; font: inherit; color: inherit;
  padding: 0; margin: 0; width: 100%; appearance: none; -webkit-appearance: none;
}
.cal-card:hover, .cal-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -8px rgba(42,55,66,0.12);
  border-color: rgba(42,55,66,0.22);
}
.cal-card:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* Restrained, soft civic header — not bright or saturated */
.cal-photo {
  width: 100%; height: 84px; aspect-ratio: auto; position: relative;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; overflow: hidden; box-sizing: border-box;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.cal-photo.cleanup { background: #f4f7f2; border-bottom-color: #dbe4d7; }
.cal-photo.social { background: #f9f6ee; border-bottom-color: #e9e1cd; }
.cal-photo.holiday { background: #fbf2ee; border-bottom-color: #ebdcd4; }
.cal-photo .icon-mark { display: none !important; }

/* Clean, classic calendar date badge */
.cal-date-badge {
  display: inline-flex; flex-direction: column; align-items: center;
  min-width: 52px; border-radius: 8px; overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(42,55,66,0.08);
  border: 1px solid var(--line);
  text-align: center;
}
.cal-date-badge .mo {
  display: block; width: 100%;
  font-family: "Montserrat", sans-serif; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 6px; background: var(--navy); color: var(--white);
}
.cal-date-badge .day {
  display: block; width: 100%;
  padding: 3px 6px 2px;
  font-family: "Montserrat", sans-serif; font-size: 1.25rem; font-weight: 800;
  color: var(--navy); line-height: 1; background: var(--white);
}

.cal-example-flag {
  font-family: "Montserrat", sans-serif; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft); background: rgba(42,55,66,0.06);
  border: 1px solid rgba(42,55,66,0.12);
  padding: 4px 10px; border-radius: 100px;
}

.cal-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cal-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); line-height: 1.35; }
.cal-time { font-size: 0.86rem; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.cal-time svg { width: 14px; height: 14px; stroke: var(--teal-deep); flex-shrink: 0; }
.cal-view {
  margin-top: auto; padding-top: 12px;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.74rem;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--teal-deep);
  display: flex; align-items: center; gap: 5px;
}
.cal-view svg { width: 11px; height: 11px; transition: transform 0.2s ease; }
.cal-card:hover .cal-view svg { transform: translateX(4px); }
.cal-next { text-align: center; margin-top: 36px; }

/* ---------- Community Building: event modal (extends the shared modal) ---------- */
.modal-photo {
  height: 58px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  box-sizing: border-box;
}
.modal-photo.cleanup { background: #f4f7f2; border-bottom-color: #dbe4d7; }
.modal-photo.social { background: #f9f6ee; border-bottom-color: #e9e1cd; }
.modal-photo.holiday { background: #fbf2ee; border-bottom-color: #ebdcd4; }
.modal-photo .icon-mark { display: none !important; }

.modal-header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-tag {
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.modal-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.modal-tag.cleanup .modal-tag-dot { background: var(--teal-deep); }
.modal-tag.social .modal-tag-dot { background: var(--gold-deep); }
.modal-tag.holiday .modal-tag-dot { background: var(--coral-deep); }

.modal-example {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral-deep);
  background: rgba(230,90,61,0.08);
  border: 1px solid rgba(230,90,61,0.22);
  padding: 3px 8px;
  border-radius: 100px;
  line-height: 1.2;
  margin: 0;
}

.modal-photo .modal-close {
  position: static;
  margin-left: auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(42,55,66,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}
.modal-photo .modal-close:hover {
  background: var(--white);
  transform: scale(1.06);
  border-color: rgba(42,55,66,0.25);
}
.modal-photo .modal-close svg {
  width: 14px;
  height: 14px;
  stroke: var(--navy);
  stroke-width: 1.8;
}

.modal-body:not(.contact-body) {
  padding: 28px 28px 30px;
}
.modal-body:not(.contact-body) h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 10px 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.modal-body:not(.contact-body) p.desc {
  margin: 0 0 22px 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.6;
}

.modal-blocks {
  margin: 0 0 22px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.modal-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.modal-block .dot {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.modal-block .dot svg {
  width: 16px;
  height: 16px;
  stroke: var(--teal-deep);
  stroke-width: 1.8;
}
.modal-block-text {
  flex: 1;
}
.modal-block h5 {
  margin: 0 0 4px 0 !important;
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.2;
}
.modal-block p {
  margin: 0 !important;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}
.modal-block a.directions {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}
.modal-block a.directions svg {
  width: 12px !important;
  height: 12px !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.modal-block a.directions:hover {
  color: var(--teal);
}
.modal-block a.directions:hover svg {
  transform: translateX(3px);
}

.modal-map {
  margin: 0 0 22px 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(42,55,66,0.06);
}
.modal-map iframe {
  width: 100%;
  height: 180px;
  border: 0;
  display: block;
}

.modal-cta {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 10px; /* an event with a sign-up link has two buttons */
}
.modal-cta .btn {
  width: 100%;
  justify-content: center;
  padding: 13px 24px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.modal-cta .btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  flex-shrink: 0;
}

/* A second story section mirrors the first: photo on the left, copy on the right. */
.story-intro.is-reversed .story-intro-grid { grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr); }
.story-intro.is-reversed .story-intro-visual { order: -1; }
@media (max-width: 980px) {
  .story-intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .story-intro.is-reversed .story-intro-grid { grid-template-columns: 1fr; } /* the two-column rule above is more specific, so it must be reset here or the photo is squeezed to nothing on a phone */
  .story-intro.is-reversed .story-intro-visual { order: 0; }
  .story-intro-card img { height: 260px; }
  .cal-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .story-intro-card img { height: 220px; }
  .cal-grid { grid-template-columns: 1fr; }
  .cal-band-top { align-items: flex-start; }
  .modal-overlay { padding: 16px; }
  .modal-photo { padding: 0 20px; height: 52px; }
  .modal-body:not(.contact-body) { padding: 22px 20px 24px; }
}

/* ---------- Issues & Committees: sticky section nav ---------- */
.section-nav {
  position: sticky; top: 76px; z-index: 30;
  background: var(--white); border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px -10px rgba(42,55,66,0.12);
  transition: top 0.25s ease;
}
.section-nav-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  padding-bottom: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.section-nav-scroll::-webkit-scrollbar {
  display: none;
}
.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 4px;
  background: var(--white);
  border: 1.5px solid var(--line);
  color: var(--navy);
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(42,55,66,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.nav-pill:hover {
  background: var(--paper);
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(42,55,66,0.1);
}
.nav-pill:active {
  transform: translateY(0);
}
.nav-pill:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.nav-pill .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ---------- Issues & Committees: sections ---------- */
.issue-section { padding: 60px 0; scroll-margin-top: 190px; }
/* Alternating background is computed by CSS position (nth-of-type), not a PHP-assigned
   .alt class, so the zebra-striping stays correct no matter how these blocks are
   reordered/added/removed in the Block Editor. */
.entry-content > .issue-section:nth-of-type(even) { background: var(--footer-bg); }
.issue-band { max-width: 74ch; margin-bottom: 34px; }
.issue-band .eyebrow { display: flex; align-items: center; gap: 8px; }
.issue-band .eyebrow .sw { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.issue-band h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 800; margin-top: 8px; }
.issue-band p { margin-top: 10px; color: var(--ink-soft); font-size: 0.96rem; }

.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.topic-grid.single { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.topic-card {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--navy);
  border-radius: 12px; overflow: hidden; display: flex;
  box-shadow: 0 4px 16px rgba(42,55,66,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.topic-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(42,55,66,0.1); }
.entry-content > .issue-section:nth-of-type(even) .topic-card { background: var(--white); }
.topic-visual { display: none !important; }
.topic-body { padding: 22px 24px; flex: 1; min-width: 0; }
.topic-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.topic-body p { margin-top: 8px; color: var(--ink-soft); font-size: 0.88rem; line-height: 1.55; }
.topic-body .learn-more { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; }
.topic-body .learn-more svg { width: 11px; height: 11px; transition: transform 0.2s ease; }
.topic-body .learn-more:hover svg { transform: translateX(3px); }

.coming-soon { margin-top: 28px; }
.coming-soon-label { font-family: "Montserrat", sans-serif; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; display: flex; align-items: center; gap: 7px; }
.coming-soon-label svg { width: 13px; height: 13px; stroke: var(--gold-deep); }
.coming-soon-list { display: flex; flex-wrap: wrap; gap: 10px; }
.cs-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 6px; padding: 7px 14px;
  font-size: 0.84rem; font-weight: 500; color: var(--navy);
}
.entry-content > .issue-section:nth-of-type(even) .cs-chip { background: var(--white); }
.cs-chip .cs-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-deep); display: inline-block; flex-shrink: 0; }
.cs-chip .cs-dot svg { display: none; }

.page-title .issues-cta-line { margin-top: 16px; max-width: 62ch; font-weight: 600; color: var(--ink); }
.page-title .issues-cta-line a { color: var(--teal-deep); font-weight: 700; }
.page-title .issues-cta-line a:hover { text-decoration: underline; }

/* Large cards may carry a photo across the top (optional, per initiative). */
.topic-card.has-photo { flex-direction: column; }
.topic-photo { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper); }
.topic-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Small bubbles with a description: it opens on hover, tap or Enter (main.js). The container is raised so
   an open card sits above the next section's content. */
.coming-soon { position: relative; z-index: 5; }
.coming-soon-hint { margin: -4px 0 12px; font-size: 0.82rem; color: var(--ink-soft); }
.cs-item { position: relative; }
.cs-item.is-open, .cs-item:hover { z-index: 40; }
.cs-chip-btn { font: inherit; font-size: 0.84rem; font-weight: 500; color: var(--navy); cursor: pointer; text-align: left; min-height: 38px; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.cs-chip-btn::after { content: "+"; margin-left: 2px; font-size: 1.05rem; font-weight: 700; line-height: 1; color: var(--teal-deep); transition: transform 0.2s ease; }
.cs-chip-btn:hover, .cs-chip-btn[aria-expanded="true"] { border-color: var(--teal-deep); box-shadow: 0 8px 18px -12px rgba(42,55,66,0.5); }
.cs-chip-btn[aria-expanded="true"]::after { transform: rotate(45deg); }
.cs-chip-btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.cs-pop { display: none; position: absolute; z-index: 40; top: 100%; left: 0; padding-top: 8px; width: min(420px, calc(100vw - 56px)); }
.cs-pop-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; box-shadow: 0 20px 44px -20px rgba(42,55,66,0.5); font-size: 0.86rem; line-height: 1.55; color: var(--ink-soft); max-height: min(60vh, 440px); overflow-y: auto; }
.cs-pop-card a { color: var(--teal-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cs-item.is-open .cs-pop { display: block; }
@media (hover: hover) { .cs-item:hover .cs-pop { display: block; } }
html:not(.js-on) .cs-item:focus-within .cs-pop { display: block; }

@media (max-width: 980px) {
  .section-nav { top: 62px; }
  .topic-grid { grid-template-columns: 1fr; }
}

/* ---------- Community Resources ---------- */
.resources { padding: 8px 0 96px; }
.res-section { padding: 40px 0; border-top: 1px solid var(--line); }
.res-section:first-child { border-top: none; padding-top: 8px; }
.res-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.res-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--paper); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.res-icon svg { width: 17px; height: 17px; stroke: var(--navy); }
.res-head h2 { font-size: 1.2rem; font-weight: 800; }
/* The heading and its caption share one baseline; the icon stays centered against the pair. */
.res-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; flex: 1 1 0; min-width: 0; }
@media (max-width: 620px) { .res-head { align-items: flex-start; } }
.res-head .res-note { color: var(--ink-soft); font-size: 0.86rem; }

.res-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.res-entry { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.res-entry .name { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.94rem; color: var(--navy); }
.res-entry .role { font-size: 0.8rem; color: var(--ink-soft); margin-top: -4px; }
.res-entry .lines { display: flex; flex-direction: column; gap: 5px; margin-top: 2px; }
.res-entry .lines span, .res-entry .lines a { display: flex; align-items: center; gap: 7px; font-size: 0.84rem; color: var(--ink-soft); min-width: 0; overflow-wrap: anywhere; } /* long document addresses wrap instead of pushing the page wider than a phone */
.res-entry .lines svg { width: 13px; height: 13px; stroke: var(--teal-deep); flex-shrink: 0; }
.res-entry .lines a:hover { color: var(--teal-deep); }
.res-entry .lines a.website { color: var(--teal-deep); font-weight: 600; }
.res-entry .lines a.website:hover { text-decoration: underline; }
.topic-body p a, .res-entry .role a { color: var(--teal-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.res-note-block { background: var(--paper); border-radius: 10px; padding: 16px 18px; font-size: 0.86rem; color: var(--ink-soft); line-height: 1.6; }
.res-note-block strong { color: var(--ink); }
.res-note-block a { color: var(--teal-deep); font-weight: 600; }

/* Community Resources: neighborhood switcher, neighborhood intro and tags */
.hood-nav { padding: 6px 0 4px; }
.hood-nav .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.hood-nav-label { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.hood-nav-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.hood-nav .nav-pill[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: none; transform: none; }
.hood-intro { padding: 22px 0 4px; }
.hood-intro h2 { font-size: 1.6rem; font-weight: 800; }
.hood-intro p { margin-top: 8px; max-width: 68ch; color: var(--ink-soft); }
.hood-intro a, .hood-more a { color: var(--teal-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.hood-more { padding: 6px 0 56px; }
.hood-more p { color: var(--ink-soft); font-size: 0.92rem; }
.res-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.res-tag { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; background: var(--paper); border: 1px solid var(--line); color: var(--navy); }

@media (max-width: 980px) {
  .res-grid { grid-template-columns: 1fr; }
}

/* ---------- Homepage: Hero ---------- */
.hero {
  position: relative;
  padding: 100px 0 110px;
  background: var(--white);
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media .slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 68% center;
  opacity: 0;
  transition: opacity 1.2s ease;
  -webkit-mask-image: linear-gradient(95deg, transparent 0%, transparent 32%, rgba(0,0,0,0.12) 45%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.7) 78%, #000 96%);
  mask-image: linear-gradient(95deg, transparent 0%, transparent 32%, rgba(0,0,0,0.12) 45%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.7) 78%, #000 96%);
}
.hero-media .slide.is-active { opacity: 1; }
/* Slideshow controls: the pause button and the dots share one row, with the credit in the corner under them. On a wide
   screen the hero text block (.hero-grid, above the photo) ends 150px above the banner's bottom edge, 70px above the
   neighborhood cards, so everything clickable has to stay inside that 70px band or the text block covers it. */
.hero-dots { position: absolute; right: 16px; bottom: 51px; z-index: 2; display: flex; gap: 7px; }
.hero-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.55);
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: background 0.3s ease, transform 0.3s ease;
}
.hero-dots span.is-active { background: var(--white); transform: scale(1.25); }
/* The credit for the photo on show (the picture's Caption in the Media Library). One per slide; it fades in and out
   with its photo, so only the current photo's credit is ever on screen (and read by a screen reader). Small, quiet
   text in the lower-right corner, right-aligned, so a long credit wraps to two lines. There is no
   box; a soft shadow behind the text keeps it readable on pale parts of a photo (the ::before fades with the text). */
.hero-credit {
  position: absolute; right: 16px; bottom: 6px; z-index: 2;
  max-width: 150px; text-align: right;
  color: rgba(255, 255, 255, 0.95);
  font-family: "Montserrat", sans-serif; font-size: 0.64rem; font-weight: 500; letter-spacing: 0.02em; line-height: 1.35;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), 0 0 8px rgba(0, 0, 0, 0.4);
  opacity: 0; visibility: hidden;
  transition: opacity 1.2s ease, visibility 0s linear 1.2s;
  pointer-events: none;
}
.hero-credit::before {
  content: ""; position: absolute; inset: -22px -24px -22px -48px; z-index: -1; pointer-events: none;
  /* closest-side: the shadow reaches zero before the edge of its box, so there is no visible edge */
  background: radial-gradient(ellipse closest-side at 50% 50%, rgba(24, 35, 46, 0.52) 0%, rgba(24, 35, 46, 0.26) 55%, rgba(24, 35, 46, 0) 100%);
}
.hero-credit.is-active { opacity: 1; visibility: visible; transition: opacity 1.2s ease, visibility 0s; }
.hero-pause {
  position: absolute; right: 63px; bottom: 40px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%; border: none;
  background: rgba(0,0,0,0.35); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.hero-pause:hover { background: rgba(0,0,0,0.5); }
.hero-pause:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.hero-pause svg { width: 13px; height: 13px; }
.hero-pause .icon-play { display: none; }
.hero-pause.is-paused .icon-pause { display: none; }
.hero-pause.is-paused .icon-play { display: block; }
.hero-grid { position: relative; z-index: 1; width: 100%; }
.hero-copy { max-width: 580px; }
.hero h1 { font-size: clamp(2.4rem, 4.3vw, 3.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
/* A fourth headline line ("Neighborhood Association") sits under the big title, smaller, in the tagline's style
   (Montserrat bold, uppercase, letter-spaced) and the title's navy. Sized in em so it scales with the heading. */
.hero h1 .hero-sub { display: block; margin-top: 0.7rem; font-family: "Montserrat", sans-serif; font-size: max(0.32em, 0.8rem); font-weight: 700; letter-spacing: 0.14em; line-height: 1.3; text-transform: uppercase; }
.hero .tagline { margin-top: 16px; color: var(--gold-deep); font-size: 1.02rem; }
.hero .lede { margin-top: 18px; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.6; max-width: 52ch; }
.hero .cta-row { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { opacity: 0; animation: heroUp 0.85s cubic-bezier(.2,.7,.3,1) forwards; }
  .hero-copy h1 { animation-delay: 0.05s; }
  .hero-copy .tagline { animation-delay: 0.22s; }
  .hero-copy .lede { animation-delay: 0.36s; }
  .hero-copy .cta-row { animation-delay: 0.5s; }
  .hero-media { opacity: 0; animation: heroFadeIn 1.3s ease forwards; animation-delay: 0.1s; }
  @keyframes heroFadeIn { from { opacity: 0; } to { opacity: 1; } }
  @keyframes heroUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

  .hoods-grid .hood-card:nth-child(1) { transition-delay: 0s; }
  .hoods-grid .hood-card:nth-child(2) { transition-delay: 0.12s; }
  .hoods-grid .hood-card:nth-child(3) { transition-delay: 0.24s; }
  .features-grid .feature:nth-child(1) { transition-delay: 0s; }
  .features-grid .feature:nth-child(2) { transition-delay: 0.1s; }
  .features-grid .feature:nth-child(3) { transition-delay: 0.2s; }
  .highlights-grid .highlight-card:nth-child(1) { transition-delay: 0s; }
  .highlights-grid .highlight-card:nth-child(2) { transition-delay: 0.12s; }
  .highlights-grid .highlight-card:nth-child(3) { transition-delay: 0.24s; }
}

/* ---------- Homepage: Neighborhood cards ---------- */
.hoods { padding: 24px 0 88px; }
.hoods-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.hood-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(42,55,66,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.hood-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -10px rgba(42,55,66,0.13);
}
.hood-card.accent-navy { border-top: 3px solid var(--navy); }
.hood-card.accent-coral { border-top: 3px solid var(--coral); }
.hood-card.accent-teal { border-top: 3px solid var(--teal); }
.hood-card.accent-gold { border-top: 3px solid var(--gold-deep); }
.hood-card.accent-sage { border-top: 3px solid var(--sage-deep); }

.hood-photo { aspect-ratio: 16/9; overflow: hidden; position: relative; background: var(--paper); }
.hood-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(.2,.7,.3,1);
  -webkit-mask-image: none;
  mask-image: none;
}
.hood-card:hover .hood-photo img { transform: scale(1.05); }

.hood-panel { padding: 22px 24px 24px; position: relative; color: var(--ink); flex: 1; display: flex; flex-direction: column; }
.hood-panel-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.hood-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: none;
}
.hood-card.accent-navy .hood-icon { background: rgba(57, 74, 88, 0.1); }
.hood-card.accent-navy .hood-icon svg { stroke: var(--navy); }
.hood-card.accent-coral .hood-icon { background: rgba(230, 90, 61, 0.12); }
.hood-card.accent-coral .hood-icon svg { stroke: var(--coral-deep); }
.hood-card.accent-sage .hood-icon { background: rgba(147, 173, 135, 0.22); }
.hood-card.accent-sage .hood-icon svg { stroke: var(--sage-deep); }
.hood-card.accent-teal .hood-icon { background: rgba(74, 107, 130, 0.12); }
.hood-card.accent-teal .hood-icon svg { stroke: var(--teal-deep); }
.hood-card.accent-gold .hood-icon { background: rgba(212, 163, 89, 0.2); }
.hood-card.accent-gold .hood-icon svg { stroke: var(--gold-deep); }

.hood-card h3 { color: var(--navy); font-size: 1.22rem; font-weight: 800; letter-spacing: -0.01em; }
.hood-card .sub { margin-top: 4px; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.45; }
.hood-card .btn {
  margin-top: auto;
  align-self: stretch;
  justify-content: center;
  padding: 10px 18px;
  min-height: 44px;
  text-align: center;
  line-height: 1.3;
  background: var(--hood-accent);
  color: var(--white);
  border: 2px solid var(--hood-accent);
  box-shadow: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  transition: all 0.2s ease;
}
.hood-card .btn svg { width: 12px; height: 12px; flex-shrink: 0; stroke: currentColor; transition: transform 0.2s ease; }
.hood-card .btn:hover svg { transform: translateX(3px); }
/* Each card's button carries its own accent (the -deep shades all clear 4.5:1 against white text). */
.hood-card.accent-navy  { --hood-accent: var(--navy);       --hood-accent-rgb: 57, 74, 88; }
.hood-card.accent-coral { --hood-accent: var(--coral-deep); --hood-accent-rgb: 201, 74, 48; }
.hood-card.accent-sage  { --hood-accent: var(--sage-deep);  --hood-accent-rgb: 101, 121, 89; }
.hood-card.accent-teal  { --hood-accent: var(--teal-deep);  --hood-accent-rgb: 22, 127, 137; }
.hood-card.accent-gold  { --hood-accent: var(--gold-deep);  --hood-accent-rgb: 144, 109, 43; }
.hood-card .btn:hover { box-shadow: 0 10px 22px -8px rgba(var(--hood-accent-rgb), 0.55); }

/* Desktop: the neighborhood cards overlap the bottom of the hero banner. The hero's
   bottom padding and its slideshow controls move up by the same amount so nothing collides. */
@media (min-width: 981px) {
  .hero { --hoods-overlap: 80px; padding-bottom: 150px; }
  .hero-dots { bottom: calc(51px + var(--hoods-overlap)); }
  .hero-credit { bottom: calc(6px + var(--hoods-overlap)); }
  .hero-pause { bottom: calc(40px + var(--hoods-overlap)); }
  .hero + .entry-content > .hoods { margin-top: -80px; padding-top: 0; position: relative; z-index: 3; }
  /* That wrapper is a full-width, see-through layer over the bottom of the banner. Clicks pass through it except on the
     cards themselves, so the slideshow's pause button can sit in the banner's corner beside the cards. */
  .hero + .entry-content > .hoods { pointer-events: none; }
  .hero + .entry-content > .hoods .hood-card { pointer-events: auto; }
  .hero + .entry-content > .hoods .hood-card { box-shadow: 0 22px 44px -16px rgba(42,55,66,0.30); }
  .hero + .entry-content > .hoods .hood-card:hover { box-shadow: 0 26px 48px -14px rgba(42,55,66,0.34); }
}

/* Wide screens: the photo shows to the right of the neighborhood cards (the cards are at most 1176px wide and centered,
   so that strip is (screen width - 1176px) / 2: 127px at 1430px, 160px at 1500px). The credit moves down into the
   banner's true lower-right corner there, with the pause button and dots stacked just above it, and the credit's width
   is held under the strip's so it never runs under a card.
   Narrower screens, where the cards leave no room beside them, keep it at the right edge just above the cards. */
@media (min-width: 1430px) {
  .hero-credit { bottom: 14px; max-width: min(132px, calc((100vw - 1176px) / 2 - 28px)); }
  .hero-dots { bottom: 62px; }  /* the pause button and dots stack in the same corner, just above the credit */
  .hero-pause { bottom: 50px; }
  .hero-credit::before { inset: -16px -24px -14px -48px; } /* its soft shadow stops at the banner's bottom edge */
}

/* ---------- Homepage: Voice / mission section ---------- */
.voice {
  position: relative;
  padding: 84px 0;
  background: var(--paper);
  overflow: hidden;
}
.voice::before,
.voice::after {
  display: none !important;
}
.voice .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 60px; align-items: center;
}
.voice-art { width: 100%; height: auto; max-width: 380px; }
/* Photo with an offset coral frame behind it and a "Since 2008" tag overlapping its corner */
.voice-photo-wrap { position: relative; width: 100%; max-width: 420px; }
.voice-photo-wrap::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: 20px;
  background: rgba(230, 90, 61, 0.14);
}
.voice-photo { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 16px; box-shadow: 0 22px 44px -22px rgba(42,55,66,0.4); }
.voice-badge {
  position: absolute; z-index: 2; left: -18px; bottom: 34px;
  padding: 10px 16px; border-radius: 100px; background: var(--white); color: var(--navy);
  font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 0 10px 24px -10px rgba(42,55,66,0.35);
}
.voice h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; color: var(--navy); }
.voice-accent { display: block; color: var(--coral-deep); }
.voice p.body { margin-top: 20px; color: var(--ink-soft); max-width: 52ch; font-size: 1.1rem; line-height: 1.7; }
.voice .btn { margin-top: 30px; }
.voice .btn svg { width: 13px; height: 13px; stroke: currentColor; transition: transform 0.2s ease; }
.voice .btn:hover svg { transform: translateX(3px); }

/* ---------- Homepage: Feature strip ----------
   Three photo tiles with the text on a dark fade at the bottom and a filled, accent-colored link — no icons,
   outlines or dividers. The whole tile is the click target (stretched link). Scoped to .features-grid so the
   block editor canvas keeps a plain photo-then-text layout that's easy to edit. */
.features { padding: 64px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }

.feature-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: var(--paper); display: flex; align-items: center; justify-content: center; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.feature-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.feature-fallback svg { width: 56px; height: 56px; fill: none; stroke: currentColor; opacity: 0.9; }
.f-navy { background: var(--navy); }        .f-navy.feature-fallback { color: var(--white); }
.f-coral { background: var(--coral-deep); } .f-coral.feature-fallback { color: var(--white); }
.f-gold { background: var(--gold-deep); }   .f-gold.feature-fallback { color: var(--white); }
.f-teal { background: var(--teal-deep); }   .f-teal.feature-fallback { color: var(--white); }
.f-sage { background: var(--sage-deep); }   .f-sage.feature-fallback { color: var(--white); }
.feature h4 { font-size: 1.02rem; font-weight: 700; color: var(--navy); }
.feature p { margin-top: 4px; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.5; }
.feature .link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "Montserrat", sans-serif; font-weight: 700;
  font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase;
}
.feature .link svg { width: 12px; height: 12px; transition: transform 0.2s ease; }
.feature.navy  { --feature-accent: var(--navy);       --feature-accent-rgb: 57, 74, 88; }
.feature.coral { --feature-accent: var(--coral-deep); --feature-accent-rgb: 201, 74, 48; }
.feature.gold  { --feature-accent: var(--gold-deep);  --feature-accent-rgb: 144, 109, 43; }
.feature.teal  { --feature-accent: var(--teal-deep);  --feature-accent-rgb: 22, 127, 137; }
.feature.sage  { --feature-accent: var(--sage-deep);  --feature-accent-rgb: 101, 121, 89; }

/* Front end only: photo tile with overlaid text */
.features-grid .feature {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  min-height: 360px; border-radius: 16px; color: var(--white);
  box-shadow: 0 14px 30px -18px rgba(42,55,66,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.features-grid .feature:hover { transform: translateY(-4px); box-shadow: 0 22px 38px -16px rgba(42,55,66,0.5); }
.features-grid .feature:focus-within { box-shadow: 0 0 0 3px var(--teal), 0 14px 30px -18px rgba(42,55,66,0.45); }
.features-grid .feature-media { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; border-radius: 0; }
.features-grid .feature-media img { transition: transform 0.7s cubic-bezier(.2,.7,.3,1); }
.features-grid .feature:hover .feature-media img { transform: scale(1.05); }
.features-grid .feature-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(31,41,49,0) 28%, rgba(31,41,49,0.55) 58%, rgba(31,41,49,0.93) 100%);
}
.features-grid .feature-body { position: relative; width: 100%; padding: 26px 26px 24px; }
.features-grid .feature h4 { color: var(--white); font-size: 1.32rem; font-weight: 800; letter-spacing: -0.01em; }
.features-grid .feature p { color: rgba(255,255,255,0.92); margin-top: 6px; font-size: 0.92rem; line-height: 1.5; max-width: 34ch; }
.features-grid .feature .link {
  margin-top: 18px; padding: 10px 16px; border-radius: 8px;
  background: var(--feature-accent); color: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.features-grid .feature:hover .link { box-shadow: 0 10px 22px -8px rgba(var(--feature-accent-rgb), 0.7); }
.features-grid .feature:hover .link svg { transform: translateX(3px); }
.features-grid .feature .link::after { content: ""; position: absolute; inset: 0; }
.features-grid .feature .link:focus-visible { outline: none; }

/* ---------- Homepage: Meeting banner ---------- */
.meeting {
  position: relative;
  padding: 84px 0;
  background: var(--paper);
  overflow: hidden;
  scroll-margin-top: 130px;
}
.meeting::before,
.meeting::after {
  display: none !important;
}
.meeting .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px; align-items: center;
}
.meeting-eyebrow { display: flex; align-items: center; gap: 12px; color: var(--teal-deep); }
.meeting-eyebrow .dot {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(31,183,197,0.16);
  display: flex; align-items: center; justify-content: center;
}
.meeting-eyebrow svg { width: 18px; height: 18px; stroke: var(--teal-deep); }
.meeting h3 { margin-top: 18px; font-size: 1.7rem; font-weight: 800; color: var(--navy); }
.meeting-meta { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; color: var(--ink-soft); font-size: 0.94rem; }
.meeting-meta span { display: flex; align-items: center; gap: 8px; }
.meeting-meta svg { width: 16px; height: 16px; stroke: var(--teal-deep); flex-shrink: 0; }
.meeting .btn { margin-top: 24px; align-self: flex-start; }
.meeting-art {
  position: relative; border-radius: 8px; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  min-height: 300px;
  box-shadow: 0 16px 36px -20px rgba(42,55,66,0.25);
}
.meeting-art svg { width: 68%; max-width: 280px; height: auto; }
.meeting-art img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Homepage: Community highlights ---------- */
.highlights { padding: 36px 0 96px; text-align: center; }
.highlights h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -0.01em; color: var(--navy); }
.highlights-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; text-align: left; align-items: stretch; }
.highlight-card { display: flex; flex-direction: column; height: 100%; }
.highlight-media { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 4px 18px rgba(42,55,66,0.06); }
.highlight-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.highlight-card:hover .highlight-media img { transform: scale(1.05); }
.highlight-media .illus { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.highlight-media .illus svg { width: 40%; height: 40%; }
.highlight-card .body { margin-top: 18px; flex: 1; display: flex; flex-direction: column; }
.highlight-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.highlight-card p { margin-top: 6px; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.55; }
.highlight-card .link {
  display: inline-flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 10px;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.76rem;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.highlight-card .link svg { width: 11px; height: 11px; transition: transform 0.2s ease; }
.highlight-card .link:hover svg { transform: translateX(3px); }
.hl-teal .link { color: var(--teal-deep); }
.hl-coral .link { color: var(--coral-deep); }
.hl-sage .link { color: var(--sage-deep); }
.hl-navy .link { color: var(--navy); }
.hl-gold .link { color: var(--gold-deep); }

@media (max-width: 980px) {
  .hero { display: block; padding: 32px 0 56px; min-height: 0; }
  .hero-media { position: relative; inset: auto; aspect-ratio: 4/3; margin: 0 0 32px; border-radius: 6px; box-shadow: 0 24px 50px -28px rgba(42,55,66,0.4); }
  .hero-media .slide { mask-image: none; -webkit-mask-image: none; }
  .hero-dots { right: 12px; bottom: 57px; }  /* same corner as the credit: dots and pause in a row above it */
  .hero-credit { right: 12px; bottom: 10px; max-width: 46%; }
  .hero-credit::before { bottom: -10px; } /* its soft shadow stops at the photo's bottom edge */
  .hero-pause { right: 59px; bottom: 46px; }
  .hero-copy { max-width: none; }
  .voice .wrap, .meeting .wrap { grid-template-columns: 1fr; }
  .voice-photo-wrap { max-width: 380px; }
  .voice-photo-wrap::before { inset: 14px -14px -14px 14px; }
  .voice-badge { left: 12px; bottom: 24px; }
  .hoods-grid, .highlights-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .hoods-grid, .highlights-grid { grid-template-columns: 1fr; }
  .features-grid .feature { min-height: 300px; }
}

/* ==========================================================================
   Block Editor–only helpers. Loaded via add_editor_style() into the editor
   canvas; these classes are never output by any render.php, so they never
   reach the front end.
   ========================================================================== */
.sbrmb-editor-label {
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.7rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
  margin: 0 0 10px;
}
.sbrmb-editor-icon-name {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; color: currentColor; opacity: 0.85;
}
.sbrmb-editor-link-preview {
  display: inline-flex; margin-top: 10px; font-family: "Montserrat", sans-serif;
  font-weight: 700; font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink-soft);
}
.sbrmb-editor-group { padding: 6px 0; }
.board-head-editor { max-width: 640px; margin-bottom: 24px; }
