/* GitHub (page-github.php), on top of the case-study design system and site-pages.css. */

.gh .hub-hero .cs-display { max-width: 16ch; }
.gh-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* repository cards: case cards with a monospace name and an "updated" line */
.gh .repo h3.repo-name { font-family: var(--mono); font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.repo-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); }
.gh-empty { display: grid; justify-items: start; gap: 14px; margin-top: 40px; padding: 26px 28px; border: 1px dashed rgba(0,0,0,0.25); border-radius: 20px; font-size: 16px; color: var(--ink-2); }

/* the stack */
.gh-stack { display: grid; gap: 48px; }
@media (min-width: 1000px) { .gh-stack { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 88px; align-items: end; } }
.gh-stack .h2 { margin-top: 22px; }
.gh-stack .lede { margin-top: 22px; max-width: 44ch; }
.gh-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.gh-chips li { padding: 12px 18px; border: 1px solid var(--hair); border-radius: 999px; background: rgba(255,255,255,0.04); font-size: 15px; font-weight: 600; color: var(--hi); transition: border-color 250ms ease, background 250ms ease, color 250ms ease; }
.gh-chips li:hover { border-color: var(--gold); background: var(--gold); color: var(--black); }
