/* ==========================================================================
   NEWS LISTING — assets/css/pages/news.css
   Loaded on the posts page, category, tag, date and author archives.

   The cards, grid, pagination and empty state all come from
   components.css; the only thing unique to this view is the filter.
   ========================================================================== */

/* --- Category filter ---------------------------------------------------- */

.tax-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--rule-soft);
}

.tax-filter__item {
  display: inline-block;
  border: 1px solid var(--rule-soft);
  padding: 8px 16px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.tax-filter__item:hover,
.tax-filter__item:focus-visible { border-color: var(--ink); color: var(--navy); }

.tax-filter__item.is-current {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--on-dark);
}
.tax-filter__item.is-current:hover { color: var(--on-dark); }

@media (max-width: 600px) {
  .tax-filter { gap: 8px; margin-bottom: 28px; padding-bottom: 20px; }
  .tax-filter__item { padding: 7px 13px; font-size: 11px; }
}
