.filters-heading {
  margin: 0 0 6px 0;
  color: var(--muted);
  font-size: 14px;
}

.filter-field {
  position: relative;
  max-width: 420px;
  width: 100%;
}

.dropdown.hidden {
  display: none;
}

.title a {
  color: var(--text);
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.news-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.news-card {
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 16px;
  min-height: 190px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.72));
  transition: transform 0.14s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.news-card:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.44);
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.32);
}

.news-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.news-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.45);
}

.news-source {
  color: #e2e8f0;
  font-weight: 700;
}

.news-time {
  color: #cbd5e1;
}

.news-sentiment {
  font-weight: 700;
}

.news-sentiment.positive {
  color: #bbf7d0;
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.14);
}

.news-sentiment.negative {
  color: #fecaca;
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.12);
}

.news-sentiment.neutral {
  color: #dbeafe;
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.12);
}

.title {
  margin: 0;
  font-weight: 800;
  font-size: 1.04rem;
  line-height: 1.36;
}

.title a:hover {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.news-summary {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.news-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.news-ticker {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.52);
  background: rgba(37, 99, 235, 0.16);
  color: #e0f2fe;
}

.news-empty-tags {
  color: var(--muted);
  font-size: 12px;
}

.news-read {
  margin-top: auto;
  width: fit-content;
  font-size: 13px;
  color: #93c5fd;
  font-weight: 700;
  text-decoration: none;
}

.news-read:hover {
  text-decoration: underline;
}

.news-media {
  background: #0f172a;
  border-left: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 160px;
}

.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-media-placeholder {
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(30, 41, 59, 0.7));
  color: #bfdbfe;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

@media (max-width: 920px) {
  .news-card {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .news-media {
    order: -1;
    border-left: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.24);
    min-height: 180px;
  }
}

.chip[data-topic] {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}
