.learn-container { max-width: 800px; }
.learn-lead { font-size: var(--fs-md); }

/* Glossary: a wrapped row of links to every term (the member profile's
   jump-row look, without the sticky bar), and headings that land clear
   of the sticky site header. */
.learn-jump { margin: var(--sp-4) 0 var(--sp-6); }
.learn-jump ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.learn-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 var(--sp-3);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-full);
  background: var(--paper);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-700);
  text-decoration: none;
}
.learn-jump a:hover { background: var(--ink-100); color: var(--ink-900); }
/* h3[id] too: a /deadlines/ entry keeps its slug id when it moves to the
   Passed section as an h3, so a link shared before the date still lands. */
.learn-container h2[id],
.learn-container h3[id],
.learn-jump { scroll-margin-top: calc(var(--nav-h) + var(--sp-3)); }
/* Below 992px the sticky header is two rows (brand, then search), about
   108px at 390px wide, so one --nav-h would leave the heading under it. */
@media (max-width: 991.98px) {
  .learn-container h2[id],
  .learn-container h3[id],
  .learn-jump { scroll-margin-top: calc(var(--nav-rows-h-mobile) + var(--sp-3)); }
}
.learn-back { margin-top: var(--sp-6); }
