/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--fb); background: var(--cr); color: var(--ch); line-height: 1.6; overflow-x: hidden; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; font-size: inherit; font-weight: inherit; }
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }

/* ============================================================
   UTILITY / SHARED COMPONENTS
   ============================================================ */
/* Screen-reader-only utility */
.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; }

.inner { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }

/* Section headings */
.sec-eyebrow { font-family: var(--fb); font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--sb); margin-bottom: 8px; }
.sec-eyebrow.light { color: rgba(228,191,69,.7); }
.sec-title-wrap { display: inline-block; }
.sec-h { font-family: var(--ft); font-size: clamp(2.4rem,5vw,4rem); text-transform: uppercase; letter-spacing: 1px; line-height: .92; color: var(--pb); margin: 0; padding: 0; }
.sec-h.light { color: var(--wh); }
.sec-sub { font-family: var(--fs); font-size: clamp(1rem,2vw,1.5rem); color: var(--py); transform: rotate(-6deg); transform-origin: left bottom; margin-top: -.16em; margin-left: .06em; display: inline-block; }
.sec-ksh { font-family: var(--fs); font-size: clamp(1rem,2vw,1.5rem); color: var(--py); transform: rotate(-6deg); transform-origin: left bottom; margin-top: -.16em; margin-left: .06em; display: inline-block; }

/* Content blocks (white card with inline heading) */
.content-block { background: var(--wh); border-radius: 14px; padding: 36px 40px; box-shadow: var(--sh-sm); }
.content-block p { font-family: var(--fb); font-size: .9rem; color: #444; line-height: 1.8; margin-bottom: 14px; }
.content-block p:last-child { margin-bottom: 0; }
.content-block strong { color: var(--pb); }
.cb-h { font-family: var(--ft); font-size: 2rem; text-transform: uppercase; letter-spacing: .5px; color: var(--pb); margin-bottom: 6px; line-height: 1; }
.cb-ksh { font-family: var(--fs); font-size: clamp(1rem, 2vw, 1.4rem); color: var(--py); transform: rotate(-6deg); transform-origin: left bottom; margin-top: -.16em; margin-left: .06em; display: inline-block; margin-bottom: 16px; }

/* Meta pills */
.meta-pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--fb); font-size: .8rem; font-weight: 600; background: transparent; color: rgba(255,255,255,.85); padding: 0; border: none; border-radius: 0; }

/* ============================================================
   PAGE HEADER (archive/regular pages)
   ============================================================ */
.archive-header { background: var(--db); padding: 64px 48px; text-align: center; }
.archive-header h1 { font-family: var(--ft); font-size: clamp(2.4rem,5vw,4rem); text-transform: uppercase; letter-spacing: 1px; color: var(--wh); }
.archive-header .sec-sub { display: block; margin-top: 4px; }
.archive-header p.intro { font-family: var(--fb); font-size: .95rem; color: rgba(255,255,255,.6); margin-top: 14px; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.75; }

/* ============================================================
   SHARED PAGE WRAPPERS
   ============================================================ */
.page-content       { max-width: var(--max-w); margin: 0 auto; padding: 64px 48px; }
.page-content--slim { max-width: 960px;  margin: 0 auto; padding: 64px 48px; }
.cove-empty-state { text-align: center; }
.cove-empty-state p { margin-top: 20px; font-size: .95rem; color: #555; line-height: 1.75; }
.cove-empty-state .btn { margin-top: 28px; display: inline-flex; }

/* Section headings (newcomers variant) */
.sec-title { font-family: var(--ft); font-size: clamp(2.2rem, 4.5vw, 3.4rem); text-transform: uppercase; letter-spacing: .5px; line-height: .88; color: var(--pb); }

/* ============================================================
   CPT ICON (emoji icon on services/activities & life events)
   ============================================================ */
.ph-icon { margin-right: .15em; }
.activity-card__icon { margin-right: .1em; }

/* ============================================================
   CTA STRIP (shared across Plan a Visit, Homegroups, etc.)
   ============================================================ */
.cta-strip { background: var(--py); padding: 56px 48px; }
.cta-strip-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-strip h2 { font-family: var(--ft); font-size: clamp(2rem,4vw,3.2rem); text-transform: uppercase; color: var(--db); letter-spacing: .5px; line-height: .95; }
.cta-strip .ksh { font-family: var(--fs); font-size: 1.2rem; color: var(--pb); transform: rotate(-6deg); display: inline-block; transform-origin: left bottom; margin-top: -.1em; }
.cta-strip p { margin-top: 10px; font-family: var(--fb); font-size: .88rem; color: rgba(30,58,82,.7); line-height: 1.65; max-width: 480px; }
.cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 900px) { .cta-strip-inner { grid-template-columns: 1fr; } .cta-btns { justify-content: flex-start; } }
@media (max-width: 768px) { .cta-strip { padding: 40px 16px; } }

/* ============================================================
   WCAG FOCUS STYLES (2.4.7)
   ============================================================ */
:focus-visible { outline: 3px solid var(--py); outline-offset: 3px; border-radius: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--py); outline-offset: 3px; }
.btn:focus-visible { outline: 3px solid var(--py); outline-offset: 3px; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ============================================================
   RESPONSIVE — BASE
   ============================================================ */
@media (max-width: 1100px) {
  .page-content, .page-content--slim { padding: 48px 28px; }
}
@media (max-width: 900px) {
  .page-content, .page-content--slim { padding: 40px 24px; }
}
@media (max-width: 768px) {
  .breadcrumb { padding-left: 20px; padding-right: 20px; }
  .page-content, .page-content--slim { padding: 32px 20px; }
  .content-block { padding: 24px 18px; }
  .btn { font-size: .72rem; padding: 10px 18px; }
  .btn-full { width: 100%; justify-content: center; }
  .btn-primary, .btn-secondary { font-size: .78rem; padding: 11px 22px; }
}
@media (max-width: 480px) {
  .breadcrumb { padding: 10px 16px; font-size: .72rem; }
  .page-content, .page-content--slim { padding: 28px 16px; }
  .content-block { padding: 18px 14px; }
}

/* ============================================================
   RESPONSIVE MEDIA — videos / audio inside post content
   ----------------------------------------------------------------
   WP core's [video] shortcode renders <div class="wp-video"
   style="width:1920px"><video width="1920" height="1080" ...>
   which doesn't shrink on narrow viewports. Force every
   self-hosted video / audio block (and the `wp-video-shortcode`
   class WP applies) to be 100% wide with auto-scaled height so
   the same `[video mp4="…"]` shortcode is responsive everywhere
   it's pasted.
   ============================================================ */
.wp-video,
.wp-audio-shortcode {
  width: 100% !important;
  max-width: 100%;
}
.wp-video video,
video.wp-video-shortcode,
.entry-content video,
.cb-body video,
.efb-body video,
.mn-content video {
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  background: #000;
}
.wp-audio-shortcode,
audio.wp-audio-shortcode {
  width: 100% !important;
  max-width: 100%;
}
