/* ==================================================
   WATERCoyote WATER NEWS
================================================== */

body.page-news main {
  background:
    radial-gradient(circle at 78% 7%, rgba(115,201,255,.11), transparent 34%),
    #091a28;
}

.news-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.018), rgba(0,0,0,.04)),
    #1a3549;
}

.news-hero .section {
  padding-top: 72px;
  padding-bottom: 58px;
}

.news-hero h1 {
  max-width: 900px;
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.04;
  text-wrap: balance;
}

.news-hero .lead {
  margin-bottom: 34px;
}

.news-status-row {
  display: grid;
  grid-template-columns: .8fr .9fr 1.6fr;
  gap: 14px;
  max-width: 900px;
}

.news-stat {
  padding: 18px 20px;
  border: 1px solid rgba(115,201,255,.19);
  border-radius: 12px;
  background: rgba(4,17,28,.28);
}

.news-stat strong {
  display: block;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.15;
}

.news-stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .4px;
}

.news-refresh-note {
  margin: 18px 0 0 !important;
  color: #9fb2bf !important;
  font-size: 13px !important;
}

.news-browser .section {
  padding-top: 55px;
}

.news-search {
  margin-bottom: 24px;
}

.news-search label {
  display: block;
  margin-bottom: 8px;
  color: #dbe7ee;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: .4px;
}

.news-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-search input {
  width: min(620px, 100%);
  min-width: 0;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 9px;
  outline: none;
  background: #071824;
  color: var(--white);
  font: inherit;
}

.news-search input:focus {
  border-color: rgba(115,201,255,.65);
  box-shadow: 0 0 0 3px rgba(115,201,255,.09);
}

.news-search button {
  padding: 12px 19px;
  border: 0;
  border-radius: 9px;
  background: var(--blue);
  color: #062033;
  font: inherit;
  font-weight: bold;
  cursor: pointer;
}

.news-search button:hover {
  background: #98d9ff;
}

.news-clear {
  color: var(--muted) !important;
  font-size: 13px;
  text-decoration: none;
}

.news-topic-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 48px;
}

.news-topic-filter a {
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: #c8d6df !important;
  font-size: 12px;
  line-height: 1.2;
  text-decoration: none;
}

.news-topic-filter a:hover,
.news-topic-filter a.active {
  border-color: rgba(115,201,255,.50);
  background: rgba(115,201,255,.11);
  color: var(--blue) !important;
}

.news-results-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 18px;
}

.news-results-heading .eyebrow {
  margin-bottom: 8px;
}

.news-results-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 46px);
}

.news-result-count {
  padding-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

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

.news-card {
  padding: 27px 0 28px;
  border-bottom: 1px solid var(--line);
}

.news-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  align-items: center;
  margin-bottom: 9px;
  color: #91a5b3;
  font-size: 12px;
}

.news-topic {
  padding: 4px 8px;
  border: 1px solid rgba(115,201,255,.23);
  border-radius: 999px;
  color: var(--blue);
  letter-spacing: .3px;
}

.news-card h3 {
  max-width: 940px;
  margin: 0 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.2;
}

.news-card h3 a {
  color: var(--white) !important;
  text-decoration: none;
}

.news-card h3 a:hover {
  color: var(--blue) !important;
}

.news-card p {
  max-width: 860px;
  margin: 0 0 10px;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.55;
}

.news-open {
  display: inline-block;
  margin-top: 3px;
  color: var(--blue) !important;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
}

.news-message {
  margin-top: 20px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  color: var(--soft);
}

.news-source-note {
  margin-top: 38px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  background: rgba(0,0,0,.12);
  color: #879ba9;
  font-size: 12px;
  line-height: 1.55;
}

.news-source-note strong {
  color: #b9c9d3;
}

@media (max-width: 850px) {
  .news-hero .section {
    padding-top: 52px;
    padding-bottom: 46px;
  }

  .news-status-row {
    grid-template-columns: 1fr 1fr;
  }

  .news-stat-wide {
    grid-column: 1 / -1;
  }

  .news-search-row {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .news-search input {
    width: 100%;
  }

  .news-results-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .news-result-count {
    padding-bottom: 0;
  }
}

@media (max-width: 520px) {
  .news-status-row {
    grid-template-columns: 1fr;
  }

  .news-stat-wide {
    grid-column: auto;
  }
}
