.site-nav {
  max-width: 1100px;
  margin: 0.75rem auto 0;
  display: flex;
  gap: 0.5rem;
}

.nav-link {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}

.nav-link:hover { color: var(--text); border-color: rgba(59, 158, 255, 0.4); }
.nav-link.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #6c5ce7);
}

.tabs {
  max-width: 1100px;
  margin: 0.75rem auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tab.active {
  color: #fff;
  border-color: transparent;
  background: var(--accent);
}

.news-main { max-width: 1100px; margin: 0 auto; padding: 1.25rem 1.5rem 3rem; }

.weather-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.weather-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.weather-card h3 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.weather-card .temp { font-size: 1.75rem; font-weight: 700; }
.weather-card .meta { color: var(--muted); font-size: 0.85rem; margin-top: 0.25rem; }

.news-content { display: grid; gap: 1rem; }

.section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.section-header h2 { font-size: 1rem; font-weight: 600; }
.section-header .count { color: var(--muted); font-size: 0.8rem; }

.articles { list-style: none; }

.article {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
}

.article:last-child { border-bottom: none; }

.article a.title {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.35;
}

.article a.title:hover { color: var(--accent); }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.pill {
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--muted);
}

.pill.bias-left { color: #6ba3ff; }
.pill.bias-right, .pill.bias-far_right, .pill.bias-lean_right { color: var(--accent-2); }
.pill.fact-high, .pill.fact-very_high { color: #3ecf8e; }
.pill.fact-low, .pill.fact-very_low { color: #f5a623; }

.blindspot-card { padding: 1rem; border-bottom: 1px solid var(--line); }
.blindspot-card:last-child { border-bottom: none; }
.blindspot-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; color: #f5a623; }

.bias-bar {
  display: flex;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  margin: 0.5rem 0;
  background: var(--bg);
}

.bias-bar .left { background: #4d7cff; }
.bias-bar .center { background: var(--muted); }
.bias-bar .right { background: var(--accent-2); }

.news-errors {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 77, 109, 0.1);
  border: 1px solid rgba(255, 77, 109, 0.3);
  color: #ffb4c0;
  font-size: 0.85rem;
}

.hidden { display: none; }

.footer a { color: var(--accent); }