/* Work Sans metric-matched fallbacks (scripts/apply_lowhanging_1027.py) */
@font-face { font-family: "Work Sans Fallback"; font-weight: 400; src: local("Arial"), local("ArialMT");
  size-adjust: 112.36%; ascent-override: 82.77%; descent-override: 21.63%; line-gap-override: 0%; }
@font-face { font-family: "Work Sans Fallback"; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 104.68%; ascent-override: 88.84%; descent-override: 23.21%; line-gap-override: 0%; }
@font-face { font-family: "Work Sans Fallback R"; font-weight: 400; src: local("Roboto"), local("Roboto-Regular");
  size-adjust: 112.68%; ascent-override: 82.53%; descent-override: 21.57%; line-gap-override: 0%; }
@font-face { font-family: "Work Sans Fallback R"; font-weight: 700; src: local("Roboto Bold"), local("Roboto-Bold");
  size-adjust: 111.17%; ascent-override: 83.66%; descent-override: 21.86%; line-gap-override: 0%; }

/*
 * SEO/AIO extension styles for jzcorrections.com
 * Components used by guides/, compare/, solutions/, resources/ and the hub index pages
 * built by scripts/page_builder.py. Loads after mdb.min.css, style.css and custom.css.
 *
 * PALETTE NOTE (read before editing): this file is ported from jzhealthcare-seo/css/seo-extensions.css
 * but does NOT reuse the healthcare colors (#1f6e8c / #0e3a4a, Bricolage Grotesque). The live
 * corrections site (css/custom.css + the inline .jzf form styles on index.html and servesmart.html)
 * uses one brand blue and Work Sans everywhere:
 *   #17457c  primary blue      (.lblue, .bg-lblue, .healthcare-btn, form buttons, 50 uses on servesmart.html)
 *   #0d2d52  hover / dark blue (.btn-jz:hover, .btn-back:hover)
 *   #07409C  alt hover         (.healthcare-btn:hover in custom.css)
 *   #e0e8f4  soft blue fill    (tile icons, recap chips, info notes)
 *   #eef2f8  hover fill
 *   #d0dcea  border            (tiles, progress dots)
 *   #a0b8d8  strong border     (recap chips, info notes)
 *   #1c1c1c  text / help button
 *   #555     muted text
 *   #0a7c3e  success green
 *   #c0392b  error red
 *   Fonts: "Work Sans" body and headings (custom.css maps p and .playfair to Work Sans);
 *          "Special Gothic Expanded One" only on the quote-form step titles.
 * Live heading conventions to reuse on new pages: h1/h2 class="playfair lblue" (or text-white on .bg-lblue),
 * display-3 / display-4 for size, class="mont" on lists and small print (mont is referenced by the live
 * markup but not defined in any live stylesheet; it falls through to Work Sans).
 */

:root {
  --jz-blue: #17457c;
  --jz-blue-dark: #0d2d52;
  --jz-blue-hover: #07409C;
  --jz-soft-bg: #e0e8f4;
  --jz-soft-bg-2: #eef2f8;
  --jz-border: #d0dcea;
  --jz-border-strong: #a0b8d8;
  --jz-text: #1c1c1c;
  --jz-muted: #555555;
  --jz-ok: #0a7c3e;
  --jz-ok-soft: #e3f4e9;
  --jz-rose: #c0392b;
  --jz-rose-soft: #fff0f0;
  --jz-amber: #d98c00;
  --jz-amber-soft: #fff5d6;
  --jz-font: "Work Sans", "Work Sans Fallback", "Work Sans Fallback R", sans-serif;
}

/* ---- Page hero band (matches the live section.bg-lblue heroes) ---- */
.jz-page-hero {
  background: var(--jz-blue);
  color: #fff;
  padding: 3.5rem 0 3rem;
  font-family: var(--jz-font);
}
.jz-page-hero h1 {
  font-family: var(--jz-font);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
  margin-bottom: 1rem;
  color: #fff;
}
.jz-page-hero .jz-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}
.jz-page-hero .jz-subhead {
  font-size: 1.1rem;
  max-width: 60ch;
  opacity: 0.95;
  color: #fff;
}
.jz-page-hero .btn-light { color: var(--jz-blue); font-weight: 700; }
.jz-page-hero .btn-outline-light { border-color: rgba(255,255,255,0.7); color: #fff; }
.jz-page-hero .btn-outline-light:hover { background: rgba(255,255,255,0.12); }

/* ---- Breadcrumb (visible) ---- */
.jz-breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.75rem;
}
.jz-breadcrumb a { color: rgba(255, 255, 255, 0.95); text-decoration: underline; }
.jz-breadcrumb .sep { margin: 0 0.5rem; opacity: 0.6; }

/* ---- TL;DR / summary block ---- */
.jz-tldr {
  background: var(--jz-soft-bg-2);
  border-left: 4px solid var(--jz-blue);
  padding: 1.25rem 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
}
.jz-tldr h2,
.jz-tldr p:first-child strong {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--jz-muted);
  margin: 0 0 0.5rem;
}
.jz-tldr p { margin-bottom: 0.5rem; line-height: 1.55; }
.jz-tldr ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.jz-tldr li { margin-bottom: 0.3rem; line-height: 1.5; }

/* ---- Proof chips row (used in heroes) ---- */
.jz-chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.5rem; }
.jz-chip {
  display: inline-flex; align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}
.jz-chip i { margin-right: 0.4rem; opacity: 0.85; }
/* chips on a white background (body use) */
.jz-page-body .jz-chip {
  background: var(--jz-soft-bg);
  border-color: var(--jz-border-strong);
  color: var(--jz-blue);
  font-weight: 700;
}

/* ---- Differentiator / hub card grid ---- */
.jz-diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.jz-diff-card,
.jz-hub-card {
  display: block;
  background: #fff;
  border: 2px solid var(--jz-border);
  border-radius: 12px;
  padding: 1.25rem;
  color: var(--jz-text);
  text-decoration: none;
  height: 100%;
  transition: border-color 0.12s, background 0.12s, box-shadow 0.15s;
}
.jz-diff-card:hover,
.jz-hub-card:hover { border-color: var(--jz-blue); background: var(--jz-soft-bg-2); color: var(--jz-text); }
.jz-diff-card h3,
.jz-hub-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--jz-blue);
  margin: 0 0 0.5rem;
}
.jz-diff-card p,
.jz-hub-card p { font-size: 0.93rem; line-height: 1.5; color: var(--jz-text); margin: 0; }
.jz-diff-card a.jz-link { display: inline-block; margin-top: 0.5rem; color: var(--jz-blue); font-weight: 600; }
.jz-card-eyebrow {
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; font-weight: 700;
  color: var(--jz-muted); margin-bottom: 0.4rem;
}
.jz-hub-card-cta { display: inline-block; margin-top: 0.75rem; color: var(--jz-blue); font-weight: 700; font-size: 0.9rem; }
.jz-hub-empty {
  background: var(--jz-soft-bg-2);
  border: 1px dashed var(--jz-border-strong);
  border-radius: 12px;
  padding: 1.5rem;
  color: var(--jz-muted);
}

/* ---- Spec table (label / value / source) ---- */
.jz-spec-wrap { overflow-x: auto; margin: 2rem 0; }
table.jz-spec {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--jz-border);
  font-size: 0.95rem;
}
table.jz-spec caption, table.jz-compare caption {
  caption-side: top;
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 700;
  color: var(--jz-blue);
  background: var(--jz-soft-bg-2);
  border-bottom: 1px solid var(--jz-border);
}
table.jz-spec th, table.jz-spec td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--jz-border);
  text-align: left;
  vertical-align: top;
}
table.jz-spec thead th { background: var(--jz-blue); color: #fff; font-weight: 700; width: auto; }
table.jz-spec tbody th { background: var(--jz-soft-bg-2); width: 30%; color: var(--jz-blue); font-weight: 600; }
table.jz-spec td.jz-source { color: var(--jz-muted); font-size: 0.85rem; white-space: nowrap; }
table.jz-spec tr:last-child td, table.jz-spec tr:last-child th { border-bottom: none; }

/* ---- Comparison table (multi-column) ---- */
.jz-compare-wrap { overflow-x: auto; margin: 2rem 0; }
table.jz-compare {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--jz-border);
  font-size: 0.93rem;
}
table.jz-compare th, table.jz-compare td {
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--jz-border);
  vertical-align: top;
}
table.jz-compare thead th { background: var(--jz-blue); color: #fff; }
table.jz-compare tbody th { background: var(--jz-soft-bg-2); text-align: left; font-weight: 600; color: var(--jz-blue); }
table.jz-compare .jz-good { color: var(--jz-ok); font-weight: 700; }
table.jz-compare .jz-bad { color: var(--jz-rose); font-weight: 700; }
table.jz-compare .jz-neutral { color: var(--jz-muted); }

/* ---- Draft / verification banner ---- */
.jz-draft-banner {
  background: var(--jz-amber-soft);
  border: 2px solid var(--jz-amber);
  color: #5a3a00;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  font-weight: 500;
  margin: 0 0 1.5rem;
}
.jz-draft-banner strong { color: #3a2700; }

/* ---- Inline verify marker ---- */
.jz-verify { background: var(--jz-amber-soft); padding: 0 0.25rem; border-radius: 2px; }

/* ---- FAQ list (details/summary accordion) ---- */
.jz-faq { margin: 2rem 0; }
.jz-faq details {
  background: #fff;
  border: 2px solid var(--jz-border);
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  margin-bottom: 0.6rem;
}
.jz-faq details[open] { border-color: var(--jz-blue); }
.jz-faq summary {
  font-weight: 700;
  color: var(--jz-blue);
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.jz-faq summary::-webkit-details-marker { display: none; }
.jz-faq summary::after { content: '+'; font-size: 1.3rem; color: var(--jz-blue); flex-shrink: 0; }
.jz-faq details[open] summary::after { content: '\2212'; }
.jz-faq details > *:not(summary) { margin-top: 0.6rem; line-height: 1.55; }

/* ---- CTA band ---- */
.jz-cta-strip {
  background: var(--jz-blue);
  color: #fff;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  margin: 2.5rem 0;
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
}
.jz-cta-strip h3, .jz-cta-strip h2 { color: #fff; margin: 0; font-size: 1.3rem; font-weight: 700; }
.jz-cta-strip p { color: #fff; margin: 0.25rem 0 0; opacity: 0.9; }
.jz-cta-strip .btn { white-space: nowrap; }
.jz-cta-strip .btn-light { color: var(--jz-blue); font-weight: 700; }
.jz-cta-strip .btn-outline-light { color: #fff; border-color: rgba(255,255,255,0.7); }
.jz-cta-strip a { color: #fff; }
.jz-contact-line { text-align: center; color: var(--jz-muted); font-size: 0.95rem; }
.jz-contact-line a { color: var(--jz-blue); }

/* ---- Source citations (numbered footnotes) ---- */
.jz-sources {
  margin: 2.5rem 0 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--jz-border);
  font-size: 0.9rem;
  color: var(--jz-muted);
}
.jz-sources h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--jz-muted); margin: 0 0 0.75rem; }
.jz-sources ol { padding-left: 1.4rem; margin: 0; }
.jz-sources li { margin-bottom: 0.4rem; line-height: 1.5; }
.jz-sources li:target { background: var(--jz-amber-soft); }
.jz-sources a { color: var(--jz-blue); word-break: break-all; }
.jz-sources .jz-access { color: var(--jz-muted); }
sup.jz-cite { font-size: 0.7em; line-height: 0; }
sup.jz-cite a { color: var(--jz-blue); text-decoration: none; font-weight: 700; }

/* ---- Callout / note box ---- */
.jz-note {
  background: var(--jz-soft-bg);
  border: 1.5px solid var(--jz-border-strong);
  color: var(--jz-blue);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ---- Pillar / cluster nav (small) ---- */
.jz-cluster-nav {
  background: var(--jz-soft-bg-2);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 2rem 0;
}
.jz-cluster-nav h3, .jz-cluster-heading { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--jz-muted); margin: 0 0 0.5rem; font-weight: 700; }
.jz-cluster-nav ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.jz-cluster-nav li a { color: var(--jz-blue); font-weight: 600; }

/* ---- Body container baseline ---- */
.jz-page-body { padding: 2.5rem 0; font-family: var(--jz-font); }
.jz-page-body h2 { color: var(--jz-blue); margin-top: 2.25rem; font-weight: 700; }
.jz-page-body h3 { color: var(--jz-blue); margin-top: 1.5rem; font-weight: 700; }
.jz-page-body p { line-height: 1.65; font-size: 1rem; }
.jz-page-body ul, .jz-page-body ol { line-height: 1.65; font-size: 1rem; }
.jz-page-body a { color: var(--jz-blue); }

/* ---- Print-clean ---- */
@media print {
  .jz-cta-strip, .help-button, .fixed-top, footer { display: none !important; }
  .jz-page-hero { background: none; color: #000; padding: 1rem 0; }
  .jz-page-hero h1 { color: #000; }
}

/* custom.css reserves the fixed header height measured by js/script.js. */

/* Retained pages share these components through custom.css's local import. */
.jz-breadcrumb { color: var(--jz-muted); }
.jz-breadcrumb a { color: var(--jz-blue); }
.jz-page-hero .jz-breadcrumb,
.jz-page-hero .jz-breadcrumb a { color: #fff; }
.jz-tldr h2 { margin-top: 0; }
section[aria-labelledby="jz-quick-answer"] { padding-block: 1.25rem !important; }
section[aria-labelledby="jz-quick-answer"] .jz-tldr { margin: 0; }
.jz-page-body, .jz-page-body .container { min-width: 0; }
.jz-spec-wrap, .jz-compare-wrap, .table-responsive { min-width: 0; max-width: 100%; }
.jz-spec-wrap, .jz-compare-wrap, .table-responsive {
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.jz-spec-wrap:focus-visible, .jz-compare-wrap:focus-visible,
.table-responsive:focus-visible { outline: 2px solid var(--jz-blue); outline-offset: 3px; }
.jz-page-body, .jz-tldr, .jz-faq, .jz-cluster-nav { overflow-wrap: anywhere; }
.jz-page-body figure { margin-inline: 0; }
.jz-page-body img { max-width: 100%; height: auto; }
.jz-faq summary { min-height: 2rem; }
[id] { scroll-margin-top: calc(var(--jz-header-height, 154px) + 16px); }
.navbar-brand { flex-shrink: 0; }
@media (min-width: 992px) {
  .navbar .nav-item.dropdown:focus-within > .dropdown-menu { display: block; }
}
@media (min-width: 992px) and (max-width: 1399px) {
  .navbar .nav-link { font-size: 0.82rem; padding-inline: 0.4rem; }
  .navbar .nav-item.dropdown { padding-left: 0 !important; }
}
@media (max-width: 991px) {
  .top-bar small { flex-wrap: wrap; justify-content: flex-end; gap: 0.25rem; }
  .top-bar .btn { padding: 0.4rem 0.55rem; }
  .navbar-collapse { max-height: 65vh; overflow-y: auto; }
  .navbar-toggler { flex-shrink: 0; }
  .jz-cta-strip .btn { white-space: normal; }
  .jz-spec-wrap table, .jz-compare-wrap table { min-width: 36rem; }
  .help-button { animation: none; }
}

/* VISQA2: preserve Bootstrap container widths and component styles in page bodies. */
.container.jz-page-body { padding-inline: 12px; }
.jz-page-body .jz-cta-strip h2,
.jz-page-body .jz-cta-strip h3 { color: #fff; margin-top: 0; }
.jz-page-body .btn-primary,
.jz-page-body .btn-outline-light { color: #fff; }
.jz-page-body .jz-hub-card h2,
.jz-page-body .jz-hub-card h3 { font-size: 1.05rem; margin: 0 0 0.5rem; }
.jz-page-body .jz-sources h2 { margin: 0 0 0.75rem; }
table.jz-spec th, table.jz-compare th { overflow-wrap: normal; word-break: normal; }
table.jz-spec th:last-child, table.jz-spec td:last-child { min-width: 7rem; }
table.jz-compare th:first-child, table.jz-compare td:first-child { min-width: 7rem; }
.portfolio-item .card a.btn[data-cta="email"],
.portfolio-item .card a.btn[data-cta="phone"] { margin-block: 0.25rem; }

/* ---- Sections appended after .jz-page-body ----
   The related-guides block and the specification-sheet photo gallery are rendered as
   siblings of .jz-page-body, so they fell outside its typography rules and picked up the
   framework default (Roboto, #4f4f4f) instead of the site heading treatment. Verified in
   a browser: page-body headings computed rgb(23,69,124)/Work Sans, these computed
   rgb(79,79,79)/Roboto. Match them without touching the markup on 43 pages. */
.jz-pdf-photo-gallery,
section[aria-labelledby^="related-guides"],
section[aria-labelledby^="d2-related"] { font-family: var(--jz-font); }

.jz-pdf-photo-gallery h2,
section[aria-labelledby^="related-guides"] h2,
section[aria-labelledby^="d2-related"] h2 {
  color: var(--jz-blue);
  font-weight: 700;
  font-size: 1.5rem;
  margin-top: 2.25rem;
}

.jz-pdf-photo-gallery a,
section[aria-labelledby^="related-guides"] a,
section[aria-labelledby^="d2-related"] a { color: var(--jz-blue); }

.jz-pdf-photo-gallery p,
.jz-pdf-photo-gallery figcaption,
section[aria-labelledby^="related-guides"] li,
section[aria-labelledby^="d2-related"] li { line-height: 1.65; font-size: 1rem; }

.jz-pdf-photo-gallery figcaption { font-size: 0.875rem; color: var(--jz-muted); }

/* jz-seo-1027: captioned product photo on pages that had none */
.jz-figure { margin: 1.75rem auto 2rem; max-width: 760px; text-align: center; }
.jz-figure img { display: block; margin: 0 auto; max-width: 100%; height: auto; border-radius: 6px; }
.jz-figure a { display: inline-block; }
.jz-figure-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; }
.jz-figure-row > img, .jz-figure-row > a { flex: 0 1 auto; max-width: calc(50% - .5rem); }
.jz-figure-row > a img { max-width: 100%; }
.jz-figure figcaption { font-size: .9rem; color: #5a6470; margin-top: .65rem; line-height: 1.45; }
.jz-figure-side { margin: 1.25rem 0 0; max-width: 520px; }
.jz-glance { margin: 1rem 0 2rem; width: 100%; }
.jz-glance dl { display: grid; grid-template-columns: minmax(9rem, max-content) 1fr; gap: .45rem 1.25rem; margin: 0; }
.jz-glance dt { font-weight: 700; color: #17457c; }
.jz-glance dd { margin: 0; }
@media (max-width: 575.98px) {
  .jz-figure-row { flex-wrap: nowrap; gap: .5rem; align-items: flex-start; }
  .jz-figure-row > img, .jz-figure-row > a { flex: 1 1 0; min-width: 0; max-width: none; }
  .jz-figure-row > img, .jz-figure-row > a img { width: 100%; height: auto; }
  .jz-glance dl { grid-template-columns: 1fr; gap: .15rem; }
  .jz-glance dd { margin-bottom: .6rem; }
}
