h2[id], h3[id], .anchor-alias {
  scroll-margin-top: var(--header-offset, 84px);
}

/* Zero-height anchor aliases injected to preserve legacy/custom ids */
.anchor-alias {
  display: block;
  height: 0;
  line-height: 0;
  overflow: hidden;
}
