/* A narrow reading column keeps each explanation beside its illustration. */
.wavegrating-page .wg-story {
  max-width: 48rem;
}
.wg-story > p, .wg-story .wg-layer-key {
  max-width: 64ch;
  margin-top: 1rem;
}
.wg-story > figure {
  width: min(100%, 36rem);
  margin: 1.5rem 0 2rem;
}
.wg-story figure img, .wg-print-trace img {
  width: 100%;
  height: auto;
}
.wg-story > p a, .wg-story figcaption a, .wg-study-link {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: .16em;
}
.wg-study-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: .5rem;
}
.wg-layer-key dt {
  margin-top: 1.15rem;
  font-weight: 600;
  font-size: 1.2rem;
}
.wg-layer-key dd {
  margin: .25rem 0 0;
}
.wg-print-trace {
  margin-top: 2.5rem;
}
.wg-print-trace figure {
  max-width: 58rem;
  margin-top: 1.5rem;
}
#lookup-check { scroll-margin-top: 5.5rem; }

.wg-measurements .wg-benchmark-conditions {
  margin-top: .75rem;
  font-size: .9375rem;
  color: var(--muted);
}
