/* Release notes timeline — fancy-v2-light. */
.releases-section {
  padding: 20px 16px 96px;
}

.releases-section .section-container {
  max-width: 760px;
  margin: 0 auto;
}

/* Platform filter pills */
.rel-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.rel-pill {
  appearance: none;
  border: 1px solid var(--border-color, rgba(38, 95, 62, 0.2));
  background: var(--bg-card, rgba(255, 255, 255, 0.6));
  color: var(--w-ink2);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-pill, 980px);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.rel-pill:hover {
  border-color: var(--green-500, #33754d);
  color: var(--green-600);
}

.rel-pill.is-active {
  background: var(--green-500, #33754d);
  border-color: var(--green-500, #33754d);
  color: var(--brand-contrast, #f7f3e8);
}

.rel-pill-count {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.65;
  margin-left: 2px;
}

.rel-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Vertical spine */
.rel-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border-color, rgba(38, 95, 62, 0.15));
}

.rel-card {
  position: relative;
  padding-left: 36px;
}

.rel-marker {
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--w-bg, #f7f3e8);
  border: 3px solid var(--green-500, #33754d);
  z-index: 1;
}

.rel-body {
  background: var(--bg-card, rgba(255, 255, 255, 0.6));
  border: 1px solid var(--border-color, rgba(38, 95, 62, 0.14));
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--shadow-md);
}

.rel-verrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.rel-ver {
  font-family: 'JetBrains Mono', 'Hanken Grotesk', monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--w-ink);
  text-decoration: none;
}

.rel-ver:hover {
  color: var(--green-600);
}

.rel-date {
  margin-left: auto;
  color: var(--w-mut, #5f6b57);
  font-size: 13px;
  font-weight: 500;
}

.rel-latest {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-contrast, #f7f3e8);
  background: var(--green-500, #33754d);
  padding: 3px 9px;
  border-radius: var(--radius-pill, 980px);
}

/* Month group headers sit on the timeline, aligned with the cards. */
.rel-month {
  position: relative;
  padding-left: 36px;
  margin: 8px 0 -10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--w-mut, #5f6b57);
}

/* Platform badge next to the version, colored dot per platform. */
.rel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--w-mut, #5f6b57);
  border: 1px solid var(--border-color, rgba(38, 95, 62, 0.2));
  padding: 3px 9px;
  border-radius: var(--radius-pill, 980px);
}

.rel-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--badge-color, var(--green-500, #33754d));
}

.rel-badge--desktop {
  --badge-color: #33754d;
}

.rel-badge--ios {
  --badge-color: #4a7fa5;
}

.rel-badge--android {
  --badge-color: #6ba03f;
}

.rel-empty {
  padding-left: 36px;
  color: var(--w-mut, #5f6b57);
  font-size: 15px;
}

.rel-section {
  margin-top: 14px;
}

.rel-section-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--w-mut);
  margin: 0 0 8px;
}

.rel-items {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.rel-items li {
  color: var(--w-ink2);
  font-size: 15px;
  line-height: 1.55;
}

.rel-items li::marker {
  color: var(--green-500, #33754d);
}

@media (max-width: 600px) {
  .rel-body {
    padding: 18px 18px;
  }
  .rel-items li {
    font-size: 14px;
  }
}
