/* ═══════════════════════════════════════════════════════
   test-prostate-biopsy.css — Page-specific overrides
   Colorway: SLATE  (#637b83) — the unused brand neutral.
   Restrained and clinical; pairs with the standard purple
   for emphasis (slate alone is too muted on white).
   Sub-test under the Anatomic Pathology service line.
   ═══════════════════════════════════════════════════════ */

.ft-hero {
  background:
    radial-gradient(ellipse 80% 60% at 30% 0%, rgba(99, 123, 131, 0.20) 0%, transparent 70%),
    linear-gradient(180deg, #f4f6f7 0%, #ffffff 70%);
}

.ft-hero__overline {
  color: var(--color-slate);
  letter-spacing: var(--tracking-wider);
}

/* Italic emphasis stays purple — slate is too low-contrast to
   carry display-size emphasis text on white. */
.ft-hero__title em,
.ft-capabilities__title em,
.ft-faq__title em,
.gs-panel__title em {
  color: var(--color-purple);
}

.ft-capability__advantage-label {
  color: var(--color-slate);
}

.ft-capability--featured {
  background: linear-gradient(180deg, #ffffff 0%, rgba(99, 123, 131, 0.08) 100%);
  border-color: rgba(99, 123, 131, 0.30);
}

.ft-capability--featured .ft-capability__num {
  color: var(--color-slate);
}

.ft-faq__a h5 { color: var(--color-slate); }

/* No hero image — center the copy column. */
.ft-hero__inner {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

@media (min-width: 1024px) {
  .ft-hero__inner { grid-template-columns: 1fr; }
}

.ft-hero__lede,
.ft-hero__body { margin-left: auto; margin-right: auto; }

.ft-hero__actions { justify-content: center; }


/* ── GLEASON SCORE PANEL ────────────────────────────────
   Custom section: 5 grade tiles in a horizontal scale,
   colored from light (well differentiated) → dark (poorly
   differentiated). Reads as a clinical reference panel. */
.gs-panel {
  padding: var(--gap-3xl) 0;
  background: linear-gradient(180deg, #ffffff 0%, rgba(99, 123, 131, 0.08) 100%);
}

.gs-panel__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--gap-2xl);
}

.gs-panel__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-purple);
  margin: var(--gap-sm) 0 var(--gap-md);
}

.gs-panel__lede {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  line-height: 1.5;
  color: var(--on-surface-variant);
  margin: 0;
}

.gs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-md);
}

@media (min-width: 640px) {
  .gs-grid { grid-template-columns: repeat(5, 1fr); gap: 0; }
}

.gs-card {
  position: relative;
  padding: var(--gap-lg) var(--gap-md);
  background: #ffffff;
  border: 1px solid rgba(99, 123, 131, 0.20);
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .gs-card { border-radius: 0; border-right-width: 0; }
  .gs-card:first-child { border-top-left-radius: var(--radius-lg); border-bottom-left-radius: var(--radius-lg); }
  .gs-card:last-child  { border-top-right-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg); border-right-width: 1px; }
}

@media (max-width: 639.98px) {
  .gs-card { border-radius: var(--radius-md); }
}

/* Top accent bar darkens with grade — visual gradient across the row */
.gs-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gs-accent, var(--color-slate));
}

.gs-card[data-grade="1"] { --gs-accent: #c4d2d6; }
.gs-card[data-grade="2"] { --gs-accent: #9eb1b7; }
.gs-card[data-grade="3"] { --gs-accent: #7c9197; }
.gs-card[data-grade="4"] { --gs-accent: #5e7079; }
.gs-card[data-grade="5"] { --gs-accent: var(--color-navy-deep); }

.gs-card__grade {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  color: var(--color-purple);
  margin: 0 0 var(--gap-sm);
}

.gs-card__grade-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-slate);
  margin: 0 0 var(--gap-md);
}

.gs-card__body {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--on-surface-variant);
  margin: 0;
}

.gs-panel__note {
  margin: var(--gap-xl) auto 0;
  max-width: 720px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--on-surface-variant);
}

.gs-panel__note strong { color: var(--color-purple); }


/* References — slate paired with navy-deep (the navy companion
   gives it a darker bottom for legibility) */
.references {
  background: linear-gradient(180deg, var(--color-slate) 0%, var(--color-navy-deep) 100%);
}
