:root {
  --u-ink: #17211c;
  --u-muted: #63706a;
  --u-line: #dfe7e2;
  --u-paper: #fbfcfa;
  --u-soft: #f2f7f4;
  --u-green: #1f6b4f;
  --u-green-dark: #174f3b;
  --u-gold: #b6802d;
  --u-red: #a84034;
  --u-blue: #315f9c;
}

.recruitment-updates-shell {
  background: var(--u-paper);
  color: var(--u-ink);
  padding-bottom: 72px;
}

.updates-band {
  background: linear-gradient(135deg, #edf5ef 0%, #e5efe8 100%);
  border-bottom: 1px solid var(--u-line);
  padding: 34px 0 28px;
}

.updates-wrap {
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 20px;
}

.updates-hero-grid {
  align-items: stretch;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.updates-kicker {
  color: var(--u-green);
  display: block;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.recruitment-updates-shell h1 {
  color: var(--u-ink);
  font-size: clamp(1.85rem, 3.4vw, 2.8rem);
  line-height: 1.08;
  margin: 0 0 10px;
}

.recruitment-updates-shell p {
  color: var(--u-muted);
  font-size: 0.98rem;
  line-height: 1.62;
  margin: 0;
  max-width: 850px;
}

.updates-filter-card {
  background: linear-gradient(160deg, var(--u-green) 0%, var(--u-green-dark) 100%);
  border: 1px solid rgba(23, 79, 59, 0.24);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(23, 79, 59, 0.16);
  color: #fff;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.updates-filter-card label {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.3;
  margin: 0;
}

.updates-region-select {
  appearance: auto;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  color: var(--u-ink);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

.updates-filter-card #updates-status {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  line-height: 1.48;
}

.updates-checker-link {
  background: #ffffff;
  border-radius: 8px;
  color: var(--u-green-dark);
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  text-decoration: none;
}

.updates-checker-link:hover {
  background: #f5f0df;
  color: var(--u-green-dark);
}

.updates-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.update-row {
  background: #fff;
  border: 1px solid var(--u-line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  padding: 18px;
}

.update-date {
  align-content: start;
  color: var(--u-muted);
  display: grid;
  font-size: 0.86rem;
  font-weight: 800;
  gap: 8px;
}

.update-tag {
  border-radius: 8px;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 900;
  justify-content: center;
  line-height: 1.2;
  padding: 6px 9px;
  text-transform: uppercase;
}

.update-tag.official {
  background: #e6f3ee;
  color: var(--u-green);
}

.update-tag.news {
  background: #fff2d9;
  color: var(--u-gold);
}

.update-tag.pending {
  background: #f8e5e2;
  color: var(--u-red);
}

.update-body h2 {
  color: var(--u-ink);
  font-size: 1.08rem;
  line-height: 1.35;
  margin: 0 0 6px;
}

.update-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: none;
}

.update-meta {
  color: var(--u-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.84rem;
  gap: 8px 14px;
  margin-top: 10px;
}

.update-source-link {
  align-self: center;
  border: 1px solid var(--u-line);
  border-radius: 8px;
  color: var(--u-blue);
  font-weight: 800;
  min-height: 40px;
  padding: 9px 13px;
  text-decoration: none;
  white-space: nowrap;
}

.update-source-link:hover {
  background: var(--u-soft);
  color: var(--u-blue);
}

.updates-empty {
  background: #fff;
  border: 1px dashed var(--u-line);
  border-radius: 8px;
  color: var(--u-muted);
  padding: 24px;
  text-align: center;
}

@media (max-width: 820px) {
  .updates-band {
    padding: 28px 0 22px;
  }

  .updates-hero-grid,
  .update-row {
    grid-template-columns: 1fr;
  }

  .updates-filter-card {
    padding: 16px;
  }

  .updates-checker-link,
  .update-source-link {
    justify-content: center;
    width: 100%;
  }
}
