/* Compact below the established News heading, not the heading itself.
   Keep its eyebrow, shared scale/top margin, header clearance and side axis. */
html body.page-news #main-content .news-index > .news-index-intro {
  margin: 0 0 16px;
}
html body.page-news #main-content .news-index > .news-index-intro[data-page-intro] > h1 {
  margin-bottom: 0 !important;
}
.news-index .news-browser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 18px;
  align-items: start;
  border-top: 1px solid var(--theme-line, #20221e28);
  padding-top: 12px;
}
.news-index .news-filters {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  padding-top: 0;
  border-top: 0;
}
.news-index .news-image-playback {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.news-index .news-filters :is(button, a) {
  min-width: 0;
  min-height: 44px;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.2;
}
.news-index .news-filters a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 8px 13px;
  border: 1px solid var(--theme-line, #20221e35);
  border-radius: 999px;
  color: inherit;
  background: transparent;
  text-decoration: none;
  font: 400 11px/1.3 var(--font-support);
}
.news-index .news-filters a:is([aria-current="page"], :hover, :focus-visible) {
  color: var(--theme-base, #fff);
  background: var(--theme-ink, #20221e);
  border-color: var(--theme-ink, #20221e);
}
.news-index .news-filters a:focus-visible {
  outline: 2px solid var(--theme-ink, #20221e);
  outline-offset: 3px;
}
.news-index [data-news-empty] {
  grid-column: 1 / -1;
}
.news-index [data-news-empty][hidden] {
  display: none;
}
.news-index .news-card h2 {
  /* Reviewed translations grow naturally; do not truncate or rewrite them. */
  overflow-wrap: anywhere;
}
.news-index .news-image-grid {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 12px;
}
.news-index .news-show-more {
  grid-column: 1 / -1;
  grid-row: 3;
}
@media (max-width: 600px) {
  html body.page-news #main-content .news-index > .news-index-intro {
    margin-bottom: 16px;
  }
  .news-index .news-browser {
    column-gap: 10px;
    padding-top: 10px;
  }
  /* Do not compress translated category labels beside the playback action. */
  .news-index .news-filters {
    grid-column: 1 / -1;
  }
  .news-index .news-image-playback {
    grid-row: 2;
    margin-top: 8px;
    padding-inline: 12px;
  }
  .news-index .news-image-grid {
    grid-row: 3;
    margin-top: 12px;
  }
  .news-index .news-show-more {
    grid-row: 4;
  }
}
