/* HCP Dosing redesign (SERB-264)
   Self-contained styles for /Professional/About-Vistogard/Dosing. Loaded only on
   this page. Mirrors hcp_home_redesign.css conventions (design tokens, container,
   non-interactive blue sup). The HCP section loads main_style.css, so typography
   is pinned explicitly rather than inherited. */

.vg-hcp {
  --vg-darkest-blue: #08213D;
  --vg-dark-blue: #12365E;
  --vg-yellow: #EDDD24;
  --vg-text: #333333;
  --vg-link: #337AB7;
  --vg-light-gray: #D1D1D1;
  --vg-table-gray: #e2e2e7;
  --vg-border: #979797;
  --vg-font-black: 'Gotham-Black', Arial, sans-serif;
  --vg-font-medium: 'Gotham-Medium', Arial, sans-serif;
  --vg-font-book: 'Gotham-Book', Arial, sans-serif;
  color: var(--vg-text);
}

.vg-hcp * { box-sizing: border-box; }

.vg-hcp__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 42px;
}

.vg-hcp__section { padding: 48px 0 64px; }

/* Superscript reference markers — non-interactive, inherit copy color so they
   match surrounding text (SERB-310). Exponents (m², g/m²) already inherited. */
.vg-hcp sup {
  font-size: 0.55em;
  vertical-align: super;
  top: 0;
  color: inherit;
}

/* ---------- H1 ---------- */
.vg-hcp__h1 {
  font-family: var(--vg-font-black);
  font-size: 40px;
  line-height: 1.575;
  font-weight: normal;
  text-transform: uppercase;
  color: var(--vg-dark-blue);
  margin: 0 0 24px;
}

/* ---------- TWO-COLUMN ROW ---------- */
.vg-hcp__dose-row {
  display: grid;
  grid-template-columns: 575px 1fr;
  gap: 24px;
  /* Center the (shorter) infographic column vertically against the taller
     copy column — SERB-264 reopen fix #1. */
  align-items: center;
  margin-bottom: 56px;
}

.vg-hcp__dose-figure {
  display: flex;
  justify-content: center;
  align-items: center;
}
.vg-hcp__dose-figure img {
  display: block;
  width: 551px;
  max-width: 100%;
  height: auto;
}

.vg-hcp__dose-blocks {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.vg-hcp__dose-block { min-width: 0; }

.vg-hcp__dose-head {
  font-family: var(--vg-font-book);
  font-size: 24px;
  line-height: 1.083;
  font-weight: normal;
  color: var(--vg-dark-blue);
  margin: 0 0 16px;
}

/* ---------- BULLET LISTS — yellow right-pointing triangle markers ---------- */
.vg-hcp__dose-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 28px;
  font-family: var(--vg-font-book);
  font-size: 16px;
  line-height: 1.3125;
  color: var(--vg-text);
}
/* Yellow triangle as native list marker (SERB-316). */
.vg-hcp__dose-list > li {
  list-style-image: url('/img/redesign/yellow-triangle.svg');
  list-style-position: outside;
  padding-left: 11px;
  margin: 0 0 20px;
}
.vg-hcp__dose-list > li:last-child { margin-bottom: 0; }

/* Indented sub-points — yellow en-dash markers (SERB-316). */
.vg-hcp__dose-sublist {
  list-style: none;
  margin: 14px 0 0;
  padding: 0 0 0 22px;
}
/* Yellow en-dash native list marker (SERB-316). */
.vg-hcp__dose-sublist li {
  list-style-image: none;
  list-style-type: "\2013"; /* en dash */
  margin: 0 0 14px;
}
.vg-hcp__dose-sublist li::marker {
  color: var(--vg-yellow);
  font-weight: 700;
}
.vg-hcp__dose-sublist li:last-child { margin-bottom: 0; }

/* ---------- PEDIATRIC H2 ---------- */
.vg-hcp__dose-h2 {
  font-family: var(--vg-font-book);
  font-size: 24px;
  line-height: 1.083;
  font-weight: normal;
  color: var(--vg-dark-blue);
  margin: 0 0 20px;
}

/* ---------- BSA TABLE ---------- */
.vg-hcp__dose-table-wrap { overflow-x: auto; }

.vg-hcp__dose-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--vg-font-book);
  font-size: 16px;
  line-height: 1.3125;
  color: var(--vg-text);
  table-layout: fixed;
}

.vg-hcp__dose-table th,
.vg-hcp__dose-table td {
  border: 1px solid var(--vg-border);
  padding: 12px 16px;
  font-weight: normal;
  vertical-align: middle;
}

/* Body data cells (grams / teaspoons) centered. */
.vg-hcp__dose-table tbody td { text-align: center; }

/* Left column: gray fill, left-aligned. Body values render in body text
   color (#333) per Figma; only the header cell is navy (set below). */
.vg-hcp__dose-table .is-bsa {
  background: var(--vg-table-gray);
  color: var(--vg-text);
  text-align: left;
  width: 33.33%;
}

/* Top-left header cell + sub headers: gray, navy text. */
.vg-hcp__dose-table thead .is-bsa,
.vg-hcp__dose-table thead .is-sub {
  font-family: var(--vg-font-book);
  font-size: 24px;
  line-height: 1.083;
  color: var(--vg-dark-blue);
  background: var(--vg-table-gray);
  text-align: center;
  vertical-align: middle;
}
.vg-hcp__dose-table thead .is-bsa { text-align: left; }

/* Left-align the whole first column — header and body cells (SERB-335, per Figma).
   main_style.css ships a legacy `#dosingPage table, #dosingPage th { text-align:
   center }` rule whose ID specificity (1,0,1) beats the `.is-bsa` class rules above
   (0,3,0) and re-centers column 1. Re-introduce the #dosingPage ID here so this
   override wins (1,2,0 > 1,0,1). Scoped to .is-bsa, so columns 2-3 stay centered. */
#dosingPage .vg-hcp__dose-table .is-bsa { text-align: left; }

/* Navy spanning header with white text. */
.vg-hcp__dose-table thead .is-blue {
  font-family: var(--vg-font-book);
  font-size: 24px;
  line-height: 1.083;
  background: var(--vg-dark-blue);
  color: #fff;
  text-align: center;
}
/* The sup-wrap script wraps the "Vistogard®" mark in a plain <sup>, which the
   generic blue-sup rule would paint link-blue against the navy header. Inherit
   the white header color instead (SERB-264 QA). Scoped to the header so the
   page's blue reference numerals are unaffected. */
.vg-hcp__dose-table thead .is-blue sup { color: inherit; }

/* ---------- FOOTNOTES ---------- */
.vg-hcp__dose-foot {
  font-family: var(--vg-font-book);
  font-size: 16px;
  line-height: 1.3125;
  color: var(--vg-text);
  /* Single-spaced between the two footnote lines — SERB-264 reopen fix #4. */
  margin: 4px 0 0;
}
.vg-hcp__dose-foot:first-of-type { margin-top: 28px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  .vg-hcp__container { padding: 0 24px; }
  .vg-hcp__dose-row { grid-template-columns: 1fr; gap: 32px; }
  .vg-hcp__dose-figure { padding-top: 0; }
  .vg-hcp__dose-figure img { width: 100%; max-width: 440px; }
  .vg-hcp__h1 { font-size: 30px; }
}
