.updates-section {
  padding: 100px 0;
}

.update-detail-hero h1 {
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.4;
  letter-spacing: .01em;
}

.update-detail-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
}

.update-detail-hero__meta p + p {
  margin-top: 0;
}

.updates-index-section,
.update-article-section {
  background: var(--white);
}

.updates-index-layout {
  display: grid;
  grid-template-columns: minmax(220px, .34fr) minmax(0, 1fr);
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
}

.updates-heading .about-intro__title {
  margin-top: 22px;
}

.updates-list {
  border-bottom: 1px solid var(--line);
}

.updates-list article {
  border-top: 1px solid var(--line);
}

.updates-list a {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 36px;
  padding: 34px 62px 34px 10px;
  text-decoration: none;
  transition: background-color .25s ease;
}

.updates-list a::after,
.update-back-link::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 25px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-50%) skewX(42deg);
  content: "";
  transition: transform .25s ease;
}

.updates-list a:hover,
.updates-list a:focus-visible {
  background: var(--paper);
}

.updates-list a:hover::after,
.updates-list a:focus-visible::after,
.update-back-link:hover::after,
.update-back-link:focus-visible::after {
  transform: translate(6px, -50%) skewX(42deg);
}

.updates-list__meta,
.update-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  align-content: flex-start;
  margin: 0;
}

.updates-kind {
  display: inline-block;
  width: fit-content;
  padding: .4em .7em .3em;
  background: var(--ink);
  color: var(--lime);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .08em;
}

.updates-date,
.update-version {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.updates-list h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.updates-list__target {
  margin: 16px 0 0;
  font-size: 12px;
  font-weight: 700;
}

.updates-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 50px;
}

.updates-pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.updates-pagination a.page-numbers:hover,
.updates-pagination a.page-numbers:focus-visible,
.updates-pagination .current {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--lime);
}

.updates-pagination .next {
  display: flex;
  gap: 12px;
  width: auto;
  padding-inline: 17px;
}

.updates-pagination .next svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.update-article-shell {
  width: min(840px, 90%);
  margin-inline: auto;
}

.update-article__header {
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line);
}

.update-article__header h1 {
  margin: 28px 0 0;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.4;
}

.update-article__meta {
  margin-top: 28px;
}

.update-article__lead {
  margin: 40px 0 0;
  font-size: 17px;
  font-weight: 700;
}

.update-content {
  margin-top: 70px;
}

.update-content h2 {
  margin: 68px 0 0;
  font-size: 26px;
  line-height: 1.45;
}

.update-content h2:first-child {
  margin-top: 0;
}

.update-content p,
.update-content li {
  font-size: 15px;
}

.update-content p {
  margin: 22px 0 0;
}

.update-content ul,
.update-content ol {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding-left: 1.4em;
}

.update-content a {
  text-underline-offset: 4px;
}

.update-content a:hover,
.update-content a:focus-visible {
  color: var(--green-dark);
}

.update-back-link {
  position: relative;
  display: block;
  margin-top: 70px;
  padding: 24px 54px 24px 10px;
  border-block: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 949.98px) {
  .updates-index-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }
}

@media (max-width: 760px) {
  .updates-section {
    padding: 70px 0;
  }

  .updates-index-layout {
    gap: 40px;
  }

  .updates-list a {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 28px 44px 28px 5px;
  }

  .updates-list h2 {
    font-size: 18px;
  }

  .update-article__header h1 {
    font-size: 30px;
  }

  .update-detail-hero h1 {
    font-size: 30px;
  }

  .update-article__lead {
    font-size: 15px;
  }

  .update-content {
    margin-top: 54px;
  }

  .update-content h2 {
    margin-top: 54px;
    font-size: 22px;
  }

  .update-content p,
  .update-content li {
    font-size: 14px;
  }

  .updates-pagination {
    margin-top: 40px;
  }
}
