/* Lodge Connect — Public surface (lc-005)
 * A warmer, more spacious application of the same design tokens. Scoped to
 * `.lc-public` so the portal (efficient/task-focused) is untouched. Prism's
 * two-surface divergence: public is inviting/storytelling, portal is dense.
 */

.lc-public {
  /* Warm system serif for headings only — personality without a web-font
   * dependency or layout shift. Body stays on the system sans stack. */
  --lc-font-display: "Iowan Old Style", "Palatino Linotype", Palatino,
                     "Book Antiqua", Georgia, serif;
  background: var(--lc-bg);
  color: var(--lc-text);
  font-family: var(--lc-font-sans);
  line-height: var(--lc-leading);
  margin: 0;
}
.lc-public h1, .lc-public h2, .lc-public h3 {
  font-family: var(--lc-font-display);
  font-weight: var(--lc-weight-semibold);
  line-height: 1.15;
  letter-spacing: 0.01em;
}
/* Color plain links maroon — but NOT anchor-styled buttons (.lc-btn), whose
   variant text colors must win. Without :not(.lc-btn), this rule's specificity
   (0,1,1) beat .lc-btn--primary / .lc-btn--on-dark (0,1,0), so <a> buttons on
   the maroon hero / CTA rendered maroon-on-maroon (invisible). [B1, B2] */
.lc-public a:not(.lc-btn) { color: var(--lc-maroon); }
/* Hover affordance for plain links: an underline that fades in on hover. */
.lc-public a:not(.lc-btn) {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.15em;
  transition: text-decoration-color 0.15s ease;
}
.lc-public a:not(.lc-btn):hover { text-decoration-color: currentColor; }
/* Nav links carry their own active/hover treatment (and an icon+text layout),
   so opt them out of the running underline. An explicit reset (specificity 0,3,1
   > the 0,2,1 underline rule) is used instead of a complex :not(.lc-public-nav a)
   for universal browser support. */
.lc-public .lc-public-nav a:not(.lc-btn) { text-decoration: none; }
.lc-public .lc-public-nav a:not(.lc-btn):hover { text-decoration-color: transparent; }

/* ---------- Header ---------- */
.lc-public-header {
  /* Slightly translucent + blurred so content scrolling beneath shows through
     faintly behind the (now taller) header. Indigo brand text stays legible on
     the ~82% cream base. Falls back to near-solid where backdrop-filter is
     unsupported. (#4) */
  background: rgba(244, 245, 248, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lc-border);
  padding: var(--lc-space-3) 0;
}
.lc-public-header__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--lc-space-3);
  align-items: center;
  justify-content: space-between;
}
.lc-public-brand {
  font-family: var(--lc-font-display);
  font-weight: var(--lc-weight-semibold);
  font-size: var(--lc-text-xl);
  color: var(--lc-maroon) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--lc-space-3);
}
.lc-public-brand__logo {
  height: 72px;            /* enlarged from 60px for stronger brand presence (#4) */
  width: auto;
  flex: none;
  display: block;
}
.lc-public-brand__mark {
  font-size: var(--lc-text-xs);
  letter-spacing: 0.12em;
  color: var(--lc-gold-700);
}
@media (max-width: 480px) {
  /* Keep the logo readable, shrink the wordmark a step so the header fits. */
  .lc-public-brand__logo { height: 56px; }   /* enlarged from 48px (#4) */
  .lc-public-brand { font-size: var(--lc-text-lg); }
}
.lc-public-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--lc-space-4);
  align-items: center;
}
.lc-public-nav a { text-decoration: none; font-weight: var(--lc-weight-medium); }

/* ---------- Hero ---------- */
.lc-hero {
  background: linear-gradient(160deg, var(--lc-maroon), var(--lc-maroon-800));
  color: var(--lc-cream);
  padding: var(--lc-space-8) 0;
}
.lc-hero__eyebrow {
  text-transform: uppercase;
  /* Reduced tracking so the larger, bolder eyebrow still fits one line on
     desktop. (#5) */
  letter-spacing: 0.06em;
  font-size: var(--lc-text-base);          /* bumped one step from --lc-text-sm (#5) */
  font-weight: var(--lc-weight-bold);      /* (#5) */
  color: var(--lc-gold);
  margin: 0;
}
.lc-hero__title {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  margin: 0;
  color: var(--lc-cream);
}
.lc-hero__lede {
  font-size: var(--lc-text-lg);
  font-weight: var(--lc-weight-semibold);   /* bolder so the lede carries weight over the photo (#6) */
  max-width: 52ch;
  color: #f3ece0;
}
/* Secondary hero CTA: a SOLID neutral-gray button (not the old translucent
   ghost) so "Upcoming Events" reads as a real, tappable control beside the gold
   primary. Loaded after components.css, so this overrides any .lc-btn--ghost
   composed on the same element. Cream text on slate clears AA. (#3) */
.lc-btn--on-dark { background: var(--lc-slate-600); color: var(--lc-cream); border-color: transparent; }
.lc-btn--on-dark:hover { background: var(--lc-slate-500); border-color: transparent; color: #fff; }

/* ---------- Sections ---------- */
.lc-section { padding: var(--lc-space-8) 0; }
.lc-section--alt { background: var(--lc-surface-alt); }
.lc-section__title { font-size: var(--lc-text-2xl); color: var(--lc-maroon); margin-top: 0; }

/* Four-up feature grid (the landing "What we do" row). The global .lc-grid is an
   auto-fill grid whose 16rem min lands 4 cards as an awkward 3+1 on the wide
   container, so this modifier sets EXPLICIT responsive columns: 4-across on wide,
   2×2 on mid, single column on mobile. Scoped class — the auto-fit .lc-grid used
   elsewhere (committees, etc.) is untouched. (#7) */
.lc-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) { .lc-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .lc-grid--4 { grid-template-columns: 1fr; } }

/* Three-up feature grid (About: Visit / Get in touch / Lodge leadership). Forces
   a symmetric single row of 3 on desktop — the global auto-fit grid lands only
   ~2 across inside the narrower .lc-container, leaving the 3rd card orphaned
   below. Collapses to one column on mobile. (#9) */
.lc-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .lc-grid--3 { grid-template-columns: 1fr; } }

/* Featured section: the "What's coming up" agenda is the site's primary draw, so
   it gets an inviting cream-gold wash, a gold top accent rule, and a soft bordered
   container so it stands apart from the plain/alt sections around it. On-brand
   (indigo text, gold accent). (#8) */
.lc-section--featured {
  background:
    linear-gradient(180deg, rgba(232, 163, 23, 0.10), rgba(232, 163, 23, 0.04)),
    var(--lc-surface);
  border-top: 3px solid var(--lc-gold);
  border-bottom: 1px solid var(--lc-border);
}
/* Lift the agenda card off the tint so rows read cleanly on the featured wash. */
.lc-section--featured .lc-event-list {
  background: var(--lc-surface);
  border: 1px solid var(--lc-border);
  border-radius: var(--lc-radius-xl);
  box-shadow: var(--lc-shadow-warm);
  padding: var(--lc-space-3) var(--lc-space-5);
}
.lc-cta { text-align: center; max-width: 60ch; margin-inline: auto; }
.lc-cta .lc-lead { margin-inline: auto; }
.lc-cta .lc-cluster { justify-content: center; }

/* Cards with a bottom CTA (e.g. the events list): flex column so the action
   pins to the bottom and CTAs align across a row regardless of title/blurb
   length. Grid items already stretch to equal height. [B3] */
.lc-card--cta { display: flex; flex-direction: column; }
.lc-card--cta > :last-child { margin-top: auto; margin-bottom: 0; }

/* ---------- Footer ---------- */
.lc-public-footer {
  background: var(--lc-ink);
  color: #e7ddd0;
  padding: var(--lc-space-6) 0;
  margin-top: var(--lc-space-8);
}
/* White footer links for clear visibility on the dark indigo footer (Adam
   prefers plainly-visible over obviously-a-link); keep a subtle hover underline
   so they still read as interactive. The FB/IG icons use currentColor, so they
   render white here too — intended. (#10) */
/* b342b: must beat .lc-public a:not(.lc-btn) (the indigo --lc-maroon rule,
   specificity 0,2,1) — the plain .lc-public-footer a (0,1,1) lost the cascade,
   so footer links rendered indigo-on-navy (~1.2:1, invisible). Matching its
   specificity with :not(.lc-btn) + later source order makes white win. This
   also covers the FB/IG social <a> (they're footer links too). */
.lc-public-footer a:not(.lc-btn) { color: #ffffff; }
.lc-public-footer a:hover { text-decoration: underline; text-underline-offset: 0.15em; }
.lc-public-footer__name { font-family: var(--lc-font-display); font-size: var(--lc-text-lg); margin: 0; }
.lc-public-footer .lc-card__meta { color: #b9ab9a; }

/* Social links rendered as icons in a small horizontal row. The icons inherit
   the brightened footer link color for contrast on the indigo background. (#13) */
.lc-public-footer__social { display: inline-flex; gap: var(--lc-space-4); align-items: center; justify-content: center; }
.lc-public-footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--lc-tap-min); height: var(--lc-tap-min);
}
.lc-public-footer__social a:hover { text-decoration: none; color: var(--lc-cream); }

/* ===================== 2026-06 contemporary refresh ===================== */

/* Sticky header + subtle shadow. "Member sign-in" stays the gold .lc-btn--secondary CTA. */
.lc-public-header { position: sticky; top: 0; z-index: 100; box-shadow: var(--lc-shadow-sm); }

/* Mobile: collapse the nav behind a hamburger toggle */
.lc-nav-toggle { display: none; }
@media (max-width: 760px) {
  .lc-nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: var(--lc-tap-min); height: var(--lc-tap-min);
    background: transparent; border: 1px solid var(--lc-border-strong);
    border-radius: var(--lc-radius-md); color: var(--lc-primary); cursor: pointer;
  }
  .lc-public-nav {
    display: none; order: 3; width: 100%;
    flex-direction: column; align-items: stretch; gap: var(--lc-space-1);
    padding-top: var(--lc-space-2);
  }
  .lc-public-nav.is-open { display: flex; }
  /* Visually separate the opened menu from the header bar, and divide items. */
  .lc-public-nav.is-open { border-top: 1px solid var(--lc-border); margin-top: var(--lc-space-2); }
  .lc-public-nav a { padding: var(--lc-space-3) var(--lc-space-2); border-bottom: 1px solid var(--lc-border); }
  .lc-public-nav .lc-btn { text-align: center; margin-top: var(--lc-space-2); }
}

/* Hero: full-height, centered, image-ready with a dark overlay so text pops */
.lc-hero {
  position: relative; min-height: 70vh;
  display: flex; align-items: center; text-align: center;
  background: url('../images/elks-hero.jpg'),
              linear-gradient(160deg, var(--lc-primary), var(--lc-primary-800));
  background-size: cover; background-position: center;
}
/* Overlay tuned for the lively bar photo: a 3-stop scrim that's darker at the
   top (tames the bright top-center TV) and bottom (button legibility), a touch
   lighter in the middle where the people are, so the warm scene still shows
   through. Strengthened so the headline/lede clearly dominate the photo rather
   than fighting it; hero text keeps its text-shadow as legibility insurance. (#2) */
/* b342 Fix 2: warm the scrim (was a cold navy gradient) so the hero reads as a
   warm gathering place rather than a cold nighttime venue, and lift the top
   stop to mute the bright TV area. NOTE: a real community/exterior/event photo
   at static/images/elks-hero.jpg is the proper fix — this treatment only shifts
   a bar photo so far. */
.lc-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 18, 10, 0.82) 0%, rgba(54, 36, 18, 0.56) 45%, rgba(20, 13, 8, 0.86) 100%); }
.lc-hero > .lc-container--wide { position: relative; z-index: 1; max-width: 56rem; }
.lc-hero .lc-cluster { justify-content: center; }
.lc-hero__lede { margin-inline: auto; }
/* Legibility insurance over the photo so the overlay can stay light and let the scene show. */
.lc-hero__eyebrow, .lc-hero__title, .lc-hero__lede { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55); }

/* Feature cards: icon placeholder above the heading */
.lc-feature__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; margin-bottom: var(--lc-space-3);
  border-radius: var(--lc-radius-md);
  background: rgba(35, 45, 86, 0.08); color: var(--lc-primary);
}

/* Event rows: a calendar-date block + details, no bullets */
.lc-event-list { list-style: none; padding: 0; margin: 0; }
.lc-event-row { display: flex; gap: var(--lc-space-4); align-items: center; padding: var(--lc-space-4) 0; border-bottom: 1px solid var(--lc-border); transition: background-color 0.15s ease; }
.lc-event-row:last-child { border-bottom: 0; }

/* Clickable rows: the whole row is a single link. The <a> carries the flex
   layout (date block + body) and a subtle hover wash + inset padding so the
   highlight reads as one tappable target. (#5) */
.lc-event-row--link { padding: 0; }
.lc-event-row__link {
  display: flex; gap: var(--lc-space-4); align-items: center;
  width: 100%;
  padding: var(--lc-space-4) var(--lc-space-3);
  border-radius: var(--lc-radius-md);
  text-decoration: none; color: inherit;
  transition: background-color 0.15s ease;
}
.lc-event-row__link:hover { background: var(--lc-surface-alt); }
.lc-event-row__link:hover .lc-event-row__title { color: var(--lc-primary); }
/* Opt the row link out of the running plain-link underline (specificity 0,3,1
   beats the 0,2,1 underline rule), like the nav links do. */
.lc-public .lc-event-row__link:not(.lc-btn) { text-decoration: none; }
.lc-public .lc-event-row__link:not(.lc-btn):hover { text-decoration-color: transparent; }
/* Truncated description inside a clickable row: muted, sits under the meta. */
.lc-event-row__desc { color: var(--lc-text-muted); font-size: var(--lc-text-sm); margin: var(--lc-space-1) 0 0; }
.lc-datebox {
  flex: none; width: 4rem; text-align: center; line-height: 1.1;
  background: var(--lc-primary); color: var(--lc-cream);
  border-radius: var(--lc-radius-md); padding: var(--lc-space-2) 0;
  border-top: 3px solid var(--lc-gold);
}
.lc-datebox__mon { display: block; font-size: var(--lc-text-xs); text-transform: uppercase; letter-spacing: 0.08em; }
.lc-datebox__day { display: block; font-size: var(--lc-text-xl); font-weight: var(--lc-weight-semibold); }
.lc-event-row__body { min-width: 0; }
.lc-event-row__title { font-family: var(--lc-font-display); font-size: var(--lc-text-lg); margin: 0; }
.lc-event-row__title a { text-decoration: none; }
.lc-event-row__meta { color: var(--lc-text-muted); font-size: var(--lc-text-sm); margin: var(--lc-space-1) 0 0; }

/* ---------- Officer roster (directory) ---------- */
/* Officers are short (title + name), so a tidy auto-fill grid of COMPACT cards
   reads far better than the ragged 2-col feature-card grid. Committees keep the
   larger feature cards (they carry descriptions). (#2) */
/* .lc-roster styles moved to design-system/components.css (d2: the
   directory renders in BOTH portal and public chrome now). */

/* Footer: flex columns for address / contact / order line */
.lc-public-footer__cols { display: flex; flex-wrap: wrap; gap: var(--lc-space-5) var(--lc-space-8); align-items: flex-start; }
.lc-public-footer__cols > * { flex: 1 1 12rem; margin: 0; text-align: center; }
.lc-public-footer__cols p { margin: var(--lc-space-1) 0 0; }
/* Below 600px, drop to a single stacked column with tighter row gap. */
@media (max-width: 600px) {
  .lc-public-footer__cols { gap: var(--lc-space-5); }
  .lc-public-footer__cols > * { flex-basis: 100%; }
}

/* Landing page: center section content to match the centered hero + CTA.
   The event agenda keeps its date-block row layout but is centered as a block
   (centering the row text would break the date-left / details-right layout). */
.lc-home .lc-section { text-align: center; }
.lc-home .lc-event-list { max-width: 42rem; margin-inline: auto; }
.lc-home .lc-event-row__body { text-align: left; }   /* keep agenda rows left-flush */

/* lc-042: bulletin card layout moved to design-system/components.css. */
.lc-public .lc-bulletin-title-link:not(.lc-btn) { color: inherit; text-decoration: none; }
.lc-public .lc-bulletin-title-link:hover { text-decoration: underline; }
.lc-bulletin-img-link:hover .lc-bulletin-img { opacity: 0.92; }

/* b342 Fix 3: month headers on the public events listing so a long agenda is
   scannable (mirrors the portal list's existing month grouping). */
.lc-events-month { font-family: var(--lc-font-display); color: var(--lc-primary); font-size: var(--lc-text-lg); text-align: left; margin: var(--lc-space-6) 0 var(--lc-space-2); padding-bottom: var(--lc-space-1); border-bottom: 2px solid var(--lc-gold); }
/* d4: .lc-stack's `> *` margin reset was flattening the month heading's own
   top margin, leaving "July 2026" pressed against the search form. */
.lc-stack > .lc-events-month { margin-block-start: var(--lc-space-6); }

/* d4: fully-centered interior page (about) — same rhythm as the landing's
   centered sections; boxed asides stay left-aligned for readability. */
.lc-page--centered .lc-section { text-align: center; }
.lc-page--centered .lc-callout { text-align: left; }

/* ===================== 2026-06 design refinement ===================== */

/* Newsletter "Stay in the loop": the section now uses .lc-cta (centered, 60ch
   measure) like "How to connect"; cap the form itself and center it so the
   email field + button sit as a tidy cluster instead of left-flush. [B6] */
.lc-newsletter-form { max-width: 30rem; margin-inline: auto; }
/* Email field grows to fill the row (moved off an inline style so the ≤480px
   min-width override below can actually win). [B6/B13] */
.lc-newsletter-form .lc-input { flex: 1; min-width: 240px; }

/* Body measure cap: keep prose to a comfortable line length (~68ch). On centered
   landing sections, margin-inline:auto keeps the paragraph centered rather than
   left-flush; on non-centered pages the auto margins are a no-op (left edge wins). [B7] */
.lc-public .lc-stack > p { max-width: 68ch; margin-inline: auto; }

/* Hero typography: tighten the large display title; smaller, wider-tracked
   eyebrow on narrow phones. (Hero background/overlay/text-shadow already done.) [B8] */
.lc-hero__title { letter-spacing: -0.01em; }
@media (max-width: 480px) {
  .lc-hero__eyebrow { font-size: var(--lc-text-xs); letter-spacing: 0.08em; }
}

/* Active nav indication: pair aria-current with a gold underline accent. [C17] */
.lc-public-nav a[aria-current="page"] {
  color: var(--lc-primary);
  box-shadow: inset 0 -2px 0 var(--lc-gold);
}

/* Sticky-header anchor offset: keep in-page anchor targets clear of the
   sticky header (~60px) plus breathing room. [B12] */
#main-content, .lc-section[id] { scroll-margin-top: calc(var(--lc-space-8) + 60px); }

/* Newsletter form on small screens: full-width button, let the input shrink. [B13] */
@media (max-width: 480px) {
  .lc-newsletter-form .lc-btn { width: 100%; }
  .lc-newsletter-form .lc-input { min-width: 0; }
}

/* Hero on short viewports (landscape phones): don't force 70vh. [B16] */
@media (max-height: 520px) {
  .lc-hero { min-height: auto; padding-block: var(--lc-space-8); }
}

/* ===================== lc-010: public event detail page ===================== */

/* Per-event-type accent. The same six hues used by the calendar pills/legend
   (calendar.css) are re-expressed here as a custom property so the hero band,
   icon chip, and fact-card markers all share one source colour per event type.
   --et-fg is a darker shade for text/icons on light surfaces. lc-059: social
   was #b07a1b, which left the band's cream text at 3.3:1; it now matches the
   calendar's social pill (#8a5f12: title 5.0:1, type and meta lines 4.8:1). */
.lc-event-detail--meeting    { --et: #3b4a7e; --et-fg: #2c3a66; }
.lc-event-detail--social     { --et: #8a5f12; --et-fg: #6e4c0e; }
.lc-event-detail--ceremony   { --et: #5a3d6b; --et-fg: #4a3057; }
.lc-event-detail--fundraiser { --et: #2f6b4f; --et-fg: #245740; }
.lc-event-detail--volunteer  { --et: #1f6b6b; --et-fg: #195757; }
.lc-event-detail--other      { --et: #5b6473; --et-fg: #49515d; }

/* ---- Header band: event-type colour wash + serif title ---- */
.lc-event-hero {
  background: linear-gradient(150deg, var(--et, var(--lc-primary)), color-mix(in srgb, var(--et, var(--lc-primary)) 72%, #000));
  color: var(--lc-cream);
  padding: var(--lc-space-8) 0 var(--lc-space-6);
  border-bottom: 3px solid var(--lc-gold);
}
/* color-mix isn't universal yet; the plain --et background is a fine fallback. */
@supports not (background: color-mix(in srgb, red, blue)) {
  .lc-event-hero { background: var(--et, var(--lc-primary)); }
}
.lc-event-hero__back { margin: 0 0 var(--lc-space-4); }
.lc-event-hero__back a {
  color: var(--lc-cream) !important;
  display: inline-flex; align-items: center; gap: var(--lc-space-1);
  font-weight: var(--lc-weight-medium); text-decoration: none;
}
.lc-event-hero__back a:hover { text-decoration: underline; text-underline-offset: 0.15em; }
.lc-event-hero__type {
  display: inline-flex; align-items: center; gap: var(--lc-space-2);
  margin: 0 0 var(--lc-space-2);
  font-size: var(--lc-text-sm); font-weight: var(--lc-weight-semibold);
  text-transform: uppercase; letter-spacing: 0.06em; color: #f3ece0;
}
.lc-event-hero__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; border-radius: var(--lc-radius-pill);
  background: rgba(255, 255, 255, 0.16);
}
.lc-event-hero__title {
  font-family: var(--lc-font-display);
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.12; margin: 0; color: var(--lc-cream);
}
.lc-event-hero__meta {
  display: flex; flex-wrap: wrap; gap: var(--lc-space-2) var(--lc-space-5);
  margin: var(--lc-space-4) 0 0; font-size: var(--lc-text-lg); color: #f3ece0;
}
.lc-event-hero__meta > span { display: inline-flex; align-items: center; gap: var(--lc-space-2); }

/* ---- Body layout: flyer column + details on desktop, stacked on mobile ---- */
.lc-event-layout { display: block; }
.lc-event-layout--with-flyer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--lc-space-6);
  align-items: start;
}
@media (max-width: 760px) {
  .lc-event-layout--with-flyer { grid-template-columns: 1fr; }
}

/* ---- Featured flyer ---- */
.lc-event-flyer { margin: 0; }
.lc-event-flyer img {
  display: block; width: 100%; height: auto;
  border-radius: var(--lc-radius-xl);
  box-shadow: var(--lc-shadow-warm);
  border: 1px solid var(--lc-border);
}
/* On desktop, gently pin the flyer near the top as the details scroll. */
@media (min-width: 761px) {
  .lc-event-layout--with-flyer .lc-event-flyer { position: sticky; top: calc(var(--lc-space-8) + 60px); }
}

.lc-event-body { min-width: 0; }

/* ---- Key-facts card: icon + text rows ---- */
.lc-event-facts__row {
  display: flex; gap: var(--lc-space-3); align-items: flex-start; margin: 0;
}
.lc-event-facts__icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; border-radius: var(--lc-radius-md);
  background: color-mix(in srgb, var(--et, var(--lc-primary)) 12%, #fff);
  color: var(--et-fg, var(--lc-primary));
}
@supports not (background: color-mix(in srgb, red, blue)) {
  .lc-event-facts__icon { background: var(--lc-surface-alt); }
}

.lc-event-desc { white-space: pre-line; margin: 0; }

/* ---- Action row: a touch more separation from the cards above ---- */
.lc-event-actions { margin-block: var(--lc-space-2); }

/* ---- Volunteer card: subtle gold accent so the "lend a hand" ask stands out ---- */
.lc-event-volunteer { border-left: 4px solid var(--lc-gold); }
.lc-event-volunteer .lc-card__title { display: inline-flex; align-items: center; gap: var(--lc-space-2); }

/* lc-077: the jobs anyone can take, one row each: the title, the day and what
   it needs, and "I can help" beside them (under them below 22rem). */
.lc-helpjobs { list-style: none; margin: 0; padding: 0; }
.lc-helpjob { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.15rem var(--lc-space-3);
  align-items: center; padding: var(--lc-space-3) 0; border-top: 1px solid var(--lc-border); }
.lc-helpjob:first-child { border-top: 0; padding-top: var(--lc-space-1); }
.lc-helpjob > p { margin: 0; }
.lc-helpjob__title { font-weight: var(--lc-weight-semibold); font-size: var(--lc-text-lg); line-height: 1.3;
  overflow-wrap: anywhere; }
.lc-helpjob__meta { color: var(--lc-text-muted); font-size: var(--lc-text-sm); }
.lc-helpjob__meta strong { color: var(--lc-text); }
.lc-helpjob__go { margin-top: var(--lc-space-2); width: 100%; }
@media (min-width: 22rem) {
  .lc-helpjob { grid-template-columns: minmax(0, 1fr) auto; }
  .lc-helpjob > p { grid-column: 1; }
  .lc-helpjob__go { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; width: auto;
    padding-inline: 1rem; white-space: nowrap; }
}
.lc-event-facts__help a { display: inline-flex; align-items: center; min-height: var(--lc-tap-min);
  font-weight: var(--lc-weight-semibold); }

/* lc-077: the "I can help" form and the pages after it. */
.lc-offer-page .lc-container { max-width: 40rem; }
.lc-offer-page__back { margin: 0; }
.lc-offer-page__back a { display: inline-flex; align-items: center; gap: var(--lc-space-1); min-height: var(--lc-tap-min);
  font-weight: var(--lc-weight-medium); overflow-wrap: anywhere; }
.lc-offer-page__kicker { margin: 0; display: inline-flex; align-items: center; gap: var(--lc-space-2);
  color: var(--lc-warning-fg); font-weight: var(--lc-weight-semibold); text-transform: uppercase;
  letter-spacing: 0.04em; font-size: var(--lc-text-sm); }
.lc-offer-page__title { margin: 0; text-align: left; overflow-wrap: anywhere; }
.lc-offer-page__job { margin: 0; color: var(--lc-text-muted); font-size: var(--lc-text-lg); overflow-wrap: anywhere; }
.lc-offer-page__job strong { color: var(--lc-text); }
.lc-offer-how { display: grid; gap: var(--lc-space-2); }
.lc-offer-how > * { margin: 0; }
.lc-offer-steps { padding-left: 1.4rem; display: grid; gap: var(--lc-space-1); }
.lc-offer-form .lc-field:first-child { margin-top: 0; }
.lc-offer-done { max-width: 34rem; margin-inline: auto; text-align: left; }
.lc-offer-done .lc-card__title { margin-top: 0; }
.lc-offer-done .lc-btn { margin-top: var(--lc-space-2); }

.lc-event-portal-note { margin-top: var(--lc-space-2); }
/* lc-038: join invitation on members-only events. */
.lc-event-members { border-left: 4px solid var(--lc-primary-700); }
.lc-event-members .lc-card__title { display: inline-flex; align-items: center; gap: var(--lc-space-2); }

/* ===================== lc-011: in-page event "pop-in" dialog ===================== */

/* The whole dialog is a fixed full-viewport overlay. Hidden by default via the
   `hidden` attribute (no-JS visitors never see it — they get the full page from
   the row href). When shown, it centers a scrollable card over a dim backdrop. */
.lc-event-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--lc-space-5);
}
.lc-event-dialog[hidden] { display: none; }

/* Lock background scroll while the dialog is open (class toggled on <body>). */
.lc-dialog-open { overflow: hidden; }

/* Dim, slightly-blurred backdrop. Click anywhere on it to close. */
.lc-event-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 34, 0.62);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: lc-dialog-fade 0.18s ease;
}

/* The modal card: capped width, capped height with internal scroll, on-brand
   radius + warm shadow. Sits above the backdrop. */
.lc-event-dialog__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 56rem;
  max-height: calc(100vh - 2 * var(--lc-space-5));
  max-height: calc(100dvh - 2 * var(--lc-space-5));
  overflow: hidden;            /* the body element scrolls, not the card */
  display: flex;
  flex-direction: column;
  background: var(--lc-surface);
  border-radius: var(--lc-radius-xl);
  box-shadow: var(--lc-shadow-warm), 0 0 0 1px var(--lc-border);
  animation: lc-dialog-pop 0.2s ease;
}

/* Scroll region for the swapped event body. The body carries its own padding via
   the hero band / sections, so no extra padding here. */
.lc-event-dialog__body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Trim the body's own outer spacing so it sits flush inside the card: the hero
   band fills to the rounded top edge, and the trailing section sheds its big
   bottom pad. The card's overflow:hidden clips the hero to the radius. */
.lc-event-dialog__body .lc-event-hero { border-top-left-radius: var(--lc-radius-xl); border-top-right-radius: var(--lc-radius-xl); }
.lc-event-dialog__body > .lc-event-detail > .lc-section { padding-bottom: var(--lc-space-6); }

/* Floating close button, pinned top-right over the hero band. Light chip so it
   reads on the (dark, event-type-coloured) hero. */
.lc-event-dialog__close {
  position: absolute;
  top: var(--lc-space-3);
  right: var(--lc-space-3);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--lc-tap-min);
  height: var(--lc-tap-min);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--lc-cream);
  background: rgba(12, 16, 34, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--lc-radius-pill);
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.lc-event-dialog__close:hover { background: rgba(12, 16, 34, 0.55); }
.lc-event-dialog__close:focus-visible {
  outline: 2px solid var(--lc-cream);
  outline-offset: 2px;
}

/* Desktop sticky-flyer trick from the full page assumes page scroll; inside the
   card the body scrolls instead, so neutralise the sticky to avoid a jumpy flyer. */
.lc-event-dialog__body .lc-event-layout--with-flyer .lc-event-flyer { position: static; }

/* ---- Mobile: full-screen / bottom-sheet treatment ---- */
@media (max-width: 600px) {
  .lc-event-dialog { padding: 0; align-items: stretch; justify-content: stretch; }
  .lc-event-dialog__panel {
    max-width: none;
    width: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    /* Bottom-sheet feel: square the top isn't needed full-screen, but a rounded
       top reads softer when it slides up from the bottom. */
    border-radius: var(--lc-radius-xl) var(--lc-radius-xl) 0 0;
    margin-top: auto;          /* anchor to the bottom of the viewport */
    animation: lc-dialog-sheet 0.22s ease;
  }
  .lc-event-dialog__body .lc-event-hero { border-radius: var(--lc-radius-xl) var(--lc-radius-xl) 0 0; }
}

@keyframes lc-dialog-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lc-dialog-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}
@keyframes lc-dialog-sheet {
  from { transform: translateY(100%); }
  to   { transform: none; }
}

/* Reduced-motion: drop the entrance animations entirely. */
@media (prefers-reduced-motion: reduce) {
  .lc-event-dialog__backdrop,
  .lc-event-dialog__panel { animation: none; }
}

/* ===================== lc-066: featured bulletin callouts ===================== */

/* Homepage callouts: featured bulletin items (up to two) as quiet cards right
   under the hero, not banners. Left-aligned inside the centered landing.
   Generalized from lc-049's golf callout. */
.lc-section--notice { padding: var(--lc-space-6) 0 0; }
.lc-feature-callouts {
  display: flex;
  flex-direction: column;
  gap: var(--lc-space-3);
}
.lc-feature-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--lc-space-3) var(--lc-space-5);
  width: 100%;
  max-width: 48rem;
  margin-inline: auto;
  text-align: left;
}
.lc-feature-callout__text { flex: 1 1 20rem; min-width: 0; overflow-wrap: break-word; }
.lc-feature-callout p { margin: 0; }
.lc-feature-callout .lc-btn { flex: none; }
@media (max-width: 480px) {
  .lc-feature-callout .lc-btn { width: 100%; }
}

/* ===================== lc-049: golf tournament (Gregersen Open) ===================== */

/* Golf page hero (the fundraiser-green event band): the deadline as a gold
   pill so it cannot be missed. */
.lc-golf-deadline {
  display: inline-flex;
  align-items: center;
  gap: var(--lc-space-2);
  margin: var(--lc-space-5) 0 0;
  padding: var(--lc-space-2) var(--lc-space-4);
  background: var(--lc-gold);
  color: var(--lc-ink);
  border-radius: var(--lc-radius-pill);
  font-weight: var(--lc-weight-bold);
}
.lc-golf-hero__actions { margin: var(--lc-space-4) 0 0; }

/* The golf page reads left-aligned like an event page: undo the public
   stack's centred paragraph measure inside it. */
.lc-golf .lc-stack > p { margin-inline: 0; }

/* Option cards: one-line titles so the prices line up across the row. */
.lc-golf .lc-grid--4 .lc-card__title { font-size: var(--lc-text-xl); }
.lc-golf-price {
  font-family: var(--lc-font-display);
  font-size: var(--lc-text-2xl);
  line-height: 1.1;
  color: var(--et-fg, var(--lc-primary));
  margin: 0;
}

/* The three ways to register. */
.lc-golf-ways { padding-left: 1.25rem; margin: 0; }
.lc-golf-ways li + li { margin-top: var(--lc-space-2); }

/* Sign-up form: options and pay methods are whole-row tap targets. */
.lc-golf-form .lc-fieldset + .lc-fieldset { margin-top: var(--lc-space-5); }
.lc-golf-choices {
  display: grid;
  gap: var(--lc-space-2);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  margin-top: var(--lc-space-2);
}
.lc-golf-choice {
  display: flex;
  align-items: center;
  gap: var(--lc-space-3);
  min-height: var(--lc-tap-min);
  padding: var(--lc-space-3);
  border: 1px solid var(--lc-border-strong);
  border-radius: var(--lc-radius-md);
  background: var(--lc-surface);
  font-weight: var(--lc-weight-normal);
  cursor: pointer;
}
.lc-golf-choice:hover { border-color: var(--lc-primary); }
.lc-golf-choice:focus-within { outline: var(--lc-focus-ring); outline-offset: var(--lc-focus-offset); }
.lc-golf-choice:has(input:checked) {
  border-color: var(--lc-primary);
  box-shadow: inset 0 0 0 1px var(--lc-primary);
  background: var(--lc-surface-alt);
}

/* How to pay: the Zelle QR beside the payee line, stacking on a phone. The
   QR shows at exactly one third of its 636px file (12px modules -> 4px), so
   every module stays sharp and scannable; never scale it below that. */
.lc-golf-pay {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  max-width: 52rem;
}
.lc-golf-qr { display: flex; flex-wrap: wrap; align-items: center; gap: var(--lc-space-4); }
.lc-golf-qr img {
  display: block;
  flex: none;  /* never squeezed below its scannable size */
  width: 212px;
  height: auto;
  background: #fff;
  border: 1px solid var(--lc-border);
  border-radius: var(--lc-radius-md);
}
.lc-golf-qr__payee { flex: 1 1 10rem; margin: 0; }
.lc-golf-pay--chosen { border: 2px solid var(--lc-gold); }
.lc-golf-amount { font-size: var(--lc-text-xl); }
.lc-golf-taxid { white-space: nowrap; }
/* Thanks page: a quieter sub-heading inside the card, and air before the
   pay section that follows the card. */
.lc-golf-subhead { font-size: var(--lc-text-lg); color: var(--lc-primary); margin-block-start: var(--lc-space-5); }
.lc-golf .lc-card + .lc-section__title { margin-block-start: var(--lc-space-6); }
/* ===================== lc-050: Become a member + privacy ===================== */

/* Join page: the intro paragraph under the centered page head keeps the
   lead's measure (body class lc-join, so other page heads are untouched). */
.lc-join .lc-page-head p { max-width: 60ch; margin-inline: auto; }
.lc-join-jump { text-align: center; }

/* "Who can join": a short checklist, icon beside each line. */
.lc-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--lc-space-2); }
.lc-checklist li { display: flex; gap: var(--lc-space-2); align-items: flex-start; }
.lc-checklist .lc-icon { color: var(--lc-primary); margin-top: 0.15em; }

/* "How it works": numbered steps with a round indigo counter. */
.lc-steps { list-style: none; counter-reset: lc-step; padding: 0; margin: 0; display: grid; gap: var(--lc-space-5); }
.lc-steps > li { counter-increment: lc-step; position: relative; padding-left: 3rem; min-height: 2.25rem; }
.lc-steps > li::before {
  content: counter(lc-step);
  position: absolute; left: 0; top: 0;
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  border-radius: var(--lc-radius-pill);
  background: var(--lc-primary); color: #ffffff;
  font-weight: var(--lc-weight-semibold);
}
.lc-steps__title { font-size: var(--lc-text-lg); color: var(--lc-maroon); margin: 0; line-height: 1.3; padding-top: 0.4rem; }
.lc-steps p { margin: var(--lc-space-1) 0 0; }

/* The short "We only use this ... Privacy" line under every public form. The
   link gets a full tap target, like the footer's. */
.lc-form-privacy { font-size: var(--lc-text-sm); color: var(--lc-text-muted); margin: var(--lc-space-3) 0 0; }
.lc-form-privacy a { display: inline-flex; align-items: center; min-height: var(--lc-tap-min); }

/* Privacy page: headings sit closer to their own text than to the section before. */
.lc-privacy > h2 { margin-block-start: var(--lc-space-8); }
.lc-privacy > h3 { margin-block-start: var(--lc-space-5); font-size: var(--lc-text-lg); }
.lc-privacy > h3 + p { margin-block-start: var(--lc-space-1); }
.lc-privacy ul { padding-left: 1.25rem; }
.lc-privacy li + li { margin-top: var(--lc-space-2); }

/* Footer: the Privacy link sits on its own line under the columns, with a full
   tap target. */
.lc-public-footer__legal { margin: var(--lc-space-5) auto 0; text-align: center; font-size: var(--lc-text-sm); }
.lc-public-footer__legal a { display: inline-flex; align-items: center; min-height: var(--lc-tap-min); padding-inline: var(--lc-space-2); }
