.updates-page .nav {
  justify-content: flex-start;
}
.updates-back {
  margin-left: auto;
  color: #8f8f8f;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 650;
}
.updates-back:hover { color: #ededed; }

.updates {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  margin: 8px auto 48px;
}

.updates-kicker {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5eead4;
}

.updates h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.updates-lede {
  margin: 0 0 22px;
  color: #8f8f8f;
  font-size: 1.02rem;
  line-height: 1.5;
  max-width: 42rem;
}

.updates-who {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.updates-chip {
  appearance: none;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #c5cedb;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}
.updates-chip:hover { border-color: rgba(94, 234, 212, 0.35); color: #fff; }
.updates-chip.is-on {
  background: rgba(94, 234, 212, 0.14);
  border-color: rgba(94, 234, 212, 0.45);
  color: #5eead4;
}

.updates-block { margin: 0 0 28px; }
.updates-when {
  margin: 0 0 12px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #6b6b6b;
}

.updates-card {
  margin: 0 0 10px;
  padding: 16px 18px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(10, 10, 10, 0.72);
}
.updates-card[hidden] { display: none !important; }

.updates-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.updates-card-head h2 {
  margin: 0;
  flex: 1 1 180px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.updates-tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.updates-tag.is-teacher {
  color: #5eead4;
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.28);
}
.updates-tag.is-student {
  color: #e8a87c;
  background: rgba(232, 168, 124, 0.1);
  border: 1px solid rgba(232, 168, 124, 0.28);
}

.updates-card p {
  margin: 0;
  color: #c5cedb;
  font-size: 0.94rem;
  line-height: 1.5;
}

.updates-page .foot a {
  color: inherit;
  text-decoration: none;
}
.updates-page .foot a:hover { color: #ededed; }
