* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #f7f7f5; --card: #fff; --ink: #1a1a1a; --ink2: #555; --muted: #999; --line: #e8e8e8; --soft: #f0f0ee;
  --brand: #185FA5; --brand-dark: #0D3F7A; --left: #C94B7B; --center: #b5b5b5; --right: #185FA5; --ok: #2A7A2A;
}
body { font-family: 'Heebo', system-ui, sans-serif; direction: rtl; background: var(--bg); color: var(--ink); line-height: 1.5; }
a { color: inherit; }
img { max-width: 100%; }
.skip-link { position: absolute; top: -40px; right: 0; background: var(--brand); color: #fff; padding: 8px 16px; z-index: 9999; }
.skip-link:focus { top: 0; }

/* nav */
nav.top { background: #fff; border-bottom: 1px solid #eee; height: 52px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; }
.nav-logo { font-size: 22px; font-weight: 700; color: var(--ink); text-decoration: none; }
.nav-logo span { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-link { font-size: 13px; font-weight: 600; color: var(--ink2); text-decoration: none; }
.nav-link:hover, .nav-link.on { color: var(--brand); }
.date-bar { padding: 10px 24px; font-size: 12px; color: var(--muted); border-bottom: 1px solid #eee; background: #fff; text-align: center; }

/* home hero */
.hero-message { text-align: center; padding: 28px 24px 8px; max-width: 780px; margin: 0 auto; }
.hero-h1 { font-size: 24px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.hero-sub { font-size: 14px; color: #777; line-height: 1.6; }

/* layout */
.page-layout { max-width: 1200px; margin: 0 auto; padding: 20px 20px 60px; display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.feed-col { min-width: 0; }
.col-label { display: flex; align-items: center; gap: 10px; margin: 6px 0 14px; }
.col-label-text { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; color: #8A8878; white-space: nowrap; }
.col-label-line { flex: 1; height: 1px; background: #E4E2D8; }

/* story cards */
.story-card { background: var(--card); border-radius: 12px; border: 1px solid var(--line); margin-bottom: 14px; overflow: hidden; text-decoration: none; color: inherit; display: block; transition: box-shadow .15s, border-color .15s; }
.story-card:hover { border-color: #ccc; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.story-card.lead .card-image { height: 280px; }
.story-card.lead .card-title { font-size: 22px; }
.card-image { width: 100%; height: 190px; object-fit: cover; display: block; background: linear-gradient(135deg,#1a3a5a,#185FA5); }
.card-noimg { height: 72px; background: linear-gradient(135deg,#0D3F7A,#185FA5); display: flex; align-items: center; padding: 0 16px; gap: 6px; }
.card-body { padding: 14px 16px 12px; }
.card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; flex-wrap: wrap; }
.card-tag { font-size: 11px; font-weight: 700; color: var(--brand); letter-spacing: .4px; }
.card-dot { width: 3px; height: 3px; border-radius: 50%; background: #ccc; display: inline-block; }
.card-time { font-size: 11px; color: #aaa; }
.card-title { font-size: 18px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.card-summary { font-size: 13.5px; color: var(--ink2); line-height: 1.6; margin-bottom: 12px; padding: 10px 12px; background: var(--bg); border-radius: 6px; border-right: 3px solid var(--brand); }
.blind { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: #E65100; background: #FFF3E0; padding: 2px 8px; border-radius: 20px; font-weight: 600; }
.card-footer { display: flex; align-items: center; gap: 12px; }
.bias-wrap { flex: 1; }
.bias-bar, .bias-labels { direction: ltr; }
.bias-bar { height: 5px; border-radius: 3px; overflow: hidden; display: flex; margin-bottom: 3px; background: var(--soft); }
.bar-l { background: var(--left); } .bar-c { background: var(--center); } .bar-r { background: var(--right); }
.bias-labels { display: flex; justify-content: space-between; font-size: 10.5px; }
.bias-labels .l { color: var(--left); font-weight: 600; } .bias-labels .c { color: #999; } .bias-labels .r { color: var(--right); font-weight: 600; }
.source-pills { display: flex; gap: 4px; align-items: center; flex-shrink: 0; }
.source-pill { width: 24px; height: 24px; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: #fff; }
.source-count { font-size: 11px; color: #aaa; }

/* sidebar */
.sidebar-col { position: sticky; top: 72px; }
.sidebar-block { margin-bottom: 24px; }
.side-card { background: #fff; border: 1px solid #E4E2D8; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; display: block; position: relative; transition: box-shadow .2s, border-color .2s; }
.side-card:hover { border-color: var(--brand); box-shadow: 0 4px 20px rgba(24,95,165,.1); }
.side-card::before { content: ""; position: absolute; top: 0; right: 0; width: 4px; height: 100%; background: linear-gradient(180deg,var(--brand),var(--brand-dark)); }
.side-card.red::before { background: linear-gradient(180deg,var(--left),#8E2C55); }
.side-inner { padding: 18px 20px 18px 16px; }
.side-type { font-size: 10px; font-weight: 700; color: var(--brand); letter-spacing: .8px; margin-bottom: 8px; display: block; }
.side-card.red .side-type { color: var(--left); }
.side-title { font-family: 'Frank Ruhl Libre', Georgia, serif; font-size: 18px; font-weight: 700; line-height: 1.45; margin-bottom: 8px; }
.side-summary { font-size: 12.5px; color: #5A5850; line-height: 1.65; margin-bottom: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.pill { font-size: 10px; font-weight: 600; color: var(--brand); background: #EEF4FC; padding: 3px 8px; border-radius: 20px; border: 1px solid #C8DDEF; }
.side-cta { font-size: 12px; font-weight: 600; color: var(--brand); }
.side-card.red .side-cta { color: var(--left); }
.side-list { background: #fff; border: 1px solid #E4E2D8; border-radius: 14px; padding: 6px 16px; }
.side-list a { display: block; padding: 10px 0; border-bottom: 1px solid #f0f0f0; font-size: 13px; font-weight: 600; text-decoration: none; line-height: 1.45; }
.side-list a:last-child { border-bottom: none; }
.side-list a small { display: block; font-weight: 400; color: #aaa; font-size: 11px; }

/* story page */
.breadcrumb-bar { background: #fff; border-bottom: 1px solid #f0f0f0; padding: 8px 24px; }
.breadcrumb { list-style: none; display: flex; gap: 6px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.breadcrumb li + li::before { content: "›"; margin-left: 6px; color: #ccc; }
.breadcrumb a { color: var(--brand); text-decoration: none; }
.hero { position: relative; width: 100%; height: 260px; overflow: hidden; background: linear-gradient(135deg,#0D3F7A,#185FA5); }
.hero img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); }
.hero-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px 24px; background: linear-gradient(transparent 20%, rgba(0,0,0,.75)); }
.hero-inner { max-width: 1100px; margin: 0 auto; width: 100%; }
.hero-date { font-size: 12px; color: rgba(255,255,255,.7); margin-bottom: 4px; }
.hero-title { font-size: 26px; font-weight: 700; color: #fff; line-height: 1.3; }
.credit { font-size: 10.5px; color: rgba(255,255,255,.65); position: absolute; top: 8px; left: 12px; }
.credit a { color: inherit; }
.page { max-width: 1100px; margin: 0 auto; padding: 0 24px 48px; display: grid; grid-template-columns: 1fr 280px; gap: 24px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin-bottom: 16px; }
.card.first { margin-top: 20px; }
.summary-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 10px; }
.label { font-size: 11px; font-weight: 700; color: var(--brand); letter-spacing: .8px; }
.tabs { display: flex; gap: 2px; background: var(--soft); border-radius: 6px; padding: 3px; }
.tab { padding: 4px 12px; border: none; background: none; font-size: 12px; font-weight: 500; color: #666; cursor: pointer; border-radius: 4px; font-family: inherit; }
.tab.active { background: #fff; color: var(--brand); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.tab[data-t=left].active { color: var(--left); }
.tab-content { display: none; font-size: 15px; line-height: 1.7; color: #333; }
.tab-content.active { display: block; }
.bias-row { display: flex; align-items: center; gap: 12px; }
.bias-row .bias-wrap { flex: 1; }
.bias-stat { font-size: 12px; color: #888; white-space: nowrap; }
.consensus { padding: 0; overflow: hidden; }
.consensus > div { padding: 12px 16px; }
.consensus > div + div { border-top: 1px solid #f0f0f0; }
.c-ok { font-size: 11px; font-weight: 700; color: var(--ok); margin-bottom: 5px; }
.c-no { font-size: 11px; font-weight: 700; color: var(--left); margin-bottom: 5px; }
.c-text { font-size: 14px; color: #3a3a38; line-height: 1.6; }
h2.sources-label { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .8px; margin: 4px 0 8px; }
.source-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; padding: 12px 14px; display: flex; gap: 12px; align-items: flex-start; }
.source-badge { width: 32px; height: 32px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0; }
.source-main { flex: 1; min-width: 0; }
.source-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.source-name { font-size: 13px; font-weight: 600; }
.lean { font-size: 10.5px; font-weight: 600; padding: 1px 7px; border-radius: 20px; }
.lean.left { color: var(--left); background: #FBEAF1; } .lean.center { color: #777; background: #f0f0f0; } .lean.right { color: var(--right); background: #EAF2FB; }
.source-writer { font-size: 11px; color: #aaa; }
.source-headline { font-size: 14px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
.source-angle { font-size: 13px; color: var(--ink2); line-height: 1.55; margin-bottom: 6px; }
.source-link { font-size: 12px; color: var(--brand); text-decoration: none; }
.source-link:hover { text-decoration: underline; }
.sidebar { margin-top: 20px; position: sticky; top: 64px; }
.sidebar-title { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .8px; margin-bottom: 10px; }
.coverage-row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
.coverage-row:last-child { border-bottom: none; }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share a, .share button { font: inherit; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; cursor: pointer; }
.note { font-size: 11.5px; color: #999; line-height: 1.6; }

/* disagreements page */
.dis-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 18px; overflow: hidden; }
.dis-head { padding: 14px 18px 10px; }
.dis-rank { font-size: 11px; font-weight: 700; color: var(--left); letter-spacing: .6px; }
.dis-title { font-size: 19px; font-weight: 700; line-height: 1.4; margin: 4px 0; }
.dis-title a { text-decoration: none; }
.vs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #f0f0f0; }
.vs > div { padding: 14px 18px; font-size: 14px; line-height: 1.6; }
.vs > div + div { border-right: 1px solid #f0f0f0; }
.vs .side-l { color: var(--left); font-weight: 700; font-size: 12px; margin-bottom: 4px; }
.vs .side-r { color: var(--right); font-weight: 700; font-size: 12px; margin-bottom: 4px; }
.dis-foot { padding: 10px 18px; background: #FBF7F9; font-size: 13px; color: #6b4a58; border-top: 1px solid #f3e6ec; }
.meter { display: inline-flex; gap: 2px; vertical-align: middle; margin-right: 6px; }
.meter i { width: 8px; height: 8px; border-radius: 2px; background: #eee; display: inline-block; }
.meter i.on { background: var(--left); }

/* analysis page */
.an-wrap { max-width: 820px; margin: 0 auto; padding: 24px 20px 60px; }
.an-type { font-size: 11px; font-weight: 700; color: var(--brand); letter-spacing: .8px; }
.an-title { font-family: 'Frank Ruhl Libre', Georgia, serif; font-size: 32px; line-height: 1.3; margin: 8px 0 12px; }
.an-intro { font-size: 17px; color: #444; line-height: 1.7; margin-bottom: 20px; }
.kp { list-style: none; counter-reset: k; }
.kp li { counter-increment: k; display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eee; font-size: 15px; line-height: 1.6; }
.kp li::before { content: counter(k, decimal-leading-zero); font-weight: 700; color: var(--brand); font-size: 14px; min-width: 22px; }
.view { border-right: 3px solid var(--brand); }
.view h3 { font-size: 15px; margin-bottom: 4px; }
.view .full { font-size: 11.5px; color: #999; margin-bottom: 8px; }
.bottom { background: #0D3F7A; color: #fff; border-radius: 12px; padding: 18px 20px; font-size: 15.5px; line-height: 1.7; }
.bottom b { display: block; font-size: 11px; letter-spacing: .8px; opacity: .75; margin-bottom: 6px; }

/* simple pages */
.text-page { max-width: 780px; margin: 0 auto; padding: 28px 20px 60px; }
.text-page h1 { font-size: 26px; margin-bottom: 12px; }
.text-page h2 { font-size: 18px; margin: 24px 0 8px; }
.text-page p, .text-page li { font-size: 15px; line-height: 1.75; color: #333; margin-bottom: 10px; }
.text-page ul { padding-right: 20px; }
table.src { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
table.src td, table.src th { padding: 8px 12px; border-bottom: 1px solid #f0f0f0; font-size: 14px; text-align: right; }
.archive-day { font-size: 13px; font-weight: 700; color: #8A8878; margin: 20px 0 8px; }
.archive-item { display: block; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; margin-bottom: 6px; text-decoration: none; font-weight: 600; font-size: 14.5px; }

footer.site { border-top: 1px solid #e5e5e5; background: #fff; padding: 22px 24px; text-align: center; font-size: 12px; color: #999; line-height: 1.8; }
footer.site a { color: #777; margin: 0 6px; }

@media (max-width: 899px) {
  .page-layout { grid-template-columns: 1fr; padding: 16px 16px 60px; gap: 0; }
  .sidebar-col { position: static; margin-top: 8px; }
  .page { grid-template-columns: 1fr; padding: 0 16px 40px; }
  .sidebar { position: static; margin-top: 0; }
  .hero { height: 200px; } .hero-title { font-size: 20px; }
  .story-card.lead .card-image { height: 200px; }
  .card-image { height: 160px; }
  .vs { grid-template-columns: 1fr; } .vs > div + div { border-right: none; border-top: 1px solid #f0f0f0; }
  .an-title { font-size: 25px; }
  nav.top { padding: 0 16px; } .nav-links { gap: 12px; }
}
