/* =====================================================================
   Medical PCB Manufacturer - page stylesheet
   Prefix: pg-medpcb-
   Scope: .pg-medpcb (page body, Hero to FAQ).
   The Final CTA / RFQ section uses the shared stylesheet tpcb-rfq.css.
   Headings, paragraphs and font families inherit the global theme.
   Color roles: teal = actions and medical identity;
                blue = data, navigation, and measurement.
   ===================================================================== */


/* ---------------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------------- */
.pg-medpcb {
  --pg-medpcb-heading: #0d2a52;
  --pg-medpcb-text: #3d4859;
  --pg-medpcb-muted: #5b6576;
  --pg-medpcb-navy: #0b2246;

  /* Blue: data, links, measurement */
  --pg-medpcb-blue: #1565c0;
  --pg-medpcb-blue-dark: #0f4c97;
  --pg-medpcb-blue-accent: #1976d2;
  --pg-medpcb-sky: #40a0ff;

  /* Teal: actions and medical identity */
  --pg-medpcb-teal: #2dd4bf;          /* on dark surfaces only */
  --pg-medpcb-teal-hover: #5eead4;
  --pg-medpcb-teal-deep: #0f766e;     /* on light surfaces */
  --pg-medpcb-teal-deeper: #115e59;
  --pg-medpcb-teal-tint: #f0fdfa;
  --pg-medpcb-teal-line: #c6ebe4;

  /* Surfaces and lines */
  --pg-medpcb-bg-alt: #f4f7fb;
  --pg-medpcb-tint: #eaf2fb;
  --pg-medpcb-line: #dce4ee;
  --pg-medpcb-line-blue: #b8cfea;

  /* Hero overlay: same values as the other landing pages */
  --pg-medpcb-hero-overlay: linear-gradient(90deg, rgba(11, 34, 70, 0.94) 0%, rgba(11, 34, 70, 0.88) 40%, rgba(13, 50, 105, 0.55) 62%, rgba(13, 50, 105, 0.26) 100%);
  --pg-medpcb-hero-overlay-stacked: linear-gradient(180deg, rgba(11, 34, 70, 0.9) 0%, rgba(13, 50, 105, 0.82) 100%);

  /* Diagram palette: PCB materials, used inside the diagram only */
  --pg-medpcb-board: #efe3c8;
  --pg-medpcb-board-line: #d9c7a0;
  --pg-medpcb-cu: #c8793a;
  --pg-medpcb-slot-line: #b9a37a;

  --pg-medpcb-radius: 8px;
  --pg-medpcb-radius-sm: 4px;
  --pg-medpcb-section-y: 75px;
  --pg-medpcb-gap: 60px;
  --pg-medpcb-head-gap: 44px;
  --pg-medpcb-block-gap: 56px;
  --pg-medpcb-card-gap: 30px;
  --pg-medpcb-card-pad-x: 28px;
}


/* ---------------------------------------------------------------------
   2. Scoped base reset
   --------------------------------------------------------------------- */
.pg-medpcb *,
.pg-medpcb *::before,
.pg-medpcb *::after {
  box-sizing: border-box;
}

.pg-medpcb h2,
.pg-medpcb h3,
.pg-medpcb h4,
.pg-medpcb p,
.pg-medpcb figure,
.pg-medpcb dl,
.pg-medpcb dt,
.pg-medpcb dd {
  margin: 0;
}

.pg-medpcb img {
  display: block;
  max-width: 100%;
  height: auto;
}

.pg-medpcb a:focus-visible,
.pg-medpcb button:focus-visible {
  outline: 3px solid var(--pg-medpcb-sky);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Visually hidden text (table captions) */
.pg-medpcb-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}


/* ---------------------------------------------------------------------
   3. Layout primitives
   --------------------------------------------------------------------- */
.pg-medpcb-section {
  padding: var(--pg-medpcb-section-y) 0;
  background: #fff;
  scroll-margin-top: 90px;
}

.pg-medpcb-section--alt {
  background: var(--pg-medpcb-bg-alt);
}

.pg-medpcb-container {
  width: calc(100% - 40px);
  max-width: 1230px;
  margin-left: auto;
  margin-right: auto;
}

/* Vertical rhythm inside a section container */
.pg-medpcb .pg-medpcb-container > * + * {
  margin-top: var(--pg-medpcb-block-gap);
}

.pg-medpcb .pg-medpcb-container > .pg-medpcb-head + * {
  margin-top: var(--pg-medpcb-head-gap);
}

.pg-medpcb .pg-medpcb-container > .pg-medpcb-band {
  margin-top: 36px;
}

/* Section heading: centered title and lead */
.pg-medpcb-head {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pg-medpcb-head h2 {
  color: var(--pg-medpcb-heading);
}

.pg-medpcb .pg-medpcb-head > * + * {
  margin-top: 16px;
}

.pg-medpcb-lead {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: var(--pg-medpcb-text);
}

/* Split heading: long title left, lead right */
.pg-medpcb .pg-medpcb-head--split {
  display: grid;
  grid-template-columns: minmax(0, 53fr) minmax(0, 64fr);
  gap: var(--pg-medpcb-gap);
  align-items: start;
  max-width: none;
  text-align: left;
}

.pg-medpcb .pg-medpcb-head--split h2 {
  text-wrap: balance;
}

.pg-medpcb .pg-medpcb-head--split > * + * {
  margin-top: 0;
}

.pg-medpcb .pg-medpcb-head--split .pg-medpcb-lead {
  max-width: none;
  margin: 0;
}

/* Sub-block with a left-aligned H3 */
.pg-medpcb .pg-medpcb-block > * + * {
  margin-top: 20px;
}

.pg-medpcb-block__title {
  color: var(--pg-medpcb-heading);
}

.pg-medpcb-block__lead,
.pg-medpcb-block__body {
  max-width: 860px;
  color: var(--pg-medpcb-text);
}

/* Inline text links */
.pg-medpcb .pg-medpcb-link,
.pg-medpcb .pg-medpcb-link:visited {
  color: var(--pg-medpcb-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.pg-medpcb .pg-medpcb-link:hover {
  color: var(--pg-medpcb-blue-dark);
}

/* Notes below a table */
.pg-medpcb .pg-medpcb-block > .pg-medpcb-notes {
  margin-top: 14px;
}

.pg-medpcb-notes {
  font-size: 14px;
  line-height: 1.6;
  color: var(--pg-medpcb-muted);
}


/* ---------------------------------------------------------------------
   4. Buttons
   --------------------------------------------------------------------- */
.pg-medpcb .pg-medpcb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 26px;
  border: 0;
  border-radius: var(--pg-medpcb-radius-sm);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* Bright teal with navy text: dark surfaces */
.pg-medpcb .pg-medpcb-btn--bright,
.pg-medpcb .pg-medpcb-btn--bright:visited {
  background: var(--pg-medpcb-teal);
  color: var(--pg-medpcb-navy);
}

.pg-medpcb .pg-medpcb-btn--bright:hover,
.pg-medpcb .pg-medpcb-btn--bright:focus-visible {
  background: var(--pg-medpcb-teal-hover);
  color: var(--pg-medpcb-navy);
}

/* Deep teal with white text: light surfaces */
.pg-medpcb .pg-medpcb-btn--primary,
.pg-medpcb .pg-medpcb-btn--primary:visited {
  background: var(--pg-medpcb-teal-deep);
  color: #fff;
}

.pg-medpcb .pg-medpcb-btn--primary:hover,
.pg-medpcb .pg-medpcb-btn--primary:focus-visible {
  background: var(--pg-medpcb-teal-deeper);
  color: #fff;
}


/* ---------------------------------------------------------------------
   5. Hero
   Desktop: 604px minimum height, content centered vertically.
   --------------------------------------------------------------------- */
.pg-medpcb-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 604px;
  overflow: hidden;
  padding: var(--pg-medpcb-section-y) 0;
  background: var(--pg-medpcb-navy);
  color: #fff;
}

.pg-medpcb-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.pg-medpcb-hero .pg-medpcb-hero__img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 70% center;
}

/* Directional overlay: text left, board right */
.pg-medpcb-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--pg-medpcb-hero-overlay);
}

.pg-medpcb-hero .pg-medpcb-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--pg-medpcb-gap);
  align-items: center;
}

.pg-medpcb .pg-medpcb-hero__inner > * {
  margin-top: 0;
}

.pg-medpcb-hero .pg-medpcb-hero__title {
  color: #fff;
  text-wrap: balance;
}

.pg-medpcb-hero__summary {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
}

.pg-medpcb .pg-medpcb-hero__summary {
  margin-top: 20px;
}

/* Button with a short delivery note beside it */
.pg-medpcb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 32px;
}

.pg-medpcb .pg-medpcb-hero__lead {
  max-width: 340px;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

/* Right panel: four assurance items with icons */
.pg-medpcb .pg-medpcb-hero__panel {
  padding: 6px 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--pg-medpcb-radius);
  background: rgba(8, 26, 56, 0.76);
}

.pg-medpcb-hero__item {
  position: relative;
  padding: 18px 0 18px 40px;
}

.pg-medpcb-hero__item + .pg-medpcb-hero__item {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pg-medpcb-hero__item dt {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.pg-medpcb .pg-medpcb-hero__icon {
  position: absolute;
  top: 18px;
  left: 0;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--pg-medpcb-teal);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pg-medpcb .pg-medpcb-hero__item dd {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.74);
}


/* ---------------------------------------------------------------------
   6. Applications: one table per device group
   Header bar on top, each row drawn as a separate card, and the
   "How we build it" column tinted. Rows reflow to cards on tablets.
   --------------------------------------------------------------------- */
.pg-medpcb .pg-medpcb-apps > * + * {
  margin-top: 28px;
}

.pg-medpcb .pg-medpcb-apps > .pg-medpcb-apps__other {
  margin-top: 16px;
}

.pg-medpcb .pg-medpcb-apptable {
  width: 100%;
  margin: -10px 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0 10px;
  table-layout: fixed;
  background: transparent;
  font-size: 15px;
  line-height: 1.6;
}

.pg-medpcb .pg-medpcb-apps > .pg-medpcb-apptable + .pg-medpcb-apptable {
  margin-top: 18px;
}

.pg-medpcb .pg-medpcb-apptable tr {
  background: transparent;
}

.pg-medpcb .pg-medpcb-apptable th,
.pg-medpcb .pg-medpcb-apptable td {
  padding: 20px 24px;
  border: 0;
  background: #fff;
  color: var(--pg-medpcb-text);
  text-align: left;
  vertical-align: middle;
  overflow-wrap: break-word;
}

/* Column proportions */
.pg-medpcb-apptable thead th:nth-child(1) { width: 30%; }
.pg-medpcb-apptable thead th:nth-child(2) { width: 32%; }
.pg-medpcb-apptable thead th:nth-child(3) { width: 38%; }

/* Header bar */
.pg-medpcb .pg-medpcb-apptable thead th {
  padding-top: 14px;
  padding-bottom: 14px;
  border-top: 1px solid var(--pg-medpcb-line-blue);
  border-bottom: 1px solid var(--pg-medpcb-line-blue);
  background: var(--pg-medpcb-tint);
  color: var(--pg-medpcb-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.pg-medpcb .pg-medpcb-apptable thead th:first-child {
  border-left: 1px solid var(--pg-medpcb-line-blue);
  border-radius: var(--pg-medpcb-radius) 0 0 var(--pg-medpcb-radius);
  font-size: 16px;
}

.pg-medpcb .pg-medpcb-apptable thead th:last-child {
  border-right: 1px solid var(--pg-medpcb-line-blue);
  border-radius: 0 var(--pg-medpcb-radius) var(--pg-medpcb-radius) 0;
  color: var(--pg-medpcb-teal-deep);
}

/* Body rows as cards */
.pg-medpcb .pg-medpcb-apptable tbody th,
.pg-medpcb .pg-medpcb-apptable tbody td {
  border-top: 1px solid var(--pg-medpcb-line);
  border-bottom: 1px solid var(--pg-medpcb-line);
}

.pg-medpcb .pg-medpcb-apptable tbody th {
  border-left: 1px solid var(--pg-medpcb-line);
  border-radius: var(--pg-medpcb-radius) 0 0 var(--pg-medpcb-radius);
  color: var(--pg-medpcb-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.pg-medpcb .pg-medpcb-apptable tbody td.pg-medpcb-apptable__build {
  border-right: 1px solid var(--pg-medpcb-line);
  border-left: 1px solid var(--pg-medpcb-line);
  border-radius: 0 var(--pg-medpcb-radius) var(--pg-medpcb-radius) 0;
  background: var(--pg-medpcb-bg-alt);
}

/* Link at the end of a row: arrow marks navigation */
.pg-medpcb .pg-medpcb-app__link,
.pg-medpcb .pg-medpcb-app__link:visited {
  display: block;
  width: fit-content;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.pg-medpcb .pg-medpcb-app__link::after {
  content: "\2192";
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.pg-medpcb .pg-medpcb-app__link:hover::after {
  transform: translateX(3px);
}

/* Phone toggle: hidden on larger screens and when the script is off */
.pg-medpcb .pg-medpcb-app__toggle {
  display: none;
}

/* Closing band: implantable and other devices, on the same column lines */
.pg-medpcb .pg-medpcb-apps__other {
  display: grid;
  grid-template-columns: minmax(0, 30fr) minmax(0, 70fr);
  align-items: center;
  border: 1px solid var(--pg-medpcb-teal-line);
  border-radius: var(--pg-medpcb-radius);
  background: var(--pg-medpcb-teal-tint);
}

.pg-medpcb .pg-medpcb-apps__other-title {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--pg-medpcb-heading);
}

.pg-medpcb-apps__other-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-width: 0;
  padding: 20px 24px;
}

.pg-medpcb .pg-medpcb-apps__other-body p {
  max-width: 640px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pg-medpcb-text);
}

.pg-medpcb .pg-medpcb-apps__other-body .pg-medpcb-app__link {
  flex-shrink: 0;
  margin-top: 0;
}


/* ---------------------------------------------------------------------
   7. Materials and process options (spec grid)
   Hairlines come from a 1px grid gap over the line color.
   --------------------------------------------------------------------- */
.pg-medpcb-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--pg-medpcb-line);
  border-radius: var(--pg-medpcb-radius);
  background: var(--pg-medpcb-line);
}

.pg-medpcb-options__item {
  min-width: 0;
  padding: 20px 24px;
  background: #fff;
}

.pg-medpcb-options__item--wide {
  grid-column: 1 / -1;
}

.pg-medpcb-options__item dt {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--pg-medpcb-heading);
}

.pg-medpcb .pg-medpcb-options__item dd {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pg-medpcb-text);
}


/* ---------------------------------------------------------------------
   8. Tables
   --------------------------------------------------------------------- */
.pg-medpcb-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--pg-medpcb-line);
  border-radius: var(--pg-medpcb-radius);
  background: #fff;
}

.pg-medpcb .pg-medpcb-table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: auto;
  background: #fff;
  font-size: 15px;
  line-height: 1.55;
}

.pg-medpcb .pg-medpcb-table tr {
  background: transparent;
}

.pg-medpcb .pg-medpcb-table th,
.pg-medpcb .pg-medpcb-table td {
  padding: 14px 18px;
  border: 0;
  border-bottom: 1px solid var(--pg-medpcb-line);
  background: #fff;
  color: var(--pg-medpcb-text);
  text-align: left;
  vertical-align: middle;
  overflow-wrap: break-word;
}

.pg-medpcb .pg-medpcb-table thead th {
  border-bottom: 2px solid var(--pg-medpcb-blue);
  background: var(--pg-medpcb-tint);
  color: var(--pg-medpcb-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.pg-medpcb .pg-medpcb-table tbody th {
  color: var(--pg-medpcb-heading);
  font-weight: 600;
}

.pg-medpcb .pg-medpcb-table tbody tr:last-child > th,
.pg-medpcb .pg-medpcb-table tbody tr:last-child > td {
  border-bottom: 0;
}

/* Column proportions */
.pg-medpcb-table--spec thead th:first-child { width: 36%; }
.pg-medpcb-table--spec thead th:not(:first-child) { width: 32%; }
.pg-medpcb-table--risk thead th:nth-child(1) { width: 20%; }
.pg-medpcb-table--risk thead th:nth-child(2) { width: 34%; }

/* Project-specific tier column */
.pg-medpcb .pg-medpcb-table thead th.pg-medpcb-table__tier {
  border-bottom-color: var(--pg-medpcb-blue-accent);
  background: var(--pg-medpcb-blue-accent);
  color: #fff;
}

.pg-medpcb .pg-medpcb-table tbody td.pg-medpcb-table__tier {
  background: #f4f8fe;
  color: var(--pg-medpcb-heading);
  font-weight: 600;
}

/* Two-part values: one part per line */
.pg-medpcb-seg {
  display: block;
}


/* ---------------------------------------------------------------------
   9. Text + media split, photos, quote boxes
   --------------------------------------------------------------------- */
.pg-medpcb-split {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--pg-medpcb-gap);
  align-items: stretch;
}

.pg-medpcb-split__text {
  min-width: 0;
}

.pg-medpcb .pg-medpcb-split__text > * + * {
  margin-top: 18px;
}

.pg-medpcb .pg-medpcb-split__text > h3 {
  margin-top: 34px;
}

.pg-medpcb .pg-medpcb-split__text > h3:first-child {
  margin-top: 0;
}

.pg-medpcb .pg-medpcb-split__text > h2 + p {
  margin-top: 20px;
}

.pg-medpcb-split__text p {
  color: var(--pg-medpcb-text);
}

.pg-medpcb-split__media {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

/* Photo frame: fills the column height, crops without distortion */
.pg-medpcb-photo {
  position: relative;
  flex: 1 1 auto;
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--pg-medpcb-radius);
  background: #e4eaf2;
}

.pg-medpcb .pg-medpcb-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.pg-medpcb-photo--dark {
  background: #16325e;
}

/* Quote box: statements a reader can quote or act on */
.pg-medpcb-quote {
  padding: 20px 24px;
  border-left: 3px solid var(--pg-medpcb-teal-deep);
  border-radius: 0 var(--pg-medpcb-radius-sm) var(--pg-medpcb-radius-sm) 0;
  background: var(--pg-medpcb-teal-tint);
}

.pg-medpcb .pg-medpcb-quote p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--pg-medpcb-heading);
}

/* Diagram split: diagram left, text right on desktop */
.pg-medpcb .pg-medpcb-split--diagram {
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  grid-template-areas: "dgm text";
  align-items: center;
}

.pg-medpcb-split--diagram .pg-medpcb-split__text {
  grid-area: text;
}

.pg-medpcb-split--diagram .pg-medpcb-dgm {
  grid-area: dgm;
}


/* ---------------------------------------------------------------------
   10. Dark section (microvia reliability)
   --------------------------------------------------------------------- */
.pg-medpcb-section--dark {
  background: var(--pg-medpcb-navy);
  color: rgba(255, 255, 255, 0.84);
}

.pg-medpcb-section--dark h2,
.pg-medpcb-section--dark h3 {
  color: #fff;
}

.pg-medpcb .pg-medpcb-section--dark .pg-medpcb-split__text p {
  color: rgba(255, 255, 255, 0.82);
}

.pg-medpcb-quote--dark {
  border-left-color: var(--pg-medpcb-teal);
  background: rgba(45, 212, 191, 0.08);
}

.pg-medpcb .pg-medpcb-quote--dark p {
  color: rgba(255, 255, 255, 0.92);
}

.pg-medpcb .pg-medpcb-container > .pg-medpcb-closing {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
}


/* ---------------------------------------------------------------------
   11. Diagram (creepage and clearance)
   --------------------------------------------------------------------- */
.pg-medpcb-dgm {
  min-width: 0;
  padding: 20px 16px 16px;
  border-radius: var(--pg-medpcb-radius);
  background: var(--pg-medpcb-bg-alt);
}

.pg-medpcb .pg-medpcb-dgm__svg {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
}

.pg-medpcb-svg__title {
  font-size: 13px;
  font-weight: 700;
  fill: var(--pg-medpcb-heading);
}

.pg-medpcb-svg__label {
  font-size: 13px;
  font-weight: 700;
  fill: var(--pg-medpcb-heading);
}

.pg-medpcb-svg__note {
  font-size: 12px;
  fill: #51607a;
}

.pg-medpcb-svg__value {
  font-size: 13px;
  font-weight: 700;
}

.pg-medpcb-svg__value--clear { fill: var(--pg-medpcb-blue); }
.pg-medpcb-svg__value--creep { fill: var(--pg-medpcb-teal-deep); }

.pg-medpcb-svg__halo {
  paint-order: stroke;
  stroke: var(--pg-medpcb-board);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.pg-medpcb-svg__board {
  fill: var(--pg-medpcb-board);
  stroke: var(--pg-medpcb-board-line);
  stroke-width: 1;
}

/* Slot cutout shows the panel background */
.pg-medpcb-svg__slot {
  fill: var(--pg-medpcb-bg-alt);
  stroke: var(--pg-medpcb-slot-line);
  stroke-width: 1.2;
}

.pg-medpcb-svg__cu { fill: var(--pg-medpcb-cu); }

.pg-medpcb-svg__clear {
  fill: none;
  stroke: var(--pg-medpcb-blue);
  stroke-width: 2;
  stroke-dasharray: 5 4;
}

.pg-medpcb-svg__tick-clear {
  fill: none;
  stroke: var(--pg-medpcb-blue);
  stroke-width: 2;
}

.pg-medpcb-svg__creep {
  fill: none;
  stroke: var(--pg-medpcb-teal-deep);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pg-medpcb-svg__dot { fill: var(--pg-medpcb-teal-deep); }


/* ---------------------------------------------------------------------
   12. DFM checks and mid-page CTA band
   --------------------------------------------------------------------- */
.pg-medpcb .pg-medpcb-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--pg-medpcb-line);
}

.pg-medpcb .pg-medpcb-block > .pg-medpcb-checks {
  margin-top: 24px;
}

.pg-medpcb .pg-medpcb-checks__item {
  min-width: 0;
  margin: 0;
  padding: 22px 28px 0;
  border-left: 1px solid var(--pg-medpcb-line);
}

.pg-medpcb .pg-medpcb-checks__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.pg-medpcb .pg-medpcb-checks__item:last-child {
  padding-right: 0;
}

.pg-medpcb .pg-medpcb-checks__title {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--pg-medpcb-heading);
}

.pg-medpcb .pg-medpcb-checks__item p:not(.pg-medpcb-checks__title) {
  font-size: 15px;
  line-height: 1.6;
  color: var(--pg-medpcb-text);
}

.pg-medpcb-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 26px 32px;
  border: 1px solid var(--pg-medpcb-line);
  border-radius: var(--pg-medpcb-radius);
  background: #fff;
}

.pg-medpcb .pg-medpcb-band__text {
  min-width: 0;
  max-width: 760px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--pg-medpcb-heading);
}

.pg-medpcb .pg-medpcb-band__btn {
  flex-shrink: 0;
}


/* ---------------------------------------------------------------------
   13. Certifications strip: one panel, five cells split by hairlines
   --------------------------------------------------------------------- */
.pg-medpcb .pg-medpcb-certs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid var(--pg-medpcb-line);
  border-radius: var(--pg-medpcb-radius);
  background: #fff;
}

.pg-medpcb .pg-medpcb-block > .pg-medpcb-certs {
  margin-top: 24px;
}

.pg-medpcb .pg-medpcb-cert {
  min-width: 0;
  margin: 0;
  padding: 22px 22px 20px;
}

.pg-medpcb .pg-medpcb-cert + .pg-medpcb-cert {
  border-left: 1px solid var(--pg-medpcb-line);
}

.pg-medpcb .pg-medpcb-cert__mark {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  object-fit: contain;
  border-radius: var(--pg-medpcb-radius-sm);
  background: #e4eaf2;
}

.pg-medpcb-cert__body {
  min-width: 0;
}

.pg-medpcb .pg-medpcb-cert__name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--pg-medpcb-heading);
}

.pg-medpcb .pg-medpcb-cert__scope {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--pg-medpcb-text);
}

.pg-medpcb .pg-medpcb-block > .pg-medpcb-certs__note {
  margin-top: 14px;
}

.pg-medpcb-certs__note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--pg-medpcb-muted);
}

.pg-medpcb .pg-medpcb-block > .pg-medpcb-certs__note + .pg-medpcb-block__body {
  margin-top: 24px;
}


/* ---------------------------------------------------------------------
   14. Engineering resources (whole card clickable)
   --------------------------------------------------------------------- */
.pg-medpcb-guides {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.pg-medpcb-guide {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--pg-medpcb-line);
  border-radius: var(--pg-medpcb-radius);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pg-medpcb-guide:hover {
  border-color: var(--pg-medpcb-line-blue);
  box-shadow: 0 6px 18px rgba(13, 42, 82, 0.06);
}

.pg-medpcb-guide:focus-within {
  outline: 3px solid var(--pg-medpcb-sky);
  outline-offset: 2px;
}

.pg-medpcb .pg-medpcb-guide__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e4eaf2;
}

.pg-medpcb-guide__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 22px 24px 24px;
}

.pg-medpcb .pg-medpcb-guide__body > * + * {
  margin-top: 10px;
}

.pg-medpcb .pg-medpcb-guide__title {
  font-size: 18px;
  line-height: 1.4;
}

.pg-medpcb .pg-medpcb-guide__link,
.pg-medpcb .pg-medpcb-guide__link:visited {
  color: var(--pg-medpcb-heading);
  text-decoration: none;
}

.pg-medpcb .pg-medpcb-guide:hover .pg-medpcb-guide__link {
  color: var(--pg-medpcb-blue);
}

/* The title link covers the whole card */
.pg-medpcb-guide__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.pg-medpcb .pg-medpcb-guide__link:focus-visible {
  outline: none;
}

.pg-medpcb .pg-medpcb-guide__body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--pg-medpcb-text);
}

.pg-medpcb .pg-medpcb-guide__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: auto;
  padding-top: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--pg-medpcb-blue);
}

.pg-medpcb-guide__more::after {
  content: "\2192";
  transition: transform 0.2s ease;
}

.pg-medpcb-guide:hover .pg-medpcb-guide__more::after {
  transform: translateX(3px);
}

/* Pending state: guides not yet published */
.pg-medpcb-guides--pending .pg-medpcb-guide__link {
  pointer-events: none;
  cursor: default;
}

.pg-medpcb-guides--pending .pg-medpcb-guide__link::after,
.pg-medpcb .pg-medpcb-guides--pending .pg-medpcb-guide__more {
  display: none;
}

.pg-medpcb-guides--pending .pg-medpcb-guide:hover {
  border-color: var(--pg-medpcb-line);
  box-shadow: none;
}

.pg-medpcb .pg-medpcb-guides--pending .pg-medpcb-guide:hover .pg-medpcb-guide__link {
  color: var(--pg-medpcb-heading);
}


/* ---------------------------------------------------------------------
   15. FAQ accordion (centered column)
   --------------------------------------------------------------------- */
.pg-medpcb-faq {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid var(--pg-medpcb-line);
}

.pg-medpcb-faq__item {
  border-bottom: 1px solid var(--pg-medpcb-line);
}

.pg-medpcb-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
}

.pg-medpcb-faq__q::-webkit-details-marker {
  display: none;
}

.pg-medpcb-faq__q::marker {
  content: "";
}

.pg-medpcb-faq__q:focus-visible {
  outline: 3px solid var(--pg-medpcb-sky);
  outline-offset: 4px;
  border-radius: 2px;
}

.pg-medpcb .pg-medpcb-faq__q h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--pg-medpcb-heading);
}

.pg-medpcb .pg-medpcb-faq__q:hover h3,
.pg-medpcb .pg-medpcb-faq__item[open] .pg-medpcb-faq__q h3 {
  color: var(--pg-medpcb-teal-deep);
}

/* Plus / minus indicator */
.pg-medpcb-faq__icon {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--pg-medpcb-teal-line);
  border-radius: var(--pg-medpcb-radius-sm);
  background: #fff;
}

.pg-medpcb-faq__icon::before,
.pg-medpcb-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--pg-medpcb-teal-deep);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.pg-medpcb-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.pg-medpcb-faq__item[open] .pg-medpcb-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.pg-medpcb-faq__a {
  padding: 0 48px 22px 0;
}

.pg-medpcb .pg-medpcb-faq__a p {
  line-height: 1.7;
  color: var(--pg-medpcb-text);
}


/* ---------------------------------------------------------------------
   16. Phone quote bar (enabled below 768px by the page script)
   --------------------------------------------------------------------- */
.pg-medpcb-sticky {
  display: none;
}


/* ---------------------------------------------------------------------
   17. Responsive: tablet (1024px and below)
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .pg-medpcb {
    --pg-medpcb-section-y: 64px;
    --pg-medpcb-gap: 40px;
    --pg-medpcb-head-gap: 38px;
    --pg-medpcb-block-gap: 48px;
    --pg-medpcb-card-gap: 24px;
    --pg-medpcb-card-pad-x: 24px;
  }

  /* Hero: no fixed height, stacked */
  .pg-medpcb-hero {
    display: block;
    min-height: 0;
  }

  .pg-medpcb-hero__overlay {
    background: var(--pg-medpcb-hero-overlay-stacked);
  }

  .pg-medpcb-hero .pg-medpcb-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-medpcb-hero__summary,
  .pg-medpcb .pg-medpcb-hero__panel {
    max-width: 720px;
  }

  /* Certifications: one row per certificate */
  .pg-medpcb .pg-medpcb-certs {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-medpcb .pg-medpcb-cert {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
  }

  .pg-medpcb .pg-medpcb-cert + .pg-medpcb-cert {
    border-top: 1px solid var(--pg-medpcb-line);
    border-left: 0;
  }

  .pg-medpcb .pg-medpcb-cert__mark {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-bottom: 0;
  }

  /* Guides: one column of horizontal cards */
  .pg-medpcb-guides {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .pg-medpcb-guide {
    flex-direction: row;
  }

  .pg-medpcb-guide__media {
    flex: 0 0 36%;
  }

  .pg-medpcb .pg-medpcb-guide__media img {
    height: 100%;
    min-height: 180px;
    aspect-ratio: auto;
  }
}


/* ---------------------------------------------------------------------
   18. Responsive: narrow tablet (860px and below)
   --------------------------------------------------------------------- */
@media (max-width: 860px) {
  .pg-medpcb .pg-medpcb-head--split {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .pg-medpcb-split,
  .pg-medpcb .pg-medpcb-split--diagram {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
    gap: 32px;
  }

  .pg-medpcb-split--diagram .pg-medpcb-split__text,
  .pg-medpcb-split--diagram .pg-medpcb-dgm {
    grid-area: auto;
  }

  .pg-medpcb-photo {
    flex: none;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .pg-medpcb .pg-medpcb-checks {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-medpcb .pg-medpcb-checks__item,
  .pg-medpcb .pg-medpcb-checks__item:first-child,
  .pg-medpcb .pg-medpcb-checks__item:last-child {
    padding: 18px 0;
    border-left: 0;
  }

  .pg-medpcb .pg-medpcb-checks__item + .pg-medpcb-checks__item {
    border-top: 1px solid var(--pg-medpcb-line);
  }

  .pg-medpcb-band {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  /* Applications: each row becomes a card; group name stays as the title */
  .pg-medpcb .pg-medpcb-apptable,
  .pg-medpcb .pg-medpcb-apptable thead,
  .pg-medpcb .pg-medpcb-apptable tbody {
    display: block;
    width: 100%;
    margin: 0;
  }

  .pg-medpcb .pg-medpcb-apptable thead tr {
    display: block;
  }

  .pg-medpcb .pg-medpcb-apps > .pg-medpcb-apptable + .pg-medpcb-apptable {
    margin-top: 36px;
  }

  .pg-medpcb .pg-medpcb-apptable thead th {
    display: none;
  }

  .pg-medpcb .pg-medpcb-apptable thead th:first-child {
    display: block;
    width: auto;
    padding: 0 0 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 19px;
  }

  .pg-medpcb .pg-medpcb-apptable tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    margin-top: 12px;
    overflow: hidden;
    border: 1px solid var(--pg-medpcb-line);
    border-radius: var(--pg-medpcb-radius);
    background: #fff;
  }

  .pg-medpcb .pg-medpcb-apptable tbody th,
  .pg-medpcb .pg-medpcb-apptable tbody td,
  .pg-medpcb .pg-medpcb-apptable tbody td.pg-medpcb-apptable__build {
    display: block;
    border: 0;
    border-radius: 0;
  }

  .pg-medpcb .pg-medpcb-apptable tbody th {
    grid-column: 1 / -1;
    padding: 18px 22px 6px;
  }

  .pg-medpcb .pg-medpcb-apptable tbody td {
    padding: 12px 22px 18px;
  }

  .pg-medpcb .pg-medpcb-apptable td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--pg-medpcb-muted);
  }
  
  .pg-medpcb .pg-medpcb-apptable td.pg-medpcb-apptable__build::before {
    color: var(--pg-medpcb-teal-deep);
  }

  .pg-medpcb .pg-medpcb-apps__other {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-medpcb .pg-medpcb-apps__other-title {
    padding-bottom: 0;
  }

  .pg-medpcb-apps__other-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 8px;
  }
}


/* ---------------------------------------------------------------------
   19. Responsive: mobile (767px and below)
   --------------------------------------------------------------------- */
@media (max-width: 767px) {
  .pg-medpcb {
    --pg-medpcb-section-y: 52px;
    --pg-medpcb-gap: 32px;
    --pg-medpcb-head-gap: 30px;
    --pg-medpcb-block-gap: 40px;
    --pg-medpcb-card-gap: 16px;
    --pg-medpcb-card-pad-x: 20px;
  }

  /* Headings read left-aligned on narrow screens */
  .pg-medpcb-head,
  .pg-medpcb-lead {
    text-align: left;
  }

  /* Hero */
  .pg-medpcb .pg-medpcb-hero__panel {
    padding: 4px 20px;
  }

  .pg-medpcb-hero__item {
    padding: 16px 0 16px 38px;
  }

  .pg-medpcb .pg-medpcb-hero__icon {
    top: 17px;
  }

  .pg-medpcb-hero__item dt {
    font-size: 17px;
  }

  /* Applications: one column; two fields collapse behind a toggle (script on) */
  .pg-medpcb .pg-medpcb-apptable tbody tr {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-medpcb .pg-medpcb-apptable tbody th {
    padding: 16px 20px;
  }

  .pg-medpcb .pg-medpcb-apptable tbody td {
    padding: 12px 20px 18px;
  }

  .pg-medpcb .pg-medpcb-apptable tbody td.pg-medpcb-apptable__build {
    padding-top: 16px;
  }

  /* A hairline separates the title row from the opened fields */
  .pg-medpcb .pg-medpcb-apptable tbody th + td {
    border-top: 1px solid var(--pg-medpcb-line);
  }

  /* With the script on, every card except the first starts closed. The whole
     title row is the toggle: a transparent button covers it and only a
     chevron shows, the same quiet pattern as the FAQ. The button's text
     stays available to screen readers. */
  .pg-medpcb--js .pg-medpcb-app:not(.is-open) .pg-medpcb-app__more {
    display: none;
  }

  .pg-medpcb.pg-medpcb--js .pg-medpcb-apptable tbody th {
    position: relative;
    padding-right: 54px;
  }

  .pg-medpcb.pg-medpcb--js .pg-medpcb-app__toggle {
    appearance: none;
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    color: var(--pg-medpcb-teal-deep);
    font: inherit;
    cursor: pointer;
  }

  .pg-medpcb.pg-medpcb--js .pg-medpcb-app__toggle:hover,
  .pg-medpcb.pg-medpcb--js .pg-medpcb-app__toggle:focus,
  .pg-medpcb.pg-medpcb--js .pg-medpcb-app__toggle:active {
    background: transparent;
    color: var(--pg-medpcb-teal-deeper);
  }

  /* The card clips its corners, so the focus ring sits inside the title row */
  .pg-medpcb.pg-medpcb--js .pg-medpcb-app__toggle:focus-visible {
    outline-offset: -3px;
  }

  /* Chevron: down when closed, up when open */
  .pg-medpcb-app__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 24px;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s ease;
  }

  .pg-medpcb-app.is-open .pg-medpcb-app__toggle::after {
    transform: translateY(-20%) rotate(-135deg);
  }

  .pg-medpcb .pg-medpcb-apps__other-title {
    padding: 18px 20px 0;
  }

  .pg-medpcb-apps__other-body {
    padding: 8px 20px 18px;
  }

  /* Spec grid: one column */
  .pg-medpcb-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-medpcb-options__item {
    padding: 16px 18px;
  }

  /* Capability tables stay three columns: tighter cells, two-part values on two lines */
  .pg-medpcb .pg-medpcb-table--spec {
    font-size: 14px;
    line-height: 1.5;
  }

  .pg-medpcb .pg-medpcb-table--spec th,
  .pg-medpcb .pg-medpcb-table--spec td {
    padding: 11px 10px;
  }

  .pg-medpcb .pg-medpcb-table--spec thead th {
    font-size: 13px;
  }

  /* Risk table: each row becomes a labeled card */
  .pg-medpcb-table-wrap--reflow {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .pg-medpcb .pg-medpcb-table--reflow,
  .pg-medpcb .pg-medpcb-table--reflow tbody,
  .pg-medpcb .pg-medpcb-table--reflow tr,
  .pg-medpcb .pg-medpcb-table--reflow th,
  .pg-medpcb .pg-medpcb-table--reflow td {
    display: block;
    width: 100%;
  }

  .pg-medpcb .pg-medpcb-table--reflow {
    background: transparent;
  }

  .pg-medpcb .pg-medpcb-table--reflow thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .pg-medpcb .pg-medpcb-table--reflow tbody tr {
    overflow: hidden;
    border: 1px solid var(--pg-medpcb-line);
    border-radius: var(--pg-medpcb-radius);
    background: #fff;
  }

  .pg-medpcb .pg-medpcb-table--reflow tbody tr + tr {
    margin-top: 12px;
  }

  .pg-medpcb .pg-medpcb-table.pg-medpcb-table--reflow tbody tr > th {
    padding: 12px 16px;
    border-bottom: 1px solid var(--pg-medpcb-line);
    background: var(--pg-medpcb-tint);
  }

  .pg-medpcb .pg-medpcb-table.pg-medpcb-table--reflow tbody tr > td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--pg-medpcb-line);
  }

  .pg-medpcb .pg-medpcb-table.pg-medpcb-table--reflow tbody tr > td:last-child {
    border-bottom: 0;
  }

  .pg-medpcb .pg-medpcb-table--reflow td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--pg-medpcb-muted);
  }

  /* Quote boxes and band */
  .pg-medpcb-quote {
    padding: 16px 18px;
  }

  .pg-medpcb-band {
    padding: 22px 20px;
  }

  .pg-medpcb .pg-medpcb-band__text {
    font-size: 17px;
  }

  .pg-medpcb .pg-medpcb-container > .pg-medpcb-closing {
    margin-top: 36px;
  }

  /* FAQ */
  .pg-medpcb .pg-medpcb-faq__q h3 {
    font-size: 17px;
  }

  .pg-medpcb-faq__a {
    padding-right: 0;
  }

  /* Phone quote bar */
  .pg-medpcb--js .pg-medpcb-sticky {
    display: block;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--pg-medpcb-line);
    background: #fff;
    box-shadow: 0 -4px 16px rgba(13, 42, 82, 0.08);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s ease;
  }

  .pg-medpcb--js .pg-medpcb-sticky.is-visible {
    transform: none;
    visibility: visible;
  }

  .pg-medpcb .pg-medpcb-sticky .pg-medpcb-btn {
    width: 100%;
  }
}


/* ---------------------------------------------------------------------
   20. Phones (600px and below)
   --------------------------------------------------------------------- */
@media (max-width: 600px) {
  /* The diagram scales down on phones: larger type keeps labels readable */
  .pg-medpcb-svg__title,
  .pg-medpcb-svg__label,
  .pg-medpcb-svg__value {
    font-size: 18px;
  }

  .pg-medpcb-svg__note {
    font-size: 16px;
  }

  .pg-medpcb-dgm {
    padding: 14px 8px 10px;
  }

  /* Guides: text-only cards, no thumbnail. Three titles fit on about one screen. */
  .pg-medpcb-guides {
    gap: 12px;
  }

  .pg-medpcb-guide {
    flex-direction: column;
  }

  .pg-medpcb-guide__media {
    display: none;
  }

  .pg-medpcb-guide__body {
    padding: 18px 20px 16px;
  }

  .pg-medpcb .pg-medpcb-guide__body > * + * {
    margin-top: 8px;
  }

  .pg-medpcb .pg-medpcb-guide__title {
    font-size: 17px;
    line-height: 1.4;
  }

  .pg-medpcb .pg-medpcb-guide__body p {
    font-size: 15px;
    line-height: 1.55;
  }

  .pg-medpcb .pg-medpcb-guide__more {
    padding-top: 6px;
  }
}


/* ---------------------------------------------------------------------
   21. Small phones (480px and below)
   --------------------------------------------------------------------- */
@media (max-width: 480px) {
  .pg-medpcb-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pg-medpcb .pg-medpcb-hero__actions .pg-medpcb-btn,
  .pg-medpcb .pg-medpcb-band__btn {
    width: 100%;
  }

  .pg-medpcb .pg-medpcb-hero__lead {
    max-width: none;
    padding-left: 0;
    border-left: 0;
  }

  .pg-medpcb-band {
    align-items: stretch;
  }
}


/* ---------------------------------------------------------------------
   22. Reduced motion
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .pg-medpcb *,
  .pg-medpcb *::before,
  .pg-medpcb *::after {
    transition: none !important;
  }
}

body #tpcb-rfq {
  --tpcb-rfq-button: #2dd4bf;
  --tpcb-rfq-button-hover: #5eead4;
  --tpcb-rfq-on-button: #0b2246;
}