/* Bassurito — changelog page (changelog.html, es/changelog.html).
   Loaded after style.css and legal.css. Reuses the legal page shell (.lg-*) and the style.css tokens;
   only the release cards are new. */

.cl-intro { margin: 0 0 36px; max-width: 60ch; }

/* one card per release */
.cl-rel {
  margin: 0 0 40px;
  padding: 22px 24px 8px;
  background: #fff;
  border: var(--bw, 3px) solid var(--ink, #121212); border-radius: var(--r, 14px);
  box-shadow: var(--sh, 6px 6px 0 #121212);
  scroll-margin-top: 24px;
}
.cl-rel__head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  margin: 0 0 16px; padding-bottom: 14px;
  border-bottom: var(--bw-lg, 4px) solid var(--ink, #121212);
}
.cl-rel__head h2 {
  margin: 0;
  font-family: var(--f-d, 'Bricolage Grotesque', 'Archivo Black', 'Arial Black', system-ui, sans-serif);
  font-weight: 800; font-size: clamp(1.6rem, 4.4vw, 2.2rem); line-height: 1; letter-spacing: -0.03em;
}
.cl-rel__head .sticker { transform: rotate(-2deg); }
.cl-rel__date {
  margin: 0 0 0 auto;
  padding: 6px 10px;
  border: 2px solid var(--ink, #121212); border-radius: 999px;
  background: var(--paper, #FFF6E5);
  font: 700 13px/1.2 var(--f-m, ui-monospace, Menlo, Consolas, monospace);
  white-space: nowrap;
}

/* the free-update note on the latest release */
.cl-note {
  margin: 0 0 20px;
  padding: 14px 16px;
  background: var(--lime, #B8F060);
  border: var(--bw, 3px) solid var(--ink, #121212); border-radius: var(--r-sm, 8px);
  box-shadow: var(--sh-sm, 3px 3px 0 #121212);
}
.cl-note > :last-child { margin-bottom: 0; }
.cl-note a { overflow-wrap: anywhere; }

/* New / Fixed / Known issue groups */
.cl-grp { margin: 0 0 18px; }
.cl-grp h3 {
  display: inline-block;
  margin: 0 0 12px; padding: 6px 10px;
  border: 2px solid var(--ink, #121212); border-radius: var(--r-sm, 8px);
  font: 800 13px/1.2 var(--f-m, ui-monospace, Menlo, Consolas, monospace);
  letter-spacing: 0.04em;
}
.cl-grp--new h3 { background: var(--orange, #FF8A1F); }
.cl-grp--fixed h3 { background: var(--sky, #8FD3FF); }
.cl-grp--known h3 { background: var(--paper-2, #FFEBC9); border-style: dashed; }
.cl-grp ul { margin: 0; }

.cl-home { margin: 8px 0 0; }

@media (max-width: 480px) {
  .cl-rel { padding: 18px 16px 6px; }
  .cl-rel__date { margin-left: 0; }
}
