/* ============================================================
   Editorial type identity — Spectral (display) + Lora (reading/labels),
   the same two self-hosted faces used on the provider pages, extended to
   other page types. OPT-IN: add `ed-type` to <body>. Every rule is scoped
   to body.ed-type so pages that don't opt in are never touched. The provider
   pages keep their own provider.css and are NOT affected by this file.
   ============================================================ */
@font-face{font-family:"Spectral";src:url("fonts/Spectral-400-latin.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Spectral";src:url("fonts/Spectral-500-latin.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Spectral";src:url("fonts/Spectral-600-latin.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Lora";src:url("fonts/Lora-normal-latin.woff2") format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:"Lora";src:url("fonts/Lora-italic-latin.woff2") format("woff2");font-weight:400 700;font-style:italic;font-display:swap}

body.ed-type{
  /* Sitewide sans (Source Sans Pro). Provider NAMES keep the serif via the
     explicit .prov-profile__name override below (per Sam: only header
     provider names stay on the old display face). */
  --ed-display:"Source Sans Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --ed-body:"Source Sans Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ---- Display / headings -> Spectral ---- */
body.ed-type .page-title,
body.ed-type .prov-roster__heading,
body.ed-type .prov-profile__name,
body.ed-type .bio-hero__title,
body.ed-type .loc-index__title,
body.ed-type .loc-card__name,
body.ed-type .lp-book__title{
  font-family:var(--ed-display);
}

/* Exception: the provider NAMES on the Our Providers roster keep the serif
   display face (Sam, 2026-06-26: sans everywhere EXCEPT header provider names). */
body.ed-type .prov-profile__name{
  font-family:"Spectral", Georgia, "Times New Roman", serif;
}

/* ---- Reading text + small labels -> Lora ---- */
body.ed-type .page-title__subtitle,
body.ed-type .prov-roster__lede,
body.ed-type .prov-profile__desc,
body.ed-type .prov-profile__cred,
body.ed-type .bio-hero__intro,
body.ed-type .bio-hero__eyebrow,
body.ed-type .bio-hero__chip,
body.ed-type .loc-minimap__cap,
body.ed-type .loc-minimap__attr,
body.ed-type .loc-minimap__links,
body.ed-type .loc-index__eyebrow,
body.ed-type .loc-index__intro,
body.ed-type .loc-card__hours,
body.ed-type .loc-card__addr,
body.ed-type .loc-card__tag,
body.ed-type .lp-book__eyebrow,
body.ed-type .lp-book__lead,
body.ed-type .lp-book__prep-link{
  font-family:var(--ed-body);
}

/* ---- Heading polish carried over from provider pages: big display headings
   use the full width and balance their lines instead of stranding a word. ---- */
body.ed-type .page-title,
body.ed-type .prov-roster__heading,
body.ed-type .bio-hero__title,
body.ed-type .loc-index__title{
  max-width:none;
  text-wrap:balance;
}
