/* Evergreen ("modern") — contemporary, editorial, pine-on-paper. Flat fills
   only: no shadows, gradients, or glows. All scoped to .tpl-evergreen; must
   never leak into the admin, legacy .church-site, or other templates.
   Brand skin: only --ev-accent (+hover) is church-mappable — the canvas stays
   fixed so a dark brand color can't break legibility (build spec §7). */

.tpl-evergreen {
  /* accent (church-mappable) — the one place the pine hex is written */
  --ev-accent: #1f4d3f;
  --ev-accent-hover: #2a6353;
  /* fixed palette */
  --ev-deep: #14261e;
  --ev-ink: #1b241f;
  --ev-body: #3a443d;
  --ev-muted: #5c655e; /* darkened from #6d766f → AA (4.5:1) on paper/band for eyebrows + meta */
  --ev-paper: #f5f3ed;
  --ev-band: #eae4d6;
  --ev-card: #ffffff;
  --ev-border: #e0dacb;
  --ev-input: #d8d2c1;
  --ev-clay: #dfa074;
  --ev-clay-deep: #c07a4b;
  --ev-slot: #dfe3d8;
  /* REQUIRED font indirection (a picked pairing overrides these three) */
  --font-disp: var(--ev-font-disp), 'Space Grotesk', system-ui, sans-serif;
  --font-body: var(--ev-font-body), 'Instrument Sans', system-ui, sans-serif;
  --font-label: var(--font-body);

  background: var(--ev-paper);
  color: var(--ev-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.tpl-evergreen * { box-sizing: border-box; }
.tpl-evergreen img { max-width: 100%; display: block; }
.tpl-evergreen a { color: inherit; text-decoration: none; }
/* Keyboard focus — visible ring on every interactive element (a11y). */
.tpl-evergreen a:focus-visible, .tpl-evergreen button:focus-visible { outline: 3px solid var(--ev-accent); outline-offset: 2px; border-radius: 3px; }
.ev-giveband a:focus-visible, .ev-ctaband a:focus-visible, .ev-impactband a:focus-visible, .ev-footer a:focus-visible { outline-color: var(--ev-clay); }

.ev-wrap { max-width: 1280px; margin: 0 auto; padding: 0 64px; width: 100%; }
.ev-section { padding: 88px 0; }
.ev-band { background: var(--ev-band); }
.ev-center { text-align: center; margin-top: 32px; }

.ev-disp { font-family: var(--font-disp); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; color: var(--ev-deep); margin: 0; }
h2.ev-disp { font-size: clamp(30px, 4vw, 38px); }
.ev-accentword { font-weight: 400; color: var(--ev-accent); }
.ev-lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.6; color: var(--ev-body); font-weight: 400; max-width: 60ch; margin: 18px 0 0; }
.ev-body { font-size: 16.5px; line-height: 1.7; color: var(--ev-body); }
.ev-meta { color: var(--ev-muted); font-size: 14px; margin-top: 4px; }
.ev-eyebrow { display: inline-block; font-family: var(--font-label); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ev-muted); margin-bottom: 12px; }
.ev-eyebrow--clay { color: var(--ev-clay); }
.ev-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ev-accent); font-weight: 500; font-size: 14px; }
.ev-link svg { width: 15px; height: 15px; }
.ev-link--sm { font-size: 13px; margin-top: auto; }

/* buttons */
.ev-btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-label); font-weight: 600; font-size: 14.5px; padding: 13px 22px; border-radius: 4px; border: 1px solid transparent; cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.ev-btn svg { width: 17px; height: 17px; }
/* Colors are prefixed with .tpl-evergreen (0,2,0) so they BEAT the generic
   `.tpl-evergreen a { color: inherit }` and `.ev-navlinks > a` rules (0,1,1) —
   otherwise <a> buttons inherit dark body text on a colored fill (unreadable).
   --ev-on-accent is set per-tenant in the Shell to #fff or ink by accent
   luminance, so button text stays legible for ANY brand color. */
.tpl-evergreen .ev-btn--pine { background: var(--ev-accent); color: var(--ev-on-accent, #fff); }
.tpl-evergreen .ev-btn--pine:hover { background: var(--ev-accent-hover); }
.tpl-evergreen .ev-btn--ghost { background: transparent; color: var(--ev-ink); border-color: #cfc8b6; }
.tpl-evergreen .ev-btn--ghost:hover { border-color: var(--ev-accent); color: var(--ev-accent); }
.tpl-evergreen .ev-btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.tpl-evergreen .ev-btn--clay { background: var(--ev-clay); color: var(--ev-deep); }
.tpl-evergreen .ev-btn--clay:hover { background: var(--ev-clay-deep); }
/* Cream CTA — the primary button on every deep-green band (matches handoff). */
.tpl-evergreen .ev-btn--cream { background: #f5f3ed; color: #14261e; }
.tpl-evergreen .ev-btn--cream:hover { background: #ffffff; color: #14261e; }

.ev-pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-family: var(--font-label); font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ev-accent); background: rgba(31,77,63,0.07); border: 1px solid rgba(31,77,63,0.32); padding: 7px 16px; border-radius: 40px; width: fit-content; }
/* Pills in centered bands stay centered (override the flex-start default). */
.ev-giveband .ev-pill, .ev-ctaband .ev-pill { align-self: center; }
.ev-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ev-accent); }
.ev-pill--sm { background: var(--ev-deep); color: #f5f3ed; border-color: transparent; font-size: 10.5px; letter-spacing: 0.1em; padding: 7px 14px; }
.ev-pill--clay { color: var(--ev-clay); background: rgba(223,160,116,0.14); border-color: transparent; }

.ev-eyebrow, .ev-slot { }
.ev-slot { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--ev-slot); color: rgba(31,77,63,0.35); }
.ev-slot svg { width: 40px; height: 40px; }

/* ── Announcement bar ─────────────────────────────────────────── */
/* Pinned group: the bar + nav ride together (Shell wraps them) so a service
   cancellation stays on screen instead of scrolling away with the first swipe.
   z-index clears the nav's own 40 and any in-page sticky sidebar. */
.ev-topstick { position: sticky; top: 0; z-index: 50; }
.ev-annbar { background: var(--ev-deep); color: #f5f3ed; font-size: 14px; }
.ev-annbar__inner { max-width: 1280px; margin: 0 auto; padding: 11px 64px; display: flex; align-items: center; justify-content: center; gap: 12px; }
/* Whole-bar link: full-width hit area, and the underline lands on the message. */
.tpl-evergreen a.ev-annbar__inner { color: inherit; }
.ev-annbar__inner--link:hover .ev-annbar__txt { text-decoration: underline; text-underline-offset: 3px; }
.ev-annbar__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ev-clay); flex: none; }
.ev-annbar__txt { color: rgba(245,243,237,0.94); }
.ev-annbar__go { color: #f5f3ed; font-weight: 600; white-space: nowrap; }

/* ── Nav ──────────────────────────────────────────────────────── */
.ev-nav { position: sticky; top: 0; z-index: 40; height: 78px; display: flex; align-items: center; gap: 24px; padding: 0 64px; background: rgba(245,243,237,0.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ev-border); }
.ev-brand { display: flex; flex-direction: column; line-height: 1; margin-right: auto; }
/* Logo: normalize on HEIGHT so any-dimension uploads fill the 78px bar with
   breathing room. Selector is (0,2,0) to out-specify `.tpl-evergreen img`
   (0,1,1); generous max-width so wide wordmarks aren't shrunk. */
.ev-brand .ev-brand__logo { height: 54px; width: auto; max-width: min(360px, 42vw); object-fit: contain; display: block; }
.ev-brand__name { font-family: var(--font-disp); font-weight: 700; font-size: 23px; letter-spacing: -0.02em; color: var(--ev-deep); }
.ev-brand__sub { font-family: var(--font-label); font-weight: 600; font-size: 10px; letter-spacing: 0.28em; color: var(--ev-muted); margin-top: 5px; }
.ev-navlinks { display: flex; align-items: center; gap: 26px; }
.ev-navlinks > a { font-family: var(--font-label); font-weight: 500; font-size: 13.5px; color: var(--ev-ink); }
.ev-navlinks > a:hover { color: var(--ev-accent); }
.ev-navlinks > a.active { color: var(--ev-accent); }
.ev-navcta { margin-left: 4px; }
.ev-live { display: inline-flex; align-items: center; gap: 7px; }
.ev-live__dot { width: 7px; height: 7px; border-radius: 50%; background: #d34; }
.ev-navtoggle { display: none; background: none; border: 0; color: var(--ev-deep); cursor: pointer; margin-left: auto; }

/* ── Hero (split 60/40) ───────────────────────────────────────── */
.ev-hero { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 640px; background: var(--ev-band); }
.ev-hero__copy { padding: 96px 64px; display: flex; flex-direction: column; justify-content: center; max-width: 720px; margin-left: auto; }
.ev-hero__h { font-size: clamp(40px, 5.6vw, 58px); letter-spacing: -0.035em; margin: 22px 0 0; }
.ev-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ev-hero__meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; color: var(--ev-muted); font-size: 14px; }
.ev-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.ev-hero__meta svg { width: 16px; height: 16px; color: var(--ev-accent); }
.ev-hero__img { position: relative; background: var(--ev-slot); }
.ev-hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ── Welcome ──────────────────────────────────────────────────── */
.ev-welcome__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.ev-welcome__h, h2.ev-disp.ev-welcome__h { font-size: clamp(30px, 4vw, 38px); }

/* ── Section heads ────────────────────────────────────────────── */
.ev-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.ev-sechead--stack { display: block; margin-bottom: 40px; }

/* ── Spotlight (latest sermon) ────────────────────────────────── */
.ev-spotlight { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; border: 1px solid var(--ev-border); border-radius: 16px; overflow: hidden; background: var(--ev-card); }
.ev-spotlight--lg { grid-template-columns: 1.6fr 1fr; }
.ev-spotlight__img { position: relative; aspect-ratio: 16/10; background: var(--ev-slot); }
.ev-spotlight__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ev-spotlight__info { padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.ev-spotlight__info h3 { font-size: clamp(24px, 3vw, 32px); }
/* Cream circle + pine glyph over a subtle dark image scrim (handoff) — not a
   solid accent disc. Scrim via ::after on any image wrapper holding a playbtn. */
.ev-playbtn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2; width: 74px; height: 74px; border-radius: 50%; background: rgba(245,243,237,0.94); color: var(--ev-accent); display: flex; align-items: center; justify-content: center; }
.ev-playbtn svg { width: 26px; height: 26px; margin-left: 3px; }
.ev-playbtn--sm { width: 46px; height: 46px; }
.ev-playbtn--sm svg { width: 18px; height: 18px; }
.ev-spotlight__img::after, .ev-seriescard__art:has(.ev-playbtn)::after, .ev-det__video--link::after { content: ''; position: absolute; inset: 0; background: rgba(20,38,30,0.32); pointer-events: none; }
.ev-det__video--link .ev-playbtn { width: 92px; height: 92px; }
.ev-det__video--link .ev-playbtn svg { width: 32px; height: 32px; }

/* ── Grids ────────────────────────────────────────────────────── */
.ev-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ev-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* steps */
.ev-stepcard { background: var(--ev-card); border: 1px solid var(--ev-border); border-radius: 12px; padding: 32px; }
.ev-stepcard .n { font-family: var(--font-disp); font-weight: 700; font-size: 15px; color: var(--ev-accent); margin-bottom: 16px; }
.ev-stepcard h4 { font-family: var(--font-disp); font-weight: 500; font-size: 20px; color: var(--ev-deep); margin: 0 0 8px; }
.ev-stepcard p { margin: 0; font-size: 15px; }

/* event / group image-first cards */
.ev-evcard { display: flex; flex-direction: column; background: var(--ev-card); border: 1px solid var(--ev-border); border-radius: 16px; overflow: hidden; transition: border-color 0.15s; }
.ev-evcard:hover { border-color: rgba(31,77,63,0.4); }
.ev-evcard__photo { position: relative; aspect-ratio: 3/2; background: var(--ev-slot); }
.ev-evcard__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* z-index: the detail-page cover renders the badge BEFORE its absolutely
   positioned <img>, so without it the image paints over the badge. */
.ev-datebadge { position: absolute; z-index: 2; top: 14px; left: 14px; background: var(--ev-deep); color: #fff; border-radius: 10px; padding: 8px 12px; text-align: center; line-height: 1; }
.ev-datebadge .m { display: block; font-family: var(--font-label); font-weight: 600; font-size: 10px; letter-spacing: 0.1em; color: var(--ev-clay); }
.ev-datebadge .d { display: block; font-family: var(--font-disp); font-weight: 700; font-size: 22px; margin-top: 3px; }
.ev-datebadge--corner { top: 0; left: 0; border-radius: 0 0 10px 0; }
.ev-evcard__body { padding: 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.ev-evcard__body h4 { font-family: var(--font-disp); font-weight: 500; font-size: 20px; color: var(--ev-deep); margin: 0; }
.ev-detailbox { border: 1px solid var(--ev-border); border-radius: 12px; background: #f9f7f1; padding: 14px 16px; display: flex; flex-direction: column; gap: 9px; }
.ev-detailbox .row { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ev-body); }
.ev-detailbox .row svg { width: 16px; height: 16px; color: var(--ev-accent); flex: none; }
.ev-detailbox .row--note { color: var(--ev-muted); font-size: 12.5px; }
.ev-evcard__cta { align-self: stretch; justify-content: center; text-align: center; padding: 12px; border-radius: 8px; margin-top: auto; }

/* Single-event variant — one 1/3-width card in a full-bleed band reads as a
   layout bug, so a lone event becomes a wide feature: photo beside the copy,
   headline-scale title, and a blurb from the description. */
.ev-grid-3--pair { grid-template-columns: repeat(2, 1fr); }
/* Two-up cards are ~1.6× as wide as the 3-up, so the 3/2 photo would tower over
   the copy — flatten it to keep the card readable. */
.ev-grid-3--pair .ev-evcard__photo { aspect-ratio: 16/9; }
.ev-evcard--wide { display: grid; grid-template-columns: 1.15fr 1fr; }
.ev-evcard--wide .ev-evcard__photo { aspect-ratio: auto; min-height: 380px; }
.ev-evcard--wide .ev-evcard__body { padding: 44px; gap: 18px; justify-content: center; }
.ev-evcard--wide .ev-evcard__body h4 { font-weight: 700; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; }
.ev-evcard--wide .ev-evcard__blurb { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--ev-body); max-width: 44ch; }
.ev-evcard--wide .ev-detailbox { align-self: flex-start; min-width: min(300px, 100%); }
.ev-evcard--wide .ev-evcard__cta { align-self: flex-start; justify-content: center; margin-top: 4px; padding: 13px 28px; }

/* ministries icon-chip cards */
.ev-mingrid .ev-mincard { display: flex; flex-direction: column; gap: 12px; background: var(--ev-card); border: 1px solid var(--ev-border); border-radius: 12px; padding: 28px; transition: border-color 0.15s; }
.ev-mincard:hover { border-color: rgba(31,77,63,0.4); }
.ev-chip { width: 44px; height: 44px; border-radius: 8px; background: rgba(31,77,63,0.1); color: var(--ev-accent); display: flex; align-items: center; justify-content: center; }
.ev-chip svg { width: 22px; height: 22px; }
.ev-mincard h4 { font-family: var(--font-disp); font-weight: 500; font-size: 19px; color: var(--ev-deep); margin: 4px 0 0; }
.ev-mincard p { margin: 0; font-size: 14.5px; }

/* give band (deep green, clay accent) */
.ev-giveband { background: var(--ev-deep); color: #f5f3ed; padding: 88px 0; text-align: center; }
.ev-giveband .ev-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ev-giveband__h, h2.ev-disp.ev-giveband__h { color: #fff; font-size: clamp(32px, 4.5vw, 48px); max-width: 18ch; }
.ev-giveband p { color: rgba(245,243,237,0.72); max-width: 52ch; margin: 0; }
/* On deep-green bands the emphasis word is clay, not pine (pine would vanish). */
.ev-giveband .ev-accentword, .ev-ctaband .ev-accentword, .ev-impactband .ev-accentword { color: var(--ev-clay); }

/* location + map */
.ev-location { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ev-location__rows { display: flex; flex-direction: column; gap: 14px; margin: 22px 0 28px; }
.ev-location__rows .row { display: flex; align-items: center; gap: 10px; color: var(--ev-body); }
.ev-location__rows svg { width: 18px; height: 18px; color: var(--ev-accent); }
.ev-map { background-color: #e6e1d2; border: 1px solid var(--ev-input); border-radius: 16px; min-height: 320px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='42' viewBox='0 0 24 24' fill='%231f4d3f' stroke='%23f5f3ed' stroke-width='1.5'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3' fill='%23f5f3ed' stroke='none'/%3E%3C/svg%3E"), linear-gradient(#d6d0be 1px, transparent 1px), linear-gradient(90deg, #d6d0be 1px, transparent 1px); background-position: center, 0 0, 0 0; background-repeat: no-repeat, repeat, repeat; background-size: 42px 42px, 44px 44px, 44px 44px; }

/* newsletter */
.ev-news { background: var(--ev-band); color: var(--ev-ink); padding: 96px 0; text-align: center; }
.ev-news h3 { font-family: var(--font-disp); font-weight: 700; font-size: clamp(26px,3vw,34px); letter-spacing: -0.03em; color: var(--ev-deep); margin: 0 0 12px; }
.ev-news p { color: var(--ev-body); margin: 0 auto 28px; max-width: 46ch; }
.ev-news__form { display: inline-flex; gap: 10px; }
.ev-field { display: inline-flex; align-items: center; background: var(--ev-card); border: 1px solid var(--ev-input); border-radius: 4px; padding: 12px 16px; color: var(--ev-muted); font-size: 14px; min-width: 240px; text-align: left; }
.ev-field--area { min-height: 92px; align-items: flex-start; }

/* two-col + media */
.ev-two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ev-two__media { aspect-ratio: 4/3; background: var(--ev-slot); border-radius: 16px; overflow: hidden; }
.ev-two__media img { width: 100%; height: 100%; object-fit: cover; }

/* page head */
.ev-pagehead { padding: 72px 0 64px; }
.ev-pagehead h1 { font-family: var(--font-disp); font-weight: 700; font-size: clamp(38px,5vw,52px); color: var(--ev-deep); letter-spacing: -0.035em; }

/* values / ways / expect cards */
.ev-valuecard, .ev-waycard { background: var(--ev-card); border: 1px solid var(--ev-border); border-radius: 12px; padding: 30px; }
.ev-valuecard h4, .ev-waycard h4 { font-family: var(--font-disp); font-weight: 500; font-size: 20px; color: var(--ev-deep); margin: 0 0 8px; }
.ev-valuecard p, .ev-waycard p { margin: 0; font-size: 15px; }

/* team grid */
.ev-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ev-teamcard { text-align: left; }
.ev-avatar { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--ev-slot); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.ev-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ev-avatar span { font-family: var(--font-disp); font-weight: 700; font-size: 28px; color: var(--ev-accent); }
.ev-avatar--lg { width: 200px; border-radius: 16px; }
.ev-teamcard h4 { font-family: var(--font-disp); font-weight: 500; font-size: 18px; color: var(--ev-deep); margin: 0; }

/* series cards + sermon list */
.ev-seriescard { display: flex; flex-direction: column; gap: 10px; }
.ev-seriescard__art { position: relative; aspect-ratio: 1; background: var(--ev-slot); border-radius: 12px; overflow: hidden; }
.ev-seriescard__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ev-seriescard h4 { font-family: var(--font-disp); font-weight: 500; font-size: 18px; color: var(--ev-deep); margin: 0; }
.ev-sermonlist { display: flex; flex-direction: column; }
.ev-sermonrow { display: grid; grid-template-columns: 120px 1fr auto 40px; align-items: center; gap: 20px; padding: 20px 0; border-top: 1px solid var(--ev-border); }
.ev-sermonrow:last-child { border-bottom: 1px solid var(--ev-border); }
.ev-sermonrow__date { color: var(--ev-muted); font-size: 13px; }
.ev-sermonrow__title { font-weight: 500; font-size: 19px; color: var(--ev-deep); }
.ev-sermonrow__by { color: var(--ev-muted); font-size: 14px; }
.ev-sermonrow__play { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--ev-border); display: flex; align-items: center; justify-content: center; color: var(--ev-accent); }
.ev-sermonrow__play svg { width: 15px; height: 15px; }

/* CTA band (light-on-pine) */
.ev-ctaband { background: var(--ev-deep); color: #fff; padding: 88px 0; text-align: center; }
.ev-ctaband .ev-wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.ev-ctaband__h, h2.ev-disp.ev-ctaband__h { color: #fff; font-size: clamp(30px,4vw,44px); }
.ev-ctaband__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* give page */
.ev-give-hero { padding: 96px 0; text-align: center; }
.ev-give-hero .ev-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ev-give-hero__h { font-size: clamp(38px,5vw,52px); letter-spacing: -0.035em; }
.ev-give-hero__cta { margin-top: 8px; }
.ev-impactband { background: var(--ev-deep); color: #f5f3ed; padding: 88px 0; }
.ev-impactband__h, h2.ev-disp.ev-impactband__h { color: #fff; }
.ev-impact .ev-impactcol { border-top: 3px solid var(--ev-clay); padding-top: 20px; }
.ev-impactcol .pct { font-family: var(--font-disp); font-weight: 700; font-size: 44px; color: var(--ev-clay); line-height: 1; }
.ev-impactcol h4 { font-family: var(--font-disp); font-weight: 500; font-size: 19px; color: #fff; margin: 12px 0 8px; }
.ev-impactcol p { margin: 0; color: rgba(245,243,237,0.7); font-size: 14.5px; }

/* forms + faq + hiring + misc */
.ev-formwrap { max-width: 620px; }
.ev-form { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.ev-form .ev-field { width: 100%; }
.ev-formnote { color: var(--ev-muted); font-size: 13px; margin-top: 12px; }
.ev-faq { display: flex; flex-direction: column; }
.ev-faq__item { padding: 24px 0; border-top: 1px solid var(--ev-border); }
.ev-faq__item:last-child { border-bottom: 1px solid var(--ev-border); }
.ev-faq__item h4 { font-family: var(--font-disp); font-weight: 500; font-size: 19px; color: var(--ev-deep); margin: 0 0 8px; }
.ev-faq__item p { margin: 0; }
.ev-hiring { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--ev-band); }
.ev-empty { text-align: center; color: var(--ev-muted); padding: 60px 0; }
.ev-groups__intro { max-width: 60ch; }
.ev-contact__side { display: flex; flex-direction: column; gap: 24px; }
.ev-contact__rows { display: flex; flex-direction: column; gap: 12px; }
.ev-contact__rows .row { display: flex; align-items: center; gap: 10px; color: var(--ev-body); }
.ev-contact__rows svg { width: 18px; height: 18px; color: var(--ev-accent); }

/* ── Detail pages ─────────────────────────────────────────────── */
.ev-det { padding: 32px 0 88px; }
.ev-det__back { display: flex; width: fit-content; align-items: center; gap: 7px; color: var(--ev-muted); font-weight: 500; font-size: 13.5px; margin-bottom: 20px; }
.ev-det__back:hover { color: var(--ev-accent); }
.ev-det__video { position: relative; aspect-ratio: 16/9; background: var(--ev-deep); border-radius: 16px; overflow: hidden; margin-bottom: 40px; }
.ev-det__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ev-det__video--link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ev-det__cover { position: relative; aspect-ratio: 16/9; background: var(--ev-slot); border-radius: 16px; overflow: hidden; margin: 24px 0 40px; }
.ev-det__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ev-det__grid { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.ev-det__main { min-width: 0; }
.ev-det__title { font-size: clamp(32px,4.5vw,48px); margin: 10px 0; }
.ev-det__meta { color: var(--ev-muted); font-size: 14.5px; margin: 0 0 20px; }
.ev-det__lead { font-size: 19px; line-height: 1.6; color: var(--ev-ink); margin: 0 0 24px; }
.ev-det__questions { margin-top: 28px; }
.ev-det__questions h3 { font-family: var(--font-disp); font-size: 22px; color: var(--ev-deep); margin: 0 0 14px; }
.ev-det__questions ul, .ev-det__questions ol { padding-left: 20px; color: var(--ev-body); line-height: 1.9; }
.ev-det__side { background: var(--ev-card); border: 1px solid var(--ev-border); border-radius: 12px; padding: 24px; position: sticky; top: 96px; }
.ev-det__listen { display: block; padding: 12px 0; border-top: 1px solid var(--ev-border); color: var(--ev-accent); font-weight: 500; }
.ev-det__listen:first-of-type { border-top: 0; }
.ev-det__facts { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.ev-det--narrow { max-width: 760px; }
.ev-det__facts--card { flex-direction: row; flex-wrap: wrap; gap: 44px; background: var(--ev-card); border: 1px solid var(--ev-border); border-radius: 12px; padding: 24px 28px; margin: 24px 0 28px; }
/* Event with no body copy — the facts card IS the page's content block, so the
   date badge sits inside it (flat, not pinned to a photo) and the rows run
   across. Pairs with the narrow single column in EvergreenEventDetail. */
.ev-det__eventcard { display: flex; align-items: center; gap: 28px; background: var(--ev-card); border: 1px solid var(--ev-border); border-radius: 16px; padding: 28px 32px; margin: 26px 0 28px; }
.ev-det__eventcard .ev-det__facts { flex-direction: row; flex-wrap: wrap; gap: 40px; margin: 0; }
.ev-datebadge--flat { position: static; flex: none; padding: 12px 16px; border-radius: 12px; }
.ev-datebadge--flat .d { font-size: 26px; }
.ev-det__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ev-det__facts > div { display: flex; flex-direction: column; gap: 3px; }
.ev-det__facts strong { font-family: var(--font-disp); font-weight: 500; color: var(--ev-deep); font-size: 16px; }
.ev-det__person { display: flex; gap: 32px; align-items: center; margin-bottom: 32px; }
.ev-det__mail { color: var(--ev-accent); font-weight: 500; }
.ev-det__related { margin-top: 56px; padding: 72px 0; }
.ev-det__related .ev-eyebrow { display: block; margin-bottom: 28px; }
.ev-prose { color: var(--ev-body); line-height: 1.8; }
.ev-prose h3 { font-family: var(--font-disp); color: var(--ev-deep); }
.ev-prose p { margin: 0 0 16px; }

/* ── Footer ───────────────────────────────────────────────────── */
/* Bottom padding clears the fixed Second Sunday widget (bottom-right) so the
   "Powered by White Oak Media" byline is never covered at the end of scroll. */
.ev-footer { background: var(--ev-deep); color: rgba(245,243,237,0.55); padding: 64px 0 112px; }
/* No divider rule under the columns — the socials sat right on top of it. The
   whitespace separates the blocks well enough on a dark ground. */
.ev-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.ev-footer__name { font-family: var(--font-disp); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; color: #f5f3ed; }
/* Normalize on HEIGHT (same approach as the nav logo) so any-dimension upload
   sits right; (0,2,0) to out-specify `.tpl-evergreen img` (0,1,1). */
.ev-footer .ev-footer__logo { height: 56px; width: auto; max-width: min(260px, 60vw); object-fit: contain; display: block; }
.ev-footer__sub { display: block; font-weight: 600; font-size: 10px; letter-spacing: 0.28em; color: rgba(245,243,237,0.5); margin: 6px 0 18px; }
.ev-footer__brand p { margin: 0; color: rgba(245,243,237,0.55); max-width: 280px; font-size: 14px; line-height: 1.6; }
.ev-footer__col { display: flex; flex-direction: column; gap: 10px; }
.ev-footer__col h5 { font-family: var(--font-label); font-weight: 600; font-size: 13px; color: #f5f3ed; margin: 0 0 16px; }
.ev-footer__col a { color: rgba(245,243,237,0.6); font-size: 14px; }
.ev-footer__col a:hover { color: #f5f3ed; }
.ev-footer__sundays { font-size: 14px; line-height: 1.7; color: rgba(245,243,237,0.6); }
.ev-footer__bottom { padding-top: 24px; font-size: 13px; color: rgba(245,243,237,0.55); }

/* ── Responsive ───────────────────────────────────────────────── */
/* Tablet — ease the 3-cols to 2, tighten section rhythm. */
@media (max-width: 1024px) {
  .ev-wrap, .ev-nav, .ev-annbar__inner, .ev-footer__bottom { padding-left: 40px; padding-right: 40px; }
  .ev-grid-3, .ev-mingrid, .ev-team--4 { grid-template-columns: repeat(2, 1fr); }
  .ev-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ev-hero__copy { padding: 72px 40px; }
}
/* Below the nav's link budget — switch to the hamburger + stacked layouts. */
@media (max-width: 900px) {
  .ev-hero { grid-template-columns: 1fr; }
  .ev-hero__copy { padding: 52px 24px; max-width: none; }
  .ev-hero__img { min-height: 300px; order: -1; }
  .ev-two, .ev-location, .ev-welcome__grid, .ev-det__grid, .ev-hiring { grid-template-columns: 1fr; display: grid; }
  .ev-spotlight, .ev-spotlight--lg { grid-template-columns: 1fr; }
  .ev-spotlight__img { aspect-ratio: 16/9; }
  .ev-evcard--wide { grid-template-columns: 1fr; }
  .ev-evcard--wide .ev-evcard__photo { aspect-ratio: 16/9; min-height: 0; }
  .ev-evcard--wide .ev-evcard__body { padding: 28px; }
  .ev-det__eventcard { align-items: flex-start; gap: 22px; }
  .ev-sechead { flex-direction: column; align-items: flex-start; gap: 6px; }
  .ev-hiring { gap: 20px; }
  .ev-sermonrow { grid-template-columns: 1fr auto; }
  .ev-sermonrow__date, .ev-sermonrow__by { display: none; }
  .ev-det__side { position: static; }
  .ev-navtoggle { display: inline-flex; }
  .ev-navlinks { position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; background: var(--ev-paper); border-bottom: 1px solid var(--ev-border); padding: 12px 24px 18px; display: none; }
  .ev-navlinks.open { display: flex; }
  .ev-navlinks > a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--ev-border); }
  .ev-navcta { margin: 10px 0 0; text-align: center; justify-content: center; }
}
/* Phone — single column everywhere, smaller rhythm, wrap the announcement. */
@media (max-width: 640px) {
  .ev-wrap, .ev-nav, .ev-annbar__inner, .ev-footer__bottom { padding-left: 20px; padding-right: 20px; }
  .ev-brand .ev-brand__logo { height: 40px; }
  .ev-section, .ev-giveband, .ev-ctaband, .ev-impactband, .ev-give-hero, .ev-news { padding-top: 48px; padding-bottom: 48px; }
  .ev-grid-3, .ev-grid-2, .ev-grid-3--pair, .ev-mingrid, .ev-team, .ev-team--4, .ev-footer__grid, .ev-impact { grid-template-columns: 1fr; gap: 16px; }
  .ev-evcard--wide .ev-evcard__body { padding: 22px; gap: 14px; }
  .ev-evcard--wide .ev-evcard__cta { align-self: stretch; }
  .ev-det__eventcard { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px; }
  .ev-det__eventcard .ev-det__facts { flex-direction: column; gap: 16px; }
  .ev-det__actions { flex-direction: column; align-items: stretch; }
  .ev-det__actions > * { width: 100%; }
  .ev-det__actions .ev-btn { width: 100%; justify-content: center; }
  .ev-hero__h { font-size: clamp(34px, 9vw, 44px); }
  .ev-pagehead h1, .ev-give-hero__h { font-size: clamp(30px, 8vw, 40px); }
  .ev-hero__meta { gap: 12px; }
  .ev-annbar__inner { flex-wrap: wrap; gap: 8px; padding-top: 9px; padding-bottom: 9px; }
  .ev-annbar__go { margin-left: 0; }
  .ev-news__form { flex-direction: column; width: 100%; }
  .ev-news__form .ev-field { min-width: 0; width: 100%; }
  .ev-hero__actions { flex-direction: column; align-items: stretch; }
  .ev-hero__actions .ev-btn { justify-content: center; }
  .ev-avatar--lg { width: 140px; }
  .ev-det__person { flex-direction: column; align-items: flex-start; gap: 20px; }
}
