/* Changelog (/changelog). Builds on page-legal.css (hero, sticky month list, reading column).
   Adds the entry cards and the New / Improved / Fixed tags. Prefix: .cl- */

.cl-doc section + section { margin-top: 64px; }
.cl-doc h2 { margin-bottom: 20px; }

/* One release: date, title, then its changes */
.cl-entry { position: relative; padding: 22px 24px 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease; scroll-margin-top: 96px; }
.cl-entry + .cl-entry { margin-top: 16px; }
.cl-entry:hover { border-color: #D6D3CD; box-shadow: 0 10px 28px -22px rgba(15,23,42,.35); }
.cl-date { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: #A8A29E; }
.cl-doc .cl-entry h3 { margin: 6px 0 14px; font-size: 19px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }

/* Changes: tag + sentence (overrides the legal list dots) */
.cl-doc .cl-items { gap: 10px; }
.cl-doc .cl-items li { display: flex; align-items: baseline; gap: 12px; padding-left: 0; font-size: 16px; line-height: 1.6; }
.cl-doc .cl-items li::before { content: none; }
.cl-tag { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 78px; height: 24px; padding: 0 10px;
  border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; transform: translateY(-1px); }
.cl-new { background: #E8F7EC; color: #15803D; }
.cl-improved { background: #EAF0FF; color: var(--blue); }
.cl-fixed { background: #FEF3E2; color: #B45309; }

@media (max-width: 600px) {
  .cl-entry { padding: 18px 18px 20px; border-radius: 16px; }
  .cl-doc .cl-items li { flex-direction: column; gap: 6px; }
  .cl-tag { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .cl-entry { transition: none; } }
