/* ============================================================
   changelog.css — Changelog/release notes page
   ============================================================ */

.changelog-list {
  display: flex;
  flex-direction: column;
}

.changelog-entry {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.changelog-entry:last-child { border-bottom: none; }
.changelog-entry:first-child { padding-top: 0; }

.changelog-date {
  display: flex;
  flex-direction: column;
  text-align: right;
  padding-top: 2px;
}
.changelog-month {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.changelog-year {
  font-size: 12px;
  color: var(--slate-light);
}

.changelog-content { min-width: 0; }

.changelog-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.tag-new      { background: rgba(201,168,76,0.15); color: #7A5F1A; }
.tag-improved { background: #E8F0F5; color: #1B3A4A; }
.tag-fixed    { background: #F5E8E8; color: #4A1B1B; }
.tag-launch   { background: var(--navy); color: #fff; }

.changelog-content h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.changelog-content p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.65;
}

@media (max-width: 600px) {
  .changelog-entry {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .changelog-date {
    flex-direction: row;
    gap: 6px;
    text-align: left;
  }
}

/* Safety net: if an entry is ever missing the date column, force the
   grid to still render content full-width rather than collapsing
   into a single mixed column with the tag/title. */
.changelog-entry {
  align-items: start;
}
.changelog-entry > .changelog-content:only-child {
  grid-column: 1 / -1;
}
