.updates-page {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.updates-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.75fr);
  gap: 24px;
  align-items: stretch;
}

.updates-hero-copy,
.updates-summary-card,
.update-card {
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(25, 40, 71, 0.08);
}

.updates-hero-copy {
  padding: clamp(24px, 4vw, 36px);
}

.updates-kicker {
  margin-bottom: 14px;
  color: #0f8b8d;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.updates-page .section-title {
  margin: 0 0 14px;
  padding: 0;
  color: #172233;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.05;
  text-transform: none;
}

.updates-intro {
  max-width: 60ch;
  margin: 0;
  color: #405064;
  font-size: 1.05rem;
  line-height: 1.75;
}

.updates-summary-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.updates-summary-value {
  color: #172233;
  font-size: clamp(2.3rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
}

.updates-summary-label {
  color: #6b7686;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.updates-feed {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.update-card {
  padding: clamp(22px, 4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.update-card.is-featured {
  position: relative;
  overflow: hidden;
}

.update-card.is-featured::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #0f8b8d, #38228b);
}

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

.update-date,
.update-comments,
.update-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

.update-date {
  background: #edf3f8;
  color: #415165;
}

.update-comments {
  background: rgba(15, 139, 141, 0.12);
  color: #0b6f71;
}

.update-title {
  margin: 0;
  color: #172233;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.2;
}

.update-title a {
  color: inherit;
  text-decoration: none;
}

.update-title a:hover {
  color: #0f8b8d;
}

.update-body {
  max-width: 65ch;
  margin: 0;
  color: #405064;
  font-size: 1rem;
  line-height: 1.75;
}

.update-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.update-badge {
  background: rgba(56, 34, 139, 0.12);
  color: #38228b;
}

.update-badge.muted {
  background: #edf3f8;
  color: #6b7686;
}

.update-read-link {
  color: #0f8b8d;
  font-weight: 700;
  text-decoration: none;
}

.update-read-link:hover {
  color: #0b6f71;
  text-decoration: underline;
}

@media (max-width: 760px) {
  .updates-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .updates-page {
    gap: 22px;
  }

  .updates-hero-copy,
  .updates-summary-card,
  .update-card {
    padding: 20px 16px;
  }

  .update-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

.dark-mode .updates-hero-copy,
.dark-mode .updates-summary-card,
.dark-mode .update-card {
  background: #262626;
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
}

.dark-mode .updates-page .section-title,
.dark-mode .updates-summary-value,
.dark-mode .update-title {
  color: #f0f3f8;
}

.dark-mode .updates-intro,
.dark-mode .update-body {
  color: #d0d7e4;
}

.dark-mode .updates-summary-label {
  color: #aeb8ca;
}

.dark-mode .update-date {
  background: #333a46;
  color: #d0d7e4;
}

.dark-mode .update-comments {
  background: rgba(100, 210, 212, 0.14);
  color: #8ee9eb;
}

.dark-mode .update-badge {
  background: rgba(144, 240, 242, 0.12);
  color: #90f0f2;
}

.dark-mode .update-badge.muted {
  background: #333a46;
  color: #b5bfd1;
}

.dark-mode .update-title a:hover,
.dark-mode .update-read-link {
  color: #64d2d4;
}

.dark-mode .update-read-link:hover {
  color: #90f0f2;
}
