/* JamLand Learn: the video pages' own rules, loaded only on /learn/guitar/videos/<slug>/
   (kept out of learn.css, which has a size budget). Tokens come from learn.css. */
/* "What the video shows": each chapter's time is a gold tap target that
   plays from there, beside what the video says. */
.chapters { list-style: none; margin: 0; padding: 0; }
.chapters > li {
  display: grid; grid-template-columns: 4.6em minmax(0, 1fr); column-gap: 14px; align-items: start;
  padding: 14px 0; box-shadow: inset 0 1px 0 var(--line);
}
.chapters > li:last-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.chapter-time {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
  padding: 0 10px; border-radius: 12px; text-decoration: none; font: 400 22px/1 var(--pixel);
  font-variant-numeric: tabular-nums; color: var(--gold); background: var(--gold-wash);
  box-shadow: inset 0 0 0 1px rgba(255, 210, 122, 0.25);
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.chapter-time:hover { background: rgba(255, 210, 122, 0.18); box-shadow: inset 0 0 0 1px var(--gold-dim); }
.chapter-title { display: block; color: var(--ink); font-weight: 800; line-height: 1.35; padding-top: 9px; }
.chapter-text > p { margin: 4px 0 0; color: var(--ink-2); }
.chapter-text em { color: var(--ink-3); }
.video figcaption a { color: var(--gold); }
#player { scroll-margin-top: 24px; }
@media (max-width: 420px) {
  .chapters > li { grid-template-columns: 4em minmax(0, 1fr); column-gap: 10px; }
}
@media (forced-colors: active) {
  .chapter-time { border: 1px solid CanvasText; }
}
@media print {
  .chapter-time { background: none; box-shadow: none; color: #222; }
}
