/* ventures/news.css — Live Venture News card
   Matches the dark theme defined inline in ventures/index.html.
   CSS vars (--bg-surface, --bg-card, --text-primary, --text-secondary,
   --text-muted, --border, --accent) are declared on :root there; this
   file only consumes them. Fonts: Playfair Display / Source Sans Pro. */

.venture-news {
  background: var(--bg-surface);
  padding: 48px 24px;
  border-top: 1px solid var(--border);
}

.venture-news-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section header */
.venture-news-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 8px;
}
.venture-news-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--text-primary);
}
.venture-news-header .news-sub {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* Filter bar */
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 24px;
}
.news-filters label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 700;
}
.news-filters select {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 12px;
  min-width: 150px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.news-filters select:hover,
.news-filters select:focus {
  border-color: var(--accent);
  outline: none;
}

/* News list */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* News item */
.news-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.news-item:first-child { padding-top: 4px; }
.news-item:last-child { border-bottom: none; }

.news-item-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.news-item-title a {
  color: var(--text-primary);
  transition: color 0.2s ease;
}
.news-item-title a:hover { color: var(--accent); }

.news-item-summary {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.news-item-meta {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.news-item-meta .news-source { color: var(--text-secondary); font-weight: 600; }
.news-item-meta .news-sep { margin: 0 8px; opacity: 0.6; }

/* BREAKING badge */
.news-badge {
  display: inline-block;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: white;
  background: rgb(200, 80, 80);
  border-radius: 3px;
  padding: 2px 7px;
  vertical-align: middle;
}

/* More button */
.news-more-wrap { text-align: center; margin-top: 28px; }
.news-more {
  display: inline-block;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 28px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.news-more:hover { border-color: var(--accent); color: var(--accent); }
.news-more[disabled] { opacity: 0.4; cursor: default; }

/* Loading / empty state */
.news-state {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
  padding: 24px 0;
}

/* Responsive — single column on mobile */
@media (max-width: 768px) {
  .venture-news { padding: 36px 20px; }
  .news-filters { flex-direction: column; }
  .news-filters select { width: 100%; }
  .news-item-title { font-size: 1.08rem; }
}
