.updates-page .docs-intro h1 {
  font-size: 48px;
}

.updates-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
  border: 1px solid var(--docs-line);
  border-radius: var(--docs-radius);
  background: #fafbf9;
  box-shadow: 0 8px 28px rgba(43, 54, 39, 0.05);
}

.updates-summary > div {
  min-height: 96px;
  padding: 20px;
  border-right: 1px solid var(--docs-line);
}

.updates-summary > div:last-child {
  border-right: 0;
}

.updates-summary span,
.updates-summary strong {
  display: block;
}

.updates-summary span {
  color: var(--docs-muted);
  font-family: var(--docs-mono);
  font-size: 9px;
  font-weight: 700;
}

.updates-summary strong {
  margin-top: 10px;
  color: var(--docs-ink);
  font-size: 18px;
  line-height: 1.3;
}

.updates-timeline {
  min-width: 0;
}

.update-entry {
  position: relative;
  min-width: 0;
  padding: 70px 0 74px;
  scroll-margin-top: 80px;
  border-bottom: 1px solid var(--docs-line);
}

.update-entry > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
}

.update-entry time {
  display: block;
  margin-bottom: 11px;
  color: var(--docs-muted-soft);
  font-family: var(--docs-mono);
  font-size: 10px;
  font-weight: 680;
}

.update-entry h2 {
  max-width: 650px;
  margin: 0;
  color: var(--docs-ink);
  font-size: 30px;
  font-weight: 790;
  line-height: 1.3;
}

.update-version {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--docs-line);
  border-radius: 5px;
  color: var(--docs-muted);
  background: var(--docs-paper);
  font-family: var(--docs-mono);
  font-size: 9px;
  font-weight: 720;
  white-space: nowrap;
}

.update-entry:first-of-type time {
  color: #66871b;
}

.update-entry:first-of-type .update-version {
  border-color: #b4d45e;
  color: #4c6810;
  background: var(--docs-acid-soft);
}

.update-entry > p {
  max-width: 720px;
  margin: 24px 0 0;
  color: #50584e;
  font-size: 16px;
  line-height: 1.82;
}

.update-entry > p + p {
  margin-top: 12px;
}

.update-entry > p a {
  color: #4d6b0d;
  font-weight: 740;
  text-decoration: underline;
  text-decoration-color: #a9c856;
  text-underline-offset: 3px;
}

.update-entry h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 34px 0 0;
  color: var(--docs-ink);
  font-size: 14px;
  font-weight: 820;
}

.update-entry h3::before {
  content: "";
  width: 16px;
  height: 3px;
  background: var(--docs-acid);
}

.update-entry ul {
  display: grid;
  gap: 0;
  margin: 16px 0 0;
  padding: 5px 18px;
  border: 1px solid var(--docs-line);
  border-radius: 6px;
  background: #fafbf9;
  list-style: none;
}

.update-entry h3 + ul {
  margin-top: 14px;
}

.update-entry li {
  position: relative;
  padding: 14px 4px 14px 24px;
  border-bottom: 1px solid var(--docs-line);
  color: #50584e;
  font-size: 14px;
  line-height: 1.76;
}

.update-entry li:last-child {
  border-bottom: 0;
}

.update-entry li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--docs-blue);
}

.updates-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin: 56px 0 68px;
  padding: 24px;
  border: 1px solid var(--docs-ink);
  border-radius: var(--docs-radius);
  background: var(--docs-ink);
}

.updates-end strong,
.updates-end span {
  display: block;
}

.updates-end strong {
  color: var(--docs-white);
  font-size: 19px;
  line-height: 1.35;
}

.updates-end span {
  margin-top: 7px;
  color: #bdc4b8;
  font-size: 13px;
  line-height: 1.6;
}

.updates-end > div:last-child {
  display: flex;
  gap: 9px;
  flex: 0 0 auto;
}

.updates-end .docs-button-primary {
  border-color: var(--docs-acid);
  color: var(--docs-ink);
  background: var(--docs-acid);
}

@media (max-width: 720px) {
  .updates-page .docs-intro h1 {
    font-size: 36px;
  }

  .updates-summary > div {
    min-height: 80px;
    padding: 14px 10px;
  }

  .updates-summary strong {
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .update-entry {
    padding: 46px 0 50px;
  }

  .update-entry > header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .update-entry h2 {
    font-size: 25px;
  }

  .update-version {
    justify-self: start;
  }

  .update-entry > p {
    font-size: 14px;
  }

  .update-entry li {
    padding-top: 13px;
    padding-bottom: 13px;
    font-size: 13px;
  }

  .updates-end {
    align-items: flex-start;
    flex-direction: column;
    margin: 46px 0 52px;
  }

  .updates-end > div:last-child {
    width: 100%;
    flex-direction: column;
  }

  .updates-end .docs-button {
    width: 100%;
  }
}
