/* Local stylesheet travels with #content-inner through the existing PJAX shell. */
body.site-video-body #body-wrap.type-changelog #page {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  /* Only the declared PageMotion targets animate; never tween the page shell. */
  transition: none !important;
}

.type-changelog #page > .page-title,
.type-changelog #pjax-page-header {
  display: none;
}

.type-changelog #page-header {
  height: 70px;
  min-height: 70px;
}

.type-changelog #content-inner {
  width: 100%;
  max-width: none;
  padding: 0;
}

.changelog-page {
  width: calc(100% - var(--wide-page-gutter));
  max-width: var(--wide-page-max-width);
  margin: 0 auto;
  padding: 26px 0 60px;
  color: var(--site-text-primary);
  overflow-wrap: anywhere;
}

.changelog-page__heading {
  margin-bottom: 24px;
}

.changelog-page .changelog-page__title {
  margin: 0 0 8px;
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.3;
}

.changelog-page__description {
  margin: 0;
  color: var(--site-text-muted);
  font-size: 15px;
  line-height: 1.8;
}

.changelog-timeline {
  --date-width: 112px;
  --timeline-gap: 28px;
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.changelog-timeline::before {
  position: absolute;
  top: 22px;
  bottom: 0;
  left: var(--date-width);
  width: 1px;
  background: rgba(230, 215, 240, .36);
  content: '';
}

.changelog-entry {
  position: relative;
  display: grid;
  grid-template-columns: var(--date-width) minmax(0, 1fr);
  column-gap: var(--timeline-gap);
  padding-bottom: var(--card-spacing, 20px);
}

.changelog-entry:last-child {
  padding-bottom: 0;
}

.changelog-entry::before {
  position: absolute;
  top: 22px;
  left: var(--date-width);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #c7b1df;
  transform: translateX(-50%);
  content: '';
}

.changelog-entry:first-child::before {
  background: var(--accent-color);
  box-shadow: 0 0 14px rgba(243, 182, 223, .24);
}

.changelog-entry__date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding-top: 12px;
  color: var(--site-text-secondary);
  font-size: 14px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}

.changelog-entry:first-child .changelog-entry__date time {
  color: var(--accent-color);
}

.changelog-entry__latest {
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--accent-color);
  color: #35263e;
  font-size: 12px;
  line-height: 1.5;
}

.changelog-entry__card {
  min-width: 0;
  padding: 28px;
  /* Use the same borderless glass as the navigation and homepage. */
  border: var(--capsule-surface-border);
  border-radius: var(--card-radius, 22px);
  background: var(--capsule-surface-bg);
  box-shadow: var(--capsule-surface-shadow);
  backdrop-filter: var(--capsule-surface-filter);
  -webkit-backdrop-filter: var(--capsule-surface-filter);
}

.changelog-entry__update + .changelog-entry__update {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--site-border-subtle);
}

.changelog-page .changelog-entry__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

.changelog-entry__content {
  margin: 0;
  padding-left: 1.3em;
  color: var(--site-text-primary);
  font-size: var(--site-reading-size);
  line-height: var(--site-reading-leading);
  list-style: disc;
}

.changelog-entry__content li + li {
  margin-top: 5px;
}

@media (max-width: 760px) {
  .changelog-page { padding: 16px 0 40px; }
  .changelog-page__heading { margin: 0 0 20px; }
  .changelog-entry__card { padding: 22px 20px; }
}

@media (max-width: 600px) {
  .changelog-timeline {
    --date-width: 5px;
  }

  .changelog-timeline::before {
    top: 12px;
  }

  .changelog-entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-left: 24px;
    padding-bottom: 24px;
  }

  .changelog-entry::before {
    top: 12px;
  }

  .changelog-entry__date {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding-top: 0;
    font-size: 14px;
  }

}
