/* ============================================================================
   DMA PUBLIC — SHARED COMPONENT PRIMITIVES  (reused by every interior public page)
   Derived from styleN-federation.html (LOCKED). Public theme layer; consumes public + brand
   tokens only. Components: interior page header · breadcrumbs · section head · date chip ·
   filter pills · card grid · pager · CTA-ish helpers.
   ============================================================================ */

/* On interior (non-hero) pages the fixed header is always solid. */
body:not(.has-hero) .pub-header { background: var(--pub-header-bg); box-shadow: 0 2px 14px -8px var(--pub-shadow); border-bottom: 1px solid var(--pub-line); }

/* ROOT header-clearance (shared layout rule, governs EVERY page):
   the public header is position:fixed (constant height = --pub-header-h; only its background
   changes on scroll, not its height). Non-hero interior pages offset their main content down by
   exactly the header height so content never slides under the header. Hero pages (Home, Event
   detail) keep 0 so the hero flows under the transparent header. This lives on <main> — not on any
   page-type class — so it applies to every current and future interior page regardless of markup. */
body:not(.has-hero) > main { padding-top: var(--pub-header-h); }
body.has-hero > main { padding-top: 0; }

/* ---------- INTERIOR PAGE HEADER BAND ---------- */
/* deep institutional navy (not the brighter brand-navy, which reads blue-purple in a large fill).
   Header clearance is handled once on <main> (see above) — this only carries its own band padding. */
.pub-pagehead { background: linear-gradient(120deg, var(--brand-navy-900), var(--brand-navy-800)); color: #fff;
  padding: 46px 0; }
.pub-pagehead__k { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: #ffb3ac; font-weight: 600; margin-bottom: 12px; }
.pub-pagehead h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.02em; }
.pub-pagehead p { color: #d6d8ee; margin-top: 12px; max-width: 60ch; font-size: 1.05rem; }

/* ---------- BREADCRUMBS ---------- */
.pub-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.82rem; margin-bottom: 16px; color: #b9bbe0; max-width: 100%; }
.pub-crumbs a { color: #d6d8ee; }
.pub-crumbs a:hover { color: #fff; }
.pub-crumbs__sep { opacity: .5; }
.pub-crumbs__current { color: #fff; font-weight: 600; }
/* Deliberately-unlinked grouping parent (dropdown parent with no landing page): muted + non-interactive
   so it is clearly NOT a link (links are brighter with a pointer cursor + hover). */
.pub-crumbs__parent { color: #9a9cc6; cursor: default; }
/* Full ancestor trails can be long; let each crumb shrink and long titles wrap so a trail never
   forces the page (or its own row) to scroll horizontally — matters most at 375px. */
.pub-crumbs > [itemprop="itemListElement"] { min-width: 0; overflow-wrap: anywhere; }
.pub-crumbs__current { overflow-wrap: anywhere; }
/* breadcrumbs shown on a light body (e.g. detail content) */
.pub-crumbs--dark a { color: var(--pub-accent-ink); }
.pub-crumbs--dark, .pub-crumbs--dark .pub-crumbs__current { color: var(--pub-mut); }
/* on-light variant — visible dark-on-light crumbs for pages with no dark hero (e.g. team/profile pages) */
.pub-crumbs--onlight { color: var(--pub-mut); }
.pub-crumbs--onlight a { color: var(--pub-accent-ink); }
.pub-crumbs--onlight a:hover { color: var(--pub-red-ink); }
.pub-crumbs--onlight .pub-crumbs__current { color: var(--pub-ink); }
.pub-crumbs--onlight .pub-crumbs__parent, .pub-crumbs--onlight .pub-crumbs__lead, .pub-crumbs--onlight .pub-crumbs__sep { color: var(--pub-mut); }

/* ---------- SECTION (Style N .sec / .sh — locked spec) ---------- */
.pub-section { padding: 70px 0; }
.pub-section.is-soft { background: var(--pub-soft); }
/* Canonical section header (one template for every collection section): kicker + heading on the
   left, optional "see all" link top-right on desktop; stacks on mobile. */
.pub-sh { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px 28px; margin: 0 0 40px; }
.pub-sh__text { max-width: 640px; }
.pub-sh h2 { font-weight: 600; font-size: 2rem; letter-spacing: -0.01em; }
.pub-sh__lead { color: var(--pub-mut); font-size: 1.02rem; line-height: 1.55; margin-top: 10px; max-width: 60ch; }
/* Centered variant — for sections with no "see all" whose body is centered (e.g. the partner wall). */
.pub-sh--center { justify-content: center; text-align: center; }
.pub-sh--center .pub-sh__text { margin: 0 auto; }
.pub-sh--center .pub-sh__lead { margin-left: auto; margin-right: auto; }
/* Canonical "see all" — one pattern replacing the previous five (text + arrow). */
.pub-seeall { display: inline-flex; align-items: center; gap: 6px; color: var(--pub-accent-ink); font-weight: 700; font-size: 0.9rem; white-space: nowrap; flex: none; padding-bottom: 4px; }
.pub-seeall svg { width: 1.05em; height: 1.05em; stroke: currentColor; fill: none; stroke-width: 2.2; }
.pub-seeall:hover { text-decoration: underline; }
.pub-seeall--onnavy { color: #fff; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .pub-seeall svg { transition: transform var(--motion-fast) var(--ease-out); }
  .pub-seeall:hover svg { transform: translateX(3px); }
}
@media (max-width: 640px) { .pub-sh { align-items: flex-start; margin-bottom: 28px; } }

/* ---------- FILTER PILLS ---------- */
/* Shared pill bar used by TWO things: (1) the CATEGORY HEADER on the list views (News/Blog/
   Publications/Press), where a single .pub-pills is the first child of .pub-wrap directly above the
   card grid; and (2) the Events filterbar (view toggle + Upcoming/Past/All) where two .pub-pills
   groups sit inside .evt-filterbar. The BASE stays a compact, content-hugging rounded container so
   the Events filterbar is untouched; the category-header separation is scoped below. */
.pub-pills { display: inline-flex; flex-wrap: wrap; gap: 5px; background: var(--pub-soft);
  border: 1px solid var(--pub-line); border-radius: 999px; padding: 5px; }
.pub-pills a { padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: 0.86rem;
  color: var(--pub-mut); line-height: 1.2;
  transition: color var(--motion-fast) var(--ease-out), background var(--motion-fast) var(--ease-out); }
.pub-pills a.is-active { background: var(--brand-navy); color: #fff; }
@media (hover: hover) {
  .pub-pills a:hover:not(.is-active) { background: var(--pub-card); color: var(--pub-accent-ink); }
}

/* CATEGORY HEADER redesign (list views only). Scoped with `.pub-wrap >` so ONLY the list-view
   category bar is affected — the Events filterbar's nested .pub-pills keep their compact treatment.
   Gives the bar clear separation from the grid it used to touch (it no longer visually merges into
   the cards), and lets its pills wrap cleanly at 375px. */
.pub-wrap > .pub-pills { margin-bottom: 30px; max-width: 100%; }
@media (max-width: 640px) { .pub-wrap > .pub-pills { margin-bottom: 22px; } }

/* ---------- DATE CHIP ---------- */
.pub-datechip { background: var(--pub-soft); border-radius: 8px; text-align: center; padding: 10px 12px; min-width: 66px; line-height: 1; }
.pub-datechip b { display: block; font-size: 1.5rem; font-weight: 600; color: var(--pub-accent-ink); }
.pub-datechip span { font-size: 0.7rem; text-transform: uppercase; color: var(--pub-mut); letter-spacing: .05em; }
.pub-datechip--solid { background: var(--brand-navy); }
.pub-datechip--solid b { color: #fff; }
.pub-datechip--solid span { color: #b9bbe0; }

/* ---------- CARD GRID ---------- */
.pub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

/* ---------- PAGER ---------- */
.pub-pager { display: flex; justify-content: center; gap: 6px; margin-top: 44px; flex-wrap: wrap; }
.pub-pager__btn { min-width: 40px; height: 40px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--pub-line); border-radius: 6px; font-weight: 700; font-size: 0.86rem; color: var(--pub-ink); background: var(--pub-card); }
.pub-pager__btn:hover { border-color: var(--pub-accent-ink); color: var(--pub-accent-ink); }
.pub-pager__btn.is-active { background: var(--brand-navy); color: #fff; border-color: var(--pub-accent-ink); }
.pub-pager__btn.is-disabled { opacity: .4; pointer-events: none; }

/* ---------- "LOAD MORE" BATCH LOADING (shared _InfiniteScroll primitive) ---------- */
/* CRITICAL: the [hidden] attribute drives the whole idle→loading→more→end state machine, but these
   controls set their own `display` (.pub-infinite__spin = inline-flex, .pub-infinite__more = .pub-btn),
   which would override the UA [hidden]{display:none} and leave the spinner + Load-more permanently
   visible. Force [hidden] to win so toggling el.hidden actually shows/hides them. Same for the pager. */
.pub-infinite [hidden] { display: none !important; }
.pub-pager[hidden] { display: none !important; }
/* PRIMARY pager hide, GATED ON SUCCESSFUL LOADER INIT: the scroll-loader adds .is-ready to the widget
   only after it has fully wired up (observer/button + listeners). So the classic pager is hidden ONLY
   when scroll-loading is genuinely working; if the JS fails to init, .is-ready is never added and the
   pager stays visible — pagination degrades gracefully instead of trapping the user on page 1. The JS
   also hides it directly (belt-and-suspenders for engines without :has()). */
.pub-pager:has(+ .pub-infinite.is-ready) { display: none !important; }
.pub-infinite { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 32px; text-align: center; }
.pub-infinite__spin { display: inline-flex; align-items: center; gap: 10px; color: var(--pub-mut); font-size: 0.9rem; font-weight: 600; }
.pub-infinite__dots { display: inline-flex; gap: 4px; }
.pub-infinite__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--pub-accent-ink); opacity: .5; animation: pub-inf-bounce 1s infinite ease-in-out both; }
.pub-infinite__dots i:nth-child(1) { animation-delay: -0.3s; }
.pub-infinite__dots i:nth-child(2) { animation-delay: -0.15s; }
@keyframes pub-inf-bounce { 0%, 80%, 100% { transform: scale(.5); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }
.pub-infinite__more { min-width: 180px; }
.pub-infinite__err { color: var(--pub-red-ink); font-size: 0.92rem; font-weight: 600; }
.pub-infinite__end { color: var(--pub-mut); font-size: 0.9rem; margin: 0; }
/* aria-live status is announced but visually redundant with the spinner/end/button → hide it visually. */
.pub-infinite__status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { .pub-infinite__dots i { animation: none; } }

/* ---------- REVEAL-ON-SCROLL (JS-gated so content is ALWAYS visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(20px);
  transition: opacity var(--motion-slow) var(--ease-out), transform var(--motion-slow) var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* ---------- EVENT CARD (shared: reused by /events list AND the Home events section) ---------- */
.evt-card { display: flex; flex-direction: column; background: var(--pub-card); border: 1px solid var(--pub-line);
  border-radius: 8px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
/* card hover consolidated into the shared @media(hover:hover) card block (end of file) */
/* FULL IMAGE, NO CROP (DMA) - see the matching note in home-v4.css. The card no longer forces a
   16/10 window over the poster; the media box takes its height from the image itself. */
.evt-card__media { position: relative; background: var(--pub-soft); overflow: hidden; }
.evt-card__media img { width: 100%; height: auto; display: block; }
.evt-card__tag { position: absolute; top: 12px; left: 12px; background: var(--brand-red); color: #fff;
  font-size: 0.68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 3px; }
.evt-card__date { position: absolute; bottom: 12px; left: 12px; }
.evt-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.evt-card__title { font-weight: 600; font-size: 1.12rem; line-height: 1.25; }
.evt-card__meta { display: flex; align-items: center; gap: 7px; color: var(--pub-mut); font-size: 0.86rem; }
.evt-card__meta svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
.evt-card__foot { margin-top: auto; padding-top: 8px; }
.evt-card__more { color: var(--pub-accent-ink); font-weight: 700; font-size: 0.86rem; display: inline-flex; align-items: center; gap: 6px; }
.evt-card__more svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.evt-card.is-past .evt-card__media img { filter: grayscale(45%); }

/* ---------- EMPTY ---------- */
.pub-empty { text-align: center; padding: 60px 20px; color: var(--pub-mut); }
.pub-empty b { display: block; color: var(--pub-ink); font-size: 1.1rem; margin-bottom: 6px; }
/* Feature empty-state: a deliberate "coming soon"/nothing-here panel (card + icon badge), for pages
   intentionally left empty (e.g. Knowledge Partners until DMA supplies the list). Token-driven. */
.pub-empty--feature { max-width: 620px; margin: 8px auto; padding: 48px 28px; background: var(--pub-card);
  border: 1px solid var(--pub-line); border-radius: var(--pub-radius); box-shadow: 0 10px 30px -24px var(--pub-shadow); }
.pub-empty--feature b { font-size: 1.35rem; margin-top: 6px; }
.pub-empty--feature p { max-width: 46ch; margin: 10px auto 0; line-height: 1.6; }
.pub-empty--feature .pub-btn { margin-top: 22px; }
.pub-empty__ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--pub-soft); color: var(--pub-accent-ink); margin-bottom: 6px; }
.pub-empty__ic :where(svg) { width: 30px; height: 30px; }

/* ============================================================================
   EDITORIAL — News / Blog / Press cards + article pages.
   Own class per content type (News ≠ Blog ≠ Press) but ALL card CSS lives here
   in the SHARED component layer (Fix-1 lesson) so cards never break when reused.
   ============================================================================ */

.pub-grid--list { grid-template-columns: 1fr; gap: 16px; }
.pub-pill__c { font-size: 0.72rem; opacity: .7; margin-left: 3px; }

/* ---- News + Blog cards (vertical, image-led) ---- */
.news-card, .blog-card { display: flex; flex-direction: column; background: var(--pub-card); border: 1px solid var(--pub-line);
    border-radius: 14px; overflow: hidden; transition: transform .18s, box-shadow .18s; }
/* news/blog card hover → shared @media(hover:hover) card block */
.news-card__media, .blog-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--pub-soft); overflow: hidden; display: block; }
.news-card__media img, .blog-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card__ph, .blog-card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--pub-line); }
.news-card__ph svg, .blog-card__ph svg { width: 46px; height: 46px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.news-card__tag, .blog-card__tag { position: absolute; top: 12px; left: 12px; background: var(--brand-navy); color: #fff;
    font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.news-card__body, .blog-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card__date { display: inline-flex; align-items: center; gap: 6px; color: var(--pub-mut); font-size: 0.78rem; }
.news-card__date svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.news-card__title, .blog-card__title { font-weight: 600; font-size: 1.12rem; line-height: 1.25; }
.news-card__sum, .blog-card__excerpt { color: var(--pub-mut); font-size: 0.9rem; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__foot, .blog-card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.news-card__src, .blog-card__by { color: var(--pub-mut); font-size: 0.8rem; }
.blog-card__dot { margin: 0 4px; }
.news-card__more, .blog-card__more { color: var(--pub-accent-ink); font-weight: 700; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.news-card__more svg, .blog-card__more svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.2; }

/* ---- Press card (horizontal newsroom row) ---- */
.press-card { display: flex; gap: 20px; background: var(--pub-card); border: 1px solid var(--pub-line); border-radius: 14px;
    padding: 20px 22px; transition: border-color .18s, box-shadow .18s; }
/* press card hover → shared @media(hover:hover) card block */
.press-card__date { flex-shrink: 0; width: 74px; text-align: center; background: var(--pub-soft); border-radius: 10px;
    padding: 12px 8px; align-self: flex-start; line-height: 1.1; }
.press-card__date b { display: block; font-size: 1.6rem; font-weight: 600; color: var(--pub-accent-ink); }
.press-card__date span { font-size: 0.72rem; text-transform: uppercase; color: var(--pub-mut); letter-spacing: .04em; }
.press-card__doc { display: inline-grid; place-items: center; color: var(--pub-accent-ink); }
.press-card__doc svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.press-card__body { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.press-card__tag { align-self: flex-start; background: var(--pub-soft); color: var(--pub-accent-ink); font-size: 0.72rem;
    font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.press-card__title { font-weight: 600; font-size: 1.16rem; line-height: 1.25; }
.press-card__sum { color: var(--pub-mut); font-size: 0.9rem; line-height: 1.5; }
.press-card__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; font-size: 0.82rem; color: var(--pub-mut); }
.press-card__foot svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; vertical-align: -2px; }
.press-card__more { color: var(--pub-accent-ink); font-weight: 700; display: inline-flex; align-items: center; gap: 5px; margin-left: auto; }
.press-card__more svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.2; }

/* ---- Article / detail page (shared by News/Blog/Press detail) ---- */
.pub-article { max-width: 820px; }
.pub-article__title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; line-height: 1.12; margin: 10px 0 14px; color: var(--pub-ink); }
.pub-article__meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--pub-mut); font-size: 0.86rem; margin-bottom: 22px; }
.pub-article__meta svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; vertical-align: -2px; margin-right: 5px; }
.pub-article__hero { width: 100%; border-radius: 14px; margin-bottom: 22px; }
.pub-article__source { margin-top: 22px; }
.pub-article__source a { color: var(--pub-accent-ink); font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.pub-article__source svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.pub-prose { color: var(--pub-ink); line-height: 1.75; font-size: 1.02rem; }
.pub-prose p { margin: 0 0 1.1em; }
.pub-prose h2, .pub-prose h3 { font-weight: 600; margin: 1.4em 0 .5em; line-height: 1.25; }
.pub-prose ul, .pub-prose ol { margin: 0 0 1.1em 1.3em; }
.pub-prose img { max-width: 100%; border-radius: 10px; }
.pub-prose a { color: var(--pub-accent-ink); text-decoration: underline; }
.pub-boilerplate, .pub-mediacontact { margin-top: 30px; padding: 18px 20px; background: var(--pub-soft); border-radius: 12px; }
.pub-boilerplate h3, .pub-mediacontact h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; color: var(--pub-ink); }
.pub-boilerplate p, .pub-mediacontact div { color: var(--pub-mut); font-size: 0.9rem; line-height: 1.55; }
.pub-mediacontact a { color: var(--pub-accent-ink); }

/* ============================================================================
   PEOPLE & COMMITTEES (P-B) — committee cards, person cards, member layouts,
   and the shared profile page. Own class per concept; ALL CSS in shared layer.
   ============================================================================ */

.pub-subhead { font-size: 1.1rem; font-weight: 600; color: var(--pub-ink); margin: 8px 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--pub-line);
    scroll-margin-top: calc(var(--pub-header-h) + 24px); }   /* anchor targets (#fees/#benefits) clear the fixed header */
.pub-subhead:not(:first-child) { margin-top: 40px; }

/* ---- committee card (top-bordered pillar) ---- */
.committee-card { background: var(--pub-card); border: 1px solid var(--pub-line); border-top: 3px solid var(--brand-navy);
    border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: transform .18s, box-shadow .18s; }
.committee-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -28px color-mix(in srgb,var(--brand-navy) 40%,transparent); }
.committee-card__top { display: flex; align-items: center; justify-content: space-between; }
.committee-card__icon { font-size: 1.8rem; line-height: 1; }
.committee-card__count { font-size: 0.74rem; font-weight: 700; color: var(--pub-mut); background: var(--pub-soft); padding: 3px 10px; border-radius: 999px; }
.committee-card__title { font-size: 1.16rem; font-weight: 600; line-height: 1.25; }
.committee-card__desc { color: var(--pub-mut); font-size: 0.9rem; line-height: 1.5; flex: 1; }
.committee-card__more { color: var(--pub-accent-ink); font-weight: 700; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 5px; margin-top: auto; }
.committee-card__more svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.2; }

/* ---- person card (Our Team grid + Leadership grid) ---- */
.person-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.person-card { background: var(--pub-card); border: 1px solid var(--pub-line); border-radius: 12px; overflow: hidden;
    display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.person-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -28px color-mix(in srgb,var(--brand-navy) 40%,transparent); }
.person-card__photo { display: block; aspect-ratio: 1 / 1; background: var(--pub-soft); overflow: hidden; }
.person-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; display: block; }
.person-card__ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--pub-line); }
.person-card__ph svg { width: 46px; height: 46px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.person-card__body { padding: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.person-card__role { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--pub-red-ink); }
.person-card__name { font-size: 1.02rem; font-weight: 600; line-height: 1.25; }
.person-card__desig { color: var(--pub-ink); font-size: 0.84rem; }
.person-card__org { color: var(--pub-mut); font-size: 0.82rem; }
.person-card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; gap: 12px; }
.person-card__li { color: var(--pub-mut); display: inline-flex; }
.person-card__li svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; }
.person-card__more { color: var(--pub-accent-ink); font-weight: 700; font-size: 0.82rem; display: inline-flex; align-items: center; gap: 4px; margin-left: auto; }
.person-card__more svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; }

/* ---- member pillars (functional committees) ---- */
.member-pillars { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.member-pillar { background: var(--pub-card); border: 1px solid var(--pub-line); border-top: 3px solid var(--brand-red);
    border-radius: 10px; padding: 18px; }
.member-pillar__role { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--pub-red-ink); }
.member-pillar__name { font-size: 1.05rem; font-weight: 600; margin-top: 4px; }
.member-pillar__desig { color: var(--pub-ink); font-size: 0.84rem; margin-top: 3px; }
.member-pillar__org { color: var(--pub-mut); font-size: 0.82rem; }
/* Considered hover for the (image-less) functional-committee pillar: lift + shadow + a name colour
   shift to brand navy accent. Pointer-only; keyboard/AT via :focus-within; transform + theme-aware
   token colour only. Previously the pillar had no hover at all. */
.member-pillar { transition: transform var(--motion-base) var(--ease-spring), box-shadow var(--motion-base) var(--ease-spring); }
.member-pillar__name { transition: color var(--motion-fast) var(--ease-out); }
@media (hover: hover) {
  .member-pillar:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -28px var(--pub-shadow); }
  .member-pillar:hover .member-pillar__name, .member-pillar:hover .member-pillar__name a { color: var(--pub-accent-ink); }
}
.member-pillar:focus-within { transform: translateY(-4px); box-shadow: 0 22px 44px -28px var(--pub-shadow); }
.member-pillar:focus-within .member-pillar__name, .member-pillar:focus-within .member-pillar__name a { color: var(--pub-accent-ink); }
@media (prefers-reduced-motion: reduce) {
  .member-pillar, .member-pillar__name, .member-pillar__name a { transition: none !important; }
  .member-pillar:hover, .member-pillar:focus-within { transform: none !important; box-shadow: none !important; }
}

/* ---- member list (compact) ---- */
.member-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--pub-line); border-radius: 12px; overflow: hidden; }
.member-list__row { display: grid; grid-template-columns: 220px 1fr; gap: 4px 18px; padding: 14px 18px; align-items: baseline; }
.member-list__row:not(:last-child) { border-bottom: 1px solid var(--pub-line); }
.member-list__row:nth-child(even) { background: var(--pub-soft); }
.member-list__role { font-size: 0.74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--pub-red-ink); }
.member-list__name { font-weight: 700; color: var(--pub-ink); }
.member-list__meta { grid-column: 2; color: var(--pub-mut); font-size: 0.86rem; }

/* ---- shared profile page (President's Desk + team profile) ---- */
.profile { display: grid; grid-template-columns: 300px 1fr; gap: 40px; margin-top: 20px; }
.profile__side { position: sticky; top: calc(var(--pub-header-h) + 20px); align-self: start; }
.profile__photo { aspect-ratio: 4 / 5; background: var(--pub-soft); border-radius: 14px; overflow: hidden; }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; display: block; }
.profile__ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--pub-line); }
.profile__ph svg { width: 64px; height: 64px; stroke: currentColor; fill: none; stroke-width: 1.2; }
.profile__id { margin-top: 16px; }
.profile__name { font-size: 1.5rem; font-weight: 600; line-height: 1.15; color: var(--pub-ink); }
.profile__desig { color: var(--pub-accent-ink); font-weight: 700; margin-top: 4px; }
.profile__org { color: var(--pub-mut); }
.profile__term { color: var(--pub-mut); font-size: 0.86rem; margin-top: 4px; }
.profile__links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.profile__links a { color: var(--pub-accent-ink); font-weight: 600; font-size: 0.86rem; display: inline-flex; align-items: center; gap: 6px; }
.profile__links svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
/* social + other links moved UNDER the content, in a single row */
.profile__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--pub-line); }
.profile__foot a { color: var(--pub-accent-ink); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.profile__foot svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.profile__quote { font-size: 1.3rem; font-weight: 700; line-height: 1.4; color: var(--pub-accent-ink); border-left: 3px solid var(--brand-red);
    padding-left: 18px; margin: 6px 0 22px; }
.profile__committees { margin-top: 30px; }
.profile__committees h2 { font-size: 1.05rem; font-weight: 600; margin-bottom: 12px; }
.profile__committees ul { list-style: none; margin: 0; padding: 0; }
.profile__committees li { padding: 10px 0; border-bottom: 1px solid var(--pub-line); display: flex; gap: 12px; align-items: baseline; }
.profile__committees .profile__role { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--pub-red-ink); min-width: 130px; }
.profile__committees a { color: var(--pub-accent-ink); font-weight: 600; }

@media (max-width: 760px) {
  .profile { grid-template-columns: 1fr; gap: 22px; }
  .profile__side { position: static; }
  .profile__photo { max-width: 260px; }
  .member-list__row { grid-template-columns: 1fr; }
  .member-list__meta { grid-column: 1; }
}

/* ============================================================================
   LIBRARY (P-C) — resource/newsletter/album cards. Own class per type; shared layer.
   ============================================================================ */
.pub-btn--sm { padding: 8px 14px; font-size: 0.82rem; }

/* ---- resource / publication row ---- */
.resource-card { display: flex; gap: 18px; align-items: center; background: var(--pub-card); border: 1px solid var(--pub-line);
    border-radius: 12px; padding: 18px 20px; transition: border-color .18s, box-shadow .18s; }
.resource-card:hover { border-color: var(--pub-accent-ink); box-shadow: 0 18px 40px -30px color-mix(in srgb,var(--brand-navy) 40%,transparent); }
.resource-card__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 10px; background: var(--pub-soft);
    display: grid; place-items: center; color: var(--pub-accent-ink); }
.resource-card__icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.resource-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.resource-card__cat { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--pub-red-ink); }
/* members-only marker — the library list tells you BEFORE you click that sign-in is required */
.resource-card__lock { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
    color: var(--pub-accent-ink); background: color-mix(in srgb, var(--pub-accent-ink) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--pub-accent-ink) 28%, transparent);
    border-radius: 999px; padding: 2px 9px; }
.resource-card__lock svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.resource-card__title { font-size: 1.06rem; font-weight: 600; line-height: 1.25; }
.resource-card__desc { color: var(--pub-mut); font-size: 0.88rem; line-height: 1.5; }
.resource-card__meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--pub-mut); font-size: 0.8rem; margin-top: 2px; }
.resource-card__meta svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; vertical-align: -1px; margin-right: 4px; }
.resource-card__fn { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; opacity: .8; }
.resource-card__action { flex-shrink: 0; }
.resource-card__soon { color: var(--pub-mut); font-size: 0.82rem; font-style: italic; }

/* ---- newsletter card ---- */
.newsletter-card { display: flex; flex-direction: column; background: var(--pub-card); border: 1px solid var(--pub-line);
    border-radius: 14px; overflow: hidden; transition: transform .18s, box-shadow .18s; }
.newsletter-card:hover { transform: translateY(-5px); box-shadow: 0 24px 46px -28px color-mix(in srgb,var(--brand-navy) 40%,transparent); }
.newsletter-card__cover { aspect-ratio: 4 / 3; background: var(--pub-soft); overflow: hidden; }
.newsletter-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.newsletter-card__ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--pub-line); }
.newsletter-card__ph svg { width: 42px; height: 42px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.newsletter-card__body { padding: 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.newsletter-card__period { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--pub-red-ink); }
.newsletter-card__title { font-size: 1.08rem; font-weight: 600; line-height: 1.25; }
.newsletter-card__sum { color: var(--pub-mut); font-size: 0.88rem; line-height: 1.5; flex: 1; }
.newsletter-card__foot { margin-top: auto; padding-top: 6px; }

/* ---- gallery album card ---- */
.album-card { display: flex; flex-direction: column; background: var(--pub-card); border: 1px solid var(--pub-line);
    border-radius: 14px; overflow: hidden; transition: transform .18s, box-shadow .18s; }
.album-card:hover { transform: translateY(-5px); box-shadow: 0 24px 46px -28px color-mix(in srgb,var(--brand-navy) 40%,transparent); }
.album-card__cover { position: relative; aspect-ratio: 3 / 2; background: var(--pub-soft); overflow: hidden; display: block; }
.album-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.album-card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--pub-line); }
.album-card__ph svg { width: 46px; height: 46px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.album-card__count { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,.6); color: #fff;
    font-size: 0.74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.album-card__count svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }
.album-card__body { padding: 16px 18px; }
.album-card__title { font-size: 1.06rem; font-weight: 600; }
.album-card__date { color: var(--pub-mut); font-size: 0.82rem; margin-top: 4px; }
.album-card__date svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; vertical-align: -1px; margin-right: 4px; }

@media (max-width: 620px) {
  .resource-card { flex-wrap: wrap; }
  .resource-card__action { width: 100%; }
}

/* ============================================================================
   MEMBERSHIP (P-D) — category cards, fee tables, benefits, display-only join form.
   Own class per concept; ALL CSS in shared layer. Forms are display-only in Phase 1.
   ============================================================================ */

/* ---- category card ---- */
.membership-card { background: var(--pub-card); border: 1px solid var(--pub-line); border-top: 3px solid var(--brand-navy);
    border-radius: 6px; padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; }
/* membership card hover → shared @media(hover:hover) card block */
.membership-card__name { font-size: 1.28rem; font-weight: 600; color: var(--pub-accent-ink); line-height: 1.2; }
.membership-card__who { display: flex; gap: 8px; align-items: flex-start; color: var(--pub-mut); font-size: 0.9rem; line-height: 1.5; }
.membership-card__who svg { width: 15px; height: 15px; stroke: var(--brand-navy); fill: none; stroke-width: 2.4; flex-shrink: 0; margin-top: 3px; }
.membership-card__fee { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.membership-card__fee-lead { font-size: 0.82rem; font-weight: 600; color: var(--pub-mut); }
.membership-card__fee-amount { font-size: 2.1rem; font-weight: 600; color: var(--pub-accent-ink); line-height: 1; letter-spacing: -.01em; }
.membership-card__fee-period { font-size: 0.82rem; font-weight: 600; color: var(--pub-mut); }
.membership-card__foot { display: flex; gap: 10px; align-items: center; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--pub-line); }

/* ---- fee schedule ---- */
.fee-block { margin-bottom: 30px; }
.fee-block__title { font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; }
.fee-tablewrap { overflow-x: auto; border: 1px solid var(--pub-line); border-radius: 12px; }
.fee-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.fee-table th, .fee-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--pub-line); font-size: 0.9rem; }
.fee-table thead th { background: var(--pub-soft); font-size: 0.74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--pub-mut); font-weight: 600; }
.fee-table tbody tr:last-child td { border-bottom: 0; }
.fee-table .fee-num { text-align: right; font-variant-numeric: tabular-nums; }
.fee-table .fee-total { font-weight: 600; color: var(--pub-accent-ink); }
.fee-billing { font-size: 0.74rem; font-weight: 700; color: var(--pub-mut); background: var(--pub-soft); padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.fee-note { color: var(--pub-mut); font-size: 0.8rem; margin-top: 8px; }

/* ---- benefits ---- */
.benefit-group { margin-top: 18px; }
.benefit-group h3 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; }
.benefit-list { list-style: none; margin: 0 0 6px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px 24px; }
.benefit-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--pub-ink); font-size: 0.92rem; line-height: 1.45; }
.benefit-list svg { width: 17px; height: 17px; stroke: var(--brand-navy); fill: none; stroke-width: 2.4; flex-shrink: 0; margin-top: 2px; }

/* ---- CTA band ---- */
.membership-cta { margin-top: 40px; background: var(--brand-navy); color: #fff; border-radius: 16px;
    padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.membership-cta h3 { font-size: 1.3rem; font-weight: 600; }
.membership-cta p { color: #c7c9ee; margin-top: 4px; }

/* ---- display-only join form ---- */
.join-notice { display: flex; gap: 14px; align-items: flex-start; background: var(--pub-soft); border: 1px solid var(--pub-line);
    border-left: 4px solid var(--brand-red); border-radius: 12px; padding: 16px 18px; margin: 6px 0 24px; }
.join-notice svg { width: 22px; height: 22px; stroke: var(--brand-red); fill: none; stroke-width: 2; flex-shrink: 0; }
.join-notice b { display: block; margin-bottom: 3px; }
.join-notice a { color: var(--pub-accent-ink); font-weight: 700; }
.join-form fieldset { border: 0; margin: 0; padding: 0; }
.join-form fieldset[disabled] { opacity: .75; }
.join-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pub-field { margin-bottom: 18px; }
/* Normal weight, not bold - client request 22 Oct. Applies to every public form label
   (login, register, contact, membership). The checkbox label below keeps its own weight. */
.pub-field label { display: block; font-size: 0.84rem; font-weight: 400; margin-bottom: 6px; color: var(--pub-ink); }
.pub-field input, .pub-field select, .pub-field textarea { width: 100%; border: 1px solid var(--pub-line); border-radius: 9px;
    padding: 11px 13px; font-family: inherit; font-size: 0.92rem; color: var(--pub-ink); background: var(--pub-field-bg); }
.pub-field input:focus, .pub-field select:focus, .pub-field textarea:focus { outline: none; border-color: var(--pub-accent-ink); }
.join-form__hint { color: var(--pub-mut); font-size: 0.82rem; margin-left: 12px; font-style: italic; }
.join-form__group { font-size: 1.02rem; font-weight: 600; color: var(--pub-accent-ink); margin: 6px 0 16px; padding-top: 14px; border-top: 1px solid var(--pub-line); }

/* ---- Join chooser (Individual vs Organisation) — two cards on existing primitives ---- */
.join-choose { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.join-choose__card { display: flex; flex-direction: column; gap: 12px; background: var(--pub-card); border: 1px solid var(--pub-line);
    border-top: 3px solid var(--brand-navy); border-radius: 14px; padding: 26px 24px; }
.join-choose__name { font-size: 1.2rem; font-weight: 600; color: var(--pub-accent-ink); }
.join-choose__who { display: flex; gap: 10px; align-items: flex-start; color: var(--pub-ink); font-size: 0.95rem; }
.join-choose__who svg { width: 18px; height: 18px; flex: none; margin-top: 2px; stroke: var(--brand-red); fill: none; stroke-width: 2; }
.join-choose__foot { margin-top: auto; padding-top: 6px; }

/* ---- Contact / enquiry form (functional; reuses .pub-field / .join-form__row primitives) ---- */
.pub-contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.pub-contact__h { font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--pub-accent-ink); margin: 4px 0 10px; }
.pub-contact__list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.pub-contact__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--pub-ink); font-size: 0.95rem; }
.pub-contact__list svg { width: 18px; height: 18px; flex: none; margin-top: 2px; stroke: var(--brand-navy); }
.pub-contact__list a { color: var(--pub-accent-ink); font-weight: 600; }
.pub-field__opt { color: var(--pub-mut); font-weight: 400; font-size: 0.78rem; }
.pub-field--check label { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--pub-ink); }
.pub-field--check input { width: auto; margin-top: 3px; }
/* checkbox on the left, a secondary link (e.g. "Forgot password?") on the right */
.pub-field--split { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pub-field--split label { margin: 0; }
/* The link in this row ("Forgot password?") is a SECONDARY action sitting beside the checkbox
   label, not a link in running copy, so it takes the label's size and sits one weight step above
   it — not the 700 that .pub-link uses everywhere else, which made it the loudest thing on the
   sign-in card and heavier than the "Keep Me Signed In" it is paired with. This mirrors the admin
   sign-in row, where the label is 400 and the forgot link 500. */
.pub-field--split .pub-link { font-size: 0.84rem; font-weight: 500; }  /* 0.84rem = `.pub-field label` above */
/* Full-width primary action, as on the CMS sign-in card: on a narrow sign-in form a button sized
   to its own label looks stranded under full-width inputs. Doubled selector for the same reason
   the colour variants are doubled - see the mapping note in public.css. */
.pub-btn.pub-btn--block { width: 100%; }
/* Inline + summary validation (server-rendered from ModelState).
   Errors + the required-field asterisk are always a literal RED — never the brand accent token,
   which this theme maps to teal (--brand-red = #39b5ac). Validation must read as an error. */
.pub-field__err,
.field-validation-error,
.text-danger,
.validation-summary-errors li,
.v4-err,
.v4-formsummary ul li { display: block; color: #d32f2f; font-size: 0.82rem; margin-top: 6px; }
/* Same errored-field outline as public.css - the doubled class is explained there. */
.pub-field input.input-validation-error.input-validation-error,
.pub-field select.input-validation-error.input-validation-error,
.pub-field textarea.input-validation-error.input-validation-error,
.v4-field input.input-validation-error.input-validation-error,
.v4-field select.input-validation-error.input-validation-error,
.v4-field textarea.input-validation-error.input-validation-error {
    border-color: #d32f2f;
    border-width: 2px;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, .12);
}
.pub-formsummary ul { margin: 0 0 18px; padding: 12px 14px 12px 32px; list-style: disc; background: var(--brand-red-tint); border: 1px solid var(--brand-red); border-radius: 9px; color: var(--brand-red-600); font-size: 0.88rem; }
.pub-formsummary ul:empty { display: none; }
/* Success confirmation (PRG) */
.pub-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; margin-bottom: 22px; font-size: 0.92rem; }
.pub-alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.pub-alert--ok { background: #e8f6ec; border: 1px solid #34a853; color: #1e7a37; }
.pub-alert--ok svg { stroke: #1e7a37; }
.pub-alert--err { background: var(--brand-red-tint); border: 1px solid var(--brand-red); color: var(--brand-red-600); }
.pub-alert--err svg { stroke: var(--brand-red-600); }
/* Honeypot — visually hidden, off the tab order; real users never see it */
.pub-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Shared submit-busy state (paired with [data-busy-submit] in site.js) — token-only spinner. */
.pub-spin { display: inline-block; width: 1em; height: 1em; border: 2px solid currentColor;
  border-right-color: transparent; border-radius: 50%; vertical-align: -0.15em; animation: pub-spin 0.6s linear infinite; }
@keyframes pub-spin { to { transform: rotate(360deg); } }
.pub-btn[aria-busy="true"], .pub-btn:disabled { cursor: progress; opacity: .8; }
.pub-btn:disabled { transform: none !important; box-shadow: none !important; filter: none !important; }
@media (prefers-reduced-motion: reduce) { .pub-spin { animation-duration: 1.4s; } }

@media (max-width: 860px) { .pub-contact { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 620px) {
  .join-form__row { grid-template-columns: 1fr; }
  .membership-cta { flex-direction: column; align-items: flex-start; }
}

/* ============================================================================
   Social links + profile destinations (homepage capabilities) — shared layer.
   ============================================================================ */
/* Card icon row (shared): 18px monoline, muted at rest, one non-wrapping horizontal row,
   circular navy-tint hover. Consistent spacing, vertically centred. */
.social-links { display: inline-flex; gap: 6px; align-items: center; flex-wrap: nowrap; }
/* NB: selector is doubled (.social-links .social-links__a) so the muted rest colour beats the
   global `.dma-public a { color: inherit }` (0,1,1); otherwise icons inherit ink at rest. */
.social-links .social-links__a { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center;
    background: transparent; color: var(--pub-mut);
    transition: background var(--motion-fast) var(--ease-out), color var(--motion-fast) var(--ease-out); }
.social-links__a svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.social-links__a:active { background: var(--brand-navy-tint); color: var(--pub-accent-ink); }
.social-links__a:focus-visible { outline: 2px solid var(--brand-navy); outline-offset: 2px; background: var(--brand-navy-tint); color: var(--pub-accent-ink); }
@media (hover: hover) {
  .social-links__a:hover { background: var(--brand-navy-tint); color: var(--pub-accent-ink); }
}

.person-card__dests, .profile__dests { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0; }
.person-card__dest, .profile__dest { display: inline-flex; align-items: center; gap: 4px; font-size: 0.82rem; font-weight: 700; color: var(--pub-accent-ink); }
.person-card__dest svg, .profile__dest svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.profile__link { display: inline-flex; align-items: center; gap: 6px; color: var(--pub-accent-ink); font-weight: 600; font-size: 0.86rem; }
.profile__link svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }

/* home leadership person tweaks (role label + destinations + image link) */
.home-person__img { display: block; }
.home-person__role { color: var(--pub-red-ink); font-weight: 700; font-size: 0.82rem; }
.home-person__org { color: var(--pub-mut); font-size: 0.82rem; }
.home-person__dest { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8rem; font-weight: 700; color: var(--pub-accent-ink); margin-top: 2px; }
.home-person__dest svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.2; }

/* ============================================================================
   Homepage completion sections (D-DELTA 2026-09-02) — shared layer, no emoji.
   ============================================================================ */

/* About — Style N .state statement-band idiom: centred statement + supporting line + actions */
.pub-about { text-align: center; }
.pub-about__inner { max-width: 780px; margin: 0 auto; }
.pub-about__statement { font-weight: 600; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.25;
    letter-spacing: -0.01em; max-width: 26ch; margin: 0 auto; color: var(--pub-ink); }
.pub-about__statement span { color: var(--pub-accent-ink); }
.pub-about__statement .u { color: var(--pub-red-ink); }
.pub-about__mission { color: var(--pub-mut); max-width: 60ch; margin: 20px auto 0; font-size: 1.05rem; }
.pub-about__mission p { margin: 0; }
.pub-about__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }

/* ============================================================================
   President's Desk — navy quote band: portrait left (circular), quote left,
   diagonal navy gradient. The quote is set in the display serif
   (--font-display-serif); everything else stays Libre Franklin.
   ============================================================================ */
.pub-pres__link { display: inline-flex; align-items: center; gap: 6px; color: var(--pub-accent-ink);
    font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.pub-pres__link:hover { text-decoration: underline; }
.pub-pres__link svg { width: 1em; height: 1em; }
.pub-pres__link--onnavy { color: #fff; }
.pub-pres-a__links { display: flex; flex-wrap: wrap; gap: 10px 28px; }

.pub-pres-a__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; display: block; }
.pub-pres-a__media--circle { width: 190px; height: 190px; border-radius: 50%; overflow: hidden;
    flex: 0 0 auto; box-shadow: 0 0 0 6px rgba(255,255,255,.10); }
.pub-pres-a__k { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
    font-weight: 600; color: #c9cae8; margin-bottom: 16px; }
.pub-pres-a__quote { font-family: var(--font-display-serif); font-weight: 500; font-style: italic;
    letter-spacing: 0; margin: 0 0 22px; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.36;
    color: #fff; max-width: 30ch; }
.pub-pres-a__who { margin-bottom: 20px; }
.pub-pres-a__who b { display: block; font-size: 1.05rem; color: #fff; }
.pub-pres-a__who span { display: block; font-size: 0.9rem; color: #c9cae8; }

/* portrait left (circular), quote left; diagonal navy gradient (inherits .pub-cta-band) */
.pub-pres-a__row { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; text-align: left; }

/* Latest @ DMA card */
.latest-card { display: flex; flex-direction: column; background: var(--pub-card); border: 1px solid var(--pub-line);
    border-radius: 14px; overflow: hidden; transition: transform .18s, box-shadow .18s; }
/* latest card hover → shared @media(hover:hover) card block */
.latest-card__media { position: relative; aspect-ratio: 16/10; background: var(--pub-soft); overflow: hidden; display: block; }
.latest-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.latest-card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--pub-line); }
.latest-card__ph svg { width: 42px; height: 42px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.latest-card__tag { position: absolute; top: 12px; left: 12px; background: var(--brand-red); color: #fff;
    font-size: 0.7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.latest-card__tag--inline { position: static; display: inline-block; background: var(--pub-soft); color: var(--pub-accent-ink); margin-bottom: 8px; }
.latest-card__body { padding: 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.latest-card__date { color: var(--pub-mut); font-size: 0.78rem; display: inline-flex; align-items: center; gap: 6px; }
.latest-card__date svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }
.latest-card__title { font-size: 1.15rem; font-weight: 600; color: var(--pub-ink); line-height: 1.25; letter-spacing: -0.01em; }
.latest-card__sum { color: var(--pub-mut); font-size: 0.88rem; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.latest-card__more { margin-top: auto; color: var(--pub-accent-ink); font-weight: 700; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 5px; }
.latest-card__more svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.2; }

/* Membership section CTA row */
.pub-membership__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }

/* Publications / Newsletter band */
.pub-pubs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pub-pub { display: flex; align-items: center; gap: 14px; background: var(--pub-card); border: 1px solid var(--pub-line);
    border-radius: 12px; padding: 16px 18px; transition: border-color .18s, box-shadow .18s; }
.pub-pub:hover { border-color: var(--pub-accent-ink); box-shadow: 0 16px 36px -28px color-mix(in srgb,var(--brand-navy) 40%,transparent); }
.pub-pub__ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px; background: var(--pub-soft); display: grid; place-items: center; color: var(--pub-accent-ink); }
.pub-pub__ic svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.pub-pub__meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pub-pub__type { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--pub-red-ink); }
.pub-pub__title { font-size: 1rem; font-weight: 700; color: var(--pub-ink); line-height: 1.3; }
.pub-pub__sub { font-size: 0.78rem; color: var(--pub-mut); }
.pub-pub__dl { color: var(--pub-accent-ink); flex-shrink: 0; }
.pub-pub__dl svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
/* Subscribe CTA — intentional, centred, divided from the download cards. */
.pub-pubs__cta { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--pub-line);
    display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.pub-pubs__cta-text { color: var(--pub-mut); font-size: 1.02rem; line-height: 1.55; max-width: 48ch; margin: 0; }

/* Newsletter signup block (public capture form) — reuses .pub-form primitives.
   Compact inline row on desktop; stacks cleanly on mobile. */
.pub-nl { width: 100%; max-width: 720px; margin: 0 auto; text-align: left; }
.pub-nl__intro { text-align: center; margin-bottom: 18px; }
.pub-nl__h { display: block; font-size: 1.25rem; font-weight: 600; color: var(--pub-accent-ink); line-height: 1.2; }
.pub-nl__lead { color: var(--pub-mut); font-size: 1rem; line-height: 1.55; max-width: 48ch; margin: 6px auto 0; }
.pub-nlform { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
.pub-nlform .pub-field { flex: 1 1 200px; margin: 0; }
.pub-nlform__consent { flex: 1 1 100%; }
.pub-nlform__btn { flex: 0 0 auto; }
.pub-nlform .pub-alert { flex: 1 1 100%; }
@media (max-width: 560px) {
  .pub-nlform { flex-direction: column; align-items: stretch; }
  .pub-nlform .pub-field, .pub-nlform__btn { flex: 1 1 auto; width: 100%; }
  .pub-nlform__btn { justify-content: center; }
}

/* Contact band */
.pub-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.pub-contact__row { display: flex; align-items: flex-start; gap: 10px; color: var(--pub-ink); margin-bottom: 12px; line-height: 1.5; }
.pub-contact__row svg { width: 17px; height: 17px; stroke: var(--brand-navy); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 3px; }
.pub-contact__row a { color: var(--pub-ink); }
.pub-contact__body .pub-btn { margin-top: 10px; }
/* Compact section modifier (shorter band — e.g. the FAQ teaser). */
.pub-section--tight { padding: 46px 0; }
.pub-section--tight .pub-sh { margin-bottom: 22px; }
/* Compact FAQ teaser CTA (centred under the canonical header). */
.pub-faqt__cta { text-align: center; margin-top: 4px; }
.pub-contact__map { aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; border: 1px solid var(--pub-line); }
.pub-contact__map iframe { width: 100%; height: 100%; border: 0; display: block; }
/* On the /contact page the map is a full-width block after the info+form grid — give it breathing room
   (homepage keeps its own grid gap, so scope this to the sibling-after-grid case only). */
.pub-contact + .pub-contact__map { margin-top: 32px; }

@media (max-width: 860px) {
  .pub-about__grid { grid-template-columns: 1fr; gap: 22px; }
  /* President variants stack cleanly on small screens */
  .pub-pres-a__row { grid-template-columns: 1fr; gap: 24px; text-align: center; justify-items: center; }
  .pub-pres-a__media { width: 150px; height: 150px; }
  .pub-pres-a__quote { max-width: none; }
  .pub-pubs { grid-template-columns: 1fr; }
  .pub-contact__grid { grid-template-columns: 1fr; gap: 22px; }
}

/* ============================================================================
   EVENTS feature (Style N .efeat) — big featured card + list of upcoming. Shared layer.
   ============================================================================ */
.evt-feat { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; }
.evt-feat__big { position: relative; border-radius: 8px; overflow: hidden; color: #fff; display: block; }
.evt-feat__big img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; display: block; }
.evt-feat__bigph { display: block; aspect-ratio: 16 / 11; background: var(--brand-navy-900); }
.evt-feat__ov { position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(12,12,52,.9));
    display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.evt-feat__tag { background: var(--brand-red); align-self: flex-start; font-size: .7rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; margin-bottom: 10px; }
.evt-feat__h3 { font-weight: 600; font-size: 1.6rem; line-height: 1.2; }
.evt-feat__list a { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 16px 0;
    border-bottom: 1px solid var(--pub-line); align-items: center; }
.evt-feat__list a:first-child { border-top: 1px solid var(--pub-line); }
.evt-feat__dt { background: var(--pub-soft); border-radius: 6px; text-align: center; padding: 10px 12px; min-width: 62px; }
.evt-feat__dt b { display: block; font-size: 1.3rem; font-weight: 600; color: var(--pub-accent-ink); line-height: 1; }
.evt-feat__dt span { font-size: .7rem; text-transform: uppercase; color: var(--pub-mut); }
.evt-feat__meta { display: flex; flex-direction: column; }
.evt-feat__title { font-weight: 700; font-size: 1.02rem; }
.evt-feat__sub { font-size: .84rem; color: var(--pub-mut); }
.evt-feat__list a.evt-feat__all { display: inline-flex; grid-template-columns: none; align-items: center; gap: 5px;
    border-bottom: 0; color: var(--pub-accent-ink); font-weight: 700; font-size: .9rem; padding-top: 16px; }
@media (max-width: 960px) { .evt-feat { grid-template-columns: 1fr; } }

/* ============================================================================
   SHARED CAROUSEL PRIMITIVE (container only — never restyles the cards inside).
   Emitted by <pub-carousel>. Visible-card count per breakpoint comes from inline
   --cc-lg/-md/-sm; a peek of the next card is always shown so it reads as scrollable.
   ============================================================================ */
.pub-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; }

.pub-carousel { --cc: var(--cc-lg, 4); --carousel-gap: 22px; --carousel-peek: 34px; position: relative; }
@media (max-width: 960px) { .pub-carousel { --cc: var(--cc-md, 2); } }
@media (max-width: 640px) { .pub-carousel { --cc: var(--cc-sm, 1); } }
/* Reserve side gutters for the flanking arrows (only when the row actually scrolls). */
@media (min-width: 641px) { .pub-carousel.is-scrollable { padding-inline: 52px; } }

.pub-carousel__viewport { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity;
    scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; outline: none;
    touch-action: pan-y; cursor: grab; }
.pub-carousel__viewport::-webkit-scrollbar { display: none; }
.pub-carousel__viewport:focus-visible { box-shadow: 0 0 0 3px var(--brand-navy-tint); border-radius: 8px; }
.pub-carousel.is-dragging .pub-carousel__viewport { cursor: grabbing; scroll-behavior: auto; user-select: none; }

.pub-carousel__track { display: flex; gap: var(--carousel-gap); align-items: stretch;
    padding: 4px 2px 6px; }
/* Each direct child (a card) becomes a slide. Width = N cards + a peek; never below a legible min. */
.pub-carousel__track > * { flex: 0 0 auto; scroll-snap-align: start;
    width: calc((100% - (var(--cc) - 1) * var(--carousel-gap) - var(--carousel-peek)) / var(--cc));
    min-width: 240px; }

/* Controls: PREV on the left edge, NEXT on the right edge, vertically centred, seated in the
   reserved side gutters (just outside the track). Shown only when scrollable; hidden on phones. */
/* Bare navy chevrons (no button chrome). Invisible >=44px hit area via padding. */
.pub-carousel__ctrls { display: contents; }
.pub-carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    display: none; align-items: center; justify-content: center; padding: 8px;
    background: none; border: 0; border-radius: 0; box-shadow: none;
    appearance: none; -webkit-appearance: none; color: var(--pub-accent-ink); cursor: pointer;
    -webkit-tap-highlight-color: transparent; }
.pub-carousel__btn svg { width: 30px; height: 30px; stroke-width: 2.25;
    transition: transform var(--motion-fast) var(--ease-out), color var(--motion-fast) var(--ease-out); }
.pub-carousel.is-scrollable [data-carousel-prev],
.pub-carousel.is-scrollable [data-carousel-next] { display: inline-flex; }
[data-carousel-prev] { left: 6px; }
[data-carousel-next] { right: 6px; }
.pub-carousel__btn:disabled { opacity: .3; cursor: default; }
.pub-carousel__btn:focus-visible { outline: none; }
.pub-carousel__btn:focus-visible svg { outline: 2px solid var(--brand-navy); outline-offset: 4px; border-radius: 3px; }
@media (hover: hover) {
  [data-carousel-prev]:hover:not(:disabled) svg { transform: translateX(-3px); color: var(--brand-navy-900); }
  [data-carousel-next]:hover:not(:disabled) svg { transform: translateX(3px); color: var(--brand-navy-900); }
}

/* On phones swipe is the primary interaction; hide the buttons. */
@media (max-width: 640px) {
  .pub-carousel__btn { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .pub-carousel__viewport { scroll-behavior: auto; }
}

/* ============================================================================
   CARD MODERNIZATION + MOTION (shared). Applies to every homepage card type.
   Structure: flex column, height:100%, footer aligned via margin-top:auto on the
   card's last row. Flat at rest (1px border, radius 10, NO shadow). Hover/focus:
   lift + shadow bloom + contained image zoom, tokenized. Hover is wrapped in
   @media(hover:hover); keyboard/touch use :focus-within/:focus-visible/:active.
   ============================================================================ */

/* --- structure: every card is a full-height flex column so footers line up --- */
.home-pillar, .home-person, .membership-card, .latest-card,
.news-card, .blog-card, .press-card, .evt-card {
  display: flex; flex-direction: column; align-self: stretch; border-radius: 10px;
  transition: transform var(--motion-base) var(--ease-spring),
              box-shadow var(--motion-base) var(--ease-spring);
}
/* Equal-height cards come from the parent (grid/flex-row) STRETCH, not an explicit height —
   an explicit height:100% would defeat stretch and leave margin-top:auto with no free space. */
/* Leadership person card is now a proper bordered card with an aligned icon-row footer. */
.home-person { text-align: center; align-items: center; background: var(--pub-card);
  border: 1px solid var(--pub-line); padding: 18px; }
.home-person__img { width: 100%; border-radius: 8px; overflow: hidden; margin-bottom: 12px; }
.home-person .social-links { margin-top: auto; padding-top: 12px; }   /* footer icons pinned to one line */

/* --- footer alignment: the last row of each card sits on one straight line --- */
.latest-card__more, .evt-card__foot, .committee-card__more { margin-top: auto; }

/* --- description clamp so card heights don't vary wildly --- */
.home-pillar p, .membership-card__who { display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.latest-card__sum { display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }

/* --- contained image zoom (containers already clip; person wrapper clips above) --- */
.latest-card__media img, .evt-card__media img, .home-person__img img {
  transition: transform var(--motion-base) var(--ease-spring), filter var(--motion-base) var(--ease-out); }

/* --- hover (pointer devices only, so touch never gets a stuck lift) --- */
@media (hover: hover) {
  .home-pillar:hover, .home-person:hover, .membership-card:hover, .latest-card:hover,
  .news-card:hover, .blog-card:hover, .press-card:hover, .evt-card:hover {
    transform: translateY(-6px); box-shadow: 0 22px 48px -24px color-mix(in srgb,var(--brand-navy) 45%,transparent); }
  .latest-card:hover .latest-card__media img,
  .evt-card:hover .evt-card__media img,
  .home-person:hover .home-person__img img { transform: scale(1.04); }
  .home-person:hover .home-person__img img { filter: none; }
}
/* --- keyboard/AT: focus-within gets the SAME treatment on any device --- */
.home-pillar:focus-within, .home-person:focus-within, .membership-card:focus-within,
.latest-card:focus-within, .news-card:focus-within, .blog-card:focus-within,
.press-card:focus-within, .evt-card:focus-within {
  transform: translateY(-6px); box-shadow: 0 22px 48px -24px color-mix(in srgb,var(--brand-navy) 45%,transparent); }
.latest-card:focus-within .latest-card__media img,
.evt-card:focus-within .evt-card__media img,
.home-person:focus-within .home-person__img img { transform: scale(1.04); filter: none; }

/* --- text links: underline slides in from the left --- */
.latest-card__more, .evt-card__more, .evt-feat__all, .home-person__dest, .pub-pres__link {
  background: linear-gradient(currentColor, currentColor) no-repeat left bottom;
  background-size: 0% 1.5px; padding-bottom: 2px;
  transition: background-size var(--motion-base) var(--ease-out); }
@media (hover: hover) {
  .latest-card__more:hover, .evt-card__more:hover, .evt-feat__all:hover,
  .home-person__dest:hover, .pub-pres__link:hover { background-size: 100% 1.5px; text-decoration: none; }
}
.latest-card__more:focus-visible, .evt-card__more:focus-visible, .evt-feat__all:focus-visible,
.home-person__dest:focus-visible, .pub-pres__link:focus-visible { background-size: 100% 1.5px; }

/* --- REDUCED MOTION: kill every transform/transition added above --- */
@media (prefers-reduced-motion: reduce) {
  .home-pillar, .home-person, .membership-card, .latest-card, .news-card, .blog-card, .press-card, .evt-card,
  .latest-card__media img, .evt-card__media img, .home-person__img img,
  .social-links__a, .pub-carousel__btn svg,
  .latest-card__more, .evt-card__more, .evt-feat__all, .home-person__dest, .pub-pres__link { transition: none !important; }
  .home-pillar:hover, .home-person:hover, .membership-card:hover, .latest-card:hover,
  .news-card:hover, .blog-card:hover, .press-card:hover, .evt-card:hover,
  .home-pillar:focus-within, .home-person:focus-within, .membership-card:focus-within, .latest-card:focus-within,
  .news-card:focus-within, .blog-card:focus-within, .press-card:focus-within, .evt-card:focus-within { transform: none !important; box-shadow: none !important; }
  .latest-card:hover .latest-card__media img, .evt-card:hover .evt-card__media img,
  .home-person:hover .home-person__img img, .latest-card:focus-within .latest-card__media img,
  .evt-card:focus-within .evt-card__media img, .home-person:focus-within .home-person__img img { transform: none !important; }
}

/* ============================================================================
   TEAM PERSON CARDS — stronger on-hover identity (SHARED, used consistently by:
   homepage Leadership/members Portrait card + /our-team Portrait card = .home-person;
   Past-Presidents roll + Committee-detail LeadershipGrid = .person-card). The lift + shadow
   already come from the card-modernization block above (.home-person) and .person-card:hover;
   this DEEPENS the reaction so each card moves as one deliberate unit: a photo zoom on
   .person-card (which had none), a slightly stronger .home-person photo zoom, and a name colour
   shift to brand navy on both. Pointer-only via @media(hover:hover); keyboard/AT mirrored with
   :focus-within; transform/opacity + tokenised colour only, so both themes + 375px are safe.
   ============================================================================ */
.person-card__photo img { transition: transform var(--motion-base) var(--ease-spring); }
.person-card__name, .person-card__name a, .home-person b { transition: color var(--motion-fast) var(--ease-out); }
@media (hover: hover) {
  .home-person:hover b { color: var(--pub-accent-ink); }
  .home-person:hover .home-person__img img { transform: scale(1.06); }
  .person-card:hover .person-card__photo img { transform: scale(1.05); }
  .person-card:hover .person-card__name, .person-card:hover .person-card__name a { color: var(--pub-accent-ink); }
}
.home-person:focus-within b { color: var(--pub-accent-ink); }
.home-person:focus-within .home-person__img img { transform: scale(1.06); }
.person-card:focus-within .person-card__photo img { transform: scale(1.05); }
.person-card:focus-within .person-card__name, .person-card:focus-within .person-card__name a { color: var(--pub-accent-ink); }
@media (prefers-reduced-motion: reduce) {
  .person-card__photo img, .person-card__name, .person-card__name a, .home-person b { transition: none !important; }
  .person-card:hover .person-card__photo img, .person-card:focus-within .person-card__photo img,
  .home-person:hover .home-person__img img, .home-person:focus-within .home-person__img img { transform: none !important; }
}

/* ---- Social brand glyphs: solid silhouettes, muted at rest, own brand colour on hover ---- */
.social-links__a .brand-glyph { width: 18px; height: 18px; fill: currentColor; stroke: none; }
/* per-brand colour on hover (pointer) + keyboard focus + touch active; tint bg comes from the
   base .social-links__a:hover rule above. Higher specificity ([data-brand]) wins the colour. */
.social-links__a[data-brand="linkedin"]:focus-visible,  .social-links__a[data-brand="linkedin"]:active  { color: #0A66C2; }
.social-links__a[data-brand="facebook"]:focus-visible,  .social-links__a[data-brand="facebook"]:active  { color: #1877F2; }
.social-links__a[data-brand="instagram"]:focus-visible, .social-links__a[data-brand="instagram"]:active { color: #E4405F; }
.social-links__a[data-brand="youtube"]:focus-visible,   .social-links__a[data-brand="youtube"]:active   { color: #FF0000; }
.social-links__a[data-brand="twitter"]:focus-visible,   .social-links__a[data-brand="twitter"]:active   { color: var(--pub-ink); }
.social-links__a[data-brand="globe"]:focus-visible,     .social-links__a[data-brand="globe"]:active     { color: var(--pub-accent-ink); }
@media (hover: hover) {
  .social-links__a[data-brand="linkedin"]:hover  { color: #0A66C2; }
  .social-links__a[data-brand="facebook"]:hover  { color: #1877F2; }
  .social-links__a[data-brand="instagram"]:hover { color: #E4405F; }
  .social-links__a[data-brand="youtube"]:hover   { color: #FF0000; }
  .social-links__a[data-brand="twitter"]:hover   { color: var(--pub-ink); }
  .social-links__a[data-brand="globe"]:hover     { color: var(--pub-accent-ink); }
}

/* ============================================================================
   RESEARCH FEATURES — shared primitives (accordion, header search + login, interior hero)
   ============================================================================ */

/* ---- Accordion (FAQ) ---- */
.pub-accordion { max-width: 820px; margin: 0 auto; }
.pub-accordion__item { border-bottom: 1px solid var(--pub-line); }
.pub-accordion__item:first-child { border-top: 1px solid var(--pub-line); }
.pub-accordion__hd { margin: 0; }
.pub-accordion__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    text-align: left; background: none; border: 0; padding: 20px 4px; cursor: pointer;
    font: 700 1.05rem/1.4 inherit; color: var(--pub-ink); }
.pub-accordion__btn:focus-visible { outline: 2px solid var(--brand-navy); outline-offset: 2px; border-radius: 4px; }
.pub-accordion__ic { flex: 0 0 auto; width: 20px; height: 20px; color: var(--pub-accent-ink);
    transition: transform var(--motion-fast) var(--ease-out); }
.pub-accordion__btn[aria-expanded="true"] .pub-accordion__ic { transform: rotate(180deg); }
/* Hover on a collapsed question: the text takes the brand navy accent and the chevron nudges down
   to hint it opens. Pointer-only; the expanded chevron keeps its 180deg rotation (higher specificity
   above wins). Colour is theme-aware; transform-only nudge. */
.pub-accordion__btn { transition: color var(--motion-fast) var(--ease-out); }
@media (hover: hover) {
  .pub-accordion__btn:hover { color: var(--pub-accent-ink); }
  .pub-accordion__btn[aria-expanded="false"]:hover .pub-accordion__ic { transform: translateY(2px); }
}
.pub-accordion__panel { padding: 0 4px; }
.pub-accordion__body { padding: 0 0 20px; color: var(--pub-mut); line-height: 1.7; max-width: 72ch;
    animation: pub-acc-in var(--motion-base) var(--ease-out); }
@keyframes pub-acc-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .pub-accordion__ic, .pub-accordion__btn { transition: none; }
  .pub-accordion__body { animation: none; }
  .pub-accordion__btn[aria-expanded="false"]:hover .pub-accordion__ic { transform: none; }
}

/* ---- Header search — inline click-to-open field (native, no floating panel) + login ---- */
.pub-search { display: inline-flex; align-items: center; }
/* Collapsed: the input is 0-width; toggling .is-open grows it inline within the header row. */
.pub-search__input { width: 0; min-width: 0; padding: 0; border: 0; border-bottom: 1.5px solid transparent;
    background: transparent; font: inherit; color: inherit; outline: none; opacity: 0;
    transition: width var(--motion-base) var(--ease-out), opacity var(--motion-fast) var(--ease-out), padding var(--motion-base) var(--ease-out), border-color var(--motion-fast) var(--ease-out),
      visibility 0s linear var(--motion-base);
    /* Hidden while collapsed so Tab skips it - a 0-width, transparent field still took keyboard
       focus and the visitor lost sight of the cursor (QA 13 Nov 2026). The toggle button opens
       it and moves focus in. visibility waits for the collapse to finish before hiding. */
    visibility: hidden; }
.pub-search__input::placeholder { color: currentColor; opacity: .6; }
.pub-search.is-open .pub-search__input { width: 200px; opacity: 1; padding: 6px 4px; border-bottom-color: currentColor;
    visibility: visible; transition-delay: 0s; }
.pub-search__btn { display: inline-grid; place-items: center; width: 40px; height: 40px; background: none; border: 0; color: inherit; cursor: pointer; }
.pub-search__btn svg { width: 20px; height: 20px; }
.pub-search__btn:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .pub-search__input { transition: none; } }
/* Mobile (matches the nav drawer breakpoint): staff login moves into the drawer, so the top bar is
   just logo + search toggle + CTA. Tapping search opens a CLEAN FULL-WIDTH field spanning the header
   row (anchored to the fixed .pub-header) — a real field, not a floating popup. Closed = icon only. */
@media (max-width: 960px) {
  .pub-nav__actions .pub-login { display: none; }
  .pub-search.is-open { position: absolute; inset-inline: 12px; top: 50%; transform: translateY(-50%);
    z-index: 30; background: var(--pub-card); border: 1px solid var(--pub-line); border-radius: 8px;
    box-shadow: 0 10px 28px -12px rgba(0,0,0,.4); }
  .pub-search.is-open .pub-search__input { width: 100%; opacity: 1; padding: 12px 46px 12px 14px; color: var(--pub-ink); }
  .pub-search.is-open .pub-search__btn { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); color: var(--pub-ink); }
}
.pub-login { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.86rem; color: inherit; }
.pub-login svg { width: 15px; height: 15px; }

/* ---- Interior page hero (CMS-driven; falls back to plain navy band) ---- */
/* Interior hero (Samoa spec): full-width banner (~2.27:1 image) with title over it + breadcrumb
   beneath; plain navy band is the always-present fallback when no image. Title clears the fixed
   header via padding-top (interior pages are never has-hero, so <main> is already offset — this adds
   the banner's own breathing room). */
.pub-interhero { position: relative; color: #fff; display: flex; align-items: flex-end; }
.pub-interhero--plain { background: linear-gradient(120deg, var(--brand-navy-900), var(--brand-navy-800)); }
.pub-interhero--image { background-image: var(--interhero-img); background-size: cover; background-position: center;
    min-height: clamp(150px, 16vw, 230px); }   /* compact banner — fits the content, no empty space on top */
.pub-interhero--image::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(12,12,52,.85) 0%, rgba(12,12,52,.35) 55%, rgba(12,12,52,.25) 100%); }
.pub-interhero .pub-wrap { position: relative; z-index: 2; padding-block: 40px; width: 100%; }
.pub-interhero--image .pub-wrap { padding-block: 30px 26px; }
.pub-interhero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.02em; }
.pub-interhero p { color: #d6d8ee; margin-top: 10px; max-width: 60ch; font-size: 1.05rem; }
.pub-interhero .pub-crumbs { margin-top: 12px; margin-bottom: 0; }
.pub-interhero .pub-crumbs__lead { color: #b9bbe0; }
.pub-interhero .pub-crumbs a { color: #d6d8ee; }
.pub-interhero .pub-crumbs a:hover { color: #fff; }
@media (max-width: 640px) { .pub-interhero--image .pub-wrap { padding-block: 24px; } .pub-interhero--image { min-height: 0; } }

/* Required-field asterisk — appended to mandatory-field labels by site.js (markRequired).
   Literal red (not --brand-red, which this theme maps to teal). */
.req-star{color:#d32f2f;margin-left:3px;font-weight:700;line-height:1}

/* ============================================================================
   RATING SCALE — a shared form primitive (segmented radio chips).
   Moved here from events.css: it is reusable form furniture, not event-specific,
   and events.css is only loaded on the two event pages — so on the feedback page
   the whole control rendered with NO styling at all (bare radio buttons).
   Selectors match the real markup, which is LABEL-as-wrapper with a <span>:
       <label class="pub-rating__opt"><input type="radio"><span>5 — Excellent</span></label>
   (the old rules targeted `.pub-rating__opt label` / `input:checked + label`,
    which match nothing in that structure — they never applied.)
   ============================================================================ */
/* grid, not flex: when the scale wraps, a flex last-row stretches its items
   (3 at 98px + 2 at 153px on a phone). Grid columns stay equal on every row. */
/* The group sat inside a <fieldset class="pub-field">, and only `.join-form fieldset` was
   reset — so on .pub-form the browser's DEFAULT fieldset border drew a box round the whole
   scale. Reset it here with the rest of the primitive instead of per-form. */
.pub-form fieldset.pub-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.pub-form fieldset.pub-field > legend { padding: 0; }

.pub-rating { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 10px; margin-top: 8px; }
.pub-rating__opt { position: relative; margin: 0; cursor: pointer; }
.pub-rating__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
/* face ON TOP, label underneath in small type */
.pub-rating__opt > span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  width: 100%; padding: 13px 10px; text-align: center;
  border: 1px solid var(--pub-line); border-radius: 10px;
  background: var(--pub-card); color: var(--pub-ink); line-height: 1.2;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s; }
/* The satisfaction faces carry their own colour ramp — a monochrome scale gave the reader no
   signal and looked unfinished. Red → amber → teal is the conventional reading for a 1–5
   satisfaction scale, and the endpoints are the DMA red and the site accent, so it stays on
   theme. The selected chip flips the face to white (it sits on a navy fill). */
.pub-rating__opt:nth-child(1) { --rate-c: #C0392B; }
.pub-rating__opt:nth-child(2) { --rate-c: #D97A1E; }
.pub-rating__opt:nth-child(3) { --rate-c: #C9A227; }
.pub-rating__opt:nth-child(4) { --rate-c: #3E8E7E; }
.pub-rating__opt:nth-child(5) { --rate-c: #1E7A5A; }

.pub-rating__face { width: 32px; height: 32px; flex: none; stroke-width: 2;
  color: var(--rate-c, currentColor); opacity: 1;
  transition: transform var(--motion-fast, .18s) var(--ease-out, ease), filter .18s; }
.pub-rating__opt > span { border-color: color-mix(in srgb, var(--rate-c) 22%, var(--pub-line)); }
.pub-rating__opt:hover > span { border-color: var(--rate-c); background: var(--pub-bg); }
.pub-rating__opt:hover .pub-rating__face { transform: scale(1.14); }
/* selected: the chip fills with the step's own colour, so the choice is unmistakable */
.pub-rating__opt input:checked + span {
  background: var(--rate-c); border-color: var(--rate-c); color: #fff;
  box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--rate-c) 75%, transparent); }
.pub-rating__opt input:checked + span .pub-rating__face { color: #fff; transform: scale(1.1); }
.pub-rating__opt input:focus-visible + span { outline: 2px solid var(--rate-c); outline-offset: 2px; }

/* Scroll-in: the shared .reveal primitive fades the chip up (staggered left→right by site.js),
   and the face pops once as it lands. Animation only — nothing here affects the resting state,
   so a no-JS or reduced-motion visitor sees the finished scale. */
.js .pub-rating__opt.reveal.in .pub-rating__face { animation: pub-rate-pop .5s var(--ease-out, ease) both; }
@keyframes pub-rate-pop {
  0%   { transform: scale(.6) rotate(-8deg); }
  55%  { transform: scale(1.18) rotate(4deg); }
  100% { transform: scale(1) rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
  .js .pub-rating__opt.reveal.in .pub-rating__face { animation: none; }
  .pub-rating__face { transition: none; }
  .pub-rating__opt:hover .pub-rating__face { transform: none; }
}
/* the label is secondary to the face — small, quiet, one line */
.pub-rating__txt { display: inline-flex; align-items: baseline; gap: 5px;
  font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.pub-rating__txt b { font-weight: 700; font-variant-numeric: tabular-nums; }
/* the legend reads as a field label, like every other control on the form */
.pub-field > legend { display: block; padding: 0; margin-bottom: 2px; }
@media (max-width: 560px) {
  .pub-rating { grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 8px; }
  .pub-rating__opt > span { padding: 11px 6px; }
}

/* ---------------------------------------------------------------------------
   HEADER SEARCH SUGGESTIONS
   A results panel under the header input: thumbnail, title, type and snippet,
   in the familiar search-engine shape. Anchored to the form, so it follows the
   input whether the header is at the top of the page or stuck to it.
   --------------------------------------------------------------------------- */
.pub-search { position: relative; }
.pub-sg {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 120;
  width: min(460px, calc(100vw - 32px));
  background: #fff; border: 1px solid rgba(16,32,64,.10); border-radius: 12px;
  box-shadow: 0 2px 6px rgba(12,24,48,.07), 0 18px 40px -16px rgba(12,24,48,.32);
  overflow: hidden; max-height: min(70vh, 460px); overflow-y: auto; }
.pub-sg[hidden] { display: none; }
.pub-sg__item {
  display: flex; gap: 12px; align-items: flex-start; padding: 11px 14px;
  text-decoration: none; color: #1a1d29; border-bottom: 1px solid rgba(16,32,64,.06); }
.pub-sg__item:last-child { border-bottom: 0; }
.pub-sg__item:hover, .pub-sg__item.is-active { background: #f1f5fb; }
.pub-sg__thumb {
  width: 46px; height: 46px; flex: none; border-radius: 8px; object-fit: cover;
  background: #eef2f8; }
.pub-sg__thumb--ph { display: grid; place-items: center; color: #8ea0bd; font-size: 15px; font-weight: 700; }
.pub-sg__body { min-width: 0; display: flex; flex-direction: column; }
.pub-sg__title { display: block; font-size: .92rem; font-weight: 600; line-height: 1.3; }
.pub-sg__title mark { background: #fff2a8; color: inherit; padding: 0 1px; border-radius: 2px; }
.pub-sg__meta { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .02em; color: #2a7fa8; margin-top: 2px; }
.pub-sg__snip {
  display: -webkit-box; font-size: .8rem; color: #5a6478; margin-top: 3px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pub-sg__foot {
  display: block; padding: 10px 14px; font-size: .82rem; font-weight: 600;
  color: #2a7fa8; text-decoration: none; background: #f7f9fc; }
.pub-sg__foot:hover { text-decoration: underline; }
.pub-sg__empty { padding: 16px 14px; font-size: .85rem; color: #5a6478; }
@media (max-width: 640px) {
  .pub-sg { right: auto; left: 0; width: calc(100vw - 32px); }
}


/* ── Dropdown chevron on PUBLIC forms ────────────────────────────────────────
   The selects were left on the browser's native arrow (appearance:auto), which paints hard
   against the right edge of the field - it visibly touched the border on the contact enquiry
   and membership forms. Same treatment as the CMS: hide the native arrow and draw a chevron
   inset from the edge, with room reserved for it.
   NOTE background-COLOR, never the `background` shorthand - the shorthand resets
   background-image and would wipe this arrow (that is exactly how it broke in the admin). */
.pub-field select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23667' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
/* a real list box is not a dropdown - no arrow, no reserved space */
.pub-field select[multiple], .pub-field select[size]:not([size="1"]) {
  background-image: none; padding-right: 13px; }

/* ── Number inputs on PUBLIC forms ───────────────────────────────────────────
   Mirrors the CMS fix, same root cause: `.pub-field input` paints the box, but the
   UA draws its own spin buttons INSIDE it. On the booking quantity, the membership
   batch year and employee count, and the mentor forms, that native widget sat on
   the field's right padding, so a number box never matched the text box above it -
   and in dark theme the UA paints that widget on its own light scheme against the
   #171a22 field, which is the worst of the three.

   Scoped to `.dma-public` (on every public <body>), not to `.pub-field`, so it also
   reaches `.v4-field` and anything added later. The spinner is hidden rather than
   restyled - the pseudo-element takes almost no properties - and min/max/step plus
   keyboard up/down stepping are unaffected. */
.dma-public input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.dma-public input[type=number]::-webkit-outer-spin-button,
.dma-public input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none; appearance: none; margin: 0; }
.dma-public input[type=number] { font-variant-numeric: tabular-nums; }

/* ── benefit asterisk: the marker + its tooltip ──────────────────────────────
   Benefit lines can end in "*" meaning "indicative, not yet confirmed by DMA".
   The wording is a CMS field; the marker only renders when that field is set, so
   the site never shows a symbol it cannot explain.

   <abbr> is deliberate: it carries a native title tooltip (long-press on touch,
   announced by screen readers) and is focusable, so the styled tooltip below is
   an enhancement rather than the only way to read the note. */
.ben-star {
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; cursor: help; text-decoration: none;
  width: 1.15em; height: 1.15em; margin-left: 2px; vertical-align: text-top;
  border-radius: 50%; font-weight: 800; line-height: 1;
  color: var(--saffron, #F4600C);
  background: color-mix(in srgb, var(--saffron, #F4600C) 12%, transparent);
}
.ben-star:hover, .ben-star:focus-visible {
  background: color-mix(in srgb, var(--saffron, #F4600C) 22%, transparent);
  outline: none;
}
.ben-star--plain { background: none; width: auto; height: auto; margin: 0 4px 0 0; cursor: default; }

.ben-star__tip {
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(3px);
  z-index: 40; width: max-content; max-width: min(280px, 70vw);
  padding: 8px 11px; border-radius: 9px;
  background: var(--dark, #1A1208); color: #fff;
  font-size: 12.5px; font-weight: 500; line-height: 1.5; letter-spacing: 0; text-align: left;
  box-shadow: 0 6px 22px rgba(0,0,0,.22);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.ben-star__tip::after {           /* pointer down to the marker */
  content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: var(--dark, #1A1208);
}
.ben-star:hover .ben-star__tip,
.ben-star:focus-visible .ben-star__tip {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
/* near the left/right edge the tooltip would overflow; let it shift inward instead */
/* Phones: anchoring the tip to the tiny marker pushed it ~80px off-screen whenever the marker sat
   near the left of a card (QA 13 Nov 2026). Below 560px the tip spans its benefit row instead -
   the row is always inside the viewport, so the tip is too. */
@media (max-width: 560px) {
  li:has(.ben-star__tip) { position: relative; }
  .ben-star:has(.ben-star__tip) { position: static; }
  .ben-star__tip { left: 0; right: 0; width: auto; max-width: none; transform: translateY(3px); }
  .ben-star__tip::after { display: none; }
  .ben-star:hover .ben-star__tip, .ben-star:focus-visible .ben-star__tip { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .ben-star__tip { transition: none; } }

/* the same wording, printed once under the list */
.ben-footnote {
  margin: 14px 0 0; font-size: 12.5px; line-height: 1.6;
  color: var(--muted, #6B5C4A); display: flex; gap: 2px; align-items: baseline;
}
.ben-footnote .ben-star--plain { color: var(--saffron, #F4600C); font-weight: 800; }

/* the grade CTA row: button + the grade it carries into the form */
.mg-detail__ctanote { font-size: 12.5px; color: var(--muted, #6B5C4A); }
.mg-detail__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* ============================================================================
   TABLES INSIDE EDITOR-AUTHORED CONTENT
   Prose tables had NO styling at all: a table inserted in the CMS reached the
   public page with no rules, no padding and no header. These are the same four
   presets the editor offers, so what is chosen in the CMS is what is published.
   ============================================================================ */
.pub-prose, .v4-prose {
    --rte-tbl-line: var(--pub-line, #e3e6ec);
    --rte-tbl-stripe: color-mix(in srgb, var(--pub-ink, #1a1c24) 4%, transparent);
    --rte-tbl-head: color-mix(in srgb, var(--pub-ink, #1a1c24) 6%, transparent);
}

/* ---- editor table presets --------------------------------------------------
   The same four presets the public stylesheet renders, so what an editor picks in
   the CMS is what a reader sees. Kept in one block for easy comparison. */
.dma-tbl { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 0.95em; }
.dma-tbl td, .dma-tbl th { padding: 8px 11px; vertical-align: top; text-align: left; }

.dma-tbl--bordered td, .dma-tbl--bordered th { border: 1px solid var(--rte-tbl-line); }

.dma-tbl--striped td, .dma-tbl--striped th { border: 0; border-bottom: 1px solid var(--rte-tbl-line); }
.dma-tbl--striped tbody tr:nth-child(odd) { background: var(--rte-tbl-stripe); }

.dma-tbl--head td { border: 1px solid var(--rte-tbl-line); }
.dma-tbl--head tr:first-child td,
.dma-tbl--head thead td,
.dma-tbl--head th {
    background: var(--rte-tbl-head);
    font-weight: 700;
    border: 1px solid var(--rte-tbl-line);
}

.dma-tbl--plain td, .dma-tbl--plain th { border: 0; padding-left: 0; }

/* A table wider than the column scrolls inside itself rather than pushing the
   page sideways. */
.dma-tbl { display: table; max-width: 100%; }

/* An editor-authored table can be wider than a phone; let it scroll on its own
   rather than making the whole article scroll sideways. */
.pub-prose .dma-tbl, .v4-prose .dma-tbl { display: block; overflow-x: auto; }
@media (min-width: 700px) {
    .pub-prose .dma-tbl, .v4-prose .dma-tbl { display: table; }
}

/* =================================================================================================
   PUBLIC CONFIRMATION DIALOG (.pub-confirm)

   The one prompt the public site and the member panel use before anything destructive — cancelling
   an event registration today, and whatever is added later. It is driven entirely by the
   [data-confirm] attributes already on the form (see js/public/site.js), so a new destructive form
   needs no new code.

   Why it exists at all: the handler previously called window.confirm(), which cannot show the
   title or the "Yes, cancel" wording the markup specifies, and which some browsers suppress —
   leaving a destructive button firing silently.

   Deliberately NOT shared with the CMS. Website CSS and CMS CSS stay separate layers (they share
   only brand tokens), so this is the public twin of .adm-modal rather than a reuse of it.
   ================================================================================================= */

.pub-confirm {
    position: fixed;
    inset: 0;
    z-index: 1200;          /* above the sticky header and the consent bar */
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.pub-confirm.is-open { display: flex; }

.pub-confirm__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 14, 22, .55);
    backdrop-filter: blur(2px);
}

.pub-confirm__box {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 28px 26px 24px;
    text-align: center;
    background: var(--pub-surface, #fff);
    border-radius: 16px;
    box-shadow: 0 24px 60px -18px rgba(12, 14, 22, .55);
}

.pub-confirm__ic {
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--pub-soft);
    color: var(--pub-accent-ink);
}
.pub-confirm__ic--danger {
    background: color-mix(in srgb, var(--brand-red) 12%, transparent);
    color: var(--pub-red-ink);
}
.pub-confirm__ic svg { width: 26px; height: 26px; }

.pub-confirm__box h2 {
    margin: 0 0 8px;
    font-size: 1.18rem;
    line-height: 1.3;
    color: var(--pub-ink);
}
.pub-confirm__box p {
    margin: 0 0 22px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--pub-mut);
}

.pub-confirm__actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.pub-confirm__actions .pub-cbtn { min-width: 132px; }

/* The dialog's OWN buttons.

   Not .pub-btn: measured inside this component, .pub-btn--primary resolves to a transparent
   background and the destructive variant came out teal at 3.74:1, because the V4 theme reshapes
   that family and remaps --brand-red to a rose (#f43f5e) that fails against white. A component
   this small and this consequential should not depend on winning a specificity race, so it
   carries its own two buttons, built from the LOCKED brand red.

   Contrast checked: #fff on #C0392B = 5.44:1; #1a1c24 on #fff = 15.9:1. Both clear AA. */
.pub-cbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;                 /* touch target */
    padding: 0 18px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    border-radius: 10px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: filter .15s ease, background .15s ease, border-color .15s ease;
}
.pub-cbtn:focus-visible { outline: 2px solid #1a1c24; outline-offset: 2px; }

/* Confirm. Red is correct here and nowhere else in this dialog: it is both the primary action
   and the irreversible one. #C0392B is the locked brand red, used directly rather than through
   --brand-red, which the V4 layer redefines. */
.pub-cbtn--danger { background: #C0392B; color: #fff; }
.pub-cbtn--danger:hover { filter: brightness(1.08); }

/* Confirm, non-destructive. */
.pub-cbtn--go { background: #181878; color: #fff; }
.pub-cbtn--go:hover { filter: brightness(1.15); }

/* The safe option. Quiet, but a real button — it is the one focused by default. */
.pub-cbtn--quiet { background: #fff; color: #1a1c24; border-color: #c9ced9; }
.pub-cbtn--quiet:hover { background: #f3f5f8; border-color: #9aa2b4; }

@media (prefers-reduced-motion: reduce) { .pub-cbtn { transition: none; } }

/* On a narrow phone the two actions stack, and the SAFE one stays on top — so the thumb's resting
   position is never over the destructive choice. */
@media (max-width: 420px) {
    .pub-confirm__box { padding: 24px 18px 20px; }
    .pub-confirm__actions { flex-direction: column-reverse; }
    .pub-confirm__actions .pub-cbtn { width: 100%; }
}

/* A row explaining why an action is unavailable, beside the place the button would have been. */
.mp-why {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--pub-mut);
    line-height: 1.4;
}
.mp-why svg { width: 14px; height: 14px; flex: 0 0 auto; }

/* Date chip on the event card poster — HIDDEN (DMA, 5 Nov 2026). Markup kept so it can be
   restored with a single rule; see the matching note in home-v4.css. */
.evt-card__media .evt-card__date { display: none !important; }

/* Upload rejected the moment it was picked (js/shared/file-guard.js, 19 Nov 2026). Error red on
   white is 5.4:1. */
.file-guard-err { display: block; margin-top: 6px; font-size: .82rem; font-weight: 600; color: #C0392B; }
.file-guard-err[hidden] { display: none; }
