/* itohaber — modern minimalist news site */
:root {
  --bg: oklch(98.5% 0.003 250);
  --bg-2: oklch(96.5% 0.004 250);
  --bg-3: oklch(93.5% 0.005 250);
  --ink: oklch(14% 0.018 265);
  --ink-2: oklch(36% 0.014 265);
  --ink-3: oklch(56% 0.010 265);
  --line: oklch(91.5% 0.006 250);
  --line-2: oklch(86% 0.008 250);
  --paper: oklch(100% 0 0);
  --accent: oklch(58% 0.22 25);          /* vibrant modern red */
  --accent-ink: oklch(46% 0.20 25);      /* hover/pressed */
  --accent-soft: oklch(96% 0.04 25);     /* tinted bg */
  --accent-2: oklch(48% 0.16 255);       /* electric blue secondary */
  --pos: oklch(58% 0.16 152);            /* green */
  --neg: oklch(58% 0.20 25);             /* red */
  --flat: oklch(68% 0.04 250);
  --max: 1360px;
  --gutter: 28px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15,20,35,0.04), 0 12px 32px -16px rgba(15,20,35,0.08);
  --font-sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --font-display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --font-serif: "Newsreader", "Source Serif Pro", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11", "cv02";
  letter-spacing: -0.005em;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-2); }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; }
.container { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.dot { display: inline-block; width: 3px; height: 3px; background: currentColor; border-radius: 50%; opacity: .5; margin: 0 6px; vertical-align: middle; }

/* === Header (legacy classes — superseded by styles-header.css) === */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--paper); }

/* legacy top bar — disable */
.header-top, .header-main, .header-nav, .header-ticker { display: none; }

.header-main-row { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 32px; height: 78px; }
@media (max-width: 720px) { .header-main-row { grid-template-columns: 40px auto 1fr auto; gap: 12px; } }

.header-nav-inline { min-width: 0; overflow: hidden; }
.header-nav-inline .nav-list { list-style: none; display: flex; gap: 2px; padding: 0; margin: 0; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.header-nav-inline .nav-list::-webkit-scrollbar { display: none; }
.header-nav-inline .nav-link { background: transparent; border: 0; color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: -0.005em; padding: 8px 14px; border-radius: 6px; white-space: nowrap; position: relative; transition: color .15s; }
.header-nav-inline .nav-link:hover { color: var(--accent); }
.header-nav-inline .nav-link.active { color: var(--accent); }
.header-nav-inline .nav-link.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px; }
.icon-btn { background: transparent; border: 1px solid var(--line); color: var(--ink); width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; transition: background .15s; }
.icon-btn:hover { background: var(--bg-2); }
.menu-btn { display: none; }
.logo { display: inline-flex; align-items: baseline; font-family: var(--font-display); font-weight: 700; font-size: 34px; letter-spacing: -0.025em; line-height: 1; position: relative; white-space: nowrap; }
.logo-mark { color: var(--ink); }
.logo-tail { color: var(--accent); font-style: italic; }
.logo-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; margin-left: 4px; align-self: center; transform: translateY(-6px); }

.header-ticker { min-width: 0; }
/* ticker now on dark bar */
.compact-ticker { display: flex; align-items: stretch; gap: 0; background: transparent; border: 0; border-radius: 0; padding: 0; height: 28px; overflow: hidden; max-width: 640px; margin: 0 auto; color: #fff; }
.ct-window { flex: 1 1 auto; min-width: 0; overflow: hidden; position: relative; padding: 0; }
.ct-track { display: flex; gap: 0; align-items: stretch; will-change: transform; height: 100%; }
.ct-cell { min-width: 144px; flex: 0 0 144px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-right: 1px solid rgba(255,255,255,0.10); }
.ct-cell:last-child { border-right: 0; }
.ct-code { font-size: 10.5px; font-weight: 700; color: rgba(255,255,255,0.6); letter-spacing: 0.06em; font-family: var(--font-mono); }
.ct-row { display: inline-flex; gap: 6px; align-items: baseline; font-family: var(--font-mono); font-size: 12px; }
.ct-val { font-weight: 600; color: #fff; }
.ct-chg { font-size: 11px; font-weight: 600; }
.ct-up .ct-chg { color: oklch(70% 0.18 150); }
.ct-down .ct-chg { color: oklch(70% 0.22 25); }
.ct-flat .ct-chg { color: rgba(255,255,255,0.5); }
.ct-more { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.8); white-space: nowrap; padding: 0 12px; border-left: 1px solid rgba(255,255,255,0.10); height: 100%; display: flex; align-items: center; background: oklch(15% 0.012 260); flex: 0 0 auto; z-index: 2; position: relative; }
.ct-more:hover { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn-primary { background: var(--ink); color: var(--paper); border: 0; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.01em; transition: background .15s; white-space: nowrap; }
.btn-primary:hover { background: var(--accent); }

/* OLD .header-nav and .header-ticker no longer used */
.header-nav, .header-ticker { display: none; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 oklch(54% 0.21 27 / 0.5); }
  70% { box-shadow: 0 0 0 8px oklch(54% 0.21 27 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(54% 0.21 27 / 0); }
}

/* === Breaking bar — RED === */
.breaking-bar { background: var(--accent); color: #fff; border-bottom: 0; }
.breaking-row { display: grid; grid-template-columns: auto 1fr; align-items: stretch; gap: 14px; height: 40px; }
.breaking-label { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; color: #fff; padding-right: 16px; border-right: 1px solid rgba(255,255,255,0.25); }
.bb-pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,0.7); animation: pulse-w 1.6s infinite; }
@keyframes pulse-w {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.breaking-track-wrap { overflow: hidden; min-width: 0; position: relative; mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 40px), transparent); }
.breaking-track { display: flex; gap: 32px; align-items: center; height: 100%; white-space: nowrap; animation: marquee 60s linear infinite; }
.breaking-item { font-size: 13px; font-weight: 500; color: #fff; display: inline-flex; align-items: center; gap: 10px; }
.breaking-item:hover { color: rgba(255,255,255,0.85); }
.bb-bullet { color: rgba(255,255,255,0.6); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.breaking-item { font-size: 13px; color: rgba(255,255,255,0.92); display: inline-flex; align-items: center; gap: 8px; }
.breaking-item:hover { color: oklch(80% 0.14 60); }
.bb-bullet { color: var(--accent); }

/* === Hero === */
.hero { padding: 28px 0 12px; }
.hero-grid { display: grid; grid-template-columns: 65% 1fr; gap: 22px; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); align-items: stretch; }
.hero-main { position: relative; cursor: pointer; display: flex; min-width: 0; }
.hero-photo { border-radius: 16px; overflow: hidden; position: relative; width: 100%; aspect-ratio: 16 / 11; max-height: 640px; background: var(--ink); box-shadow: 0 2px 4px rgba(15,20,35,0.04), 0 22px 50px -24px rgba(15,20,35,0.25); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 700ms cubic-bezier(.2,.8,.2,1); }
.hero-slide.active { opacity: 1; }
.hero-photo-inner { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto !important; border-radius: 0; }
.hero-grad { position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,12,18,0) 0%, rgba(10,12,18,0) 40%, rgba(10,12,18,0.55) 78%, rgba(10,12,18,0.92) 100%); }
.hero-photo::after { content: none; }
.hero-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 32px 30px; color: #fff; z-index: 2; max-width: 78%; }
.hero-cat-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.hero-cat { background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; padding: 6px 10px; border-radius: 4px; }
.hero-kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: rgba(255,255,255,0.78); text-transform: uppercase; }
.hero-title { font-family: var(--font-sans); font-weight: 700; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.08; letter-spacing: -0.028em; margin: 0 0 14px; color: #fff; }
.hero-summary { display: none; }
.hero-meta { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: rgba(255,255,255,0.7); font-family: var(--font-mono); letter-spacing: 0.02em; }

.hero-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.side-card { display: grid; grid-template-rows: 1fr auto; gap: 0; padding: 0; background: var(--paper); border: 0; border-radius: 12px; overflow: hidden; transition: transform .2s, box-shadow .2s; flex: 1 1 0; min-height: 0; position: relative; box-shadow: 0 1px 2px rgba(15,20,35,0.04), 0 6px 18px -10px rgba(15,20,35,0.10); }
.side-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(15,20,35,0.06), 0 14px 30px -12px rgba(15,20,35,0.18); }
.side-photo { width: 100%; height: 100%; border-radius: 0; overflow: hidden; position: absolute; inset: 0; }
.side-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,20,0) 30%, rgba(10,12,20,0.55) 65%, rgba(10,12,20,0.92) 100%); pointer-events: none; }
.side-text { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 16px; align-self: end; }
.side-cat { font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em; color: #fff; text-transform: uppercase; opacity: 0.85; }
.side-cat::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--accent); margin-right: 8px; vertical-align: middle; }
.side-title { font-family: var(--font-sans); font-weight: 600; font-size: 17px; line-height: 1.22; letter-spacing: -0.018em; margin: 0; color: #fff; text-wrap: balance; transition: color .15s; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.side-card:hover .side-title { color: #fff; }
.side-time { font-size: 11px; color: var(--ink-3); font-family: var(--font-mono); margin-top: auto; letter-spacing: 0.02em; display: none; }
.side-more { display: none; }

/* === Photos === */
.photo-slot { position: relative; overflow: hidden; isolation: isolate; background: var(--bg-3); }
.photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* === Sections === */
.sect { padding: 36px 0 12px; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sect-head { display: flex; align-items: end; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 20px; }
.sect-head-l { display: flex; align-items: center; gap: 10px; }
.sect-mark { width: 4px; height: 22px; border-radius: 2px; }
.sect-title { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.022em; margin: 0; }
.sect-action { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.sect-action:hover { color: var(--accent); }

.sect-body-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 22px; }
.sect-body-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.art-link { display: block; }
.art-photo { border-radius: 8px; overflow: hidden; margin-bottom: 14px; }
.art-text { display: flex; flex-direction: column; gap: 6px; }
.art-author { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent-2); text-transform: uppercase; }
.art-title { font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.18; letter-spacing: -0.005em; margin: 0; color: var(--ink); text-wrap: balance; }
.art-lead .art-title { font-size: 22px; font-weight: 700; line-height: 1.12; }
.art-summary { display: none; }
.art-time { font-size: 11.5px; color: var(--ink-3); font-family: var(--font-mono); }
.art:hover .art-title { color: var(--accent); }

/* === Markets dashboard === */
.markets-dash { max-width: var(--max); margin: 36px auto 12px; padding: 0 var(--gutter); }
.md-head { display: flex; justify-content: space-between; align-items: end; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 20px; }
.md-eyebrow { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; }
.md-title { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.015em; margin: 4px 0 0; }
.md-link { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.md-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; }
.md-cell { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 4px; position: relative; min-height: 102px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.md-cell:hover { border-color: var(--ink-3); transform: translateY(-2px); box-shadow: 0 8px 20px -10px rgba(15,20,30,0.18); }
.md-code { font-size: 10.5px; font-weight: 700; color: var(--ink-3); letter-spacing: 0.06em; }
.md-val { font-family: var(--font-mono); font-weight: 600; font-size: 16px; color: var(--ink); }
.md-chg { display: flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; }
.md-up { color: var(--pos); }
.md-up .md-chg { color: var(--pos); }
.md-up .md-val { color: var(--ink); }
.md-down { color: var(--neg); }
.md-down .md-chg { color: var(--neg); }
.md-flat { color: var(--flat); }
.md-flat .md-chg { color: var(--flat); }
.md-up .md-cell, .md-down .md-cell { color: inherit; }
.md-cell .md-chg { color: inherit; }
.md-cell .md-val { color: var(--ink); }
.md-cell .md-code { color: var(--ink-3); }
.spark { position: absolute; right: 8px; bottom: 6px; width: 60px; height: 28px; opacity: 0.6; }

/* === Live feed === */
.combo-row { display: grid; grid-template-columns: 1fr 320px; gap: 28px; max-width: var(--max); margin: 36px auto 12px; padding: 0 var(--gutter); align-items: start; }
.live-feed { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px; position: sticky; top: 200px; box-shadow: 0 1px 2px rgba(15,20,30,0.03); }
.lf-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.lf-head .bb-pulse { background: var(--accent); }
.lf-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 0; flex: 1; }
.lf-now { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.lf-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.lf-item { display: grid; grid-template-columns: 50px 1fr; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.lf-item:last-child { border-bottom: 0; padding-bottom: 0; }
.lf-time { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--ink-3); padding-top: 2px; }
.lf-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent-2); margin-bottom: 4px; }
.lf-title-link { display: block; font-size: 14px; line-height: 1.35; color: var(--ink); }
.lf-title-link:hover { color: var(--accent); }
.lf-more { display: block; padding: 12px; text-align: center; font-size: 13px; font-weight: 600; color: var(--ink-2); border-top: 1px solid var(--line); margin-top: 14px; }

/* === Opinion strip === */
.opinion-strip { max-width: var(--max); margin: 36px auto 12px; padding: 0 var(--gutter); }
.op-head { padding-bottom: 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 20px; }
.op-eyebrow { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; }
.op-title { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.015em; margin: 4px 0 0; }
.op-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.op-card { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; align-items: start; transition: border-color .15s, transform .15s, box-shadow .15s; }
.op-card:hover { border-color: var(--ink-3); transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(15,20,30,0.16); }
.op-avatar { border-radius: 50%; overflow: hidden; width: 72px; height: 72px; }
.op-text { display: flex; flex-direction: column; gap: 2px; }
.op-author { font-weight: 700; font-size: 14px; color: var(--ink); }
.op-role { font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; margin-bottom: 8px; }
.op-headline { font-family: var(--font-display); font-size: 16px; font-weight: 600; line-height: 1.2; margin: 0; color: var(--ink); text-wrap: balance; }

/* === Ad slots === */
.ad-slot {
  background:
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(0,0,0,0.03) 8px 16px),
    var(--bg-2);
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 6px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  position: relative;
  margin-left: auto; margin-right: auto;
  max-width: 100%;
  box-sizing: border-box;
}
.ad-mark { position: absolute; top: 6px; left: 8px; font-size: 9px; font-weight: 700; letter-spacing: 0.1em; color: var(--ink-3); }
.ad-label { letter-spacing: 0.04em; }
.ad-billboard, .ad-leaderboard { width: 970px; max-width: 100%; }
.ad-skyscraper { width: 160px; }
.ad-halfpage { width: 300px; }
.ad-medium { width: 300px; }

.ad-band { padding: 24px 0; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.layout-with-rail { display: grid; grid-template-columns: 1fr 320px; gap: 28px; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.layout-with-rail > .rail { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 200px; align-self: start; }

/* === Footer === */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.85); margin-top: 56px; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 2fr; gap: 48px; padding-top: 8px; padding-bottom: 32px; }
.foot-brand .logo { color: #fff; }
.foot-brand .logo-mark { color: #fff; }
.foot-tag { font-size: 14px; line-height: 1.5; max-width: 320px; margin: 14px 0 18px; color: rgba(255,255,255,0.7); }
.foot-newsletter { display: flex; gap: 0; max-width: 360px; }
.foot-newsletter input { flex: 1; min-width: 0; height: 42px; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.04); color: #fff; padding: 0 14px; border-radius: 8px 0 0 8px; font-family: inherit; font-size: 13px; }
.foot-newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.foot-newsletter button { height: 42px; padding: 0 16px; background: var(--accent); color: #fff; border: 0; border-radius: 0 8px 8px 0; font-weight: 600; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot-cols h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: #fff; margin: 0 0 14px; }
.foot-cols a { display: block; font-size: 13px; color: rgba(255,255,255,0.7); padding: 4px 0; }
.foot-cols a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.5); border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; margin-top: 8px; font-family: var(--font-mono); }

/* === Search overlay === */
.search-overlay { position: fixed; inset: 0; background: rgba(20,20,20,0.5); backdrop-filter: blur(10px); z-index: 200; display: flex; justify-content: center; align-items: flex-start; padding-top: 12vh; }
.search-panel { width: min(720px, 92vw); background: var(--paper); border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); overflow: hidden; }
.search-box { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.search-box input { flex: 1; border: 0; outline: 0; font-size: 18px; font-family: inherit; background: transparent; color: var(--ink); }
.search-close { font-size: 11px; font-family: var(--font-mono); color: var(--ink-3); border: 1px solid var(--line); background: var(--bg-2); padding: 4px 8px; border-radius: 4px; }
.search-suggest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 8px 0; }
.ss-col { padding: 14px 20px; border-right: 1px solid var(--line); }
.ss-col:last-child { border-right: 0; }
.ss-h { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 8px; }
.ss-col a { display: block; font-size: 14px; padding: 4px 0; color: var(--ink); }
.ss-col a:hover { color: var(--accent); }

/* === Responsive === */
@media (max-width: 1100px) {
  .ht-meta, .ht-actions .ht-link, .ht-sep { display: none; }
  .header-top-row { grid-template-columns: 1fr auto; }
  .header-nav-inline { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 16/9; max-height: 520px; }
  .sect-body-row { grid-template-columns: 1fr 1fr; }
  .sect-body-grid { grid-template-columns: 1fr 1fr; }
  .md-grid { grid-template-columns: repeat(3, 1fr); }
  .op-grid { grid-template-columns: 1fr; }
  .layout-with-rail { grid-template-columns: 1fr; }
  .layout-with-rail > .rail { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .header-ticker { display: none; }
}
@media (max-width: 720px) {
  .menu-btn { display: inline-flex; }
  .header-main-row { grid-template-columns: 40px auto 1fr auto; height: 64px; }
  .logo { font-size: 24px; }
  .btn-primary { display: none; }
  .header-top { display: none; }
  .sect-body-row, .sect-body-grid { grid-template-columns: 1fr; }
  .hero-photo { min-height: 420px; }
  .hero-overlay { padding: 18px; }
  .side-card { grid-template-columns: 100px 1fr; }
  .breaking-row { grid-template-columns: 1fr; height: auto; padding: 8px 0; gap: 6px; }
  .breaking-label { border-right: 0; padding: 0; }
  .md-grid { grid-template-columns: 1fr 1fr; }
}

/* CLS guard — reserve photo size via aspect-ratio + bg color */
.hero-photo, .side-photo, .art-photo, .op-avatar { background-color: var(--bg-3); }

/* Hero slider controls */
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.92); border: 0; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; z-index: 3; cursor: pointer; transition: background .15s, transform .15s; box-shadow: 0 2px 8px rgba(0,0,0,0.18); }
.hero-nav:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.hero-nav.prev { left: 18px; }
.hero-nav.next { right: 18px; }
.hero-dots { position: absolute; bottom: 18px; right: 22px; display: flex; gap: 6px; z-index: 3; }
.hd-dot { width: 22px; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.4); border: 0; padding: 0; cursor: pointer; transition: background .2s, width .2s; }
.hd-dot.on { background: #fff; width: 32px; }
.hd-dot:hover { background: rgba(255,255,255,0.7); }

/* Hero overlay tightened */
.hero-overlay { padding: 24px 28px 28px; max-width: 80%; }
.hero-cat { background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; padding: 5px 9px; border-radius: 3px; }
.btn-primary { background: var(--ink); }
.sect-head { border-bottom-width: 1px; border-bottom-color: var(--ink); }
.sect-title, .md-title, .op-title, .lf-title { font-family: var(--font-sans); letter-spacing: -0.028em; font-weight: 700; }
.art-title { letter-spacing: -0.018em; font-family: var(--font-sans); font-weight: 600; }
.compact-ticker { background: var(--paper); border-color: var(--line); }
.md-cell { box-shadow: 0 1px 0 rgba(15,20,30,0.02); }
