/* 每时新闻 · 站点样式
   目标：媒体级质感（大标题、细分割线、留白、克制配色），移动端同样耐看 */

:root {
  --paper: #ffffff;
  --bg: #f6f8fc;
  --ink: #0b1220;
  --ink2: #1f2937;
  --muted: #64748b;
  --soft: #94a3b8;
  --line: #e6ecf5;
  --line2: #eef2f8;
  --brand: #1d5fd0;
  --brand2: #2b7fff;
  --hot: #d92d20;
  --gold: #b98a2f;
  --radius: 14px;
  --maxw: 1280px;
  --serif: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------------- 顶栏 ---------------- */
.topbar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.topwrap {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, #0b1f4b, var(--brand2));
  color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .5px;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(29, 95, 208, .28);
}
.brand-txt { display: flex; flex-direction: column; line-height: 1.2; }
.brand-txt b { font-size: 19px; letter-spacing: 2px; font-weight: 800; }
.brand-txt i {
  font-style: normal; font-size: 10.5px; letter-spacing: 2.4px;
  color: var(--soft); font-weight: 600;
}
.nav { display: flex; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav-i {
  padding: 7px 13px; border-radius: 9px; font-size: 14.5px; color: var(--ink2);
  white-space: nowrap; font-weight: 500; transition: .16s;
}
.nav-i:hover { background: #f1f6ff; color: var(--brand); }
.nav-i.on { background: var(--ink); color: #fff; font-weight: 600; }
.topright { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.today { font-size: 13px; color: var(--muted); }
.btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; padding: 0 20px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff; font-size: 14px; font-weight: 600; border: 0; cursor: pointer;
  box-shadow: 0 6px 16px rgba(43, 127, 255, .26); transition: .16s;
}
.btn-cta:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-cta.block { width: 100%; }

/* ---------------- 布局 ---------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 26px 24px 60px; }

/* ---------------- 头条区 ---------------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr .78fr; gap: 26px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 20px; padding: 26px; margin-bottom: 22px;
}
.hero-cover {
  position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 16px;
  background: linear-gradient(135deg, var(--c1), var(--c2)); overflow: hidden;
  box-shadow: 0 18px 40px rgba(11, 18, 32, .16);
}
.hero-cover .glyph.big, .article-cover .glyph.big {
  position: absolute; right: 6%; bottom: -14%;
  font-family: var(--serif); font-size: 190px; font-weight: 800;
  color: rgba(255, 255, 255, .16); line-height: 1;
}
.hero-label {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  padding: 5px 11px; border-radius: 999px;
}
.hero-main { display: flex; flex-direction: column; justify-content: center; }
.hero-main h1 {
  font-family: var(--serif); font-size: 36px; line-height: 1.34;
  font-weight: 800; letter-spacing: .3px; margin-bottom: 14px;
}
.hero-main h1 a:hover { color: var(--brand); }
.hero-sum {
  font-size: 14.5px; color: var(--ink2); line-height: 1.85;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--soft); margin-top: 12px; flex-wrap: wrap; }
.meta .src { color: var(--brand); font-weight: 600; }
.meta .dot { color: #cbd5e1; }
.to-origin { color: var(--muted); border-bottom: 1px dashed #cbd5e1; }
.hero-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hero-side .card { flex-direction: column; gap: 10px; padding: 0 0 12px; border-bottom: 0; }
.hero-side .cover { width: 100%; aspect-ratio: 16 / 9; }
.hero-side .card-title { font-size: 16px; -webkit-line-clamp: 2; }
.hero-side .card-sum { display: none; }

/* ---------------- 快讯条 ---------------- */
.flash {
  display: flex; align-items: center; gap: 14px; margin-bottom: 26px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 16px; overflow: hidden;
}
.flash-label {
  flex-shrink: 0; background: var(--hot); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 999px;
}
.flash-scroll { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.flash-scroll::-webkit-scrollbar { display: none; }
.flash-item { display: flex; align-items: center; gap: 9px; white-space: nowrap; font-size: 14px; }
.flash-time { color: var(--brand); font-weight: 700; font-size: 12.5px; }
.flash-src { color: var(--soft); font-size: 12px; }
.flash-title:hover { color: var(--brand); }
.flash-empty { color: var(--soft); font-size: 13px; }

/* ---------------- 主体两栏 ---------------- */
.main-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; align-items: start; }
.col-side { display: flex; flex-direction: column; gap: 20px; }

.sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 18px; padding-bottom: 14px; margin-bottom: 6px;
  border-bottom: 2px solid var(--ink); flex-wrap: wrap;
}
.sec-head h2 { font-family: var(--serif); font-size: 24px; font-weight: 800; letter-spacing: 1px; }
.sec-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.sec-tabs a {
  font-size: 13.5px; color: var(--muted); padding: 4px 10px; border-radius: 8px;
}
.sec-tabs a:hover { background: #eef4ff; color: var(--brand); }

.card-list { display: flex; flex-direction: column; }
.card {
  display: flex; gap: 18px; padding: 20px 0;
  border-bottom: 1px solid var(--line2);
}
.card:hover .card-title a { color: var(--brand); }
.cover {
  position: relative; flex-shrink: 0; width: 168px; aspect-ratio: 16 / 10;
  border-radius: 12px; overflow: hidden;
  background: linear-gradient(135deg, var(--c1), var(--c2));
}
.cover .glyph {
  position: absolute; right: 6%; bottom: -16%;
  font-family: var(--serif); font-size: 82px; font-weight: 800;
  color: rgba(255, 255, 255, .2); line-height: 1;
}
.cover-tag {
  position: absolute; left: 8px; bottom: 8px; z-index: 2;
  background: rgba(255, 255, 255, .9); color: var(--ink);
  font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px;
}
.card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.card-title {
  font-family: var(--serif); font-size: 20px; line-height: 1.5; font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-sum {
  font-size: 13.5px; color: var(--muted); line-height: 1.75; margin-top: 7px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-big { padding: 24px 0; }
.card-big .cover { width: 100%; aspect-ratio: 21 / 9; }
.card-big .card-title { font-size: 26px; }

.rank {
  font-size: 12px; font-weight: 800; color: var(--hot); margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

/* ---------------- 侧栏面板 ---------------- */
.panel {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; padding: 20px;
}
.panel-t {
  font-size: 16px; font-weight: 700; letter-spacing: .5px;
  padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line2);
}
.panel-dark { background: #0d1526; border-color: #0d1526; color: #e8eefc; }
.panel-dark .panel-t { border-bottom-color: rgba(255, 255, 255, .12); color: #fff; }
.panel-cta { background: linear-gradient(160deg, #f2f7ff, #ffffff); }
.panel-cta p { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; line-height: 1.8; }
.panel-more { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--brand2); font-weight: 600; }

.hot-list li { border-bottom: 1px dashed var(--line2); }
.hot-list li:last-child { border-bottom: 0; }
.hot-list a { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; }
.hot-list a:hover .ht { color: var(--brand); }
.rk {
  font-size: 13px; font-weight: 800; color: var(--soft); width: 20px;
  font-variant-numeric: tabular-nums; flex-shrink: 0;
}
.rk.r1, .rk.r2, .rk.r3 { color: var(--hot); }
.ht { flex: 1; font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.hn { font-size: 11.5px; color: var(--soft); flex-shrink: 0; }

.mini-list li { border-bottom: 1px dashed var(--line2); }
.mini-list li:last-child { border-bottom: 0; }
.mini-list a { display: block; padding: 9px 0; font-size: 14px; line-height: 1.55; }
.mini-list a:hover { color: var(--brand); }
.mini-list em { display: block; font-style: normal; font-size: 11.5px; color: var(--soft); margin-top: 3px; }
.mini-list.wide a { font-size: 15px; }

/* ---------------- 随谈 ---------------- */
.suitan-card {
  display: block; padding: 16px 18px; border-radius: 12px; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff; position: relative; overflow: hidden; transition: .18s;
}
.suitan-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11, 18, 32, .3); }
.suitan-kicker { display: block; font-size: 11.5px; opacity: .82; letter-spacing: 1px; margin-bottom: 6px; }
.suitan-card b { display: block; font-family: var(--serif); font-size: 17px; line-height: 1.5; font-weight: 700; }
.suitan-card i { display: block; font-style: normal; font-size: 12.5px; opacity: .8; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.suitan-card em { display: block; font-style: normal; font-size: 11px; opacity: .6; margin-top: 8px; }
.suitan-empty { color: var(--soft); font-size: 13px; padding: 12px 0; }
.suitan-empty.big { padding: 60px 0; text-align: center; font-size: 15px; }

.suitan-band {
  margin-top: 34px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 18px; padding: 26px;
}
.band-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.band-head h2 { font-family: var(--serif); font-size: 24px; font-weight: 800; letter-spacing: 2px; }
.band-head p { color: var(--muted); font-size: 13.5px; }
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.band-grid .suitan-card { margin-bottom: 0; }

.suitan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.suitan-big {
  display: block; padding: 24px; border-radius: 16px; min-height: 190px;
  background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff;
  display: flex; flex-direction: column; transition: .18s;
}
.suitan-big:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(11, 18, 32, .22); }
.suitan-big b { font-family: var(--serif); font-size: 21px; line-height: 1.45; margin: 8px 0 10px; }
.suitan-big i { font-style: normal; font-size: 13px; opacity: .82; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.suitan-big em { font-style: normal; font-size: 11.5px; opacity: .65; margin-top: auto; padding-top: 14px; }
.suitan-badge {
  display: inline-block; background: #0d1526; color: #fff; font-size: 12px;
  padding: 4px 11px; border-radius: 999px; margin-bottom: 14px;
}

/* ---------------- 文章页 ---------------- */
.article {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 38px 46px 42px; max-width: 900px; margin: 0 auto 24px;
}
.crumbs { font-size: 13px; color: var(--soft); margin-bottom: 18px; }
.crumbs a:hover { color: var(--brand); }
.article h1 {
  font-family: var(--serif); font-size: 34px; line-height: 1.42; font-weight: 800;
  margin-bottom: 16px; letter-spacing: .3px;
}
.article-meta { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line2); }
.article-cover {
  position: relative; aspect-ratio: 21 / 9; border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg, var(--c1), var(--c2)); margin: 22px 0;
}
.article-cover .cover-tag { left: 14px; bottom: 12px; }
.article-body { font-size: 16.5px; line-height: 2.05; color: var(--ink2); }
.article-body.rich { font-size: 16px; }
.article-body.rich p { margin-bottom: 18px; }
.article-body.rich h2 { font-family: var(--serif); font-size: 22px; margin: 30px 0 12px; color: var(--ink); }
.article-body.rich h3 { font-size: 18px; margin: 24px 0 10px; color: var(--ink); }
.article-body.rich ul { margin: 0 0 18px; padding-left: 4px; }
.article-body.rich li { position: relative; padding-left: 18px; margin-bottom: 8px; }
.article-body.rich li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand2); }
.article-body.rich a { color: var(--brand); border-bottom: 1px solid #cfe0ff; }
.origin-btn {
  display: inline-flex; align-items: center; height: 46px; padding: 0 26px; margin: 22px 0 6px;
  border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff; font-weight: 700; font-size: 15px; box-shadow: 0 8px 20px rgba(43, 127, 255, .26);
}
.article-tip { font-size: 12.5px; color: var(--soft); line-height: 1.9; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.rel { max-width: 900px; margin: 0 auto 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px 46px; }
.suitan-rel { max-width: 900px; margin: 0 auto; }
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 26px; padding: 22px 26px; border-radius: 14px;
  background: linear-gradient(135deg, #0d1526, #1b2c4d); color: #fff;
}
.cta-band b { display: block; font-size: 17px; margin-bottom: 4px; }
.cta-band span { font-size: 13px; opacity: .75; }

/* ---------------- 内页 / 文档 ---------------- */
.page-head { margin-bottom: 22px; }
.page-head h1 { font-family: var(--serif); font-size: 30px; font-weight: 800; letter-spacing: 1px; }
.page-head p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.doc {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 34px 46px; max-width: 900px; margin: 0 auto;
}
.doc h3 { font-size: 18px; margin: 26px 0 10px; font-family: var(--serif); }
.doc h3:first-child { margin-top: 0; }
.doc p { color: var(--ink2); margin-bottom: 14px; font-size: 15px; }
.doc a { color: var(--brand); border-bottom: 1px solid #cfe0ff; }
.doc-list { margin: 6px 0 16px; }
.doc-list li { position: relative; padding-left: 20px; margin-bottom: 10px; color: var(--ink2); }
.doc-list li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand2); }
.doc-list.steps { counter-reset: step; }
.doc-list.steps li { padding-left: 40px; min-height: 28px; }
.doc-list.steps li::before {
  counter-increment: step; content: counter(step); left: 0; top: 0; width: 26px; height: 26px;
  background: var(--brand); color: #fff; border-radius: 50%; font-size: 12px; font-weight: 700;
  display: grid; place-items: center; margin-top: 2px;
}
.doc-table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: 13.5px; }
.doc-table th, .doc-table td { border-bottom: 1px solid var(--line2); padding: 11px 10px; text-align: left; vertical-align: top; }
.doc-table th { font-size: 12.5px; color: var(--muted); font-weight: 600; background: #f8fafd; }
.doc-table code { font-size: 12px; color: var(--ink2); word-break: break-all; }
.doc-table a { color: var(--brand); }
.doc-note { font-size: 13px; color: var(--soft); }
.doc-cta { margin-top: 20px; padding: 18px 20px; background: #f2f7ff; border-radius: 12px; }
.empty { color: var(--soft); font-size: 13.5px; padding: 18px 0; }

/* ---------------- 页脚 ---------------- */
.foot { background: #0d1526; color: #b9c4d8; margin-top: 40px; }
.foot-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 40px 24px 28px;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.6fr; gap: 30px;
}
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand b { display: block; color: #fff; font-size: 17px; letter-spacing: 2px; }
.foot-brand i { font-style: normal; font-size: 12px; opacity: .6; }
.foot-col h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.foot-col a { display: block; font-size: 13px; padding: 4px 0; opacity: .8; }
.foot-col a:hover { opacity: 1; color: #fff; }
.foot-contact p { font-size: 12.5px; line-height: 1.9; margin-bottom: 8px; opacity: .78; }
.foot-contact a { color: #7db4ff; display: inline; }
.foot-contact .icp { opacity: .55; }
.foot-line {
  border-top: 1px solid rgba(255, 255, 255, .08); max-width: var(--maxw);
  margin: 0 auto; padding: 16px 24px 30px; font-size: 12px; line-height: 1.9; opacity: .5;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .main-grid { grid-template-columns: 1fr; }
  .col-side { flex-direction: row; flex-wrap: wrap; }
  .col-side .panel { flex: 1 1 300px; }
  .band-grid, .suitan-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-side { flex-direction: row; }
  .hero-side .card { flex: 1; }
  .hero-main h1 { font-size: 28px; }
}

@media (max-width: 720px) {
  .topwrap { height: 58px; padding: 0 14px; gap: 14px; }
  .brand-mark { width: 34px; height: 34px; font-size: 11px; border-radius: 9px; }
  .brand-txt b { font-size: 16px; letter-spacing: 1px; }
  .brand-txt i { font-size: 9px; }
  .nav { order: 3; flex-basis: 100%; }
  .topwrap { flex-wrap: wrap; height: auto; padding: 10px 14px 0; }
  .topright .today { display: none; }
  .wrap { padding: 16px 12px 40px; }
  .hero { padding: 16px; border-radius: 16px; gap: 18px; }
  .hero-main h1 { font-size: 24px; }
  .hero-side { flex-direction: column; }
  .flash { padding: 8px 12px; gap: 10px; }
  .sec-head h2 { font-size: 20px; }
  .sec-tabs { gap: 2px; }
  .card { gap: 12px; padding: 16px 0; }
  .cover { width: 118px; border-radius: 10px; }
  .card-title { font-size: 16.5px; }
  .card-sum { font-size: 13px; -webkit-line-clamp: 2; }
  .band-grid, .suitan-grid { grid-template-columns: 1fr; }
  .article { padding: 24px 18px 28px; border-radius: 14px; }
  .article h1 { font-size: 23px; }
  .article-body { font-size: 15.5px; line-height: 1.95; }
  .rel, .doc { padding: 20px 18px; }
  .doc-table { font-size: 12.5px; }
  .foot-grid { grid-template-columns: 1fr; padding: 30px 16px 20px; }
  .foot-line { padding: 14px 16px 24px; }
  .origin-btn { width: 100%; justify-content: center; }
}
