/* News filter bar: full width under the hero on the news pages, a Category
   row (dark blue) over a State row (a shade darker) (Nick, Nov 5 2026).
   Markup: include_hero_actions_filter in functions.php + inc/news-state-filter.php. */
.hero-section-wrapper:has(+ .news-filter-bar) .hero-style1 {
  margin-bottom: 0;
}

.news-filter-bar {
  margin-top: 0;
  margin-bottom: 56px;
}

.news-filter-bar__inner {
  display: flex;
  flex-direction: column;
}

.news-filter-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px 64px;
  background: var(--secondary-800, #24656D);
}

.news-filter-row + .news-filter-row {
  padding-top: 16px;
  padding-bottom: 16px;
  background: var(--secondary-900, #1A4A50);
}

.news-filter-row__label {
  flex: none;
  width: 90px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary-300, #7DCAD3);
}

.news-filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
}

.news-filter-list li {
  margin: 0;
  padding: 0;
}

.news-filter-list li::before {
  display: none !important;
}

.news-filter-list a {
  display: inline-block;
  padding: 4px 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.news-filter-row + .news-filter-row .news-filter-list a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.news-filter-list a:hover,
.news-filter-list li.active a,
.news-filter-row + .news-filter-row .news-filter-list a:hover,
.news-filter-row + .news-filter-row .news-filter-list li.active a {
  color: #B5D334;
  border-bottom-color: #B5D334;
}

.news-filter-list .category-count {
  opacity: 0.7;
}

@media (max-width: 767px) {
  .news-filter-bar {
    margin-bottom: 40px;
  }

  .news-filter-row,
  .news-filter-row + .news-filter-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 20px;
  }

  .news-filter-row__label {
    width: auto;
  }

  .news-filter-list {
    gap: 6px 20px;
  }

  .news-filter-list a,
  .news-filter-row + .news-filter-row .news-filter-list a {
    font-size: 14px;
  }
}
