/* /courses/: courses on Slatebox (owner, 2026-12-05). The loops are vector Lotties (/assets/home/lottie.css); the two
   live courses keep the thumbnails /education/ shows. */
.cr-hero { border-radius: 12px; box-shadow: 0 18px 40px -24px #0008 }
.cr-moments .hub-card-media { display: grid; align-items: center }
.cr-moments .lottie-loop { border-radius: 8px }
.cr-more { max-width: 72ch; margin-top: 1.4rem; color: var(--s-soft) }
.cr-more a { font-weight: 600 }
.cr-uses a { font-weight: 600 }
.cr-shot-body { background: #140c22; line-height: 0 }
.cr-shot-body img { display: block; width: 100%; height: auto }
.cr-course-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: clamp(.8rem, 2vw, 1.4rem); margin: 0 0 1.2rem; padding: 0; list-style: none }
.cr-course { position: relative; display: grid; overflow: hidden; border: 1px solid var(--s-line); border-radius: 12px; background: #fffdf4 }
.cr-course picture { display: block; border-bottom: 1px solid var(--s-line); background: #12202b }
.cr-course img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover }
.cr-course > div { display: grid; gap: .35rem; padding: .85rem 1rem .95rem }
.cr-course > div > * { margin: 0 }
.cr-course h3 { font: 700 1.4rem/1.1 "Archivo Narrow", "Arial Narrow", sans-serif; letter-spacing: -.02em }
.cr-course h3 a { text-decoration: none }
.cr-course h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit }
.cr-course:has(h3 a:focus-visible) { outline: 3px solid #b36919; outline-offset: 3px }
.cr-course h3 a:focus-visible { outline: 0 }
.cr-course:hover { border-color: var(--s-ink) }
.cr-course p { color: var(--s-soft) }
.cr-course .cr-course-meta { font: 600 .82rem/1.3 ui-monospace, Menlo, monospace; color: #4d5f53 }
.cr-note { max-width: 72ch; margin-top: 1rem; color: var(--s-soft); font-size: .95rem }
.cr-edu { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: clamp(18px, 2.4vw, 32px); border-radius: 16px; background: color-mix(in srgb, var(--c-workshops) 55%, #fffdf4) }
.cr-edu > div { max-width: 62ch }
.cr-edu h2 { margin: .3rem 0 .6rem }
.cr-edu p:not(.kicker) { margin: 0 }
.hub-section a.cr-edu-link { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; padding: .55rem 1.1rem; border-radius: 999px; background: var(--ink, #21392f); color: #fff; font-weight: 700; text-decoration: none }
.hub-section a.cr-edu-link:hover { text-decoration: underline }
/* On a phone the loops' frame thins to 6px, so each loop draws 337 px wide or more on a 390 screen and its words (10.5 of
   320 at least, scripts/lottie/scenes/courses.mjs) read at 11 px or more. tests/lanes/lottie.mjs measures it. */
@media (max-width: 600px) { .cr-moments .hub-card-media { padding: 6px } .cr-moments .lottie-loop { border-radius: 6px } }
