/* ---------- Tokens ---------- */
:root {
  --accent: #c8102e;
  --accent-dk: #9c0c24;
  --ink: #111;
  --ink-2: #2a2a2a;
  --ink-3: #555;
  --muted: #888;
  --line: #e2ddd2;
  --line-2: #ece7da;
  --paper: #faf7f0;
  --bg: #ffffff;
  --up: #1f7a3a;
  --down: #c2333a;
  --font-scale: 1;
  --serif: "Fraunces", "Times New Roman", serif;
  --serif-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  --max: 1240px;
}

html[data-serif="playfair"]  { --serif: "Playfair Display", serif; }
html[data-serif="spectral"]  { --serif: "Spectral", serif; }
html[data-serif="dmserif"]   { --serif: "DM Serif Display", serif; }
html[data-serif="fraunces"]  { --serif: "Fraunces", serif; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: calc(15px * var(--font-scale));
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font-family: inherit; cursor: pointer; }

/* ---------- Progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--accent); z-index: 1000;
  transition: width 80ms linear;
}

/* ---------- Utility bar ---------- */
.util {
  background: #f5f1e8;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--ink-3);
}
.util-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 16px;
  flex-wrap: wrap; gap: 8px;
}
.util-left, .util-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.util-date { font-weight: 700; color: var(--ink); letter-spacing: 0.04em; }
.util-sep { color: var(--muted); }
.util-sub {
  background: var(--accent); color: #fff !important;
  padding: 2px 10px; font-weight: 600;
  letter-spacing: 0.04em;
}
.util a:hover { color: var(--accent); }

/* ---------- Masthead ---------- */
.mast {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.mast-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 22px; font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
}
.brand-mark.sm { width: 38px; height: 38px; font-size: 18px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif);
  font-size: 30px; font-weight: 800;
  letter-spacing: -0.025em;
}
.brand-italic { font-style: italic; color: var(--accent); font-weight: 500; }
.brand-tag {
  font-family: var(--serif-body);
  font-size: 11px; font-style: italic;
  color: var(--ink-3);
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.mast-search { display: flex; }
.mast-search input {
  border: 1px solid var(--line); padding: 8px 12px;
  font-size: 13px; min-width: 220px;
  font-family: inherit;
  background: #faf8f3;
}
.mast-search button {
  background: var(--ink); color: #fff;
  border: 1px solid var(--ink);
  padding: 8px 16px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em;
}
@media (max-width: 720px) { .mast-search { display: none; } }

/* ---------- Nav ---------- */
.nav {
  background: var(--ink);
  position: sticky; top: 0; z-index: 50;
}
.nav ul {
  max-width: var(--max); margin: 0 auto;
  display: flex; gap: 0;
  list-style: none; padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav ul::-webkit-scrollbar { display: none; }
.nav li { white-space: nowrap; }
.nav a {
  display: block;
  padding: 12px 16px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em;
  color: #f0ebde;
  border-right: 1px solid #2a2a2a;
}
.nav li:first-child a { border-left: 1px solid #2a2a2a; }
.nav a:hover { background: #1f1f1f; color: #fff; }
.nav li.active a {
  background: var(--accent); color: #fff;
}

/* ---------- Ticker ---------- */
.ticker {
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: stretch;
  font-family: var(--mono);
  font-size: 12px;
}
.ticker-label {
  background: var(--accent); color: #fff;
  padding: 7px 12px;
  font-weight: 700; letter-spacing: 0.1em;
  font-size: 10px;
  display: grid; place-items: center;
}
.ticker-wrap { flex: 1; overflow: hidden; position: relative; }
.ticker-track {
  display: flex; gap: 28px;
  padding: 7px 16px;
  white-space: nowrap;
  animation: tk 60s linear infinite;
}
.ticker-item { display: inline-flex; gap: 6px; align-items: baseline; }
.ticker-k { color: var(--ink-3); font-weight: 600; }
.ticker-v { font-weight: 700; color: var(--ink); }
.ticker-d.up { color: var(--up); }
.ticker-d.down { color: var(--down); }
@keyframes tk { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Layout ---------- */
.page {
  max-width: var(--max); margin: 0 auto;
  padding: 0 16px 30px;
}
.crumbs {
  display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
  font-size: 11px;
  color: var(--ink-3); padding: 12px 0 14px;
}
.crumbs .cur { color: var(--ink); font-weight: 600; }
.crumbs span { color: var(--muted); }
.layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width: 1024px) {
  .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
}
.article { min-width: 0; }
.sidebar {
  display: grid; gap: 22px; align-content: start;
  font-size: 13px;
}

/* ---------- Article header ---------- */
.art-head { padding-bottom: 18px; }
.art-cat { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.cat-tag {
  background: var(--accent); color: #fff !important;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  padding: 4px 10px;
}
.super-cat {
  font-size: 11px; font-weight: 600;
  color: var(--ink-3); letter-spacing: 0.08em;
}
.art-flash {
  margin-left: auto;
  background: #fff5f5; color: var(--accent);
  border: 1px solid var(--accent);
  font-size: 10px; font-weight: 800; letter-spacing: 0.1em;
  padding: 3px 8px;
  animation: flash 2s infinite;
}
@keyframes flash { 50% { background: var(--accent); color: #fff; } }
.art-title {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-weight: 800;
  text-wrap: balance;
}
.art-spot {
  font-family: var(--serif-body);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 18px;
  text-wrap: pretty;
  font-weight: 400;
}
.art-meta {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  display: flex; gap: 16px; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  font-size: 12px;
}
.meta-author { display: flex; align-items: center; gap: 8px; }
.meta-by { color: var(--muted); font-weight: 600; letter-spacing: 0.06em; font-size: 10px; }
.meta-name { font-weight: 700; color: var(--ink); }
.meta-name:hover { color: var(--accent); }
.meta-role { color: var(--ink-3); }
.meta-times { display: flex; gap: 8px; flex-wrap: wrap; color: var(--ink-3); font-size: 11px; }
.meta-times b { color: var(--ink); font-weight: 600; }
.meta-times .sep { color: var(--muted); }

.art-tools {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap; gap: 10px;
}
.tools-share, .tools-right { display: flex; align-items: center; gap: 4px; }
.tools-lbl {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--ink-3); margin-right: 4px;
}
.sb {
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--serif); font-size: 13px; font-weight: 700;
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: all 0.15s;
}
.sb:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.sb.fb:hover { background: #1877f2; border-color: #1877f2; }
.sb.tw:hover { background: #000; border-color: #000; }
.sb.wa:hover { background: #25d366; border-color: #25d366; }
.sb.tg:hover { background: #229ed9; border-color: #229ed9; }
.tx-btn {
  border: 1px solid var(--line);
  background: #fff;
  padding: 5px 10px; font-size: 12px;
  color: var(--ink-2);
  font-family: var(--serif);
}
.tx-btn:hover { background: var(--paper); }
.tx-btn.save:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  float: right;
  width: 280px;
  margin: 6px 0 10px 20px;
  shape-outside: margin-box;
}
.hero .ph { aspect-ratio: 4 / 3 !important; }
.hero figcaption {
  font-size: 11px; line-height: 1.4;
  padding: 6px 0;
}
.hero .cap-credit { font-size: 9px; }
@media (max-width: 640px) {
  .hero { float: none; width: 100%; margin: 10px 0 14px; }
}
.ph {
  width: 100%; position: relative;
  display: grid; place-items: center;
  overflow: hidden;
}
.ph-label {
  position: relative;
  font-family: var(--mono);
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.12em;
  padding: 4px 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 1;
}
.ph svg { position: absolute; inset: 0; }
.hero figcaption {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 8px;
  font-family: var(--serif-body);
  font-size: 13px; font-style: italic;
  color: var(--ink-3);
  padding: 8px 0;
  border-bottom: 1px solid var(--line-2);
}
.hero .cap-credit { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--muted); }

/* ---------- Body ---------- */
.art-grid { display: block; }
.body {
  font-family: var(--serif-body);
  font-size: calc(17px * var(--font-scale));
  line-height: 1.7;
  color: var(--ink);
  padding-top: 18px;
  max-width: 720px;
}
.body p { margin: 0 0 1.1em; text-wrap: pretty; }
.body p.lede { font-size: calc(18px * var(--font-scale)); }
.body p.lede b { font-family: var(--sans); font-weight: 800; letter-spacing: 0.04em; }
.body h2 {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.25;
  margin: 1.3em 0 0.5em;
  letter-spacing: -0.01em;
  font-weight: 700;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.art-list {
  font-family: var(--serif-body);
  padding: 0; list-style: none;
  counter-reset: art;
  margin: 0.8em 0 1.4em;
  display: grid; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.art-list li {
  counter-increment: art;
  position: relative;
  padding: 12px 14px 12px 44px;
  background: var(--paper);
}
.art-list li::before {
  content: counter(art);
  position: absolute;
  left: 14px; top: 14px;
  width: 22px; height: 22px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
}

.art-quote {
  margin: 1.6em 0;
  padding: 18px 22px 18px 40px;
  background: var(--paper);
  border-left: 3px solid var(--accent);
  font-family: var(--serif);
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.4;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}
.art-quote .q-mark {
  position: absolute;
  left: 12px; top: 6px;
  font-size: 50px;
  color: var(--accent);
  line-height: 1;
  font-family: var(--serif);
}
.art-quote cite {
  display: block;
  font-family: var(--sans); font-style: normal;
  font-size: 11px; color: var(--ink-3);
  margin-top: 10px; letter-spacing: 0.04em;
  font-weight: 600;
}

/* ---------- Inline figure ---------- */
.inline-fig { margin: 1.4em 0; }
.inline-fig figcaption {
  font-family: var(--serif-body); font-style: italic; font-size: 12px;
  color: var(--ink-3); padding: 6px 4px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px;
}
.inline-fig figcaption span {
  font-family: var(--mono); font-style: normal; font-size: 10px;
  letter-spacing: 0.06em; color: var(--muted);
}

/* ---------- Inline related ---------- */
.inline-rel {
  display: flex; align-items: baseline; gap: 10px;
  margin: 1.2em 0;
  padding: 10px 14px;
  background: #fff5f5;
  border-left: 3px solid var(--accent);
  font-family: var(--sans);
  font-size: 13px;
}
.ir-label {
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  padding: 3px 7px; flex-shrink: 0;
}
.inline-rel a { font-weight: 600; color: var(--ink); }
.inline-rel a:hover { color: var(--accent); }

/* ---------- DataCard ---------- */
.datacard {
  margin: 22px 0;
  border: 1px solid var(--ink);
  background: #fff;
  font-family: var(--sans);
}
.datacard-head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: var(--ink); color: #fff;
}
.dc-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ff5252;
  box-shadow: 0 0 0 0 rgba(255,82,82,0.6);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 7px rgba(255,82,82,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,82,82,0); }
}
.dc-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; }
.dc-time { margin-left: auto; font-family: var(--mono); font-size: 10px; color: #d8d2c4; }
.datacard-tbl { width: 100%; border-collapse: collapse; }
.datacard-tbl tr + tr td { border-top: 1px solid var(--line-2); }
.datacard-tbl tr:nth-child(even) td { background: #fafaf6; }
.datacard-tbl td {
  padding: 9px 14px;
  font-family: var(--mono);
  font-size: 13px;
}
.dc-l { color: var(--ink-3); font-family: var(--sans); font-size: 12px; }
.dc-v { font-weight: 700; text-align: right; }
.dc-c { text-align: right; width: 78px; font-weight: 600; font-size: 12px; }
.dc-c.up { color: var(--up); }
.dc-c.down { color: var(--down); }

/* ---------- Source line ---------- */
.src-line {
  margin: 1.4em 0 0.8em;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-3);
  padding: 8px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}

/* ---------- Tags ---------- */
.tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  padding: 18px 0 6px;
}
.tag-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--muted); margin-right: 4px;
}
.tag {
  font-size: 11px; padding: 4px 9px;
  background: #f5f1e8;
  border: 1px solid var(--line);
  font-family: var(--sans);
  color: var(--ink-2);
  font-weight: 500;
}
.tag:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Reactions ---------- */
.reactions {
  margin: 24px 0 16px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.rx-title { font-size: 11px; font-weight: 700; color: var(--ink-3); letter-spacing: 0.08em; margin-bottom: 10px; }
.rx-row { display: flex; flex-wrap: wrap; gap: 6px; }
.rx-btn {
  background: #fff; border: 1px solid var(--line);
  padding: 6px 11px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 500;
  transition: all 0.15s;
  font-family: var(--sans);
}
.rx-btn:hover { border-color: var(--ink); }
.rx-btn.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.rx-e { font-size: 14px; }
.rx-n { color: var(--ink-3); font-size: 11px; font-family: var(--mono); }
.rx-btn.on .rx-n { color: #d0c9b8; }

/* ---------- Clap ---------- */
.clap-wrap {
  display: flex; align-items: center; gap: 14px;
  padding: 16px;
  margin: 16px 0;
  border: 1px solid var(--line);
  background: #fff;
  flex-wrap: wrap;
}
.clap-btn {
  position: relative;
  width: 48px; height: 48px;
  background: #fff;
  border: 2px solid var(--accent);
  display: grid; place-items: center;
  transition: transform 0.15s ease;
}
.clap-btn:hover { transform: scale(1.05); }
.clap-btn:active { transform: scale(0.93); }
.clap-btn.bursting { background: var(--accent); }
.clap-icon { font-size: 20px; line-height: 1; }
.clap-btn .burst {
  position: absolute; top: -6px; right: -10px;
  background: var(--ink); color: #fff;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  padding: 2px 6px;
  animation: burst 0.7s ease-out;
}
@keyframes burst {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(-22px); opacity: 0; }
}
.clap-count { font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1; }
.clap-label { font-size: 11px; color: var(--ink-3); margin-top: 4px; }
.clap-spacer { flex: 1; }

/* ---------- Author box ---------- */
.author-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px;
  background: var(--paper);
  margin: 24px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.ab-avatar {
  width: 56px; height: 56px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 800; font-size: 20px;
}
.ab-eyebrow { font-size: 10px; font-weight: 700; color: var(--ink-3); letter-spacing: 0.08em; }
.ab-name { font-family: var(--serif); font-size: 20px; font-weight: 800; margin-top: 2px; }
.ab-role { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.ab-bio {
  font-family: var(--serif-body); font-size: 13px; line-height: 1.55;
  margin: 8px 0 12px; color: var(--ink-2);
}
.ab-actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.primary-btn {
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  padding: 7px 14px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.02em;
}
.primary-btn:hover { background: var(--accent-dk); border-color: var(--accent-dk); }
.primary-btn.block { width: 100%; padding: 10px; }
.ghost-btn {
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  padding: 7px 14px; font-size: 12px; font-weight: 500;
}
.ghost-btn:hover { border-color: var(--ink); }

/* ---------- Comments ---------- */
.comments { margin: 30px 0; }
.cm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.cm-head h3 { font-family: var(--serif); font-size: 22px; margin: 0; font-weight: 800; }
.cm-count { font-family: var(--sans); font-size: 14px; color: var(--ink-3); font-weight: 500; }
.cm-sort { display: flex; gap: 0; font-size: 11px; }
.cm-sort button {
  background: #fff; border: 1px solid var(--line);
  padding: 5px 10px; color: var(--ink-3);
  font-weight: 600;
}
.cm-sort button.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.cm-form {
  display: grid; grid-template-columns: auto 1fr; gap: 10px;
  padding: 12px; background: var(--paper); margin-bottom: 16px;
  border: 1px solid var(--line);
}
.cm-form-body textarea {
  width: 100%; min-height: 70px; resize: vertical;
  font-family: var(--serif-body); font-size: 14px; line-height: 1.5;
  border: 1px solid var(--line); padding: 10px;
  background: #fff; color: var(--ink);
}
.cm-form-body textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.cm-form-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px; gap: 10px; flex-wrap: wrap;
}
.cm-rules { font-size: 10px; color: var(--ink-3); }

.cm-list { list-style: none; padding: 0; margin: 0; }
.cm-item {
  display: grid; grid-template-columns: auto 1fr; gap: 10px;
  padding: 14px 0; border-bottom: 1px solid var(--line-2);
}
.avatar {
  width: 38px; height: 38px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-family: var(--sans);
  font-weight: 700; font-size: 13px;
}
.avatar.small { width: 32px; height: 32px; font-size: 11px; }
.avatar.tiny { width: 24px; height: 24px; font-size: 9px; }
.cm-meta { display: flex; gap: 8px; align-items: baseline; font-size: 13px; }
.cm-meta .cm-time { font-size: 11px; color: var(--muted); font-weight: 500; }
.cm-body p {
  font-family: var(--serif-body); font-size: 14px; line-height: 1.55;
  margin: 4px 0 6px; color: var(--ink);
}
.cm-actions { display: flex; gap: 12px; }
.cm-actions button {
  background: none; border: none; padding: 0;
  font-size: 11px; color: var(--ink-3);
  font-family: var(--sans); font-weight: 500;
}
.cm-actions button:hover { color: var(--accent); }
.cm-reply {
  display: grid; grid-template-columns: auto 1fr; gap: 8px;
  margin-top: 10px; padding: 10px; background: var(--paper);
  border-left: 2px solid var(--accent);
}
.cm-reply p { font-size: 13px; margin: 0; font-style: italic; color: var(--ink-2); }
.cm-more { text-align: center; padding: 14px 0; }

/* ---------- Related ---------- */
.related { margin: 36px 0 0; padding-top: 20px; border-top: 3px double var(--ink); }
.rel-head { margin-bottom: 14px; }
.rel-head h3 {
  font-family: var(--serif); font-size: 22px; margin: 0;
  font-weight: 800; letter-spacing: -0.01em;
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--accent);
}
.rel-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.rel-card { display: grid; gap: 8px; }
.rel-img { overflow: hidden; }
.rel-cat {
  font-size: 10px; font-weight: 700;
  color: var(--accent); letter-spacing: 0.08em;
}
.rel-card h4 {
  font-family: var(--serif); font-size: 15px; line-height: 1.3;
  margin: 2px 0 0; font-weight: 700;
  text-wrap: balance;
}
.rel-card:hover h4 { color: var(--accent); }

/* ---------- Sidebar ---------- */
.side-block {
  border: 1px solid var(--line);
  background: #fff;
}
.sb-head {
  background: var(--ink); color: #fff;
  padding: 8px 12px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em;
  display: flex; align-items: center; gap: 8px;
}
.sb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.4s infinite; }

.sb-list { list-style: none; padding: 0; margin: 0; }
.sb-list li { border-bottom: 1px solid var(--line-2); }
.sb-list li:last-child { border-bottom: 0; }
.sb-list a {
  display: grid; grid-template-columns: 50px 1fr; gap: 8px; align-items: baseline;
  padding: 10px 12px;
  font-size: 13px; line-height: 1.35;
  font-family: var(--serif-body);
}
.sb-list a:hover { background: var(--paper); }
.sb-time { font-family: var(--mono); font-size: 11px; color: var(--accent); font-weight: 700; grid-row: 1 / 3; }
.sb-cat { font-size: 9px; font-weight: 800; color: var(--ink-3); letter-spacing: 0.1em; font-family: var(--sans); }
.sb-text { color: var(--ink); font-weight: 500; grid-column: 2; }

.mr-list { list-style: none; padding: 0; margin: 0; }
.mr-list li {
  display: grid; grid-template-columns: 36px 1fr;
  align-items: baseline; gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--serif-body);
  font-size: 13px; line-height: 1.35;
}
.mr-list li:last-child { border-bottom: 0; }
.mr-num {
  font-family: var(--serif);
  font-size: 26px; font-weight: 900;
  color: var(--accent);
  font-style: italic;
  line-height: 0.9;
}

.side-ad {
  padding: 16px; background: var(--ink); color: #f0ebde;
}
.ad-eyebrow { font-size: 10px; color: #d0c9b8; letter-spacing: 0.08em; font-weight: 700; }
.ad-body { font-family: var(--serif); font-size: 16px; line-height: 1.3; margin: 6px 0 12px; color: #fff; }
.side-ad .primary-btn { background: var(--accent); border-color: var(--accent); }

.side-news { padding: 14px; }
.side-news .sb-head { margin: -14px -14px 10px; }
.side-news p { font-size: 12px; color: var(--ink-3); margin: 0 0 10px; }
.news-form { display: flex; gap: 0; }
.news-form input {
  flex: 1; min-width: 0;
  border: 1px solid var(--line);
  padding: 7px 10px; font-size: 12px;
  font-family: inherit;
  background: var(--paper);
}
.news-form input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }

/* ---------- Footer ---------- */
.foot { margin-top: 50px; background: #1a1a1a; color: #c5beae; }
.foot-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; gap: 24px;
  padding: 32px 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .foot-inner { grid-template-columns: 1fr 2fr; } }
.foot-brand { display: flex; gap: 12px; align-items: flex-start; }
.foot-brand .brand-name { color: #fff; font-size: 22px; }
.foot-brand p { font-size: 12px; color: #999; margin-top: 6px; max-width: 280px; }
.foot-cols { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); font-size: 12px; }
.foot-cols b { color: #fff; display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.foot-cols li { color: #9a9385; }
.foot-cols li:hover { color: var(--accent); cursor: pointer; }
.foot-bar {
  border-top: 1px solid #2a2a2a;
  padding: 12px 16px;
  font-size: 11px;
  color: #777;
  text-align: center;
}

/* ---------- Density: comfy ---------- */
html[data-density="comfy"] .body { line-height: 1.85; font-size: calc(18px * var(--font-scale)); }
html[data-density="comfy"] .body p { margin: 0 0 1.4em; }
html[data-density="comfy"] .art-title { font-size: clamp(30px, 4.6vw, 48px); }

/* ---------- Mobile fixes ---------- */
@media (max-width: 720px) {
  .util-right a:not(.util-sub) { display: none; }
  .nav a { padding: 10px 12px; }
  .ticker-label { font-size: 9px; padding: 6px 8px; }
  .meta-times .sep { display: none; }
  .meta-times { gap: 8px 14px; }
  .ab-bio { font-size: 12px; }
  .clap-spacer { display: none; }
}
/* ---------- CTA bloğu ---------- */
.cta-block {
  margin: 32px 0 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-title {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: var(--ink);
  text-wrap: balance;
}
.cta-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}
.cta-steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--serif-body);
  font-size: 15px;
  color: var(--ink);
}
.cta-num {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-3);
  text-align: center;
}
.cta-text a { color: var(--accent); }
.cta-warn {
  font-family: var(--serif-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.cta-warn b { color: var(--accent); font-family: var(--sans); font-weight: 800; letter-spacing: 0.02em; }
.cta-btn {
  display: block;
  text-align: center;
  padding: 16px 24px;
  background: linear-gradient(90deg, #ff3a2d, #ff7a1a);
  color: #fff !important;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(255,58,45,0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255,58,45,0.4);
  color: #fff !important;
}
@media (max-width: 540px) {
  .cta-steps li { grid-template-columns: 36px 1fr; gap: 10px; padding: 12px 16px; font-size: 14px; }
}
