/* Haberler — editorial news desk. Tokens + .tabs/.tab/.filter-chip/.btn/.input/.brf-* come from
   styles.css (whose mobile block also sizes them for touch); only page layout lives here. */
.news-page { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.news-headline { font-size: 40px; margin: 0; }
.news-intro { font-size: 13.5px; color: var(--text-dim); margin-top: 6px; max-width: 760px; line-height: 1.5; }
.news-notice { padding: 2px 0; }
.news-banner {
  padding: 10px 14px; font-size: 12.5px; line-height: 1.5; color: var(--ink-3);
  background: var(--paper-soft); border: 1px solid var(--rule-soft); border-left: 3px solid var(--amber);
}

/* tab bar: buttons styled as the shared .tab */
.news-tabs.tabs { padding: 0; }
.news-tabs .tab { background: none; border: 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.news-tabs .tab.active { border-bottom-color: var(--red); }
.news-tab-n { font-family: var(--mono); font-size: 10px; color: var(--text-faint); margin-left: 6px; }
.news-tabs .tab.active .news-tab-n { color: var(--red); }

/* list (main) + briefing (side) */
.news-layout {
  display: grid; gap: 16px; align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  grid-template-areas: "main side";
}
.news-main { grid-area: main; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.news-side { grid-area: side; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.news-brief .brf-li, .news-brief .brf-p { font-size: 13.5px; }

.news-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.news-controls .input { flex: 1; min-width: 180px; }
.news-updated { font-family: var(--mono); font-size: 10.5px; color: var(--text-muted); white-space: nowrap; }
.news-chips { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.news-chips .filter-chip { font-family: var(--sans); }
.news-chips-label {
  min-width: 56px; font-size: 9.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted);
}

/* one article */
.news-row { padding: 14px 18px 13px; border-bottom: 1px solid var(--rule-dim); }
.news-row:last-child { border-bottom: none; }
.news-row-top { display: flex; gap: 14px; align-items: flex-start; }
.news-row-body { flex: 1; min-width: 0; }
.news-kicker {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 5px;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted);
}
.news-tone { display: inline-flex; align-items: center; gap: 5px; }
.news-tone-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.news-tone-pos { color: var(--green); }
.news-tone-neg { color: var(--red); }
.news-tone-neu { color: var(--text-muted); }
.news-kicker-tab { color: var(--text-faint); }
.news-title {
  font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.25;
  letter-spacing: -0.005em; color: var(--ink); overflow-wrap: anywhere;
}
.news-meta { font-family: var(--mono); font-size: 10.5px; color: var(--text-muted); margin-top: 6px; overflow-wrap: anywhere; }
.news-actions { display: flex; gap: 6px; flex-shrink: 0; }
.news-actions a.btn { text-decoration: none; }
.news-sum { margin-top: 12px; }
.news-sum-paper { padding: 12px 18px 10px; }
.news-sum-note { font-size: 11px; font-style: italic; color: var(--text-muted); margin-top: 4px; }
.news-pager { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 4px 0 8px; }
.news-pager .mono { font-size: 11px; color: var(--text-muted); }

@media (max-width: 768px), (max-height: 480px) {
  .news-headline { font-size: var(--m-size-lg); }
  .news-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "side" "main"; }
  .news-row { padding: 14px; }
  .news-row-top { flex-direction: column; gap: 10px; }
  .news-actions { width: 100%; }
  .news-actions .btn { flex: 1; justify-content: center; }
  .news-title { font-size: var(--m-size-md); }
  .news-chips-label { width: 100%; }
  .news-controls .input { flex-basis: 100%; }
  .news-controls .btn { flex: 1; justify-content: center; }
  .news-updated { width: 100%; }
}
