/* GospelShelf brand tokens + shared components (Oct 19, brand system audit). ONE source of truth.
   Values are the ones the site already uses most (navy #14213d, gold #c9a227, ink #1b2233, cream #faf8f3).
   brand_pass.py writes this file to /brand.css, links it first on every page, and points outlier values at these
   tokens. Shared classes use :where() (zero specificity), so existing page rules still win and nothing moves. */
:root{
 --brand-navy:#14213d;--brand-navy-hover:#1c2d52;
 --brand-gold:#c9a227;            /* decoration: borders, rules, icons, fills behind navy text */
 --brand-gold-on-navy:#e3c766;    /* gold text on navy (9.6:1) */
 --brand-gold-ink:#7a5c14;        /* gold text on cream/white (6.0:1 on #faf8f3) */
 --brand-ink:#1b2233;--brand-muted:#4a5265;
 --brand-bg:#faf8f3;--brand-surface:#fff;--brand-line:#e3dccb;
 --brand-font-head:'Cormorant Garamond',Georgia,serif;
 --brand-font-body:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;
 --brand-h1:clamp(2rem,4.6vw,3rem);--brand-h2:clamp(1.5rem,3.6vw,2rem);--brand-h3:1.25rem;--brand-body:1.0625rem;
 --brand-r-sm:12px;--brand-r-md:14px;--brand-r-lg:18px;--brand-r-pill:999px;
 --brand-tap:48px;--brand-tap-lg:56px;
 /* logo: the all-navy header wordmark + church/tree mark is the only logo (sizes taken from the header) */
 --brand-logo-mark:28px;--brand-logo-gap:6px;--brand-logo-text:19.38px;
}
@media (min-width:1024px){:root{--brand-logo-mark:44px;--brand-logo-gap:10px;--brand-logo-text:35px}}
/* shared components (new and kit pages; hub and preferences use them) */
:where(.gs-btn){display:inline-flex;align-items:center;justify-content:center;min-height:var(--brand-tap-lg);padding:0 24px;border:2px solid var(--brand-navy);border-radius:var(--brand-r-pill);background:var(--brand-navy);color:#fff;font:700 1.0625rem/1.2 var(--brand-font-body);text-decoration:none;cursor:pointer}
:where(.gs-btn.gs-btn-quiet){background:var(--brand-surface);color:var(--brand-navy)}
:where(.gs-oval){display:inline-flex;align-items:center;justify-content:center;min-height:var(--brand-tap);padding:0 22px;border:2px solid var(--brand-gold);border-radius:var(--brand-r-pill);background:var(--brand-navy);color:var(--brand-gold-on-navy);font:700 1rem/1.2 var(--brand-font-body);text-decoration:none}
:where(.gs-card){display:block;padding:18px;border:2px solid var(--brand-line);border-radius:var(--brand-r-lg);background:var(--brand-surface);color:var(--brand-navy);text-decoration:none}
:where(.gs-table){width:100%;border-collapse:collapse;font-family:var(--brand-font-body);color:var(--brand-ink)}
:where(.gs-table) :where(thead th,tbody th){background:var(--brand-navy);color:#fff;font-weight:700;text-align:start}
:where(.gs-table) :where(th,td){padding:10px 12px;border-bottom:1px solid var(--brand-line);vertical-align:top}
:where(.gs-btn,.gs-oval,.gs-card):focus-visible{outline:3px solid var(--brand-gold);outline-offset:3px}

/* ---- Logo (LOGO-FIX.md): one logo everywhere = the all-navy "GospelShelf" wordmark + the church/tree mark.
   Markup is one include, <span class=gs-logo><img class=mark><span class=gs-logo-w>GospelShelf</span></span>, placed by
   logo_pass.py (from ux/nav1019/logo.html and logo-foot.html) inside the header a.logo and the footer a.sf-logo, so nav.py
   still finds them. The class is repeated so this rule beats the older header, footer and age-theme overrides (some use
   :root:root, 4x .amz and !important). Only color, font, size and spacing are set; header layout (order, flex, margin) is unchanged. */
html:root body span.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo{display:inline-flex!important;align-items:center!important;gap:var(--brand-logo-gap,6px)!important;color:var(--brand-navy,#14213d)!important;font-size:var(--brand-logo-text,19.38px)!important;line-height:1!important;overflow:visible!important;white-space:nowrap!important;max-width:none!important;padding:0;background:none;border-radius:0}
html:root body span.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo img.mark{width:var(--brand-logo-mark,28px)!important;height:var(--brand-logo-mark,28px)!important;flex:none!important;border-radius:0!important;object-fit:contain;background:none!important;padding:0!important;margin:0!important}
html:root body span.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo span.gs-logo-w{font-family:var(--brand-font-head,'Cormorant Garamond',Georgia,serif)!important;font-size:var(--brand-logo-text,19.38px)!important;font-weight:600!important;letter-spacing:.005em!important;line-height:1!important;color:var(--brand-navy,#14213d)!important;white-space:nowrap!important;overflow:visible!important}
/* On the navy footer the same navy logo sits on a cream plate, so it reads (no white or gold variant). */
html:root body span.gs-logo-foot.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo.gs-logo{background:var(--brand-bg,#faf8f3)!important;border-radius:var(--brand-r-md,14px)!important;padding:8px 14px!important;min-height:var(--brand-tap,48px)!important;box-sizing:border-box!important}
/* QA 8 (Oct 20): small helper notes (.hnote) on the podcasts, sermons and search pages use the shared muted-text token (AA on white and cream) */
:root .hnote,html #gs-hub .hnote,:root .gs-refhits .hnote{color:var(--brand-muted,#4a5265)}
