/* ==========================================================================
   Virtual Esports - live news feed
   Loaded by news.html and blog.html (for the "live wire" callout).
   ========================================================================== */

.news-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 0 1.1rem;
}

.news-status {
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim, #93a4c0);
}

.news-status-error {
  color: #ff6b6b;
}

.news-refresh {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00e699;
  background: rgba(0, 230, 153, 0.08);
  border: 1px solid rgba(0, 230, 153, 0.35);
  border-radius: 999px;
  padding: 0.45rem 1.05rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.news-refresh:hover:not(:disabled) {
  background: rgba(0, 230, 153, 0.16);
}

.news-refresh:disabled {
  opacity: 0.5;
  cursor: default;
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.8rem;
}

.news-chip {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: #cfd9ea;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.news-chip:hover {
  border-color: rgba(0, 230, 153, 0.5);
  color: #fff;
}

.news-chip[aria-pressed='true'] {
  color: #050a14;
  background: #00e699;
  border-color: #00e699;
  font-weight: 700;
}

.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card .blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(5, 10, 20, 0.82);
  color: #00e699;
  border: 1px solid rgba(0, 230, 153, 0.4);
  font-family: 'Space Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  max-width: calc(100% - 1.5rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-card .blog-card-title a {
  color: inherit;
}

.news-card-link {
  margin-top: auto;
  color: #00e699;
}

.news-empty {
  color: var(--text-dim, #93a4c0);
  text-align: center;
  padding: 2rem 0;
}

.news-empty a {
  color: #00e699;
}

.news-cta {
  margin-top: 3rem;
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid rgba(0, 230, 153, 0.22);
  border-radius: 16px;
  background: rgba(0, 230, 153, 0.05);
}

.news-cta p {
  margin: 0 0 1rem;
  color: #cfd9ea;
}
