/* ============================================================
   CROSSWAY MISSION — GLOBAL DESIGN TOKENS & SHARED STYLES
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #1E3D18;
  --navy-d:    #0D2210;
  --olive:     #4C5B0D;
  --olive-l:   #6B8C2A;
  --olive-d:   #3A4508;
  --olive-t:   rgba(76,91,13,.12);
  --white:     #FFFFFF;
  --off:       #EDE8DC;
  --cream:     #F7F2EB;
  --body:      #1C1E18;
  --light:     #6B6B5A;
  --border:    #DDE5C8;
  --shadow:    0 4px 24px rgba(26,47,16,.10);
  --shadow-md: 0 8px 32px rgba(26,47,16,.13);
  --shadow-lg: 0 18px 48px rgba(26,47,16,.16);

  /* Radius scale */
  --r:         8px;   /* legacy – keep for backward compat */
  --r-xs:      4px;   /* buttons, small badges              */
  --r-sm:      12px;  /* inputs, small cards                */
  --r-md:      20px;  /* standard cards                     */
  --r-lg:      32px;  /* large panels, playlist cards       */
  --r-pill:    999px; /* chips, tags, pill buttons          */

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', system-ui, sans-serif;
  --max:       1200px;
  --nav-h:     58px;
  --anchor-offset: calc(var(--nav-h) + 24px);

  /* Type scale */
  --fs-2xs: 0.625rem;   /* 10px */
  --fs-xs:  0.6875rem;  /* 11px */
  --fs-sm:  0.8125rem;  /* 13px */
  --fs-md:  0.9375rem;  /* 15px */
  --fs-base: 1rem;      /* 16px */
  --fs-lg:  1.0625rem;  /* 17px */
  --fs-xl:  1.25rem;    /* 20px */
  --fs-2xl: 1.5rem;     /* 24px */
  --fs-3xl: 2rem;       /* 32px */
  --fs-4xl: 2.5rem;     /* 40px */
  --fs-5xl: 3.5rem;     /* 56px */
  --fs-6xl: 4.5rem;     /* 72px */

  --lh-tight: 1.2;
  --lh-heading: 1.25;
  --lh-copy: 1.7;
  --lh-relaxed: 1.85;

  /*
   * Standard breakpoints (use these — do NOT introduce new values):
   *   --bp-sm  480px   mobile landscape / small phones
   *   --bp-md  768px   tablet portrait
   *   --bp-lg  1024px  laptop / desktop
   *   --bp-xl  1280px  wide desktop
   * Note: CSS custom props can't be used in @media, so use raw px values.
   */
}

html { scroll-behavior: smooth; scroll-padding-top: var(--anchor-offset); font-size: 16px; }
body { font-family: var(--font-body); font-size: var(--fs-base); color: var(--body); background: var(--cream); line-height: var(--lh-copy); }
body.cm-site { background: var(--cream) !important; }
body.admin-bar { --anchor-offset: calc(var(--nav-h) + 56px); }
img  { max-width: 100%; display: block; }
a,
a:visited { color: inherit; text-decoration: none; }

.cm-site main p a,
.cm-site main li a,
.cm-site main blockquote a,
.cm-site main table a {
  color: var(--olive-d);
  text-decoration: underline;
  text-decoration-color: rgba(76,91,13,.28);
  text-underline-offset: 3px;
}

.cm-site main p a:visited,
.cm-site main li a:visited,
.cm-site main blockquote a:visited,
.cm-site main table a:visited {
  color: var(--olive-d);
}

.cm-site main p a:hover,
.cm-site main p a:focus-visible,
.cm-site main li a:hover,
.cm-site main li a:focus-visible,
.cm-site main blockquote a:hover,
.cm-site main blockquote a:focus-visible,
.cm-site main table a:hover,
.cm-site main table a:focus-visible {
  color: var(--navy);
  text-decoration-color: rgba(30,61,24,.42);
}

/* ── Global focus-visible ring ───────────────────────────── */
/* Removes the default outline and replaces it with a consistent
   olive ring that works on both light and dark backgrounds.     */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}
/* On dark/navy backgrounds use white ring */
.cm-nav :focus-visible,
.cta-banner :focus-visible,
.featured-sermon :focus-visible,
.cm-footer :focus-visible,
.cm-mobile-drawer :focus-visible,
.section--navy :focus-visible {
  outline-color: rgba(255,255,255,.85);
}
/* Inputs/textareas — use box-shadow instead so it follows border-radius */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(76,91,13,.25);
  border-color: var(--olive) !important;
}

/* ── Utilities ──────────────────────────────────────────── */
.container  { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.section    { padding: 96px 0; }
.cm-site main section[id],
.cm-site main article[id] {
  scroll-margin-top: var(--anchor-offset);
}
.section--alt  { background: var(--off); }
.section--navy { background: var(--navy); }

.tag {
  display: inline-block; font-family: var(--font-body);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 2.2px;
  text-transform: uppercase; color: var(--olive); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head); font-size: var(--fs-4xl);
  color: var(--navy); line-height: var(--lh-heading); margin-bottom: 16px;
}
.section-sub { font-size: var(--fs-lg); color: var(--light); max-width: 560px; line-height: 1.8; }
.divider { width: 56px; height: 3px; background: var(--olive); margin: 16px 0 32px; }
.divider--center { margin: 16px auto 32px; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 15px 32px; border-radius: var(--r-xs);
  border: 2px solid transparent; cursor: pointer;
  transition: all .22s ease;
}
.btn--primary,
.btn--primary:visited   { background: var(--olive); color: var(--white); border-color: var(--olive); }
.btn--primary:hover,
.btn--primary:focus,
.btn--primary:focus-visible { background: var(--olive-d); color: var(--white); border-color: var(--olive-d); transform: translateY(-1px); }

.btn--outline,
.btn--outline:visited   { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--outline:hover,
.btn--outline:focus,
.btn--outline:focus-visible { background: rgba(255,255,255,.12); color: var(--white); transform: translateY(-1px); }

.btn--outline-dark,
.btn--outline-dark:visited { background: transparent; color: var(--navy); border-color: rgba(30,61,24,.4); }
.btn--outline-dark:hover,
.btn--outline-dark:focus,
.btn--outline-dark:focus-visible { background: var(--navy); color: var(--white); border-color: var(--navy); }

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

.btn--outline-olive,
.btn--outline-olive:visited { background: transparent; color: var(--olive); border-color: var(--olive); }
.btn--outline-olive:hover,
.btn--outline-olive:focus,
.btn--outline-olive:focus-visible { background: var(--olive); color: var(--white); }

.btn--outline-white,
.btn--outline-white:visited { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); border-radius: var(--r-xs); }
.btn--outline-white:hover,
.btn--outline-white:focus,
.btn--outline-white:focus-visible { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.7); }

/* Back-to-top button */
#ast-scroll-top,
#scrollUp,
#toTop,
#back-to-top,
.scroll-to-top,
.back-to-top,
.go-top,
.to-top {
  right: 28px !important;
  bottom: 28px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 46px !important;
  height: 46px !important;
  padding: 0 !important;
  line-height: 46px !important;
  text-align: center !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: var(--r-xs) !important;
  background: linear-gradient(180deg, var(--olive), var(--olive-d)) !important;
  color: var(--white) !important;
  box-shadow: 0 14px 28px rgba(30,61,24,.24) !important;
}

@media (max-width: 768px) {
  .section-title { font-size: var(--fs-3xl); }
  .section-sub { font-size: var(--fs-base); }
}

#ast-scroll-top svg,
#scrollUp svg,
#toTop svg,
#back-to-top svg,
.scroll-to-top svg,
.back-to-top svg,
.go-top svg,
.to-top svg {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

#ast-scroll-top svg {
  transform: translate(-50%, -50%) rotate(180deg) !important;
  transform-origin: center !important;
}

#ast-scroll-top::before,
#scrollUp::before,
#toTop::before,
#back-to-top::before,
.scroll-to-top::before,
.back-to-top::before,
.go-top::before,
.to-top::before {
  line-height: 46px !important;
}

#ast-scroll-top *,
#scrollUp *,
#toTop *,
#back-to-top *,
.scroll-to-top *,
.back-to-top *,
.go-top *,
.to-top * {
  line-height: 1 !important;
}

#ast-scroll-top:hover,
#ast-scroll-top:focus-visible,
#scrollUp:hover,
#scrollUp:focus-visible,
#toTop:hover,
#toTop:focus-visible,
#back-to-top:hover,
#back-to-top:focus-visible,
.scroll-to-top:hover,
.scroll-to-top:focus-visible,
.back-to-top:hover,
.back-to-top:focus-visible,
.go-top:hover,
.go-top:focus-visible,
.to-top:hover,
.to-top:focus-visible {
  background: linear-gradient(180deg, var(--navy), var(--navy-d)) !important;
  transform: translateY(-2px);
}

.cm-favorite-form {
  margin: 0;
}

.cm-favorite-form--inline {
  display: inline-flex;
}

.cm-favorite-btn,
.cm-favorite-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(17,40,55,.14);
  background: rgba(255,255,255,.94);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(17,40,55,.08);
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}

.cm-favorite-btn:hover,
.cm-favorite-btn:focus-visible {
  color: var(--navy);
  border-color: rgba(107,140,42,.34);
  background: rgba(107,140,42,.1);
  transform: translateY(-1px);
}

.cm-favorite-btn.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 12px 24px rgba(17,40,55,.18);
}

.cm-favorite-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(107,140,42,.14);
  color: var(--olive-d);
  font-size: 0.875rem;
  line-height: 1;
}

.cm-favorite-btn.is-active .cm-favorite-btn__icon {
  background: rgba(107,140,42,.22);
  color: #d7e5a8;
}

/* ── Navigation ────────────────────────────────────────── */
.cm-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1095;
  isolation: isolate;
  height: var(--nav-h);
  box-sizing: border-box;
  background: rgb(247,242,235);
  border-bottom: 1px solid rgba(107,140,42,.15);
  transition: box-shadow .3s;
}
.cm-nav.scrolled { box-shadow: 0 2px 20px rgba(21,45,16,.10); }
.cm-nav__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 32px;
  width: 100%; height: 100%;
  position: relative;
  z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
}
/* Logo */
.cm-nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity .2s ease;
}
.cm-nav__logo:hover { opacity: .88; }
.cm-nav__logo-mark {
  width: auto;
  max-width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}
/* Brand text next to logo mark */
.cm-nav__logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  gap: 0;
  color: var(--navy);
  white-space: nowrap;
}
.cm-nav__logo-text strong {
  font-family: 'Maddison Signature', 'Playfair Display', Georgia, serif;
  font-size: 1.5625rem;
  font-weight: 400;
  color: currentColor;
  letter-spacing: 0;
  line-height: .86;
}
.cm-nav__logo-text span {
  margin-top: 3px;
  font-size: 0.5rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--body);
  font-weight: 500;
  line-height: 1.1;
}
@media (max-width: 900px) {
  .cm-nav__logo-text { display: none; }
}
/* Skip-to-content link — visible only on keyboard focus */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 10px 20px;
  background: var(--olive);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--off);
  outline-offset: 2px;
}

.cm-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Menu */
.cm-nav__menu {
  display: flex; align-items: center; gap: 8px;
  list-style: none; margin: 0; padding: 0;
  height: 100%;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
.cm-nav__menu li {
  display: flex; align-items: center; height: 100%;
  padding: 0;
  position: relative;
}
.cm-nav__menu li a {
  position: relative;
  z-index: 3;
  display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 34px;
  box-sizing: border-box;
  width: 86px;
  font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .55px; text-transform: uppercase;
  color: var(--navy); padding: 0 11px; border-radius: var(--r);
  cursor: pointer;
  pointer-events: auto;
  text-decoration: none !important;
  transition: color .18s, opacity .18s, background-color .18s;
  opacity: .7; white-space: nowrap;
}
.cm-nav__label {
  display: block;
  line-height: 1;
  pointer-events: none;
}
.cm-nav__menu li:hover > a,
.cm-nav__menu li a:hover,
.cm-nav__menu li a:focus-visible {
  opacity: 1;
  color: var(--navy);
  background: rgba(107,140,42,.18);
  text-decoration: none !important;
}
/* Active — filled dark pill instead of underline */
.cm-nav__menu li a.active,
.cm-nav__menu li.current-menu-item > a {
  background: var(--navy);
  color: var(--white);
  opacity: 1;
  box-shadow: none;
  border-radius: var(--r);
}
.cm-nav__menu li a.active:hover,
.cm-nav__menu li a.active:focus-visible,
.cm-nav__menu li.current-menu-item > a:hover,
.cm-nav__menu li.current-menu-item > a:focus-visible {
  background: var(--navy-d);
  color: var(--white);
  text-decoration: none !important;
}
/* Chevron icon inside nav link */
.cm-nav__chev {
  width: 10px; height: 10px; flex-shrink: 0;
  opacity: .6; transition: transform .2s;
}
.cm-nav__menu li.has-dropdown:hover .cm-nav__chev { transform: rotate(180deg); }
/* Hide chevron inside the active filled pill — cleaner look */
.cm-nav__menu li a.active .cm-nav__chev { display: none; }

/* ── Dropdown ────────────────────────────────────────── */
.cm-nav__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid rgba(107,140,42,.12);
  border-radius: var(--r-sm);
  box-shadow: 0 12px 36px rgba(26,47,16,.13);
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-5px);
  transition: opacity .18s, transform .18s;
  z-index: 1200;
}
.cm-nav__menu li.has-dropdown:hover .cm-nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cm-nav__dropdown a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 9px 12px;
  border-radius: var(--r);
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--body);
  height: auto;
  opacity: 1;
  width: 100%;
}
.cm-nav__dropdown a small {
  font-size: var(--fs-xs);
  color: var(--light);
  font-weight: 400;
  letter-spacing: 0;
}
.cm-nav__dropdown a:hover {
  background: var(--cream);
  color: var(--navy);
  opacity: 1;
}
/* Nav right-side action buttons */
.cm-nav__actions {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}

.cm-nav__editor-launch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(107,140,42,.22);
  border-radius: var(--r);
  background: rgba(107,140,42,.08);
  color: var(--navy);
  cursor: pointer;
  padding: 0;
  transition: background .18s, border-color .18s, color .18s, transform .15s;
}
.cm-nav__editor-launch-btn:hover,
.cm-nav__editor-launch-btn:focus-visible,
.cm-nav__editor-launch-btn.is-active {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
  transform: none;
}

/* Thin vertical divider between search and account */
.cm-nav__divider {
  width: 1px;
  height: 20px;
  background: rgba(107,140,42,.18);
  flex-shrink: 0;
}

.cm-nav__member-link,
.cm-nav__member-link:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: var(--r);
  border: none;
  background: var(--navy);
  color: var(--white);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .18s, transform .15s;
}
.cm-nav__member-link svg { flex-shrink: 0; }

.cm-nav__member-link:hover,
.cm-nav__member-link:focus-visible {
  background: var(--navy-d);
  color: var(--white);
  transform: none;
}

/* Admin-only plugin notices can sit above the header; keep them from stealing nav clicks. */
.cdp-copy-alert-success,
.cdp-copy-alert-success * {
  pointer-events: none !important;
}

/* Search icon button */
.cm-nav__search-btn {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: none;
  border: none;
  cursor: pointer; padding: 0;
  color: var(--light); border-radius: var(--r);
  transition: background .18s, color .18s;
}
.cm-nav__search-btn:hover {
  background: rgba(107,140,42,.08);
  color: var(--navy);
}
@media (max-width: 900px) {
  .cm-nav__divider { display: none; }
}

/* Hamburger */
.cm-nav__mobile-btn {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
  color: var(--navy); flex-shrink: 0;
}

/* Search bar (slides down below nav) */
.cm-search-bar {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  z-index: 1090;
  background: var(--white);
  border-bottom: 1.5px solid var(--border);
  box-shadow: 0 8px 24px rgba(14,30,10,.10);
  transform: translateY(-110%) scale(.985);
  transform-origin: top center;
  opacity: 0;
  transition:
    transform .36s cubic-bezier(.22,1,.36,1),
    opacity .24s ease;
  pointer-events: none;
  will-change: transform, opacity;
}
.cm-search-bar.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.cm-search-bar__inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(-6px);
  transition: transform .36s cubic-bezier(.22,1,.36,1);
}
.cm-search-bar.is-open .cm-search-bar__inner {
  transform: translateY(0);
}
.cm-search-bar__form {
  display: flex; flex: 1; align-items: center;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--cream);
  transition: border-color .24s ease, box-shadow .24s ease;
}
.cm-search-bar__form:focus-within {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(107,140,42,.1);
}
.cm-search-bar__input {
  flex: 1; padding: 10px 16px;
  font-family: var(--font-body); font-size: var(--fs-md);
  border: none; background: transparent; outline: none; color: var(--body);
  -webkit-appearance: none; appearance: none;
}
.cm-search-bar__input::placeholder { color: var(--light); }
.cm-search-bar__input::-webkit-search-decoration,
.cm-search-bar__input::-webkit-search-cancel-button { display: none; }
.cm-search-bar__submit {
  background: none; border: none; cursor: pointer; padding: 10px 14px;
  color: var(--olive); display: flex; align-items: center; justify-content: center;
  transition: color .2s;
}
.cm-search-bar__submit:hover { color: var(--olive-d); }
.cm-search-bar__close {
  background: none; border: none; cursor: pointer; padding: 8px;
  color: var(--light); border-radius: var(--r-xs);
  display: flex; align-items: center; justify-content: center;
  transition: color .2s, background .2s;
  flex-shrink: 0;
}
.cm-search-bar__close:hover { color: var(--navy); background: rgba(107,140,42,.08); }

/* Mobile drawer search */
.cm-mobile-drawer__search {
  margin: 8px 24px 16px;
  display: flex;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  overflow: hidden; background: var(--white);
}
.cm-mobile-drawer__search:focus-within { border-color: var(--olive); }
.cm-mobile-drawer__search input {
  flex: 1; padding: 10px 14px;
  font-family: var(--font-body); font-size: 0.875rem;
  border: none; background: transparent; outline: none;
  -webkit-appearance: none; appearance: none;
}
.cm-mobile-drawer__search input::placeholder { color: var(--light); }
.cm-mobile-drawer__search button {
  background: none; border: none; cursor: pointer; padding: 0 12px;
  color: var(--olive); display: flex; align-items: center;
}

/* ── Responsive ── */
@media (max-width: 1280px) {
  .cm-nav__inner { padding: 0 32px; }
  .cm-nav__menu { gap: 5px; }
  .cm-nav__menu li { padding: 0; }
  .cm-nav__menu li a { min-height: 32px; width: 80px; padding: 0 8px; font-size: var(--fs-2xs); }
}
@media (max-width: 900px) {
  .cm-nav__menu { display: none; }
  .cm-nav__mobile-btn { display: flex; }
  .cm-nav__member-link { display: none; }
}
@media (max-width: 480px) {
  .cm-nav__inner { padding: 0 12px; }
  .cm-nav__logo { width: 30px; height: 38px; }

  .cm-nav__actions {
    gap: 2px;
  }

  .cm-nav__mobile-btn,
  .cm-nav-map-chooser__summary {
    width: 34px;
    height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .cm-nav__mobile-btn svg {
    width: 21px;
    height: 21px;
  }

  .cm-nav-map-chooser__summary svg {
    width: 18px;
    height: 18px;
  }
}

/* ── WordPress admin bar offset ────────────────────────── */
.admin-bar .cm-nav { top: 32px; }
.admin-bar .cm-search-bar { top: calc(var(--nav-h) + 32px); }
@media screen and (max-width: 900px) {
  body.admin-bar { --anchor-offset: calc(var(--nav-h) + 70px); }
  .admin-bar .cm-nav { top: 46px; }
  .admin-bar .cm-search-bar { top: calc(var(--nav-h) + 46px); }
}

/* ── Mobile drawer ─────────────────────────────────────── */
.cm-mobile-drawer {
  display: none;
  position: fixed; inset: 0; z-index: 1100;
}
.cm-mobile-drawer[aria-hidden="true"] { display: none !important; }
.cm-mobile-drawer.is-open { display: block; }
body.cm-drawer-open { overflow: hidden; }

.cm-mobile-drawer__overlay {
  display: none;
  position: fixed; inset: 0;
  z-index: 1099;
  background: rgba(14,30,10,.55);
  backdrop-filter: blur(3px);
  animation: cmFadeIn .22s ease;
}
body.cm-drawer-open .cm-mobile-drawer__overlay { display: block; }
@keyframes cmFadeIn { from { opacity: 0; } to { opacity: 1; } }

.cm-mobile-drawer__panel {
  position: absolute; top: 0; right: 0;
  width: min(320px, 88vw); height: 100%;
  background: var(--cream);
  display: flex; flex-direction: column;
  padding: 0 0 40px;
  animation: cmSlideIn .26s cubic-bezier(.22,1,.36,1);
  overflow-y: auto;
}
@keyframes cmSlideIn {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

.cm-mobile-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid rgba(107,140,42,.18);
}
.cm-mobile-drawer__brand {
  font-family: var(--font-head); font-size: var(--fs-lg); font-weight: 700; color: var(--navy);
}
.cm-mobile-drawer__close {
  background: none; border: none; cursor: pointer;
  color: var(--navy); padding: 6px; border-radius: var(--r-xs);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.cm-mobile-drawer__close:hover { background: rgba(107,140,42,.12); }

.cm-mobile-drawer__menu {
  list-style: none; padding: 16px 0; flex: 1;
}
.cm-mobile-drawer__menu li a {
  display: block; padding: 14px 24px;
  font-size: var(--fs-md); font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  color: var(--navy); border-left: 3px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
}
.cm-mobile-drawer__menu li a:hover {
  color: var(--olive); background: rgba(107,140,42,.07);
  border-left-color: var(--olive-l);
}
.cm-mobile-drawer__menu li a.active {
  color: var(--olive); border-left-color: var(--olive);
  background: rgba(107,140,42,.10);
}

.cm-mobile-drawer__cta {
  margin: 8px 24px 0;
  display: block; text-align: center;
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--white); background: var(--olive);
  padding: 14px 24px; border-radius: var(--r-xs);
  transition: background .2s;
}
.cm-mobile-drawer__cta:hover { background: var(--olive-d); }

.cm-mobile-drawer__member-links {
  padding: 8px 0 4px;
}

.cm-mobile-drawer__text-link,
.cm-mobile-drawer__text-link:visited {
  display: block;
  margin: 12px 24px 0;
  text-align: center;
  color: var(--navy);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.cm-mobile-drawer__text-link:hover {
  color: var(--olive);
}

/* ── Footer ────────────────────────────────────────────── */
.cm-footer {
  background: #0C1E0A; color: rgba(255,255,255,.7);
  font-size: 0.875rem; line-height: 1.8;
  padding-top: 31px;
}
.cm-footer__grid {
  max-width: var(--max); margin: 0 auto; padding: 0 40px 23px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 40px; align-items: start;
}
.cm-footer__brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  text-decoration: none;
  width: 260px;
  max-width: 100%;
  margin: 0 0 14px;
}
.cm-footer__brand-lockup:hover,
.cm-footer__brand-lockup:focus-visible {
  color: var(--white);
}
.cm-footer__brand-mark {
  display: block;
  width: 16px;
  height: auto;
  margin-bottom: -3px;
  filter: brightness(0) invert(1);
}
.cm-footer__brand-word {
  display: block;
  font-family: 'Maddison Signature', 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  color: var(--white);
}
.cm-footer__brand-sub {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: .3em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--white);
  opacity: .95;
}
.cm-footer__brand-desc  { font-size: var(--fs-sm); color: rgba(255,255,255,.5); line-height: 1.8; max-width: 260px; }
.cm-footer__grid > div { text-align: left; }
.cm-footer__heading { font-size: var(--fs-2xs); font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--olive-l); margin-bottom: 18px; }
.cm-footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.cm-footer__list li { padding: 6px 0; }
.cm-footer__list li,
.cm-footer__list li a { color: rgba(255,255,255,.55); font-size: 0.875rem; white-space: nowrap; transition: color .2s; }
.cm-footer__list li a:visited { color: rgba(255,255,255,.55); }
.cm-footer__list li a:hover { color: var(--white); }
.cm-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: var(--max); margin: 0 auto; padding: 10px 32px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.cm-footer__copy   { font-size: var(--fs-sm); color: rgba(255,255,255,.35); }
.cm-footer__social { display: flex; gap: 12px; }
.cm-footer__social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.cm-footer__social a:hover,
.cm-footer__social a:focus-visible,
.cm-footer__social a:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}
.cm-footer__social-link--facebook:hover,
.cm-footer__social-link--facebook:focus-visible,
.cm-footer__social-link--facebook:active { background: #1877f2; }
.cm-footer__social-link--instagram:hover,
.cm-footer__social-link--instagram:focus-visible,
.cm-footer__social-link--instagram:active { background: linear-gradient(135deg, #f58529 0%, #dd2a7b 55%, #8134af 100%); }
.cm-footer__social-link--youtube:hover,
.cm-footer__social-link--youtube:focus-visible,
.cm-footer__social-link--youtube:active { background: #ff0033; }
.cm-footer__social svg { width: 16px; height: 16px; fill: white; }
@media (max-width: 900px) {
  .cm-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .cm-footer__grid { grid-template-columns: 1fr; }
  .cm-footer__bottom { flex-direction: column; text-align: center; }
}

/* ── Sermons Page ───────────────────────────────────────── */

/* Featured / latest sermon with embedded player */
.sermon__featured {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}
.sermon__embed-wrap {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: var(--r-sm); background: #000;
  box-shadow: var(--shadow);
}
.sermon__embed-wrap iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.sermon__info .sermon__meta { font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--olive); margin-bottom: 12px; }
.sermon__title { font-family: var(--font-head); font-size: var(--fs-3xl); color: var(--navy); line-height: 1.3; }
.sermon__verse { font-size: var(--fs-sm); font-weight: 700; color: var(--olive); letter-spacing: 1px; margin-top: 8px; }
.sermon__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sermon cards grid */
.sermons-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.sermon-card {
  background: var(--white); border-radius: var(--r-md);
  overflow: hidden; box-shadow: 0 2px 12px rgba(26,47,16,.07);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.sermon-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(26,47,16,.13); }
.sermon-card__thumb {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16/9; background: var(--navy);
}
.sermon-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s; display: block;
}
.sermon-card:hover .sermon-card__thumb img { transform: scale(1.04); }
.sermon-card__play {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.15); transition: background .25s;
}
.sermon-card__thumb:hover .sermon-card__play { background: rgba(0,0,0,.45); }
.sermon-card__play-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, background .2s;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
}
.sermon-card__thumb:hover .sermon-card__play-btn {
  transform: scale(1.12); background: #fff;
}
.sermon-card__duration {
  position: absolute; bottom: 6px; right: 8px;
  background: rgba(0,0,0,.75); color: #fff;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .5px;
  padding: 2px 6px; border-radius: var(--r-xs);
}
.sermon-card__body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.sermon-card__series {
  font-size: var(--fs-2xs); font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--olive); margin-bottom: 6px;
}
.sermon-card__title {
  font-family: var(--font-head); font-size: var(--fs-base); color: var(--navy);
  line-height: 1.35; margin-bottom: 8px; flex: 1;
}
.sermon-card__meta { font-size: 0.75rem; color: var(--light); margin-bottom: 16px; }
.sermon-card__actions { margin-top: auto; }
.btn--sm { padding: 9px 18px; font-size: var(--fs-xs); letter-spacing: 1px; }

@media (max-width: 1024px) {
  .sermon__featured { grid-template-columns: 1fr; }
  .sermons-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sermons-grid { grid-template-columns: 1fr; }
}


/* ── Page Hero (shared across all inner pages) ──────────── */
.page-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 80px) 0 80px;
  position: relative; overflow: hidden;
}
.page-hero__inner { max-width:var(--max); margin:0 auto; padding:0 32px; text-align:center; }
.page-hero__inner .tag { color:var(--olive-l); }
.page-hero__title {
  font-family:var(--font-head); font-size:var(--fs-5xl);
  color:var(--white); line-height:1.15; margin-bottom:20px;
}
.page-hero__title span { color:var(--olive-l); font-style:italic; }
.page-hero__sub { font-size:1.125rem; color:rgba(255,255,255,.82); max-width:560px; margin:0 auto; line-height:1.8; }
.page-hero__sub * { color:inherit; }

@media (max-width: 768px) {
  .page-hero__title { font-size: var(--fs-4xl); }
  .page-hero__sub { font-size: var(--fs-base); }
}

/* ── Shared Card Base ───────────────────────────────────── */
/* Extend with modifier classes — never override these via element selectors */
.card {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card--lg { border-radius: var(--r-lg); }
.card--flat { box-shadow: none; border: 1px solid var(--border); }
.card--dark { background: var(--navy); color: var(--white); }

/* ── CTA Banner ─────────────────────────────────────────── */
.cta-banner {
  background: var(--navy);
  padding: 72px 0;
}
.cta-banner__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-banner__title {
  font-family: var(--font-head); font-size: var(--fs-4xl);
  color: var(--white); line-height: 1.2; margin-bottom: 10px;
}
.cta-banner__sub { font-size: var(--fs-base); color: rgba(255,255,255,.65); }
.cta-banner__btns { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }
@media (max-width: 768px) {
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner__btns { justify-content: center; }
}

/* ── RSS Feed Display ──────────────────────────────────────────── */
.rss-feed {
  background: var(--white);
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow);
}
.rss-feed__title {
  font-family: var(--font-head);
  font-size: var(--fs-3xl);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--olive);
}
.rss-feed__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.rss-feed__item {
  padding: 20px;
  background: var(--cream);
  border-radius: var(--r-sm);
  border-left: 4px solid var(--olive);
  transition: transform .2s, box-shadow .2s;
}
.rss-feed__item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(76, 91, 13, .12);
}
.rss-feed__item-title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.rss-feed__item-title a {
  color: var(--olive);
  text-decoration: none;
}
.rss-feed__item-title a:hover {
  color: var(--olive-d);
  text-decoration: underline;
}
.rss-feed__item-date {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 12px;
}
.rss-feed__item-content {
  font-size: var(--fs-md);
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 12px;
}
.rss-feed__item-link {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--olive);
  text-decoration: none;
  margin-top: 8px;
  transition: color .2s;
}
.rss-feed__item-link:hover {
  color: var(--olive-d);
}
.rss-feed-error {
  background: #fef5f5;
  border: 1.5px solid #f5b7b7;
  border-radius: var(--r-sm);
  padding: 20px;
  color: #8b2d2d;
}
.rss-feed-error p {
  margin: 8px 0;
  font-size: 0.875rem;
}
.rss-feed-error code {
  background: rgba(139, 45, 45, .08);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.75rem;
}
.rss-feed-empty {
  text-align: center;
  padding: 32px;
  color: var(--light);
  font-style: italic;
}
.rss-feed__cta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* ──────────────────────────────────────────────────────────────────
   ANNOUNCEMENTS CAROUSEL — WHITE CARD + OLIVE ACCENT
   ────────────────────────────────────────────────────────────────── */
.announcements-carousel-section {
  margin: 40px 0;
}

.announcements-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.announcements-carousel-title {
  text-align: left;
  color: var(--navy);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0;
  font-family: var(--font-head);
}

.announcement-carousel {
  position: relative;
  display: block;
  --announcement-sidebar-item-size: 44px;
  --announcement-sidebar-width: 84px;
  --announcement-sidebar-visible-count: 5;
  --announcement-effective-count: min(var(--announcement-count, 1), 5);
  --announcement-sidebar-height: calc(var(--announcement-effective-count) * var(--announcement-sidebar-item-size));
  --announcement-min-height: calc(var(--announcement-sidebar-visible-count) * var(--announcement-sidebar-item-size));
  --announcement-vertical-padding: clamp(14px, calc(18px - (var(--announcement-count, 1) * 0.5px)), 18px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(30, 61, 24, 0.1);
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-right: var(--announcement-sidebar-width);
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  min-height: var(--announcement-min-height);
}

.carousel-inner {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  max-width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
}

/* Clean white card with olive left border */
.announcement-card {
  background: var(--white);
  border-left: 5px solid var(--olive-l);
  padding: calc(var(--announcement-vertical-padding) + 6px) 56px calc(var(--announcement-vertical-padding) + 16px);
  text-align: center;
  width: 100%;
  min-height: var(--announcement-min-height);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  overflow: hidden;
}

.announcement-card__media {
  margin: 0 auto 6px;
  max-width: 640px;
}

.announcement-card__image {
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(30, 61, 24, 0.12);
}

.announcement-card__image--empty {
  display: none;
}

.announcement-card__date {
  color: var(--olive-l);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  margin-bottom: 0;
  display: inline-block;
}

.announcement-card__icon {
  font-size: 36px;
  margin-bottom: 0;
  display: inline-block;
  animation: slideInScale 0.6s ease-out;
}

@keyframes slideInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.announcement-card__title {
  color: var(--navy);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.25;
  font-family: var(--font-head);
}

.announcement-card__text {
  color: var(--light);
  font-size: 17px;
  line-height: 1.45;
  margin-bottom: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.announcement-card__button,
.announcement-card__button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--olive-l);
  color: var(--white) !important;
  width: auto;
  min-width: 220px;
  max-width: min(100%, 320px);
  align-self: center;
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: auto;
  margin-bottom: 2px;
}

.announcement-card__button:hover,
.announcement-card__button:focus,
.announcement-card__button:focus-visible {
  background: var(--olive-d);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(107, 140, 42, 0.2);
}

.announcement-card__button * {
  color: inherit;
}

/* Light sidebar */
.carousel-sidebar {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--announcement-sidebar-width);
  background: var(--off);
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  border-left: none;
  overflow: hidden;
}

.carousel-sidebar__scroller {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.carousel-sidebar:not(.is-scrollable) .carousel-sidebar__scroller {
  height: 100%;
}

.carousel-sidebar:not(.is-scrollable) .carousel-sidebar-item {
  flex: 1 1 auto;
}

.carousel-sidebar.is-scrollable .carousel-sidebar__scroller {
  height: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
}

.carousel-sidebar__scroller::-webkit-scrollbar {
  width: 0;
}

.carousel-sidebar.is-scrollable .carousel-sidebar__scroller::-webkit-scrollbar {
  width: 6px;
}

.carousel-sidebar.is-scrollable .carousel-sidebar__scroller::-webkit-scrollbar-thumb {
  background: rgba(30, 61, 24, 0.28);
  border-radius: 999px;
}

.carousel-sidebar.is-scrollable .carousel-sidebar__scroller::-webkit-scrollbar-track {
  background: transparent;
}

.carousel-sidebar-item {
  flex: 0 0 var(--announcement-sidebar-item-size);
  min-height: var(--announcement-sidebar-item-size);
  padding: 6px;
  box-sizing: border-box;
  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.carousel-sidebar.is-scrollable .carousel-sidebar-item {
  flex: 0 0 calc(100% / var(--announcement-sidebar-visible-count));
  min-height: calc(100% / var(--announcement-sidebar-visible-count));
}

.carousel-sidebar-item:hover {
  background: rgba(107, 140, 42, 0.08);
  border-radius: 0;
}

.carousel-sidebar-item:focus,
.carousel-sidebar-item:focus-visible {
  outline: none;
  box-shadow: none;
}

.carousel-sidebar-item:active {
  background: rgba(107, 140, 42, 0.08);
  border-left-color: transparent;
}

.carousel-sidebar-item.active {
  background: rgba(107, 140, 42, 0.12);
  border-left-color: var(--olive-l);
  border-radius: 0;
}

@media (max-width: 768px) {
  .rss-feed {
    padding: 24px;
  }
  .rss-feed__item {
    padding: 16px;
  }
  .rss-feed__title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .announcement-carousel {
    display: block;
    padding-right: 0;
  }

  .carousel-sidebar {
    position: static;
    width: auto;
    height: 54px;
    display: flex;
    flex-direction: row;
    border-left: none;
    border-top: 1px solid var(--border);
    overflow-x: auto;
    overflow-y: hidden;
  }

  .carousel-sidebar__scroller {
    width: 100%;
    height: 100%;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  .carousel-sidebar__scroller::-webkit-scrollbar,
  .carousel-sidebar.is-scrollable .carousel-sidebar__scroller::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }

  .carousel-sidebar:not(.is-scrollable) .carousel-sidebar__scroller,
  .carousel-sidebar.is-scrollable .carousel-sidebar__scroller {
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  .carousel-sidebar:not(.is-scrollable) .carousel-sidebar-item {
    flex: 1 1 0;
  }

  .carousel-sidebar.is-scrollable .carousel-sidebar-item {
    flex: 0 0 56px;
    min-height: 100%;
  }

  .carousel-sidebar-item {
    flex: 0 0 56px;
    min-width: 0;
    min-height: 100%;
    border-left: none;
    border-top: 3px solid transparent;
  }

  .carousel-sidebar-item.active {
    border-left-color: transparent;
    border-top-color: var(--olive-l);
  }

  .announcement-card {
    padding: 22px 22px 26px;
    border-left: none;
    border-top: 5px solid var(--olive-l);
    gap: 6px;
  }

  .announcement-card__title {
    font-size: 21px;
  }

  .announcement-card__icon {
    font-size: 32px;
  }

  .announcement-card__date {
  font-size: var(--fs-xs);
  }

  .announcement-card__text {
  font-size: var(--fs-md);
    max-width: 100%;
  }

  .announcement-card__button,
  .announcement-card__button:visited {
    font-size: 12px;
    min-width: min(100%, 240px);
  }
}

/* Mobile bottom navigation (global) */
.cm-mobile-bottom-nav {
  display: none;
}

@media (max-width: 900px) {
  :root {
    --cm-mobile-bottom-nav-height: calc(66px + env(safe-area-inset-bottom, 0px));
  }

  html,
  body {
    overflow-x: hidden;
  }

  body.cm-site {
    padding-bottom: 0;
  }

  .cm-footer {
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
  }

  body.logged-in .cm-footer {
    padding-bottom: calc(var(--cm-mobile-bottom-nav-height) + 23px);
  }

  /* In edit mode the page body already reserves room for the editor toolbar
     and mobile nav, so the footer should keep a normal bottom rhythm. */
  body.cm-edit-mode .cm-footer,
  body.logged-in.cm-edit-mode .cm-footer,
  body.cm-editor-toolbar-open .cm-footer,
  body.logged-in.cm-editor-toolbar-open .cm-footer {
    padding-bottom: 10px;
  }

  .cm-mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1088;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    min-height: 66px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(15,35,24,.98) 0%, rgba(12,30,10,.98) 100%);
    border-top: 1px solid rgba(157,192,64,.22);
    box-shadow: 0 -10px 24px rgba(0,0,0,.28);
  }

  .cm-mobile-bottom-nav__item,
  .cm-mobile-bottom-nav__item:visited {
    display: grid;
    justify-items: center;
    gap: 3px;
    color: rgba(237,232,220,.76);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2px;
  }

  .cm-mobile-bottom-nav__item svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .cm-mobile-bottom-nav__item.is-active {
    color: #d7e5a8;
  }
}

/* Mobile map chooser topbar */
.cm-map-topbar {
  display: none;
}

@media (max-width: 900px) {
  .cm-map-topbar {
    display: block;
    margin-top: var(--nav-h);
    background: rgba(247,242,235,.96);
    border-bottom: 1px solid rgba(107,140,42,.2);
  }

  .cm-map-topbar__inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .cm-map-topbar__info {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--navy);
  }

  .cm-map-topbar__pin {
    flex: 0 0 auto;
    font-size: 13px;
    line-height: 1;
  }

  .cm-map-topbar__text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .cm-map-topbar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 12px;
    line-height: 1;
  }

  .cm-map-chooser {
    position: relative;
    flex: 0 0 auto;
  }

  .cm-map-chooser__summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(76,91,13,.28);
    background: rgba(76,91,13,.1);
    color: var(--olive-d);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
    user-select: none;
  }

  .cm-map-chooser__summary::-webkit-details-marker {
    display: none;
  }

  .cm-map-chooser[open] .cm-map-chooser__summary {
    background: var(--olive);
    border-color: var(--olive);
    color: #fff;
  }

  .cm-map-chooser__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 146px;
    display: grid;
    gap: 4px;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(17,40,55,.16);
    background: #fff;
    box-shadow: 0 12px 30px rgba(17,40,55,.16);
    z-index: 20;
  }

  .cm-map-chooser__item,
  .cm-map-chooser__item:visited {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
  }

  .cm-map-chooser__item:hover {
    background: rgba(76,91,13,.1);
    color: var(--olive-d);
  }
}

@media screen and (max-width: 900px) {
  .admin-bar .cm-map-topbar {
    margin-top: calc(var(--nav-h) + 46px);
  }
}

/* Header map chooser (icon in top-right area) */
.cm-nav-map-chooser {
  display: none;
}

@media (max-width: 900px) {
  .cm-nav-map-chooser {
    display: block;
    position: relative;
    flex: 0 0 auto;
  }

  .cm-nav-map-chooser__summary,
  .cm-nav__editor-launch-btn {
    list-style: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(107,140,42,.22);
    background: rgba(107,140,42,.08);
    color: var(--navy);
    cursor: pointer;
  }

  .cm-nav-map-chooser__summary::-webkit-details-marker {
    display: none;
  }

  .cm-nav-map-chooser[open] .cm-nav-map-chooser__summary,
  .cm-nav__editor-launch-btn.is-active {
    background: var(--olive);
    border-color: var(--olive);
    color: #fff;
  }

  .cm-nav-map-chooser__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 150px;
    display: grid;
    gap: 4px;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(17,40,55,.16);
    background: #fff;
    box-shadow: 0 12px 30px rgba(17,40,55,.16);
    z-index: 1200;
  }

  .cm-nav-map-chooser__item,
  .cm-nav-map-chooser__item:visited {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
  }

  .cm-nav-map-chooser__item:hover {
    background: rgba(76,91,13,.1);
    color: var(--olive-d);
  }
}

@media (max-width: 480px) {
  .cm-nav-map-chooser__summary,
  .cm-nav__editor-launch-btn {
    width: 34px;
    height: 34px;
  }
}

/* Disable old topbar map strip */
.cm-map-topbar {
  display: none !important;
}

.cm-video-lite {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: #000;
  cursor: pointer;
  overflow: hidden;
}

.cm-video-lite::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 17, 8, 0.05) 0%, rgba(8, 17, 8, 0.28) 100%);
}

.cm-video-lite__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cm-video-lite__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.36);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cm-video-lite__play svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
  fill: currentColor;
}

.cm-map-lite {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 260px;
  padding: 0;
  border: 1px solid rgba(17, 40, 55, 0.14);
  border-radius: 12px;
  color: var(--olive-d);
  background: linear-gradient(135deg, rgba(246, 243, 235, 0.96), rgba(226, 232, 206, 0.78));
  cursor: pointer;
}

.cm-map-lite span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green);
}
