/* ================================================================
   CRISIS Support Center — Release Notes Page
   ================================================================ */

/* ─── Page Header ─── */
.page-header {
  padding: 40px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-header-title {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -.02em;
  font-weight: 700;
}

.page-header-desc {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 640px;
}

/* ─── Release Timeline ─── */
.release-timeline {
  padding: 48px 0 80px;
}

.release-entry {
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.release-entry:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.release-entry-header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.release-version {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
}

.release-date {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

/* ─── Change Groups ─── */
.change-group {
  margin-top: 20px;
}

.change-group + .change-group {
  margin-top: 28px;
}

.change-group-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.change-group-title .change-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.change-dot-feature  { background: #2563eb; }
.change-dot-improve  { background: #059669; }
.change-dot-fix      { background: #d97706; }
.change-dot-breaking { background: #dc2626; }

.change-group-title-text {
  letter-spacing: .01em;
}

.change-group-feature  .change-group-title-text { color: #1e40af; }
.change-group-improve  .change-group-title-text { color: #065f46; }
.change-group-fix      .change-group-title-text { color: #92400e; }
.change-group-breaking .change-group-title-text { color: #991b1b; }

/* ─── Change Items ─── */
.change-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.change-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.change-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.change-item code {
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
}

.change-item a {
  color: var(--brand-link);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: color-mix(in oklch, var(--brand-link) 30%, transparent);
}

.change-item a:hover {
  text-decoration-color: var(--brand-link);
}

/* ─── Year Divider ─── */
.year-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.year-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
