.reference-summary {
  max-width: 38em;
  margin-bottom: 0;
  font-size: clamp(17px, 2vw, 21px);
}

.reference-intro {
  max-width: 45em;
  margin-bottom: 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.reference-intro a {
  text-decoration: underline;
  text-underline-offset: .18em;
}

.reference-layout {
  padding-top: clamp(24px, 5vw, 56px);
  padding-bottom: var(--section-pad);
}

.reference-nav-label {
  margin: 4px 8px 8px;
}

.reference-body {
  max-width: var(--reading);
}

.reference-body > section:first-child {
  padding-top: 0;
}

.reference-body > section + section {
  border-top: 1px solid var(--border);
}

.reference-body > section:last-child {
  padding-bottom: 0;
}

.reference-body h3:not(:first-child) {
  margin-top: 1.4em;
}

.reference-body .table-scroll {
  margin-block: 1em 1.4em;
}

@media (max-width: 768px) {
  .reference-layout {
    row-gap: 36px;
  }
}