/* ===================================================================
   资讯中心 · 页面专属样式
   作用域：.page-news
   =================================================================== */

.page-news {
  --news-hair: 1px solid rgba(30, 27, 38, .14);
  --news-hair-inv: 1px solid rgba(250, 246, 241, .24);
  --news-pad: clamp(42px, 6vw, 78px);
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;
}

.page-news img {
  max-width: 100%;
  height: auto;
}

/* ---------- 通用小节 ---------- */

.page-news .news-block {
  padding: var(--news-pad) 0;
}

.page-news .news-block--stone {
  background: var(--stone);
}

.page-news .news-block--ink {
  background: var(--ink);
  color: var(--paper);
}

.page-news .news-section-head {
  max-width: 42rem;
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.page-news .news-section-title {
  font-family: var(--font-editorial);
  font-weight: 700;
  font-size: clamp(24px, 3.8vw, 38px);
  line-height: 1.28;
  letter-spacing: -.012em;
  margin: 12px 0 0;
  color: var(--ink);
}

.page-news .news-section-title--light {
  color: var(--paper);
}

.page-news .news-section-lead {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--rock);
}

.page-news .news-block--ink .news-section-lead,
.page-news .news-block--ink .news-feedback-text {
  color: rgba(250, 246, 241, .78);
}

.page-news .news-kicker {
  display: inline-block;
  margin: 16px 0 0;
  padding-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--clay);
  border-bottom: 2px solid var(--coral);
}

.page-news .news-kicker--light {
  color: var(--hi);
  border-bottom-color: var(--hi);
}

/* ---------- 刊头 ---------- */

.page-news .news-masthead {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4.5vw, 52px) 0 clamp(48px, 6vw, 82px);
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.page-news .news-masthead::after {
  content: "";
  position: absolute;
  left: -14%;
  right: -14%;
  bottom: -86px;
  height: 152px;
  background: linear-gradient(90deg, var(--volt) 0%, var(--coral) 58%, var(--hi) 100%);
  transform: rotate(-6deg);
  opacity: .16;
  pointer-events: none;
}

.page-news .news-masthead .shell {
  position: relative;
  z-index: 1;
}

.page-news .news-masthead-title {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 8.6vw, 78px);
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--ink);
}

.page-news .news-masthead-lead {
  margin: 22px 0 0;
  max-width: 34em;
  font-family: var(--font-editorial);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.82;
  color: var(--ink-soft);
}

.page-news .news-masthead-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: var(--news-hair);
}

.page-news .news-meta-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.page-news .news-meta-value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 21px;
  line-height: 1;
  color: var(--clay);
}

.page-news .news-meta-label {
  font-size: 13px;
  color: var(--rock);
}

.page-news .news-masthead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* ---------- 目录跳转条 ---------- */

.page-news .news-jump {
  background: var(--stone);
  border-bottom: 2px solid var(--ink);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-news .news-jump-list {
  display: flex;
  gap: 8px;
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 12px max(4vw, 22px);
  list-style: none;
}

.page-news .news-jump-link {
  display: inline-block;
  padding: 7px 15px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .02em;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-capsule);
  box-shadow: 2px 2px 0 var(--ink);
  transition: background .16s var(--ease), box-shadow .16s var(--ease), transform .16s var(--ease);
}

.page-news .news-jump-link:hover,
.page-news .news-jump-link:focus-visible {
  background: var(--hi);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
}

.page-news .news-jump-link[aria-current="true"] {
  background: var(--volt);
  color: var(--paper);
  box-shadow: 2px 2px 0 var(--ink);
}

/* ---------- 置顶：年度栏目变更说明 ---------- */

.page-news .news-pinned {
  position: relative;
  background: var(--white);
  border: 3px solid var(--volt);
  border-radius: var(--r-soft);
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
}

.page-news .news-pinned::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--volt) 0%, var(--coral) 70%, var(--hi) 100%);
}

.page-news .news-pinned-head {
  padding: clamp(22px, 3.4vw, 40px) clamp(20px, 3.4vw, 44px) 0;
}

.page-news .news-pinned-title {
  margin: 14px 0 0;
  font-family: var(--font-editorial);
  font-weight: 700;
  font-size: clamp(27px, 4.8vw, 50px);
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--ink);
}

.page-news .news-pinned-lead {
  margin: 16px 0 0;
  max-width: 40em;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-news .news-pinned-figure {
  margin: clamp(20px, 3vw, 34px) 0 0;
}

.page-news .news-pinned-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .news-pinned-details {
  border-top: 2px solid var(--ink);
}

.page-news .news-pinned-details > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px clamp(20px, 3.4vw, 44px);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--clay);
  cursor: pointer;
  list-style: none;
  transition: background .18s var(--ease);
}

.page-news .news-pinned-details > summary::-webkit-details-marker {
  display: none;
}

.page-news .news-pinned-details > summary:hover {
  background: var(--stone);
}

.page-news .news-pinned-details > summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1;
  color: var(--paper);
  background: var(--volt);
  border-radius: 50%;
}

.page-news .news-pinned-details[open] > summary::before {
  content: "–";
  background: var(--coral);
}

.page-news .news-change-list {
  margin: 0;
  padding: 0 clamp(20px, 3.4vw, 44px) 30px;
  list-style: none;
}

.page-news .news-change-list > li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 4px 16px;
  padding: 18px 0;
  border-top: var(--news-hair);
}

.page-news .news-change-num {
  grid-row: span 2;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--volt);
}

.page-news .news-change-list h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.page-news .news-change-list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--rock);
}

/* ---------- 本期更新条目 ---------- */

.page-news .news-board {
  position: relative;
}

.page-news .news-filter-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-news .news-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.page-news .news-filter-btn {
  padding: 7px 15px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-capsule);
  cursor: pointer;
  transition: background .16s var(--ease), color .16s var(--ease), box-shadow .16s var(--ease);
}

.page-news .news-filter-btn:hover {
  background: var(--hi);
}

.page-news #nf-all:checked ~ .news-filter-bar label[for="nf-all"],
.page-news #nf-fee:checked ~ .news-filter-bar label[for="nf-fee"],
.page-news #nf-rel:checked ~ .news-filter-bar label[for="nf-rel"],
.page-news #nf-svc:checked ~ .news-filter-bar label[for="nf-svc"],
.page-news #nf-obs:checked ~ .news-filter-bar label[for="nf-obs"] {
  color: var(--paper);
  background: var(--ink);
  box-shadow: 3px 3px 0 var(--coral);
}

.page-news #nf-fee:checked ~ .news-list .news-item:not([data-cat="fee"]),
.page-news #nf-rel:checked ~ .news-list .news-item:not([data-cat="rel"]),
.page-news #nf-svc:checked ~ .news-list .news-item:not([data-cat="svc"]),
.page-news #nf-obs:checked ~ .news-list .news-item:not([data-cat="obs"]) {
  display: none;
}

.page-news .news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: var(--news-hair);
}

.page-news .news-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px 16px;
  padding: 20px 8px 20px 4px;
  border-top: var(--news-hair);
  transition: background .18s var(--ease), padding-left .18s var(--ease);
}

.page-news .news-item:hover {
  background: var(--stone);
  padding-left: 14px;
}

.page-news .news-tag {
  justify-self: start;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  white-space: nowrap;
  border-radius: 6px;
  border: 1px solid rgba(30, 27, 38, .18);
  background: var(--stone);
  color: var(--ink);
}

.page-news .news-tag--fee {
  color: var(--clay);
  background: rgba(255, 107, 74, .16);
  border-color: rgba(199, 91, 57, .42);
}

.page-news .news-tag--rel {
  color: var(--volt);
  background: rgba(108, 76, 241, .13);
  border-color: rgba(108, 76, 241, .4);
}

.page-news .news-tag--svc {
  color: var(--moss);
  background: rgba(95, 122, 91, .16);
  border-color: rgba(95, 122, 91, .42);
}

.page-news .news-tag--obs {
  color: #7a5a15;
  background: rgba(255, 194, 75, .28);
  border-color: rgba(199, 91, 57, .3);
}

.page-news .news-time {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--rock);
}

.page-news .news-item-body {
  grid-column: 1 / -1;
}

.page-news .news-item-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.page-news .news-item-title a {
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(var(--coral), var(--coral));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 3px;
  transition: background-size .22s var(--ease), color .16s var(--ease);
}

.page-news .news-item-title a::after {
  content: "→";
  display: inline-block;
  margin-left: 8px;
  font-family: var(--font-mono);
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}

.page-news .news-item-title a:hover,
.page-news .news-item-title a:focus-visible {
  color: var(--clay);
  background-size: 100% 3px;
}

.page-news .news-item-title a:hover::after,
.page-news .news-item-title a:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.page-news .news-item-summary {
  margin: 8px 0 0;
  max-width: 46em;
  font-size: 15px;
  line-height: 1.78;
  color: var(--rock);
}

/* ---------- 栏目分类索引 ---------- */

.page-news .news-cats-grid {
  display: grid;
  gap: 30px;
}

.page-news .news-cats-figure {
  margin: 0;
}

.page-news .news-cats-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--ink);
  border-radius: var(--r-card);
  box-shadow: 7px 7px 0 var(--ink);
}

.page-news .news-cat-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.page-news .news-cat-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  padding: 16px 10px 16px 4px;
  color: inherit;
  text-decoration: none;
  border-bottom: var(--news-hair);
  transition: background .18s var(--ease), padding-left .18s var(--ease);
}

.page-news .news-cat-link:hover,
.page-news .news-cat-link:focus-visible {
  background: var(--paper);
  padding-left: 12px;
}

.page-news .news-cat-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.page-news .news-cat-count {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--volt);
}

.page-news .news-cat-unit {
  margin-left: 3px;
  font-size: 12px;
  font-weight: 400;
  color: var(--rock);
}

.page-news .news-cat-desc {
  grid-column: 1 / -1;
  font-size: 15px;
  line-height: 1.75;
  color: var(--rock);
}

/* ---------- 专题系列 ---------- */

.page-news .news-series-grid {
  display: grid;
  gap: 26px;
}

.page-news .news-series-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--r-card);
  box-shadow: 6px 6px 0 var(--ink);
  overflow: hidden;
  transition: box-shadow .18s var(--ease), transform .18s var(--ease);
}

.page-news .news-series-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.page-news .news-series-figure {
  margin: 0;
  overflow: hidden;
}

.page-news .news-series-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .news-series-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}

.page-news .news-series-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--coral);
}

.page-news .news-series-title {
  margin: 10px 0 0;
  font-family: var(--font-editorial);
  font-size: clamp(21px, 2.6vw, 27px);
  line-height: 1.35;
  color: var(--ink);
}

.page-news .news-series-body p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--rock);
}

.page-news .news-series-foot {
  margin-top: auto !important;
  padding-top: 18px;
}

.page-news .news-text-link {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  color: var(--clay);
  text-decoration: none;
  border-bottom: 2px solid var(--coral);
  padding-bottom: 2px;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}

.page-news .news-text-link:hover,
.page-news .news-text-link:focus-visible {
  color: var(--volt);
  border-bottom-color: var(--volt);
}

/* ---------- 往期归档 ---------- */

.page-news .news-archive-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.page-news .news-archive-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 4px 18px;
  padding: 18px 4px;
  border-bottom: var(--news-hair);
}

.page-news .news-archive-period {
  font-family: var(--font-editorial);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.page-news .news-archive-count {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--clay);
}

.page-news .news-archive-desc {
  grid-column: 1 / -1;
  font-size: 14px;
  line-height: 1.72;
  color: var(--rock);
}

/* ---------- 反馈与纠错 ---------- */

.page-news .news-feedback-grid {
  display: grid;
  gap: 30px;
}

.page-news .news-feedback-text {
  margin: 16px 0 0;
  max-width: 40em;
  font-size: 16px;
  line-height: 1.8;
}

.page-news .news-feedback-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.page-news .news-feedback-topics li {
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--hi);
  border: 2px solid var(--hi);
  border-radius: var(--r-capsule);
}

.page-news .news-feedback-side {
  padding: 22px;
  border: 2px solid var(--paper);
  border-radius: var(--r-card);
  box-shadow: 6px 6px 0 var(--volt);
}

.page-news .news-feedback-note {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(250, 246, 241, .86);
}

.page-news .news-feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-news .news-block--ink .btn-ghost {
  color: var(--paper);
  border-color: var(--paper);
  box-shadow: 4px 4px 0 var(--coral);
}

.page-news .news-block--ink .btn-ghost:hover,
.page-news .news-block--ink .btn-ghost:focus-visible {
  color: var(--ink);
  background: var(--paper);
}

/* ---------- 响应式 ---------- */

@media (min-width: 720px) {
  .page-news .news-item {
    grid-template-columns: 132px 1fr auto;
    align-items: start;
    gap: 6px 22px;
    padding: 22px 10px 22px 4px;
  }

  .page-news .news-tag {
    grid-column: 1;
  }

  .page-news .news-time {
    grid-column: 3;
    grid-row: 1;
  }

  .page-news .news-item-body {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .page-news .news-item-title {
    font-size: 19px;
  }

  .page-news .news-masthead-meta {
    gap: 16px 42px;
  }
}

@media (min-width: 900px) {
  .page-news .news-cats-grid {
    grid-template-columns: 5fr 7fr;
    align-items: start;
    gap: 52px;
  }

  .page-news .news-series-grid {
    grid-template-columns: 8fr 5fr;
    align-items: start;
    gap: 30px;
  }

  .page-news .news-feedback-grid {
    grid-template-columns: 7fr 5fr;
    align-items: start;
    gap: 48px;
  }

  .page-news .news-archive-row {
    grid-template-columns: 200px 1fr auto;
    padding: 20px 4px;
  }

  .page-news .news-archive-desc {
    grid-column: 2;
  }

  .page-news .news-archive-count {
    grid-column: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-jump-link,
  .page-news .news-item,
  .page-news .news-item-title a,
  .page-news .news-item-title a::after,
  .page-news .news-cat-link,
  .page-news .news-series-card,
  .page-news .news-text-link,
  .page-news .news-filter-btn,
  .page-news .news-pinned-details > summary {
    transition: none;
  }

  .page-news .news-series-card:hover,
  .page-news .news-jump-link:hover {
    transform: none;
  }
}
