[data-news-list] > [hidden], [data-news-pagination][hidden] {
  display: none !important;
}
.news-pagination {
  margin-top: 28px;
  text-align: center;
}

.section.news-listing { padding: 24px 0 40px; }
.news-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 18px;
}
.news-heading h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.news-heading .section-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
/* Retain the section heading for screen-reader navigation above h3 cards. */
.news-list-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 680px) {
  .section.news-listing { padding: 20px 0 32px; }
  .news-heading { flex-direction: column; gap: 4px; margin-bottom: 16px; }
  .news-heading h1 { font-size: 28px; }
}

/* Topic and keyword controls share the existing title row on desktop. */
.news-heading--filters {
  display: grid;
  grid-template-columns: auto minmax(140px, 170px) minmax(180px, 1fr) auto;
  align-items: center;
  gap: 8px 12px;
}
.news-filters { display: contents; }
[data-news-filters][hidden], [data-news-empty][hidden] { display: none; }
.news-filters select,
.news-filters input {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 9px 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}
.news-heading--filters .section-note {
  grid-column: 4;
  font-size: 13px;
  line-height: 1.4;
}
.news-control-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.news-empty { padding: 24px 0; }
.news-empty h2 { margin: 0 0 8px; font-size: 24px; }
.news-empty p { margin: 0 0 16px; color: var(--muted); }
@media (max-width: 980px) {
  .news-heading--filters { grid-template-columns: auto minmax(140px, 170px) minmax(160px, 1fr); }
  .news-heading--filters .section-note { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .news-heading--filters { grid-template-columns: auto minmax(0, 1fr); gap: 8px 12px; margin-bottom: 14px; }
  .news-heading--filters input { grid-column: 1 / -1; }
}
