:root {
  --navy: #0b2d4f;
  --navy-2: #123f69;
  --blue: #1769aa;
  --cyan: #36a6b7;
  --gold: #d99b2b;
  --ink: #142130;
  --muted: #647386;
  --line: #dfe6ed;
  --soft: #f4f7fa;
  --paper: #fff;
  --shadow: 0 16px 42px rgba(11, 45, 79, .1);
  --radius: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
button, input { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; background: #fff; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-row { min-height: 76px; display: flex; align-items: center; gap: 30px; }
.brand { flex: 0 0 auto; }
.primary-nav { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 650; }
.primary-nav a { position: relative; padding: 27px 0 24px; }
.primary-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 17px; height: 2px; background: var(--gold); transition: .2s ease; }
.primary-nav a:hover::after { left: 0; right: 0; }
.site-search { margin-left: auto; display: flex; width: 250px; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--soft); }
.site-search input[type="search"] { min-width: 0; flex: 1; padding: 9px 14px; border: 0; outline: 0; background: transparent; }
.site-search button { padding: 8px 15px; border: 0; color: #fff; background: var(--navy); cursor: pointer; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--navy); }

.market-strip { color: #fff; background: linear-gradient(120deg, var(--navy), #124b72 72%, #17677b); }
.channel-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.channel-grid a { display: flex; gap: 10px; align-items: baseline; padding: 18px 24px; border-left: 1px solid rgba(255,255,255,.14); }
.channel-grid a:last-child { border-right: 1px solid rgba(255,255,255,.14); }
.channel-grid strong { font-size: 17px; }
.channel-grid span { color: rgba(255,255,255,.67); font-size: 12px; }

.home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding-top: 42px; padding-bottom: 70px; }
.home-main { min-width: 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-heading h1, .section-heading h2 { margin: 0; color: var(--navy); font-family: Georgia, "Songti SC", serif; font-size: 30px; line-height: 1.2; }
.section-heading > a { color: var(--blue); font-size: 14px; font-weight: 650; }
.section-heading.compact { margin-bottom: 15px; }
.section-heading.compact h2 { font-size: 21px; }
.eyebrow { display: block; margin-bottom: 4px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(240px, .75fr); gap: 22px; align-items: start; }
.lead-story { overflow: hidden; border-radius: var(--radius); background: var(--navy); box-shadow: var(--shadow); }
.lead-story .media { display: block; aspect-ratio: 16/9; overflow: hidden; background: #dfe6ed; }
.lead-story img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lead-story:hover img { transform: scale(1.025); }
.lead-copy { padding: 23px 26px 26px; color: #fff; }
.lead-copy h2 { margin: 5px 0 9px; font: 700 clamp(23px, 3vw, 34px)/1.32 Georgia, "Songti SC", serif; }
.lead-copy p { margin: 0 0 10px; color: rgba(255,255,255,.75); }
.lead-copy time { color: rgba(255,255,255,.56); font-size: 13px; }
.story-kicker { color: var(--cyan); font-size: 12px; font-weight: 750; }
.hero-list { display: grid; gap: 12px; }
.brief-card { padding: 17px 18px; border: 1px solid var(--line); border-radius: 11px; background: #fff; transition: .2s ease; }
.brief-card:hover { border-color: #bfd0df; box-shadow: 0 10px 24px rgba(11,45,79,.08); transform: translateY(-2px); }
.brief-card h3 { margin: 5px 0 9px; font-size: 16px; line-height: 1.5; }
.brief-card span, .brief-card time { color: var(--muted); font-size: 12px; }
.latest { margin-top: 50px; }
.story-feed { border-top: 1px solid var(--line); }
.story-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.story-thumb { overflow: hidden; aspect-ratio: 16/9; border-radius: 10px; background: var(--soft); }
.story-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.story-card:hover .story-thumb img { transform: scale(1.035); }
.story-card h2, .story-card h3 { margin: 5px 0 7px; color: var(--navy); font: 700 21px/1.45 Georgia, "Songti SC", serif; }
.story-card p { margin: 0 0 7px; color: var(--muted); font-size: 14px; }
.story-card time { color: #8a96a4; font-size: 12px; }

.home-aside, .archive-aside, .article-aside { min-width: 0; }
.side-panel { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.side-panel + .side-panel { margin-top: 22px; }
.ranking-list { margin: 0; padding: 0; counter-reset: ranking; list-style: none; }
.ranking-list li { display: grid; grid-template-columns: 28px 1fr; gap: 9px; padding: 12px 0; border-bottom: 1px solid var(--line); counter-increment: ranking; line-height: 1.45; }
.ranking-list li:last-child { border-bottom: 0; }
.ranking-list li::before { content: counter(ranking, decimal-leading-zero); color: var(--gold); font: 700 14px Georgia, serif; }
.newsletter { color: #fff; border: 0; background: linear-gradient(145deg, var(--navy), var(--navy-2)); }
.newsletter h2 { margin: 5px 0 8px; font-family: Georgia, "Songti SC", serif; }
.newsletter p { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; }

.page-shell { padding-top: 25px; padding-bottom: 70px; }
.breadcrumbs { margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.breadcrumbs a { color: var(--blue); }
.content-grid, .article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 42px; }
.archive-header { margin-bottom: 24px; padding: 30px; border-radius: var(--radius); background: var(--soft); }
.archive-header h1 { margin: 5px 0 8px; color: var(--navy); font: 700 36px/1.2 Georgia, "Songti SC", serif; }
.archive-header p { margin: 0; color: var(--muted); }
.plain-list { margin: 0; padding: 0; list-style: none; }
.plain-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.plain-list li:last-child { border: 0; }
.plain-list time { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.pagination { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 28px; }
.pagination a, .pagination b { display: inline-grid; min-width: 38px; height: 38px; padding: 0 10px; place-items: center; border: 1px solid var(--line); border-radius: 7px; }
.pagination b { color: #fff; border-color: var(--navy); background: var(--navy); }

.article-page { min-width: 0; }
.article-header { padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.article-header h1 { max-width: 850px; margin: 10px 0 15px; color: var(--navy); font: 700 clamp(32px, 5vw, 50px)/1.23 Georgia, "Songti SC", serif; letter-spacing: -.015em; }
.article-deck { margin: 0 0 18px; color: var(--muted); font-size: 18px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 7px 20px; color: #7c8997; font-size: 13px; }
.article-cover { margin: 28px 0; overflow: hidden; border-radius: var(--radius); background: var(--soft); }
.article-cover img { width: 100%; }
.article-body { color: #253343; font-size: 17px; line-height: 1.95; overflow-wrap: anywhere; }
.article-body p { margin: 1.15em 0; }
.article-body h2, .article-body h3 { margin: 1.7em 0 .7em; color: var(--navy); line-height: 1.4; }
.article-body h2 { padding-left: 14px; border-left: 4px solid var(--gold); font-size: 25px; }
.article-body h3 { font-size: 21px; }
.article-body img { margin: 28px auto; border-radius: 10px; }
.article-body blockquote { margin: 26px 0; padding: 18px 22px; color: #3e5267; border-left: 4px solid var(--cyan); background: var(--soft); }
.article-body table { width: 100%; margin: 25px 0; border-collapse: collapse; font-size: 14px; }
.article-body th, .article-body td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.article-body th { background: var(--soft); }
.article-pages { margin: 26px 0; }
.risk-box { margin-top: 32px; padding: 20px 22px; border: 1px solid #edd9ac; border-radius: 10px; background: #fffaf0; }
.risk-box strong { color: #8a5d08; }
.risk-box p { margin: 5px 0 0; color: #705e3f; font-size: 14px; }
.article-footer { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.article-tags { color: var(--muted); font-size: 13px; }
.share-button { padding: 9px 17px; color: #fff; border: 0; border-radius: 999px; background: var(--navy); cursor: pointer; }
.sticky-panel { position: sticky; top: 100px; }
.reading-progress { position: fixed; top: 0; left: 0; z-index: 100; width: 0; height: 3px; background: var(--gold); }

.site-footer { color: rgba(255,255,255,.75); background: #071e35; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .65fr 1fr; gap: 50px; padding-top: 52px; padding-bottom: 40px; }
.footer-logo { filter: brightness(0) invert(1); }
.site-footer h2 { margin: 0 0 10px; color: #fff; font-size: 15px; }
.site-footer p { max-width: 430px; margin: 10px 0; font-size: 14px; }
.site-footer nav a { display: block; margin: 8px 0; font-size: 14px; }
.footer-bottom { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom p { margin: 0; font-size: 12px; }
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 44px; height: 44px; border: 0; border-radius: 50%; color: #fff; background: var(--navy); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(12px); transition: .2s ease; cursor: pointer; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

@media (max-width: 1040px) {
  .primary-nav { gap: 15px; }
  .site-search { width: 190px; }
  .home-layout, .content-grid, .article-grid { grid-template-columns: minmax(0, 1fr) 270px; gap: 28px; }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-row { min-height: 66px; }
  .nav-toggle { display: block; margin-left: auto; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 66px; display: none; padding: 12px 20px 18px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: grid; grid-template-columns: repeat(4, 1fr); }
  .primary-nav a { padding: 10px; text-align: center; }
  .primary-nav a::after { display: none; }
  .site-search { display: none; }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .home-layout, .content-grid, .article-grid { grid-template-columns: 1fr; }
  .home-aside, .archive-aside, .article-aside { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .side-panel + .side-panel { margin-top: 0; }
  .sticky-panel { position: static; }
}

@media (max-width: 580px) {
  .brand img { width: 156px; }
  .primary-nav.is-open { grid-template-columns: repeat(2, 1fr); }
  .channel-grid span { display: none; }
  .channel-grid a { justify-content: center; padding: 13px; }
  .home-layout { padding-top: 28px; }
  .hero-grid { grid-template-columns: 1fr; }
  .lead-copy { padding: 19px; }
  .section-heading h1, .section-heading h2 { font-size: 25px; }
  .story-card { grid-template-columns: 116px minmax(0, 1fr); gap: 14px; padding: 18px 0; }
  .story-card h2, .story-card h3 { margin-top: 3px; font-size: 17px; }
  .story-card p { display: none; }
  .home-aside, .archive-aside, .article-aside { grid-template-columns: 1fr; }
  .archive-header { padding: 22px; }
  .archive-header h1 { font-size: 30px; }
  .article-header h1 { font-size: 32px; }
  .article-body { font-size: 16px; }
  .article-footer { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 25px; }
  .back-to-top { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
