/* /changelog/ (Site · Blog & changelog, 14 Oct 2026). Every release from adam.new's changelog. Layout 10's sticky
   left rail and round 1's Blog B (the changelog list's dated mono rows): each release's date stays in the left column
   while its entry scrolls past, beside the entry's title; each item is a mono tag (New, Improvements, Fixes), its title
   and its text. CSS only. The page frame (.site-wrap, .site-hero, .site-sec, .site-head) is the shell's
   (/marketing/shared/site/site.css); every rule here sits under .cl (or the hero's .cl-hero), with tokens from /shared/adam-v1.css. */

/* the lead on one line wherever it fits (Tong, 15 Oct, evening: "make it one line no wraping"): no measure cap; on a
   phone it wraps, its last two words held together */
.cl-hero .site-lead { max-width: none; }

.cl {
  --cl-top: calc(var(--hd-h-s, 56px) + 24px);        /* the sticky date clears the compact header */
}
.cl :where(.cl-list, .cl-list *, .cl-list *::before, .cl-list *::after) { box-sizing: border-box; }
.cl :where(.cl-list) :where(h2, h3, p, ul) { margin: 0; padding: 0; }
.cl .cl-items { list-style: none; }

/* the list: from 1024 px up Shell's navigator (.site-ruler, ruler.js; Tong, 15 Oct, evening) takes columns 1–4, a
   short column of ticks, one per release, whose card gives the date, the title and the first change; the releases run
   in columns 5–12 (.cl-entries), their hairlines with them. Every release shows its date at every width (Tong, 15 Oct,
   evening: "why in the changelog doesn't have change date"), in the mono caps of the navigator's card: over the title
   from 1024 up, in its own sticky column on a tablet, a sticky row on a phone. */
.cl-list { padding-top: 24px; }
/* a release: the date in columns 1–4, sticky (under 1024; over the title above); the title and its items from column 5 */
.cl-entry { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); padding: 40px 0 48px; scroll-margin-top: var(--cl-top); }
.cl-entry + .cl-entry { border-top: 1px solid var(--line); }
.cl-entry:last-child { padding-bottom: 0; }   /* the section's own gap (site.css --sec-gap) follows the last release */
.cl-date { grid-column: 1 / span 4; align-self: start; position: sticky; top: var(--cl-top); padding-top: 9px; padding-right: 24px; font: 400 12px/18px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.cl-date a { color: var(--muted); text-decoration: none; }
.cl-date a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.cl-body { grid-column: 5 / -1; min-width: 0; max-width: 820px; }
.cl-h2 { font: var(--k-weight, 400) 28px/1.15 var(--font-display); letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.cl-items { margin-top: 28px; border-top: 1px solid var(--line); }
.cl-item { display: grid; grid-template-columns: 152px minmax(0, 1fr); gap: 0 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cl-item:last-child { border-bottom: 0; padding-bottom: 0; }
.cl-tag { justify-self: start; font: 400 12px/24px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.cl-tag::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border: 1px solid currentColor; vertical-align: 1px; }
.cl-tag[data-tag="new"] { color: var(--ink); }
.cl-tag[data-tag="new"]::before { background: currentColor; }
.cl-h3 { font: 500 17px/24px var(--font-body); letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.cl-text p { margin-top: 6px; font: 400 16px/1.6 var(--font-body); color: var(--ink-2); text-wrap: pretty; }
.cl-text a { color: var(--ink); text-underline-offset: 3px; }

/* from 1024 px up: the navigator's grid (above); a release is a block in the entries column, its date the eyebrow
   over its title, as on the navigator's card */
@media (min-width: 1024px) {
  .cl-list { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .cl-entries { grid-column: 5 / -1; grid-row: 1; min-width: 0; }
  .cl .site-ruler { margin-top: 45px; }              /* its first tick level with the first release's date */
  .cl-entry { display: block; }
  .cl-date { position: static; margin-bottom: 12px; padding: 0; }
}

@media (max-width: 1279px) { .cl-item { grid-template-columns: 136px minmax(0, 1fr); } }
@media (max-width: 1023px) {
  .cl-date { grid-column: 1 / span 3; }
  .cl-body { grid-column: 4 / -1; }
  .cl-item { grid-template-columns: 1fr; }
  .cl-tag { margin-bottom: 4px; }
}
@media (max-width: 767px) {
  .cl-list { padding-top: 8px; }
  .cl-entry { padding: 32px 0 36px; }
  .cl-date { grid-column: 1 / -1; z-index: 1; top: var(--hd-h-s, 56px); margin-bottom: 4px; padding: 10px 0; background: var(--bg); }
  .cl-body { grid-column: 1 / -1; }
  .cl-h2 { font-size: 24px; line-height: 1.2; }
  .cl-items { margin-top: 20px; }
}
