/* ==========================================================================
   Zhixing Newsroom — Pure SSR Chinese Editorial News Portal Stylesheet
   Supports 3 anti-fingerprint media skins: editorial_red / tech_navy / finance_ink
   ========================================================================== */

:root {
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Songti SC", "Noto Serif SC", "STSong", "SimSun", Georgia, serif;
  --accent: #b91c1c;
  --accent-dark: #991b1b;
  --accent-soft: #fef2f2;
  --bg: #f7f6f2;
  --surface: #ffffff;
  --ink: #18181b;
  --ink-muted: #52525b;
  --ink-subtle: #71717a;
  --border: #e4e4e7;
  --border-strong: #d4d4d8;
  --masthead-bg: #ffffff;
  --masthead-text: #18181b;
  --masthead-sub: #71717a;
  --nav-bg: #18181b;
  --nav-text: #f4f4f5;
  --nav-hover: rgba(255, 255, 255, 0.12);
  --headline-font: var(--font-serif);
  --radius: 8px;
}

/* Skin 2: Tech & Business Review Navy (商业新知 / 36氪风) */
.skin-tech_navy {
  --accent: #1d4ed8;
  --accent-dark: #1e40af;
  --accent-soft: #eff6ff;
  --bg: #f3f5f9;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-muted: #475569;
  --ink-subtle: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --masthead-bg: #0f172a;
  --masthead-text: #ffffff;
  --masthead-sub: #94a3b8;
  --nav-bg: #ffffff;
  --nav-text: #1e293b;
  --nav-hover: #eff6ff;
  --headline-font: var(--font-sans);
}

/* Skin 3: Finance & Research Deep Ink Green (深度财经研报风) */
.skin-finance_ink {
  --accent: #0f766e;
  --accent-dark: #115e59;
  --accent-soft: #f0fdfa;
  --bg: #f5f4ee;
  --surface: #ffffff;
  --ink: #1c1917;
  --ink-muted: #57534e;
  --ink-subtle: #78716c;
  --border: #e7e5e4;
  --border-strong: #d6d3d1;
  --masthead-bg: #042f2e;
  --masthead-text: #f0fdfa;
  --masthead-sub: #99f6e4;
  --nav-bg: #ffffff;
  --nav-text: #1c1917;
  --nav-hover: #f0fdfa;
  --headline-font: var(--font-serif);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.snw-body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 8px; background: var(--accent); color: #fff;
  padding: 8px 14px; border-radius: 6px; z-index: 999; font-size: 13px;
}
.skip-link:focus { left: 12px; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------- Utility Bar ---------------- */
.utility-bar {
  background: #111827;
  color: #d1d5db;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.utility-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 4px;
  padding-bottom: 4px;
}
.utility-left, .utility-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.utility-date { white-space: nowrap; color: #9ca3af; }
.utility-divider { color: #4b5563; }
.utility-ticker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f3f4f6;
  min-width: 0;
  overflow: hidden;
}
.utility-ticker:hover { color: #fca5a5; }
.utility-ticker strong {
  color: #f87171;
  font-weight: 700;
  white-space: nowrap;
}
.ticker-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 420px;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ef4444;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
}
.skin-label { color: #9ca3af; white-space: nowrap; }
.skin-pills { display: inline-flex; gap: 4px; }
.skin-pill {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #e5e7eb;
  font-size: 11px;
  white-space: nowrap;
  transition: background 0.15s;
}
.skin-pill:hover { background: rgba(255,255,255,0.18); color: #fff; }
.skin-pill.is-active { background: var(--accent); color: #fff; font-weight: 600; }
.utility-right > a { color: #d1d5db; white-space: nowrap; }
.utility-right > a:hover { color: #fff; }

/* ---------------- Masthead ---------------- */
.masthead {
  background: var(--masthead-bg);
  color: var(--masthead-text);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.masthead-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.masthead-brand:hover { color: inherit; }
.masthead-mark {
  width: 42px; height: 42px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.masthead-titles { display: flex; flex-direction: column; min-width: 0; }
.masthead-name {
  font-family: var(--headline-font);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--masthead-text);
}
.masthead-sub {
  font-size: 11px;
  color: var(--masthead-sub);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.masthead-search {
  display: flex;
  align-items: center;
  width: 340px;
  max-width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  overflow: hidden;
}
.masthead-search input {
  flex: 1;
  border: 0;
  padding: 8px 12px;
  font-size: 13px;
  color: #18181b;
  outline: none;
  min-width: 0;
}
.masthead-search button {
  border: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.masthead-search button:hover { background: var(--accent-dark); }

.mobile-menu-btn {
  display: none;
  border: 1px solid rgba(148,163,184,0.35);
  background: transparent;
  color: var(--masthead-text);
  border-radius: 6px;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

/* ---------------- Channel Navigation ---------------- */
.channel-bar {
  background: var(--nav-bg);
  color: var(--nav-text);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 2px solid var(--accent);
}
.skin-tech_navy .channel-bar,
.skin-finance_ink .channel-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.channel-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.channel-inner::-webkit-scrollbar { display: none; }
.channel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--nav-text);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: background 0.15s, color 0.15s;
}
.channel-link:hover {
  background: var(--nav-hover);
  color: var(--nav-text);
}
.skin-tech_navy .channel-link:hover,
.skin-finance_ink .channel-link:hover { color: var(--accent); }
.channel-link.is-active {
  background: var(--accent);
  color: #ffffff !important;
}
.channel-flash { margin-left: auto; }

/* Mobile Drawer */
.mobile-drawer {
  background: var(--surface);
  color: var(--ink);
  border-top: 1px solid var(--border);
  border-bottom: 2px solid var(--accent);
  padding: 16px 0 20px;
}
.mobile-search {
  display: flex;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 14px;
}
.mobile-search input {
  flex: 1; border: 0; padding: 10px 12px; font-size: 14px; outline: none; min-width: 0;
}
.mobile-search button {
  border: 0; background: var(--accent); color: #fff; padding: 0 16px; font-size: 14px; font-weight: 600;
}
.mobile-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.mobile-links a {
  padding: 10px 12px;
  background: var(--bg);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.mobile-links a.is-active {
  background: var(--accent);
  color: #fff;
}
.mobile-skin-row {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-muted);
}
.mobile-skin-row .skin-pill {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--border);
}
.mobile-skin-row .skin-pill.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ---------------- Common Pills & Metadata ---------------- */
.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-subtle);
}
.cat-pill {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 4px;
  background: var(--accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.cat-pill:hover { background: var(--accent-dark); color: #ffffff; }
.cat-pill-subtle {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}
.cat-text {
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
}
.feature-chip {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 4px;
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 600;
}
.feature-chip-light {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 600;
}

/* ---------------- Section 1: Hero Grid ---------------- */
.hero-section { padding: 24px 0 28px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 24px;
  align-items: start;
}

.lead-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: stretch;
}
.lead-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  height: 100%;
  min-height: 290px;
}
.lead-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.lead-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.lead-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.lead-title {
  margin: 0;
  font-family: var(--headline-font);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
}
.lead-excerpt {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lead-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--ink-subtle);
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* Sub-Leads 3-col strip */
.sublead-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.sublead-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  padding-bottom: 14px;
  transition: border-color 0.15s;
}
.sublead-card:hover { border-color: var(--accent); }
.sublead-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}
.sublead-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sublead-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px 4px;
  font-size: 12px;
  color: var(--ink-subtle);
}
.sublead-title {
  margin: 0;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 7x24 Flash Panel */
.flash-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.panel-title { display: flex; align-items: center; gap: 8px; }
.panel-title h2 { margin: 0; font-size: 16px; font-weight: 800; }
.panel-more { font-size: 12px; color: var(--accent); font-weight: 600; }

.flash-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.flash-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}
.flash-item:last-child { border-bottom: 0; padding-bottom: 0; }
.flash-time {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.flash-title {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 3px;
}
.flash-desc {
  margin: 0;
  font-size: 12px;
  color: var(--ink-subtle);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------------- Section 2: Evaluation Showcase Band ---------------- */
.showcase-band {
  background: #111827;
  color: #f8fafc;
  padding: 32px 0;
}
.showcase-band .section-head {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.showcase-band .section-title { color: #ffffff; }
.section-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #f87171;
  margin-bottom: 4px;
}
.skin-tech_navy .section-kicker { color: #60a5fa; }
.skin-finance_ink .section-kicker { color: #5eead4; }
.section-more { font-size: 13px; font-weight: 600; color: #cbd5e1; }
.section-more:hover { color: #ffffff; }

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.showcase-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.15s, background 0.15s;
}
.showcase-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}
.showcase-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.showcase-num {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 800;
  color: rgba(255,255,255,0.35);
}
.showcase-card h3 {
  margin: 0;
  font-family: var(--headline-font);
  font-size: 17px;
  line-height: 1.45;
  color: #ffffff;
}
.showcase-card h3 a:hover { color: #93c5fd; }
.showcase-card p {
  margin: 0;
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.65;
  flex: 1;
}
.showcase-foot {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #94a3b8;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ---------------- Section 3: Main Stream + Sidebar ---------------- */
.main-stream-section { padding: 32px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 20px;
}
.section-title {
  margin: 0;
  font-family: var(--headline-font);
  font-size: 20px;
  font-weight: 800;
}
.section-note { font-size: 12px; color: var(--ink-subtle); }

.content-sidebar-grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 28px;
  align-items: start;
}

.stream-list { display: flex; flex-direction: column; gap: 16px; }
.stream-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  transition: border-color 0.15s;
}
.stream-card:hover { border-color: var(--accent); }
.stream-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  background: #0f172a;
}
.stream-thumb img { width: 100%; height: 100%; object-fit: cover; }
.stream-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.stream-title {
  margin: 0;
  font-family: var(--headline-font);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
}
.stream-excerpt {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.stream-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-subtle);
}
.tag-inline { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-inline a {
  padding: 1px 7px;
  border-radius: 4px;
  background: var(--bg);
  color: var(--ink-muted);
  font-size: 11px;
}
.tag-inline a:hover { background: var(--accent-soft); color: var(--accent); }

/* Sidebar Widgets */
.sidebar-col, .article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.side-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.widget-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 14px;
}
.widget-head h3 { margin: 0; font-size: 16px; font-weight: 800; }
.widget-sub { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: var(--ink-subtle); }

.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.rank-item:last-child { border-bottom: 0; padding-bottom: 0; }
.rank-num {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-subtle);
  line-height: 1.3;
}
.rank-num.is-top { color: var(--accent); }
.rank-copy a {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
}
.rank-meta { font-size: 11.5px; color: var(--ink-subtle); margin-top: 3px; }

.topic-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--ink-muted);
}
.topic-chip span { font-size: 11px; color: var(--ink-subtle); }
.topic-chip:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.side-geo-box p { margin: 0 0 12px; font-size: 12.5px; color: var(--ink-muted); line-height: 1.6; }
.geo-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.geo-links-grid a {
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.geo-links-grid a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------- Section 4: 3-Column Channel Matrix ---------------- */
.channel-matrix-section { padding: 8px 0 44px; }
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.matrix-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.matrix-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 14px;
}
.matrix-head h3 { margin: 0; font-size: 16px; font-weight: 800; }
.matrix-more { font-size: 12px; color: var(--ink-subtle); }
.matrix-lead { display: block; margin-bottom: 12px; }
.matrix-lead img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}
.matrix-lead strong {
  display: block;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
}
.matrix-list { list-style: none; margin: 0; padding: 0; }
.matrix-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.matrix-list a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.matrix-list time { color: var(--ink-subtle); font-size: 12px; flex-shrink: 0; }

/* ---------------- Single Article Reading Page ---------------- */
.article-page { padding: 24px 0 48px; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-subtle);
  margin-bottom: 18px;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 8.5fr) minmax(0, 3.5fr);
  gap: 28px;
  align-items: start;
}
.article-main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.article-title {
  margin: 12px 0 18px;
  font-family: var(--headline-font);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
}
.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}
.byline-author { display: flex; align-items: center; gap: 10px; }
.author-avatar, .author-avatar-lg {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; flex-shrink: 0;
}
.author-avatar-lg { width: 46px; height: 46px; font-size: 18px; }
.byline-author strong { display: block; font-size: 14px; }
.byline-author span { font-size: 12px; color: var(--ink-subtle); }
.byline-stats { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--ink-subtle); }

.article-summary-box {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
  margin-bottom: 24px;
}
.summary-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 6px;
}
.article-summary-box p { margin: 0; font-size: 14.5px; color: var(--ink); line-height: 1.75; }

.article-hero-figure { margin: 0 0 26px; }
.article-hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.article-hero-figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-subtle);
  text-align: center;
}

/* Editorial Prose & Native HTML Tables */
.article-prose {
  font-size: 16.5px;
  line-height: 1.9;
  color: #1f2937;
}
.article-prose h2 {
  margin: 30px 0 14px;
  font-family: var(--headline-font);
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
  padding-left: 12px;
  border-left: 4px solid var(--accent);
  line-height: 1.4;
}
.article-prose h3 {
  margin: 22px 0 10px;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--ink);
}
.article-prose p { margin: 0 0 16px; }
.article-prose ul, .article-prose ol { margin: 0 0 18px; padding-left: 22px; }
.article-prose li { margin-bottom: 8px; }
.article-prose blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  background: var(--bg);
  border-left: 3px solid var(--ink-subtle);
  color: var(--ink-muted);
  font-size: 15px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 22px 0;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.editorial-table, .article-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
  min-width: 540px;
  font-variant-numeric: tabular-nums;
}
.editorial-table thead th, .article-prose table thead th {
  background: #18181b;
  color: #ffffff;
  font-weight: 700;
  text-align: left;
  padding: 11px 14px;
  white-space: nowrap;
}
.skin-tech_navy .editorial-table thead th,
.skin-tech_navy .article-prose table thead th { background: #1e3a8a; }
.skin-finance_ink .editorial-table thead th,
.skin-finance_ink .article-prose table thead th { background: #0f766e; }

.editorial-table tbody td, .article-prose table tbody td {
  padding: 11px 14px;
  border-top: 1px solid var(--border);
  vertical-align: top;
}
.editorial-table tbody tr:nth-child(even), .article-prose table tbody tr:nth-child(even) {
  background: #f9fafb;
}
.editorial-table tbody tr:hover, .article-prose table tbody tr:hover {
  background: var(--accent-soft);
}

/* FAQ Block */
.article-faq-box {
  margin-top: 32px;
  padding: 22px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.article-faq-box h2 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 800;
}
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px;
}
.faq-item h3 { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--accent); }
.faq-item p { margin: 0; font-size: 14px; color: var(--ink-muted); line-height: 1.7; }

.article-tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-subtle);
}
.article-tags a {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--ink-muted);
  font-size: 12.5px;
}
.article-tags a:hover { border-color: var(--accent); color: var(--accent); }

.editorial-notice {
  margin-top: 22px;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--ink-subtle);
}

.article-prev-next {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.pn-item span { display: block; font-size: 12px; color: var(--ink-subtle); margin-bottom: 4px; }
.pn-item a { font-size: 14px; font-weight: 700; line-height: 1.45; }
.pn-next { text-align: right; }

.related-section { margin-top: 30px; padding-top: 22px; border-top: 2px solid var(--ink); }
.related-heading { margin: 0 0 16px; font-size: 18px; font-weight: 800; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; margin-bottom: 8px; }
.related-card h3 { margin: 0 0 6px; font-size: 14px; line-height: 1.45; }
.related-card time { font-size: 12px; color: var(--ink-subtle); }

/* Sidebar TOC & Author */
.toc-widget { position: sticky; top: 112px; }
.toc-list { margin: 0; padding-left: 18px; font-size: 13px; }
.toc-list li { margin-bottom: 8px; line-height: 1.45; color: var(--ink-muted); }
.toc-list a:hover { color: var(--accent); }
.author-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.author-card-top p { margin: 2px 0 0; font-size: 12px; color: var(--ink-subtle); }
.author-bio { margin: 0; font-size: 12.5px; color: var(--ink-muted); line-height: 1.65; }

/* ---------------- Archives & Flashes ---------------- */
.archive-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
}
.archive-header h1 {
  margin: 6px 0 8px;
  font-family: var(--headline-font);
  font-size: 28px;
  font-weight: 800;
}
.archive-header p { margin: 0; font-size: 14px; color: var(--ink-muted); max-width: 720px; }

.flash-archive-wrap { max-width: 860px; }
.flash-full-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.flash-full-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.flash-full-item:last-child { border-bottom: 0; }
.flash-full-time strong { display: block; font-size: 18px; color: var(--accent); font-variant-numeric: tabular-nums; }
.flash-full-time span { font-size: 12px; color: var(--ink-subtle); }
.flash-full-body h2 { margin: 0 0 8px; font-size: 17px; font-weight: 800; line-height: 1.45; }
.flash-full-text { font-size: 14px; color: var(--ink-muted); line-height: 1.75; }
.flash-full-text p { margin: 0; }

.pagination-wrap {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pagination-wrap .page-numbers {
  padding: 7px 14px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
}
.pagination-wrap .page-numbers.current {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.empty-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  color: var(--ink-muted);
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: #111827;
  color: #cbd5e1;
  padding: 44px 0 24px;
  margin-top: 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}
.footer-about p { margin: 0 0 14px; font-size: 13px; line-height: 1.7; color: #94a3b8; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-badges span {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  color: #e2e8f0;
}
.footer-col h3 { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: #ffffff; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; font-size: 13px; }
.footer-col a { color: #94a3b8; }
.footer-col a:hover { color: #ffffff; }
.footer-bottom {
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #64748b;
}

/* ---------------- Responsive (Tablet & 390px Mobile) ---------------- */
@media (max-width: 1024px) {
  .hero-grid,
  .content-sidebar-grid,
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-primary, .flash-panel, .news-stream, .sidebar-col, .article-sidebar { min-width: 0; }
  .lead-card { grid-template-columns: minmax(0, 1fr); }
  .lead-media { min-height: 200px; }
  .showcase-grid,
  .matrix-grid,
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc-widget { position: static; }
}

@media (max-width: 720px) {
  .container { padding: 0 14px; }
  .hide-sm, .utility-ticker, .utility-divider, .skin-label { display: none; }
  .utility-inner { gap: 8px; }
  .utility-date { font-size: 11px; }
  .masthead-search, .channel-bar { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .masthead-name { font-size: 20px; }
  .masthead-sub { font-size: 10px; }
  .sublead-grid,
  .showcase-grid,
  .matrix-grid,
  .related-grid,
  .footer-grid,
  .article-prev-next { grid-template-columns: minmax(0, 1fr); }
  .pn-next { text-align: left; }
  .stream-card { grid-template-columns: 1fr; padding: 14px; gap: 12px; min-width: 0; }
  .matrix-col, .side-widget, .flash-panel { min-width: 0; }
  .article-main { padding: 20px 16px; }
  .article-title { font-size: 23px; }
  .lead-body { padding: 16px; }
  .lead-title { font-size: 20px; }
  .flash-full-item { grid-template-columns: 1fr; gap: 6px; padding: 16px; }
}
