.news-page {
  --news-navy: #1f2f5c;
  --news-teal: #167786;
  --news-teal-soft: #edf7f7;
  --news-blue-gray: #f3f6f9;
  --news-border: #d4dde8;
  --news-muted: #5b6678;
}

.news-page #content {
  color: #1d2940;
}

.news-intro {
  max-width: 50rem;
  margin: 1.5rem 0 2rem;
}

.news-intro-label,
.news-section-kicker {
  display: block;
  margin: 0 0 0.35rem;
  color: var(--news-teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.news-intro p {
  margin: 0;
  color: var(--news-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.news-tools {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) auto;
  gap: 1rem 1.5rem;
  align-items: end;
  box-sizing: border-box;
  margin: 0 0 2.75rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--news-border);
  border-radius: 8px;
  background: var(--news-blue-gray);
}

.news-search-form {
  min-width: 0;
}

.news-search-form label {
  display: block;
  margin: 0 0 0.45rem;
  color: var(--news-navy);
  font-size: 0.9rem;
  font-weight: 700;
}

.news-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
}

.news-search-row input,
.news-search-row button {
  box-sizing: border-box;
  min-height: 44px;
  font: inherit;
}

.news-search-row input {
  min-width: 0;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid #aebdce;
  border-radius: 5px;
  background: #fff;
  color: #1d2940;
}

.news-search-row input:focus-visible {
  outline: 3px solid rgba(22, 119, 134, 0.22);
  outline-offset: 1px;
  border-color: var(--news-teal);
}

.news-search-row button {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--news-navy);
  border-radius: 5px;
  background: var(--news-navy);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.news-search-row button:hover,
.news-search-row button:focus-visible {
  background: #314673;
}

.news-tool-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 0.55rem;
  font-size: 0.9rem;
}

.news-tool-links a {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.news-tool-links .news-rss-link {
  color: var(--news-muted);
  font-weight: 600;
}

.news-search-status {
  display: block;
  min-height: 1.4em;
  margin-top: 0.45rem;
  color: var(--news-muted);
  font-size: 0.85rem;
}

.news-search-summary {
  margin: 0;
  padding: 0.9rem 0.35rem;
  border-bottom: 1px solid var(--news-border);
  color: var(--news-muted);
  font-size: 0.9rem;
}

.news-section {
  margin: 0 0 3.5rem;
}

.news-section-heading {
  margin: 0 0 0.65rem;
  padding-left: 0.9rem;
  border-left: 4px solid var(--news-teal);
}

.news-page #content .news-section-heading h3,
.news-page #content .news-archive-selector h3 {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--news-navy);
  line-height: 1.35;
}

.news-page #content .news-section-heading h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
}

.news-page #content .news-section-heading h3::before,
.news-page #content .news-section-heading h3::after,
.news-page #content .news-archive-selector h3::before,
.news-page #content .news-archive-selector h3::after {
  content: none;
}

.news-list {
  border-top: 1px solid var(--news-border);
}

.news-entry {
  min-width: 0;
  padding: 1.4rem 0.35rem 1.45rem;
  border-bottom: 1px solid var(--news-border);
  background: #fff;
}

.news-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  align-items: center;
  margin: 0 0 0.55rem;
  color: var(--news-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.news-category {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.08rem 0.55rem;
  border-radius: 999px;
  background: var(--news-teal-soft);
  color: #116775;
  font-weight: 700;
}

.news-page #content .news-entry-title {
  margin: 0 0 0.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--news-navy);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.news-entry-title a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.news-entry-body {
  color: #344159;
  font-size: 1rem;
  line-height: 1.8;
}

.news-entry-body p {
  margin: 0.65rem 0 0;
}

.news-entry-body .news-summary {
  margin-top: 0;
  color: #273650;
  font-weight: 600;
}

.news-entry-body a,
.news-entry-title a {
  overflow-wrap: anywhere;
}

.news-list-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: flex-end;
  margin: 1rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.news-clear-search {
  margin-right: auto;
  color: var(--news-muted);
}

.news-archive-selector {
  box-sizing: border-box;
  margin: 0 0 2.5rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--news-border);
  border-radius: 8px;
  background: #fff;
}

.news-page #content .news-archive-selector h3 {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.news-archive-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.news-archive-nav a,
.news-archive-current {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  box-sizing: border-box;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--news-border);
  border-radius: 999px;
  background: #fff;
  font-size: 0.88rem;
  line-height: 1.3;
}

.news-archive-current {
  border-color: var(--news-teal);
  background: var(--news-teal-soft);
  color: #116775;
  font-weight: 700;
}

.news-legacy-link {
  margin: 0.85rem 0 0;
  color: var(--news-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.news-empty {
  margin: 0;
  padding: 1.4rem 0.35rem;
  border-bottom: 1px solid var(--news-border);
  color: var(--news-muted);
}

.news-tools-search-page {
  margin-bottom: 2.75rem;
}

@media (max-width: 720px) {
  .news-intro {
    margin: 1.15rem 0 1.5rem;
  }

  .news-tools {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
    margin-bottom: 2.2rem;
    padding: 1rem;
  }

  .news-tool-links {
    justify-content: flex-start;
    padding: 0;
  }

  .news-entry {
    padding: 1.2rem 0.15rem 1.25rem;
  }

  .news-entry-body {
    line-height: 1.75;
  }

  .news-list-footer {
    justify-content: flex-start;
  }
}

@media (max-width: 390px) {
  .news-search-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-search-row button {
    width: 100%;
  }

  .news-entry-meta {
    font-size: 0.8rem;
  }
}
