/* ==========================================================================
   news.css · 资讯频道列表页
   风格：编辑部/报刊排版风 · 衬线大标题 + 双细线分栏 + 邮戳点缀
   ========================================================================== */

/* ---------- 1. 报刊头版 Hero ---------- */
.news-hero {
  padding: clamp(120px, 14vw, 170px) 0 clamp(40px, 5vw, 64px);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(195, 176, 137, .22), transparent 60%),
    var(--mist);
}
.masthead {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 56px);
  align-items: end; margin-top: 18px;
}
.pub-line {
  font-size: 13px; letter-spacing: .18em; color: var(--khaki-600);
  text-transform: uppercase; font-weight: 700; margin-bottom: 18px;
  display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center;
}
.pub-line span { color: var(--ink-faint); font-weight: 500; }
.mast-title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(38px, 5.6vw, 62px); line-height: 1.18; letter-spacing: .01em;
  margin-bottom: 20px;
}
.mast-lead {
  font-size: 16.5px; color: var(--ink-soft); max-width: 560px; margin-bottom: 22px;
}
.mast-rule {
  border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink);
  height: 5px; margin: 18px 0 14px;
}
.mast-foot {
  font-size: 12.5px; color: var(--ink-faint); letter-spacing: .04em;
}
.mast-photo { position: relative; }
.mast-photo img {
  border-radius: var(--radius-m); box-shadow: var(--shadow-m);
  width: 100%; object-fit: cover;
}
.mast-photo figcaption {
  margin-top: 10px; font-size: 12.5px; color: var(--ink-faint);
  letter-spacing: .06em; text-align: right;
}
.mast-stamp { position: absolute; top: 16px; right: 16px; background: rgba(244,243,238,.9); }

/* ---------- 2. 分类快筛条 ---------- */
.quickbar {
  position: sticky; top: 76px; z-index: 60;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.quick-nav {
  display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 0;
}
.quick-chip {
  font-size: 13.5px; font-weight: 600; letter-spacing: .06em;
  padding: 8px 18px; border-radius: 50px; color: var(--ink-soft);
  border: 1px solid var(--line-strong); transition: all .25s var(--ease);
}
.quick-chip:hover {
  background: var(--khaki-100); border-color: var(--khaki-400); color: var(--khaki-800);
  transform: translateY(-1px);
}

/* ---------- 3. CMS 资讯列表 ---------- */
.list-section { background: var(--paper); padding-top: clamp(48px,6vw,80px); }
.n-list { display: grid; gap: 26px; }
.n-item { border-bottom: 1px solid var(--line); padding-bottom: 26px; }
.n-item:last-child { border-bottom: 0; padding-bottom: 0; }
.n-card {
  display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: start;
}
.n-thumb img {
  border-radius: var(--radius-s); width: 100%; object-fit: cover;
  transition: transform .4s var(--ease);
}
.n-card:hover .n-thumb img { transform: scale(1.03); }
.n-body { min-width: 0; }
.n-title {
  font-size: clamp(19px, 2.1vw, 24px); font-weight: 700; line-height: 1.4;
  margin-bottom: 10px; transition: color .25s var(--ease);
}
.n-card:hover .n-title { color: var(--stamp); }
.n-summary {
  font-size: 14.5px; color: var(--ink-soft); line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 14px;
}
.n-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 13px; color: var(--ink-faint);
}
.n-time { font-family: var(--font-mono); letter-spacing: .05em; }
.n-id {
  padding: 2px 10px; border: 1px dashed var(--line-strong); border-radius: 4px;
  font-size: 12px; color: var(--khaki-600);
}

/* ---------- 4. 补充板块：热读 + 报考快讯 ---------- */
.supplement { background: var(--mist); }
.sup-grid {
  display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.sup-head { margin-bottom: 22px; }
.hot-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.hot-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-s);
}
.hot-card img { width: 100%; height: 170px; object-fit: cover; }
.hot-text { padding: 16px 18px 18px; }
.hot-text h3 { font-size: 16.5px; line-height: 1.45; margin-bottom: 8px; }
.hot-card:hover h3 { color: var(--stamp); }
.hot-text p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

.sup-side {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 26px 24px; box-shadow: var(--shadow-s);
}
.notice-list { display: grid; gap: 18px; }
.notice-row {
  display: grid; grid-template-columns: 64px 1fr; gap: 14px;
  padding-bottom: 16px; border-bottom: 1px dashed var(--line);
}
.notice-row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.n-date {
  font-family: var(--font-serif); font-weight: 700; font-size: 15px; color: var(--stamp);
  border: 1.5px solid var(--stamp); border-radius: 6px;
  height: fit-content; padding: 6px 0; text-align: center; transform: rotate(-2deg);
}
.notice-row h3 { font-size: 15.5px; margin-bottom: 4px; }
.notice-row p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 6px; }
.more-link { font-size: 13px; font-weight: 600; color: var(--khaki-600); }
.more-link:hover { color: var(--stamp); }
.notice-cta {
  margin-top: 22px; padding: 18px; background: var(--sand);
  border-radius: var(--radius-s); text-align: center;
}
.notice-cta p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 12px; }

/* ---------- 5. 资讯沿革时间轴（右移变体 + 方形邮戳节点） ---------- */
.era-section { background: var(--paper); }
.era-tl { max-width: 860px; margin-left: auto; }
.era-tl .tl-row { --tw: 96px; --aw: 56px; padding: 10px 0; }
.era-tl .tl-time em {
  font-style: normal; font-family: var(--font-serif); font-weight: 700;
  font-size: 17px; color: var(--khaki-600); display: block; padding-top: 6px;
}
.node-square {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--paper); border: 2px solid var(--khaki-400); color: var(--stamp);
}
.node-square svg { width: 18px; height: 18px; }
.era-tl .tl-body {
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 16px 20px; margin: 8px 0;
}
.era-tl .tl-body h3 { font-size: 17px; margin-bottom: 6px; }
.era-tl .tl-body p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ---------- 6. CTA ---------- */
.cta-band { background: var(--khaki-600); color: #fff; }
.cta-inner { text-align: center; padding: clamp(40px,6vw,64px) 0; }
.cta-inner h2 { color: #fff; margin-bottom: 12px; }
.cta-inner p { color: var(--khaki-100); margin-bottom: 22px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 7. 响应式三档 ---------- */
@media (max-width: 1024px) {
  .masthead { grid-template-columns: 1fr; }
  .mast-photo { max-width: 640px; }
  .sup-grid { grid-template-columns: 1fr; }
  .era-tl { margin-left: 0; max-width: 100%; }
}
@media (max-width: 768px) {
  .n-card { grid-template-columns: 1fr; }
  .n-thumb img { height: 200px; }
  .hot-grid { grid-template-columns: 1fr; }
  .quickbar { top: 64px; }
  .era-tl .tl-row { --tw: 70px; --aw: 40px; }
}
@media (max-width: 520px) {
  .mast-title { font-size: 34px; }
  .notice-row { grid-template-columns: 54px 1fr; }
  .quick-nav { gap: 8px; }
  .quick-chip { padding: 7px 13px; font-size: 12.5px; }
}

/* ==========================================================================
   第二轮扩充：栏目导读 / 本期专题热读榜 / 资讯订阅
   ========================================================================== */

/* ---------- 8. 资讯栏目导读（票券式分类卡） ---------- */
.guide-section { background: var(--paper); }
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.guide-card {
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 24px 22px 20px; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.guide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.g-tag {
  align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .14em;
  color: var(--stamp); border: 1.5px solid var(--stamp); border-radius: 50px;
  padding: 3px 14px; margin-bottom: 14px; transform: rotate(-1.5deg);
}
.guide-card h3 { font-size: 18px; margin-bottom: 8px; }
.guide-card > p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 16px; }
.g-links { display: grid; gap: 9px; margin-top: auto; }
.g-links a {
  font-size: 13.5px; color: var(--khaki-600); font-weight: 600;
  padding-left: 16px; position: relative; line-height: 1.5;
}
.g-links a::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; border: 1.5px solid var(--khaki-400); border-radius: 50%;
}
.g-links a:hover { color: var(--stamp); }

/* ---------- 9. 本期专题 + 热读榜 ---------- */
.topic-section { background: var(--mist); }
.topic-wrap {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px,4vw,56px);
  align-items: center;
}
.topic-photo { position: relative; }
.topic-photo img { border-radius: var(--radius-m); box-shadow: var(--shadow-m); width: 100%; object-fit: cover; }
.topic-photo figcaption { margin-top: 10px; font-size: 12.5px; color: var(--ink-faint); }
.topic-stamp { position: absolute; top: 16px; right: 16px; background: rgba(244,243,238,.92); }
.topic-side h2 { margin-bottom: 14px; }
.topic-lead { font-size: 15px; color: var(--ink-soft); margin-bottom: 22px; }
.rank-list { display: grid; gap: 0; }
.rank-list a {
  display: flex; align-items: baseline; gap: 12px; padding: 11px 0;
  border-bottom: 1px dotted var(--line-strong);
}
.rank-list li:last-child a { border-bottom: 0; }
.r-no {
  font-family: var(--font-serif); font-weight: 700; font-size: 18px;
  color: var(--stamp); flex: none; width: 26px;
}
.r-text { font-size: 15px; font-weight: 600; }
.rank-list a:hover .r-text { color: var(--stamp); }
.topic-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-faint); }

/* ---------- 10. 资讯订阅（虚线票券卡） ---------- */
.subs-section { background: var(--paper); }
.subs-card {
  background: var(--sand); border: 2px dashed var(--khaki-400); border-radius: var(--radius-l);
  padding: clamp(28px,4vw,48px);
}
.subs-head { max-width: 640px; margin-bottom: 28px; }
.subs-head h2 { margin-bottom: 12px; }
.subs-head p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.subs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.subs-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 20px 22px; display: block; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.subs-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.s-kind {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .16em;
  color: var(--khaki-600); margin-bottom: 10px;
}
.subs-item strong { display: block; font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.subs-item:hover strong { color: var(--stamp); }
.subs-item p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* ---------- 11. 扩充板块响应式 ---------- */
@media (max-width: 1024px) {
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .topic-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .subs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .guide-grid { grid-template-columns: 1fr; }
}
