.page-news {
  --news-amber: #F2A03D;
  --news-wine: #D98CA1;
  --news-indigo: #A99BE8;
  --news-line-soft: rgba(35, 64, 92, .58);
  --news-band: rgba(18, 40, 63, .68);
  padding-bottom: clamp(60px, 9vw, 130px);
}

.page-news .breadcrumbs {
  padding-top: clamp(16px, 2.6vw, 28px);
}

/* ---------- 首屏 ---------- */

.page-news .news-hero {
  position: relative;
  padding: clamp(24px, 4.6vw, 56px) 0 clamp(34px, 6vw, 74px);
  overflow: hidden;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: -14% -22% auto -22%;
  height: 76%;
  background:
    radial-gradient(58% 100% at 20% 34%, rgba(53, 224, 214, .15), transparent 68%),
    radial-gradient(52% 92% at 84% 10%, rgba(242, 160, 61, .13), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.page-news .news-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: center;
}

.page-news .news-hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 5.1vw, 60px);
  line-height: 1.1;
  letter-spacing: -.012em;
  color: var(--paper);
  margin: .34em 0 .5em;
  max-width: 20ch;
}

.page-news .news-hero-copy .lede {
  margin: 0;
  max-width: 56ch;
  color: var(--mist);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.9;
}

.page-news .news-hero-figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -60px rgba(53, 224, 214, .55);
}

.page-news .news-hero-figure img,
.page-news .news-band-figure img,
.page-news .news-side-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .news-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(22px, 3vw, 34px);
  background: var(--news-line-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-news .news-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 14px 16px;
  background: var(--news-band);
}

.page-news .news-stats .stat-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1;
  color: var(--news-amber);
}

.page-news .news-stats .stat-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--mist);
}

@media (min-width: 640px) {
  .page-news .news-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 920px) {
  .page-news .news-hero-grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  }
}

/* ---------- 置顶信息带 ---------- */

.page-news .news-pinned {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(242, 160, 61, .18), rgba(53, 224, 214, .11) 56%, rgba(11, 26, 43, 0) 100%),
    var(--ink-800);
  scroll-margin-top: 112px;
}

.page-news .news-pinned-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 26px);
  padding: clamp(22px, 3.4vw, 38px) 0;
  align-items: center;
}

.page-news .news-pinned-flag {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-news .news-pinned-ver {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 27px);
  letter-spacing: .02em;
  color: var(--news-amber);
}

.page-news .news-pinned-main h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(19px, 2.5vw, 29px);
  line-height: 1.26;
  margin: 0 0 10px;
  color: var(--paper);
}

.page-news .news-pinned-main p {
  margin: 0;
  max-width: 70ch;
  color: var(--mist);
  font-size: 14.5px;
  line-height: 1.85;
}

.page-news .news-pinned .btn {
  justify-self: start;
}

@media (min-width: 980px) {
  .page-news .news-pinned-inner {
    grid-template-columns: 132px minmax(0, 1fr) auto;
  }
}

/* ---------- 横贯图 ---------- */

.page-news .news-band-wrap {
  padding-top: clamp(30px, 4.6vw, 58px);
}

.page-news .news-band-figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

/* ---------- 主体双栏 ---------- */

.page-news .news-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
  padding-top: clamp(34px, 5vw, 66px);
}

.page-news .news-rail {
  align-self: start;
}

.page-news .news-rail-title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-news .news-rail .chapter-rail-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-news .news-rail .chapter-rail-list > li {
  flex: 0 0 auto;
}

.page-news .news-rail .chapter-rail-link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 11px;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1.4;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 2px solid var(--news-line-soft);
  transition: color .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}

.page-news .news-rail .chapter-rail-link:hover,
.page-news .news-rail .chapter-rail-link.is-current {
  color: var(--paper);
  border-bottom-color: var(--cyan);
  background: rgba(53, 224, 214, .07);
}

.page-news .news-rail .chapter-rail-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--news-amber);
}

@media (min-width: 1020px) {
  .page-news .news-body-grid {
    grid-template-columns: 186px minmax(0, 1fr);
  }

  .page-news .news-rail {
    position: sticky;
    top: 108px;
  }

  .page-news .news-rail .chapter-rail-list {
    display: block;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-news .news-rail .chapter-rail-link {
    border-bottom: none;
    border-left: 2px solid var(--news-line-soft);
    padding: 7px 10px;
    white-space: normal;
  }

  .page-news .news-rail .chapter-rail-link:hover,
  .page-news .news-rail .chapter-rail-link.is-current {
    border-left-color: var(--cyan);
  }
}

/* ---------- 章节 ---------- */

.page-news .news-section {
  padding: clamp(30px, 4.4vw, 56px) 0;
  border-top: 1px solid var(--news-line-soft);
}

.page-news .news-flow > .news-section:first-child {
  border-top: none;
  padding-top: 0;
}

.page-news .news-section {
  scroll-margin-top: 112px;
}

.page-news .news-section-head {
  margin-bottom: clamp(18px, 2.6vw, 28px);
}

.page-news .news-section-head h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(21px, 2.7vw, 32px);
  line-height: 1.22;
  color: var(--paper);
}

.page-news .news-section-head p {
  margin: 0;
  max-width: 72ch;
  color: var(--mist);
  font-size: 14.5px;
  line-height: 1.9;
}

/* ---------- 标签 ---------- */

.page-news .ntag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  white-space: nowrap;
}

.page-news .ntag--amber {
  color: var(--news-amber);
  border-color: rgba(242, 160, 61, .45);
  background: rgba(242, 160, 61, .1);
}

.page-news .ntag--wine {
  color: var(--news-wine);
  border-color: rgba(217, 140, 161, .42);
  background: rgba(110, 42, 60, .3);
}

.page-news .ntag--cyan {
  color: var(--cyan);
  border-color: rgba(53, 224, 214, .42);
  background: rgba(53, 224, 214, .1);
}

.page-news .ntag--indigo {
  color: var(--news-indigo);
  border-color: rgba(169, 155, 232, .42);
  background: rgba(59, 46, 110, .36);
}

/* ---------- 抽屉条目 ---------- */

.page-news .drawer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .drawer-list > li {
  border-bottom: 1px solid var(--news-line-soft);
}

.page-news .drawer-list > li:first-child {
  border-top: 1px solid var(--news-line-soft);
}

.page-news .drawer > summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "tag ver"
    "title title";
  gap: 8px 12px;
  padding: 15px 14px 15px 18px;
  list-style: none;
  cursor: pointer;
  transition: background .22s var(--ease), padding .24s var(--ease);
}

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

.page-news .drawer > summary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 11px;
  width: 2px;
  background: var(--cyan);
  transform: scaleY(.18);
  transform-origin: top;
  opacity: 0;
  transition: transform .28s var(--ease), opacity .28s var(--ease);
}

.page-news .drawer > summary:hover,
.page-news .drawer[open] > summary {
  background: rgba(53, 224, 214, .05);
}

.page-news .drawer > summary:hover {
  padding-left: 22px;
}

.page-news .drawer > summary:hover::before,
.page-news .drawer[open] > summary::before {
  transform: scaleY(1);
  opacity: 1;
}

.page-news .drawer-title {
  grid-area: title;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--paper);
}

.page-news .drawer-ver {
  grid-area: ver;
  justify-self: start;
  align-self: start;
  padding: 2px 9px;
  border: 1px solid rgba(242, 160, 61, .35);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--news-amber);
}

.page-news .drawer-body {
  padding: 0 18px 18px 20px;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.9;
}

.page-news .drawer-body p {
  margin: 0;
  max-width: 68ch;
}

@media (min-width: 720px) {
  .page-news .drawer > summary {
    grid-template-columns: 112px minmax(0, 1fr) auto;
    grid-template-areas: "tag title ver";
    align-items: center;
    gap: 16px;
    padding: 16px 16px 16px 20px;
  }

  .page-news .drawer > summary:hover {
    padding-left: 26px;
  }

  .page-news .drawer-ver {
    align-self: center;
    justify-self: end;
  }

  .page-news .drawer-body {
    padding: 2px 26px 20px 148px;
  }
}

/* ---------- 图文交错 ---------- */

.page-news .news-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}

.page-news .news-side-figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

@media (min-width: 900px) {
  .page-news .news-split {
    grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr);
  }

  .page-news .news-split--flip {
    grid-template-columns: minmax(0, 1.26fr) minmax(0, .74fr);
  }
}

/* ---------- 发布节奏 ---------- */

.page-news .rhythm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-news .rhythm-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(18, 40, 63, .72), rgba(11, 26, 43, .74));
}

.page-news .rhythm-card:nth-child(2) {
  border-color: rgba(53, 224, 214, .3);
}

.page-news .rhythm-card:nth-child(3) {
  border-color: rgba(242, 160, 61, .3);
}

.page-news .rhythm-day {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .05em;
  color: var(--cyan);
}

.page-news .rhythm-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--paper);
}

.page-news .rhythm-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--mist);
}

.page-news .rhythm-note {
  margin: clamp(18px, 2.6vw, 26px) 0 0;
  padding: 4px 0 4px 16px;
  border-left: 2px solid var(--news-amber);
  max-width: 70ch;
  font-size: 14px;
  line-height: 1.9;
  color: var(--mist);
}

@media (min-width: 700px) {
  .page-news .rhythm-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- 专题折叠 ---------- */

.page-news .series-group {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--news-band);
  overflow: hidden;
}

.page-news .series-group > summary {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px 46px 16px 18px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  color: var(--paper);
  transition: background .22s var(--ease);
}

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

.page-news .series-group > summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--cyan);
}

.page-news .series-group[open] > summary::after {
  content: "–";
  color: var(--news-amber);
}

.page-news .series-group > summary:hover {
  background: rgba(53, 224, 214, .05);
}

.page-news .series-list {
  margin: 0;
  padding: 6px 18px 18px;
  list-style: none;
  border-top: 1px solid var(--news-line-soft);
}

.page-news .series-list li {
  padding: 11px 0;
  border-bottom: 1px dashed rgba(35, 64, 92, .6);
  font-size: 14px;
  line-height: 1.9;
  color: var(--mist);
}

.page-news .series-list li:last-child {
  border-bottom: none;
}

.page-news .series-list strong {
  color: var(--paper);
  font-weight: 700;
}

.page-news .series-note {
  margin: clamp(18px, 2.6vw, 26px) 0 0;
  max-width: 72ch;
  font-size: 14px;
  line-height: 1.9;
  color: var(--mist);
}

.page-news .series-note a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-news .series-note a:hover {
  color: var(--news-amber);
}
