/* Long-tail per-CPT and per-payor page styles. Extends specialty.css. */

.longtail-page .specialty-hero h1 {
  font-size: clamp(32px, 4.4vw, 56px);
}

.longtail-page .specialty-hero .lead {
  font-size: clamp(16px, 1.5vw, 19px);
}

/* Coverage pills used in the per-CPT and per-payor tables */
.cov-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cov-pill.cov {
  background: rgba(27, 94, 63, 0.12);
  color: var(--green-clear);
}

.cov-pill.nocov {
  background: var(--bone);
  color: var(--slate);
}

.cov-pill.pa {
  background: rgba(140, 106, 26, 0.14);
  color: var(--amber);
}

.cov-pill.nopa {
  background: var(--bone);
  color: var(--slate);
}

/* Tables on long-tail pages are denser */
.cpt-payor-table th,
.cpt-payor-table td,
.category-table th,
.category-table td {
  padding: 10px 14px;
  font-size: 14px;
}

.cpt-payor-table code {
  background: var(--cream);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
  color: var(--rubric);
}

.category-table tbody tr:hover {
  background: var(--cream);
}

/* Related cards on per-CPT pages get a code prefix */
.related-section .related-card code {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--cream);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--rubric);
  margin-right: 8px;
}

/* Permutation pages — (CPT × payor) intersection */
.permutation-stance {
  max-width: 760px;
  margin: clamp(32px, 4vw, 56px) auto;
  padding: 0 clamp(20px, 5vw, 80px);
  display: grid;
  gap: 14px;
}

.permutation-stance .stance-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--bone);
  gap: 16px;
}

.permutation-stance .stance-row:last-child {
  border-bottom: none;
}

.permutation-stance .stance-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.permutation-stance .stance-value {
  font-size: 15px;
  color: var(--ink-soft);
}

.permutation-stance .stance-value code {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--cream);
  padding: 2px 8px;
  border-radius: 3px;
  color: var(--rubric);
}

.permutation-page .specialty-hero .eyebrow a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
}

.permutation-page .specialty-hero .eyebrow a:hover {
  color: var(--rubric);
}

.permutation-page .specialty-hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--slate);
}

.permutation-criteria {
  max-width: 760px;
  margin: 0 auto;
}

.permutation-criteria .criteria-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.permutation-criteria .criteria-list li {
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--bone);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  position: relative;
}

.permutation-criteria .criteria-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-clear);
  font-family: var(--mono);
  font-size: 14px;
}

.permutation-criteria .source-line {
  margin-top: 24px;
  font-size: 14px;
  color: var(--slate);
}

.permutation-criteria .source-line a {
  color: var(--rubric);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.needs-verif-note {
  max-width: 760px;
  margin: 0 auto 32px;
  padding: 16px 20px;
  background: rgba(140, 106, 26, 0.08);
  border-left: 3px solid var(--amber);
  font-size: 14px;
  line-height: 1.5;
  color: var(--graphite);
}

.needs-verif-note strong {
  color: var(--ink);
}

/* Mobile */
@media (max-width: 720px) {
  .cpt-payor-table th:nth-child(3),
  .cpt-payor-table td:nth-child(3),
  .category-table th:nth-child(5),
  .category-table td:nth-child(5) {
    display: none;
  }
  .permutation-stance .stance-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
