/*
 * The updates page is intentionally simple. This file keeps the list spacing
 * near the page instead of stuffing those decisions into the shared stylesheet.
 */

.updates-page [data-updates-list] {
  width: min(100%, 72rem);
  margin: 1.75rem auto 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: start;
}

.updates-page .project-card {
  min-height: 100%;
  max-width: none;
  padding: 1.2rem 1.2rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(14, 116, 144, 0.12);
  background:
    radial-gradient(circle at top right, rgba(14, 116, 144, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  box-shadow: 0 18px 34px -28px rgba(15, 23, 42, 0.34);
}

.updates-page .project-card h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.35;
}

.updates-page .project-card .pill {
  background: rgba(14, 116, 144, 0.09);
  color: #0f766e;
}

.updates-page .project-card .project-shell-actions {
  gap: 0.65rem;
}

body.theme-dark.updates-page .project-card {
  border-color: rgba(45, 212, 191, 0.16);
  background:
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.94));
  box-shadow: 0 18px 34px -28px rgba(2, 6, 23, 0.58);
}

@media (max-width: 640px) {
  .updates-page [data-updates-list] {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .updates-page .project-card {
    max-width: none;
    padding: 1rem;
    border-radius: 18px;
  }

  .updates-page .project-card .project-shell-support {
    width: 100%;
    justify-items: center;
  }
}
