.news-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.news-page #wrapper {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.news-page #page {
  flex: 1 0 auto;
}

.news-page #footer {
  margin-top: 20px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.news-page .news-hero {
  margin-bottom: 4px;
}

.news-page .news-search-bar {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  max-width: 420px;
}

.news-page .news-search-bar input[type="text"] {
  height: 32px;
  min-width: 260px;
  padding: 0 10px;
  border: 1px solid var(--lake-border);
  border-radius: 6px;
  background: #ffffff;
  font-family: inherit;
  font-size: inherit;
}

.news-page .news-search-bar input[type="text"]:focus {
  outline: none;
  border-color: #4a5a6a;
  box-shadow: none;
}

.news-page .news-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.news-page .news-status {
  margin: 0;
  color: var(--lake-muted);
  font-size: 13px;
}

.news-page .news-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.news-page .news-item {
  border: 1px solid var(--lake-border);
  border-radius: 10px;
  background: var(--lake-panel);
  box-shadow: 0 6px 16px rgba(25, 45, 50, 0.06);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.news-page .news-item:hover {
  transform: translateY(-1px);
  border-color: var(--lake-border);
  box-shadow: 0 8px 18px rgba(25, 45, 50, 0.1);
}

.news-page .news-item a {
  display: block;
  padding: 13px 14px;
  text-decoration: none;
  font-weight: 600;
  color: #0b4dff;
  border-radius: 8px;
  transition: background-color 120ms ease, box-shadow 120ms ease;
}

.news-page .news-item a:hover {
  text-decoration: none;
  background-color: #eef4ff;
  box-shadow: inset 3px 0 0 #0b4dff;
}

.news-page .news-item a:focus-visible {
  text-decoration: none;
  background-color: #eef4ff;
  box-shadow: inset 3px 0 0 #0b4dff, 0 0 0 2px rgba(11, 77, 255, 0.18);
  outline: none;
}

.news-page .news-item.hidden {
  display: none;
}

.news-page .news-archive-label {
  margin-top: 14px;
  margin-bottom: 0;
  color: var(--lake-muted);
  font-weight: 600;
}

.news-page .news-empty {
  margin-top: 14px;
  padding: 10px 12px;
  border-left: 4px solid #5b6770;
  border-radius: 6px;
  background: #f4f6f8;
}

.news-page .news-story {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.news-page .news-image-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

@media (max-width: 640px) {
  .news-page .news-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-page .news-search-bar input[type="text"] {
    font-size: 16px;
  }
}
