/* News from both sides — editorial theme.
   Neutralna paleta; dvije ne-partijske akcentne boje za "obje strane":
   strana A = teal, strana B = terracotta. */

:root {
  --ink:        #16181d;
  --ink-soft:   #3c4047;
  --muted:      #7b8089;
  --line:       #e6e4df;
  --bg:         #faf9f6;
  --surface:    #ffffff;
  --side-a:     #0f6e72;
  --side-a-bg:  #e9f4f4;
  --side-b:     #b4451f;
  --side-b-bg:  #fbede6;
  --accent:     #16181d;
  --radius:     14px;
  --shadow:     0 1px 2px rgba(20,22,28,.05), 0 8px 24px rgba(20,22,28,.06);
  --serif:  Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans:   -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: inline-flex; gap: 4px; }
.dot { width: 13px; height: 13px; border-radius: 50%; display: inline-block; }
.dot-a { background: var(--side-a); }
.dot-b { background: var(--side-b); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-top { font-weight: 800; letter-spacing: .16em; font-size: 13px; color: var(--muted); }
.brand-bottom { font-family: var(--serif); font-weight: 700; font-size: 21px; letter-spacing: .01em; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.nav a:hover { color: var(--accent); }

.ticker { background: var(--ink); color: #f3f1ec; }
.ticker-inner { display: flex; align-items: center; gap: 12px; height: 38px; font-size: 13.5px; }
.ticker-tag {
  background: rgba(255,255,255,.12); padding: 3px 9px; border-radius: 999px;
  font-weight: 700; letter-spacing: .03em; text-transform: uppercase; font-size: 11px;
}
.ticker-text { color: #cfd2d6; }

/* ---------- Hero ---------- */
main.wrap { padding-top: 34px; padding-bottom: 56px; }
.hero {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; margin-bottom: 40px;
}
.hero-link { display: block; padding: 34px 34px 26px; }
.hero-headline {
  font-family: var(--serif); font-weight: 700; font-size: 40px;
  line-height: 1.12; margin: 14px 0 12px; letter-spacing: -.01em;
}
.hero-summary { font-size: 19px; color: var(--ink-soft); margin: 0; max-width: 70ch; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.hero-side { padding: 22px 34px 26px; }
.hero-side-a { background: var(--side-a-bg); border-right: 1px solid var(--line); }
.hero-side-b { background: var(--side-b-bg); }
.hero-side .side-label { font-weight: 800; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.hero-side-a .side-label { color: var(--side-a); }
.hero-side-b .side-label { color: var(--side-b); }
.hero-side .side-perspective { margin: 10px 0 14px; color: var(--ink-soft); font-size: 15.5px; }
.side-source { font-weight: 700; font-size: 14px; }
.hero-side-a .side-source { color: var(--side-a); }
.hero-side-b .side-source { color: var(--side-b); }

/* ---------- Tags / meta ---------- */
.topic-tag {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; background: #fff;
}
.ttl { font-size: 12px; font-weight: 700; color: var(--muted); }
.card-date { font-size: 12px; font-weight: 600; color: var(--muted); }
.hero-date { display: inline-block; margin-left: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.story-meta { font-size: 13.5px; font-weight: 600; color: var(--muted); margin: 0 0 18px; }

/* ---------- Sections / grid ---------- */
.section { margin-top: 8px; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 22px;
}
.section-head h2 { font-family: var(--serif); font-size: 22px; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .14s ease, box-shadow .14s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(20,22,28,.10); }
.card-link { padding: 20px 20px 14px; display: block; flex: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.card-headline {
  font-family: var(--serif); font-size: 21px; line-height: 1.22;
  margin: 0 0 8px; letter-spacing: -.005em;
}
.card-summary { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.card-sides { display: flex; border-top: 1px solid var(--line); }
.chip { flex: 1; padding: 11px 16px; display: flex; flex-direction: column; gap: 1px; }
.chip-a { background: var(--side-a-bg); }
.chip-b { background: var(--side-b-bg); border-left: 1px solid var(--line); }
.chip-label { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.chip-a .chip-label { color: var(--side-a); }
.chip-b .chip-label { color: var(--side-b); }
.chip-src { font-size: 13px; font-weight: 600; color: var(--ink-soft); }

/* ---------- Story page ---------- */
.story { max-width: 920px; margin: 0 auto; }
.story-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.back { font-weight: 700; font-size: 14px; color: var(--ink-soft); }
.back:hover { color: var(--accent); }
.story-headline {
  font-family: var(--serif); font-size: 42px; line-height: 1.1;
  margin: 4px 0 16px; letter-spacing: -.015em;
}
.story-summary { font-size: 20px; color: var(--ink); margin: 0 0 6px; }
.neutral-note { font-size: 14px; color: var(--muted); margin: 0 0 26px; font-style: italic; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.split-col { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--surface); }
.split-a { border-top: 4px solid var(--side-a); }
.split-b { border-top: 4px solid var(--side-b); }
.split-head { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.side-dot { width: 11px; height: 11px; border-radius: 50%; }
.split-a .side-dot { background: var(--side-a); }
.split-b .side-dot { background: var(--side-b); }
.split-head .side-label { font-weight: 800; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.split-a .side-label { color: var(--side-a); }
.split-b .side-label { color: var(--side-b); }
.split-perspective { font-size: 16.5px; color: var(--ink-soft); margin: 0 0 18px; }
.split-source { border-top: 1px dashed var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.src-credit { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.split-source a { font-weight: 700; }
.split-a .split-source a { color: var(--side-a); }
.split-b .split-source a { color: var(--side-b); }
.src-date { font-size: 12.5px; color: var(--muted); }

.copyright-box {
  margin: 28px 0 8px; padding: 16px 18px; background: #f4f2ec;
  border: 1px solid var(--line); border-radius: 10px;
  font-size: 13.5px; color: var(--ink-soft);
}
.copyright-box strong { color: var(--ink); }
.story + .section { margin-top: 46px; }

/* ---------- Prose / empty ---------- */
.prose, .empty-state { max-width: 760px; margin: 10px auto; }
.prose h1, .empty-state h1 { font-family: var(--serif); font-size: 34px; line-height: 1.15; }
.prose h2 { font-family: var(--serif); font-size: 23px; margin-top: 32px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 10px; }
.empty-state { text-align: center; padding: 60px 0; }
.empty-state p { color: var(--ink-soft); font-size: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d7d9dc; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; padding: 40px 22px; }
.footer-brand strong { font-family: var(--serif); font-size: 20px; color: #fff; }
.footer-brand p { color: #a9adb3; margin: 8px 0 0; font-size: 14px; }
.footer-note p { font-size: 13.5px; margin: 0 0 10px; color: #b9bcc1; max-width: 64ch; }
.footer-note .muted { color: #80858c; }
.footer-note a { color: #e7e8ea; text-decoration: underline; }
.prose a { color: var(--side-a); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero-headline { font-size: 30px; }
  .story-headline { font-size: 32px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav { gap: 14px; }
  .nav a:not(:first-child):not(:last-child) { display: none; }
  .grid { grid-template-columns: 1fr; }
  .hero-split, .split { grid-template-columns: 1fr; }
  .hero-side-a { border-right: none; border-bottom: 1px solid var(--line); }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-link { padding: 24px 22px 18px; }
  .hero-side { padding: 18px 22px; }
}
