/* ============================================================================
   Governance / policy document pages — Blueco Healthcare
   ----------------------------------------------------------------------------
   Article/prose layout for native governance, complaints, and privacy pages
   (SEO Pillar 1). Built entirely on the onepager design tokens defined in
   style.css — no token is redefined here, so the two stay in lockstep.
   Load order: style.css first (tokens + chrome), then this file.
   ========================================================================== */

/* ----- Breadcrumb (sits inside the system .article-hero, light blue band) -- */
.bc-breadcrumb {
  font-family: "Open Sauce Sans", "Open Sauce Sans Fallback", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  margin: 0 0 22px;
  color: var(--color-stone-600);
}

.bc-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.bc-breadcrumb a {
  color: var(--color-blue-600);
  text-decoration: none;
}

.bc-breadcrumb a:hover { text-decoration: underline; }

.bc-breadcrumb li[aria-current="page"] { color: var(--color-navy-900); }

.bc-breadcrumb__sep { color: var(--color-stone-400); }

/* ----- Document body ------------------------------------------------------ */
.bc-doc {
  padding: var(--marketing-section-pad-y) 0;
  background: #fff;
}

.bc-doc__inner {
  width: var(--onescript-page-column-width, 100%);
  max-width: 100%;
  margin: 0 auto;
  padding-left: var(--marketing-page-gutter-x);
  padding-right: var(--marketing-page-gutter-x);
  box-sizing: border-box;
}

.bc-doc__lead {
  font-family: "Open Sauce Sans", "Open Sauce Sans Fallback", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-navy-900);
  margin: 0 0 1.75rem;
}

.bc-doc h2 {
  font-family: var(--font-noto-serif), ui-serif, Georgia, "Times New Roman", serif;
  font-size: var(--type-h2);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.3;
  color: var(--color-navy-900);
  margin: 2.5rem 0 0.9rem;
}

.bc-doc h3 {
  font-family: var(--font-noto-serif), ui-serif, Georgia, "Times New Roman", serif;
  font-size: var(--type-h3);
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-navy-900);
  margin: 1.75rem 0 0.6rem;
}

.bc-doc p,
.bc-doc li {
  font-family: "Open Sauce Sans", "Open Sauce Sans Fallback", system-ui, sans-serif;
  font-size: var(--type-body);
  line-height: 1.7;
  color: var(--color-stone-800);
}

.bc-doc p { margin: 0 0 1rem; }

.bc-doc ul,
.bc-doc ol {
  margin: 0 0 1rem;
  padding-left: 1.4rem;
}

.bc-doc li { margin-bottom: 0.4rem; }

.bc-doc a {
  color: var(--color-blue-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bc-doc a:hover { color: var(--color-blue-700); }

.bc-doc strong { font-weight: 700; color: var(--color-navy-900); }

/* ----- Registered-premises detail card ----------------------------------- */
.bc-doc__card {
  border: 1px solid var(--color-stone-200);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  margin: 1rem 0 1.5rem;
  background: var(--color-stone-50);
}

.bc-doc__card-title {
  font-family: "Open Sauce Sans", "Open Sauce Sans Fallback", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-navy-900);
  margin: 0 0 0.75rem;
}

.bc-doc__dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1.25rem;
  margin: 0;
  /* Align each label's baseline with the first line of its value, so the
     smaller uppercase dt doesn't sit above the dd's first line. */
  align-items: baseline;
}

.bc-doc__dl dt {
  font-family: "Open Sauce Sans", "Open Sauce Sans Fallback", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-stone-600);
  line-height: 1.5;
}

.bc-doc__dl dd {
  margin: 0;
  font-size: var(--type-body);
  color: var(--color-navy-900);
  line-height: 1.5;
}

@media (max-width: 520px) {
  .bc-doc__dl { grid-template-columns: 1fr; gap: 0.15rem; }
  .bc-doc__dl dd { margin-bottom: 0.6rem; }
}

/* ----- Regulator chip row (left-aligned variant of .bc-governance__chips) -- */
.bc-doc__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0.5rem 0 1.5rem;
}

/* ----- Last-reviewed footer line ------------------------------------------ */
.bc-doc__meta {
  margin-top: 2.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--color-stone-200);
  font-family: "Open Sauce Sans", "Open Sauce Sans Fallback", system-ui, sans-serif;
  font-size: 13px;
  color: var(--color-stone-500);
}

.bc-doc__meta strong { color: var(--color-stone-700); font-weight: 700; }

/* ----- Spacing for shared components placed inside the document body ------- */
/* The teal policy callout ships with a marketing section-gap margin-top and no
   bottom margin; inside a prose doc it needs balanced rhythm instead. */
.bc-doc .marketing-teal-policy-callout {
  margin: 1.5rem 0;
}

/* The FAQ accordion (used for the privacy-notice purpose list) needs breathing
   room above/below when it sits in the document flow. */
.bc-doc .faq-accordion {
  margin: 1.25rem 0 1.5rem;
}

/* Reclaim the answer width for the structured purpose detail (the default FAQ
   answer reserves 80px on the right for short text). */
.bc-doc .faq-item__answer {
  padding-right: 22px;
}

/* ----- Nav over the light article hero -------------------------------------
   style.css paints the Blueco nav solid navy (.blueco-page .site-nav-chrome-root),
   which ties on specificity with .is-on-soft-hero and wins on source order, so
   over the blue-100 article hero the bar stayed navy while the logo turned navy.
   Match the hero band instead, as the Onescript sub-pages do. */
.blueco-page .site-nav-chrome-root.is-on-soft-hero {
  background-color: var(--color-blue-100);
}
