/* 柠檬新闻 — Bloomberg 一比一镜像 */
:root {
  --fg: #1a1a1a;
  --fg-soft: #3d3d3d;
  --muted: #757575;
  --line: #e3e3e3;
  --line-strong: #1a1a1a;
  --bg: #ffffff;
  --bg-off: #f7f7f7;
  --accent: #0040e0;
  --accent-red: #c8102e;   /* Bloomberg red for LIVE / Latest */
  --sans: 'Helvetica Neue', Helvetica, Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --serif: Georgia, 'Times New Roman', 'PingFang SC', 'Songti SC', 'Source Han Serif SC', serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Top utility bar ========== */
.top-bar {
  background: #000;
  color: #fff;
  font-size: 11px;
  border-bottom: 1px solid #222;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
}
.top-bar a { color: #fff; text-decoration: none; }
.top-bar .top-right { color: #999; }

/* ========== Masthead: Bloomberg wordmark ========== */
.masthead {
  background: #000;
  color: #fff;
  padding: 16px 0 14px;
  border-bottom: 3px solid #fff;
}
.masthead .container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.logo {
  font-family: var(--sans);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.028em;
  color: #fff;
  text-decoration: none;
  line-height: 1;
}
.masthead-right { font-size: 13px; color: #fff; display: flex; gap: 18px; align-items: baseline; }
.masthead-right .search { color: #fff; }

/* ========== Section nav ========== */
.section-nav {
  background: #000;
  color: #fff;
  border-bottom: 1px solid #2a2a2a;
  padding: 4px 0 14px;
}
.section-nav .container {
  display: flex;
  gap: 24px;
  align-items: center;
  overflow-x: auto;
}
.section-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.section-nav a:hover { border-bottom-color: #fff; }
.section-nav a.active { border-bottom-color: #fff; font-weight: 700; }
.section-nav a.live-tv { color: #ff5a5a; font-weight: 600; }
.section-nav a.live-tv::before {
  content: '●';
  margin-right: 4px;
  font-size: 10px;
}
.section-nav .edition { margin-left: auto; color: #ccc; font-size: 13px; }

/* ========== Ticker bar (Top Securities style) ========== */
.ticker-bar {
  background: var(--bg-off);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}
.ticker-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--fg-soft);
}
.ticker-label {
  font-weight: 700;
  color: var(--fg);
  padding: 2px 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
}

/* ========== Above-the-fold 3-col grid ========== */
main { padding: 24px 0 64px; }
.fold-grid {
  display: grid;
  grid-template-columns: 395px 1fr 365px;
  gap: 28px;
  margin-bottom: 40px;
}
@media (max-width: 1180px) {
  .fold-grid { grid-template-columns: 340px 1fr 320px; gap: 20px; }
}
@media (max-width: 980px) {
  .fold-grid { grid-template-columns: 1fr; }
}

/* ========== Left column: lede + wells + opinion ========== */
.col-left article, .col-center article { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 20px; }
.col-left article:last-child, .col-center article:last-child { border-bottom: 0; }

.lede-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; margin-bottom: 14px; }
.lede-headline {
  display: block;
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-decoration: none;
  margin-bottom: 8px;
}
.lede-headline:hover { color: var(--accent); }
.lede-dek {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.45;
  color: var(--fg-soft);
  margin: 0 0 6px;
}
.lede-byline {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg);
  margin-bottom: 8px;
}
.well-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  margin-bottom: 12px;
}
.well-headline {
  display: block;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--fg);
  text-decoration: none;
  margin-bottom: 6px;
}
.well-headline:hover { color: var(--accent); }
.well-dek {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.45;
  color: var(--fg-soft);
  margin: 0 0 6px;
}
.credit {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--muted);
}

/* Opinion package */
.opinion-pkg { padding-top: 8px; }
.opinion-header {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line-strong);
}
.opinion-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.opinion-item:last-child { border-bottom: 0; }
.opinion-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.opinion-headline {
  display: block;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--fg);
  text-decoration: none;
  margin-bottom: 4px;
}
.opinion-headline:hover { color: var(--accent); }
.opinion-byline {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
}
.opinion-byline a { color: var(--accent); text-decoration: none; }

/* ========== Center column ========== */
.center-hero .eyebrow { color: var(--accent-red); }
.center-headline {
  display: block;
  font-family: var(--sans);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--fg);
  text-decoration: none;
  margin-bottom: 12px;
}
.center-headline:hover { color: var(--accent); }
.center-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
}
.center-dek {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
  color: var(--fg-soft);
  margin: 0 0 12px;
}
.byline {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
}
.center-item-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  margin-bottom: 12px;
}
.center-item-headline {
  display: block;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--fg);
  text-decoration: none;
  margin-bottom: 8px;
}
.center-item-headline:hover { color: var(--accent); }
.center-item-dek {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.45;
  color: var(--fg-soft);
  margin: 0;
}

/* ========== Right column widgets ========== */
.col-right > section {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.col-right > section:last-child { border-bottom: 0; }

.widget-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line-strong);
}
.widget-title {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  color: var(--accent-red);
  letter-spacing: 0.02em;
}
.widget-tab {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--muted);
  padding: 2px 8px;
  border-radius: 3px;
}
.widget-tab.active {
  background: var(--fg);
  color: #fff;
  font-weight: 600;
}
.latest-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.latest-item:last-child { border-bottom: 0; }
.latest-time {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--accent-red);
  flex-shrink: 0;
  min-width: 40px;
  font-variant-numeric: tabular-nums;
}
.latest-title {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fg);
  text-decoration: none;
  flex: 1;
}
.latest-title:hover { color: var(--accent); }

/* Video widget */
.video-widget .widget-title { color: var(--fg); }
.video-card {
  position: relative;
  display: block;
  margin-bottom: 10px;
}
.video-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 14px 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
}
.video-title {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

/* Newsletter card */
.newsletter-card {
  background: var(--bg-off);
  padding: 20px;
  border: 1px solid var(--line);
}
.nl-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 8px;
}
.nl-title {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 6px;
}
.nl-dek {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.45;
  color: var(--fg-soft);
  margin: 0;
}

/* ========== Bottom zone: module grids ========== */
.mod-4up, .mod-topic, .mod-magazine, .mod-default {
  margin-bottom: 40px;
  padding-top: 24px;
  border-top: 2px solid var(--line-strong);
}
.mod-title {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--fg);
  text-transform: capitalize;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 980px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
.card, .topic-card {
  border: 0;
  padding: 0;
}
.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  margin-bottom: 12px;
}
.card-headline {
  display: block;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-decoration: none;
  margin-bottom: 6px;
}
.card-headline:hover { color: var(--accent); }
.card-dek {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.45;
  color: var(--fg-soft);
  margin: 0;
}
.mag-hero {
  max-width: 720px;
}
.mag-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  margin-bottom: 14px;
}
.mag-headline {
  display: block;
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg);
  text-decoration: none;
  margin-bottom: 8px;
}
.mag-dek {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.45;
  color: var(--fg-soft);
  margin: 0;
}

.empty { color: var(--muted); text-align: center; padding: 60px 0; }

/* ========== Article page ========== */
.article {
  max-width: 720px;
  margin: 0 auto;
}
.article .eyebrow {
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.article .headline {
  font-family: var(--sans);
  font-size: 34px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--fg);
}
.article .lede {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  color: #444;
  margin: 0 0 20px;
  font-weight: 400;
}
.article .byline {
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.article .byline .sep { margin: 0 6px; }
.article .byline .src { color: var(--muted); text-decoration: underline; }
.article .hero-img {
  margin: 0 0 32px;
}
.article .hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== Article body ========== */
.body p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 22px;
  color: #232323;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}
.body h2, .body h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 36px 0 12px;
  color: var(--fg);
}
.body h3 { font-size: 13px; }
.body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.body ul li {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  padding: 10px 0 10px 20px;
  position: relative;
  border-bottom: 1px solid var(--line);
  color: #232323;
}
.body ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  font-weight: 400;
  color: var(--muted);
}
.body ul li:last-child { border-bottom: 0; }
.body figure { margin: 32px 0; }
.body figure img { max-width: 100%; height: auto; display: block; }
.body figcaption {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.45;
}
.body a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: rgba(0,0,0,0.35);
  text-underline-offset: 2px;
}
.body a:hover { color: var(--accent); text-decoration-color: var(--accent); }
/* Bloomberg 原文把 ticker/person 标成半粗,不是全粗 — 避免整段看起来像加粗 */
.body .bbg-entity { font-weight: 600; color: #000; }
.body strong { font-weight: 700; }
.body em { font-style: italic; }

/* ========== Footer ========== */
.divider { border-top: 1px solid var(--line-strong); margin-top: 48px; }
.article-footer { margin-top: 24px; }
.credit-line {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
}
.credit-line a { color: var(--muted); text-decoration: underline; }

.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--line-strong);
  padding: 32px 0;
  background: var(--bg-off);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}
.site-footer h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 8px;
}
.site-footer p {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 640px) {
  .logo { font-size: 34px; }
  .lede-headline { font-size: 22px; }
  .center-headline { font-size: 26px; }
  .article .headline { font-size: 26px; }
  .body p { font-size: 17px; }
}
