/* HCP Safety redesign (SERB-267)
   Self-contained styles for /Professional/About-Vistogard/Safety. Loaded only on
   this page. Mirrors hcp_dosing_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). */
.vg-hcp sup {
  font-size: 0.645em;
  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;
}

/* ---------- SUBHEAD ---------- */
.vg-hcp__subhead {
  font-family: var(--vg-font-book);
  font-size: 24px;
  line-height: 1.0833;
  font-weight: normal;
  color: var(--vg-dark-blue);
  margin: 0 0 32px;
}

/* ---------- TWO-COLUMN ROW: table (left) + bullets (right) ---------- */
.vg-hcp__safety-row {
  display: grid;
  grid-template-columns: 666px 1fr;
  gap: 62px;
  align-items: start;
}

/* ---------- ADVERSE REACTIONS TABLE ---------- */
.vg-hcp__ar-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__ar-table th,
.vg-hcp__ar-table td {
  border: 1px solid var(--vg-border);
  padding: 10px 16px;
  font-weight: normal;
  vertical-align: middle;
}

/* Navy spanning caption header, white text, centered. */
.vg-hcp__ar-table .is-caption {
  font-family: var(--vg-font-book);
  font-size: 24px;
  line-height: 1.0833;
  background: var(--vg-dark-blue);
  color: #fff;
  text-align: center;
  padding: 18px 16px;
}
/* Reference marker on the navy caption is white (not the default blue sup),
   matching Figma — the navy fill would otherwise swallow a light-blue marker. */
.vg-hcp__ar-table .is-caption sup { color: #fff; }

/* Column sub-headers: gray fill, dark text, left/centered. */
.vg-hcp__ar-table .is-colhead {
  background: var(--vg-table-gray);
  color: var(--vg-text);
}
.vg-hcp__ar-table .is-colhead.is-react { text-align: left; }
.vg-hcp__ar-table .is-colhead.is-num { text-align: center; }

/* Row label column: gray fill, left-aligned. */
.vg-hcp__ar-table th.is-react {
  background: var(--vg-table-gray);
  color: var(--vg-text);
  text-align: left;
}

/* Numeric body cells centered. */
.vg-hcp__ar-table tbody td { text-align: center; }

/* ---------- BULLET LIST — yellow right-pointing triangle markers ---------- */
.vg-hcp__safety-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__safety-list > li {
  list-style-image: url('/img/redesign/yellow-triangle.svg');
  list-style-position: outside;
  padding-left: 11px;
  margin: 0 0 20px;
}
.vg-hcp__safety-list > li:last-child { margin-bottom: 0; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  .vg-hcp__container { padding: 0 24px; }
  .vg-hcp__safety-row { grid-template-columns: 1fr; gap: 40px; }
  .vg-hcp__h1 { font-size: 30px; }
}
