.updates-main {
  padding-block: 64px 92px;
}

.updates-intro {
  max-width: 780px;
  margin-bottom: 46px;
  padding: 22px 24px;
  color: var(--green-900);
  background: var(--green-100);
  border-left: 5px solid var(--green-700);
  border-radius: 0 var(--radius-medium) var(--radius-medium) 0;
}

.updates-intro strong {
  font-size: 1.05rem;
}

.updates-intro p {
  margin: 8px 0 0;
  color: var(--muted);
}

.updates-month h2 {
  margin: 0 0 18px;
  color: var(--green-900);
  font-size: clamp(1.3rem, 3vw, 1.75rem);
}

.updates-list {
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  box-shadow: 0 10px 30px rgba(25, 53, 43, 0.07);
}

.update-row {
  display: grid;
  grid-template-columns: 110px 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

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

.update-row time {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.update-type {
  justify-self: start;
  padding: 5px 9px;
  color: var(--green-800);
  background: var(--green-100);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.update-type-feature {
  color: #215c84;
  background: #e4f2fa;
}

.update-type-photo {
  color: #75521b;
  background: #fbf0cf;
}

.update-type-event {
  color: #8a4a32;
  background: #fae9e1;
}

.update-type-guide {
  color: #67518b;
  background: #efe9f8;
}

.update-type-site {
  color: #53615d;
  background: #edf1ef;
}

.update-row a {
  color: var(--green-900);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(24, 92, 67, 0.28);
  text-underline-offset: 4px;
}

.update-row a:hover,
.update-row a:focus-visible {
  color: var(--green-700);
  text-decoration-color: currentColor;
}

@media (max-width: 620px) {
  .updates-main {
    padding-block: 44px 72px;
  }

  .updates-intro {
    margin-bottom: 34px;
    padding: 18px;
  }

  .update-row {
    grid-template-columns: auto 1fr;
    gap: 8px 12px;
    padding: 15px 16px;
  }

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

  .update-row a {
    grid-column: 1 / -1;
    font-size: 0.94rem;
    line-height: 1.65;
  }
}
