.news-category-header {
  inline-size: 80%;
  margin: 5% auto 0;
}

.news-category-header h1 {
  font-weight: bold;
}

.news-category-description {
  margin-block-start: 1.5em;
  line-height: 1.8;
}

.news-category-navigation .tag-button-list-wrapper {
  max-block-size: none;
  overflow: visible;
  opacity: 1;
}

.news-category-navigation .tag-title::before,
.news-category-navigation .tag-title::after {
  content: none;
}

.news-category-navigation a[aria-current='page'] {
  color: #1a65c1;
  background: #f2f9ff;
  border-color: #1a65c1;
}

.news-year-filter {
  padding: 0;
  margin: 1.5em 0 0;
  border: 0;
}

.news-year-filter legend {
  margin-block-end: 0.5em;
  font-weight: bold;
}

.news-year-options,
.news-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-year-option {
  display: inline-flex;
  gap: 0.5em;
  align-items: center;
  padding: 0.4em 0.8em;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 100vh;
}

.news-year-option:has(:checked) {
  color: #1a65c1;
  background: #f2f9ff;
  border-color: #1a65c1;
}

.news-year-option input {
  accent-color: #1a65c1;
}

.news-category-links {
  margin-block: 8px;
}

.news-category-link {
  display: inline-block;
  padding: 0.2em 1em;
  font-weight: bold;
  color: #1a65c1;
  background: #f8f8f8;
  border: 2px solid #ddd;
  border-radius: 100vh;
}

.news-entry {
  position: relative;
}

.news-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}

.news-entry .news-category-links {
  position: relative;
  z-index: 1;
}

.news-entry .news-category-links .news-category-link {
  color: #1a65c1;
}

.press-release-flex-content .news-category-links {
  margin-inline-start: 1em;
}

.news-entry-title::after {
  position: absolute;
  inset: 0;
  content: '';
  border-radius: 10px;
}

.news-entry-title:focus-visible::after,
.news-category-link:focus-visible,
.news-category-navigation a:focus-visible,
.news-category-navigation button:focus-visible,
.news-year-option:focus-within {
  outline: 2px solid #1a65c1;
  outline-offset: 3px;
}

.news-entry-title:focus-visible::after {
  outline-offset: -3px;
}

@media (width <= 800px) {
  .news-category-header {
    inline-size: 90%;
  }

  .news-category-navigation .news-search-flex-wrapper:first-child {
    padding-block-end: 1em;
  }
}
