/* The guides page: one column of videos, each with its captions as text.
   Its own file so it can change without touching site.css. Theme tokens only. */
.guides-hero { padding-bottom: 1.6rem; }
.guides-hero .lede { max-width: 40rem; }
.guides-toc { list-style: none; margin: 1.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; counter-reset: g; }
.guides-toc li { counter-increment: g; font-size: .95rem; }
.guides-toc li::before { content: counter(g) "  "; color: var(--ink-soft); font-family: var(--mono); font-size: .85rem; white-space: pre; }

.guides-list { padding-top: 1rem; }
.guide { max-width: 56rem; padding: 2rem 0 2.4rem; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.guide:first-child { border-top: 0; padding-top: 0; }
.guide-head { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.guide-head h2 { margin: 0; font-size: 1.5rem; }
.guide-n { color: var(--accent); font-family: var(--mono); font-size: 1rem; font-weight: 500; margin-right: .35rem; }
.guide-len { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.guide-line { margin: .3rem 0 1rem; color: var(--ink-mid); }
.guide-video {
  display: block; width: 100%; height: auto; aspect-ratio: 1280 / 800;
  background: var(--sunk); border: 1px solid var(--line); border-radius: 8px;
}
.guide-steps { margin-top: .9rem; }
.guide-steps-h { margin: 0 0 .3rem; font-size: .82rem; color: var(--ink-soft); }
.guide-steps ol { margin: 0; padding-left: 1.3rem; columns: 2 22rem; column-gap: 2rem; }
.guide-steps li { font-size: .88rem; line-height: 1.5; color: var(--ink-mid); break-inside: avoid; margin: 0 0 .2rem; }
.guides-next .note { max-width: 40rem; }

@media (max-width: 560px) {
  .guide-head h2 { font-size: 1.25rem; }
  .guide-steps ol { columns: 1; }
}
