/* Clamshell v2 changelog (/changelog). Loaded after guide.css and
   dither-type.css, which carry the whole shell: nav, page title sheen,
   article type, pixel bullets, code, footer and wordmark. This file only
   lays out the release list. The page is generated by
   scripts/gen-changelog-page.py; never add inline styles there (CSP). */

/* One release: the version column sticks under the nav while its notes
   scroll, so the version being read is always in view. Releases are
   separated by space, not rules. */
.release{
  display:grid;grid-template-columns:150px minmax(0,1fr);gap:0 36px;
  align-items:start;margin-top:72px;
}
.release:first-child{margin-top:8px}
.ver-head{position:sticky;top:100px}

/* The version replaces the guide h2 (no dotted rule above it). */
main .ver{
  margin:0;padding:0;border:0;border-image:none;-webkit-mask:none;mask:none;
  font-size:26px;line-height:32px;font-variant-numeric:tabular-nums;
}
.ver-date{
  display:block;margin-top:4px;
  font-family:var(--mono);font-size:13px;line-height:1.6;letter-spacing:0;
  color:var(--tx-dim);font-variant-numeric:tabular-nums;
}

/* Category headings (Added, Changed, Fixed): plain sentence-case subheads.
   The first one shares the version's 32px line so both tops align. */
.notes > :first-child{margin-top:0}
main .cat{margin:28px 0 10px;font-size:17px;line-height:32px;font-weight:650}
main .cat + .items{margin-top:0}
main .items{margin:0}
main .release p{margin:0 0 12px;font-size:17px}
main .release p + .cat{margin-top:20px}

@media (max-width:640px){
  .release{grid-template-columns:1fr;margin-top:56px}
  .ver-head{position:static;display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin-bottom:6px}
  main .ver{font-size:23px;line-height:28px}
  .ver-date{margin-top:0}
  main .cat{margin-top:18px;line-height:28px}
  main .release p{font-size:16.5px}
}
