/* ========================================
   EasyDocs — Changelog Styles
   ======================================== */

.cl-hero {
  padding: 120px 0 40px;
  background: var(--bg);
  text-align: center;
}
.cl-hero .section-label { margin-bottom: 12px; }
.cl-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
}
.cl-hero p {
  font-size: 17px;
  color: var(--text-2);
}

.cl-entries {
  padding: 60px 0 100px;
  max-width: 760px;
  margin: 0 auto;
}

.cl-entry {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.cl-entry:last-child { border-bottom: none; }

.cl-date {
  position: sticky;
  top: 88px;
  height: fit-content;
}
.cl-date time {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}
.cl-version {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--heading);
  margin-top: 4px;
}

.cl-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.cl-body ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cl-body li {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.badge-new { background: rgba(59,130,246,0.1); color: var(--accent2); }
.badge-improved { background: rgba(5,150,105,0.1); color: var(--accent3); }
.badge-fixed { background: rgba(16,185,129,0.1); color: var(--green); }

@media (max-width: 768px) {
  .cl-entry {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .cl-date { position: static; }
}
