/* ════════════════════════════════════════════════════════════════════
   Healing Care Ministries — Design System
   Global stylesheet entry point. Consumers link THIS file only.
   Import order: fonts → tokens → base.
   ════════════════════════════════════════════════════════════════════ */

@import "./tokens/fonts.css";
@import "./tokens/colors.css";
@import "./tokens/typography.css";
@import "./tokens/typography-collateral.css";
@import "./tokens/spacing.css";
@import "./tokens/base.css";

/* ── NavBar: top-level menu pills ──────────────────────────────────────
   Tighter 14px top/bottom padding on the center nav pill and the right
   actions pill (down from the default). Applies to every page that mounts
   the NavBar (header > nav is the links pill; the actions pill is the
   header child containing the .hcm-menubtn). Horizontal 25px padding and
   the pill height are inherited from the component. */
header > nav,
header > div:has(.hcm-menubtn) {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

/* ── NavBar: placement ─────────────────────────────────────────────────
   Logo sits at the left page gutter; the center links pill and the right
   actions (Login/Menu) pill GROUP TOGETHER at the right gutter with a
   fixed 25px between them. This overrides the component's default
   space-between (which floats the links pill mid-header). The header's own
   horizontal padding is already the page gutter (var(--page-inset)). */
header > nav { margin-left: auto !important; }
header > div:has(.hcm-menubtn) { margin-left: 25px !important; }
:where(header):has(> nav):has(.hcm-menubtn) {
  justify-content: flex-start !important;
  gap: 0 !important;
}

/* ── Glass buttons: brand blur ─────────────────────────────────────────
   Glass buttons sit over photography and dark sections; like the brand's
   glass cards and nav pill they carry the 15px backdrop blur. (The base
   Button variant sets the translucent fill but leaves blur to the surface,
   so it's applied here globally.) */
.hcm-btn[data-variant="glass"] {
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}
