.page-news {
  --news-hair: rgba(22, 35, 43, 0.14);
  --news-hair-strong: rgba(22, 35, 43, 0.24);
  background: var(--paper);
  color: var(--black);
}

.page-news .news-masthead {
  background: var(--ink);
  color: var(--paper);
  padding: 40px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-news .news-masthead::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(232, 196, 138, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.page-news .news-masthead .breadcrumbs {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(244, 239, 228, 0.55);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.page-news .news-masthead .breadcrumbs__item {
  color: inherit;
  text-decoration: none;
}

.page-news .news-masthead .breadcrumbs a.breadcrumbs__item:hover {
  color: var(--amber-soft);
}

.page-news .news-masthead__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  margin-top: 34px;
  position: relative;
  z-index: 1;
}

.page-news .news-masthead .section-label {
  color: var(--amber-soft);
  letter-spacing: 0.22em;
  margin: 0;
}

.page-news .news-masthead h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(30px, 6vw, 60px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 16px 0 20px;
  color: var(--paper-2);
}

.page-news .news-masthead__lede {
  max-width: 46ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(244, 239, 228, 0.78);
}

.page-news .news-masthead__side {
  border-top: 1px solid rgba(244, 239, 228, 0.22);
  padding-top: 20px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.page-news .news-masthead__side .note-vertical {
  color: rgba(244, 239, 228, 0.45);
  font-size: 12px;
  letter-spacing: 0.3em;
  margin: 0;
  flex: 0 0 auto;
}

.page-news .news-masthead__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(244, 239, 228, 0.72);
}

.page-news .news-masthead__facts .mono {
  display: inline-block;
  min-width: 104px;
  color: var(--amber-soft);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.page-news .news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding-top: 44px;
  padding-bottom: 80px;
}

/* 左轨索引 */
.page-news .news-rail {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
  margin-bottom: 36px;
}

.page-news .news-rail__title {
  font-size: 11.5px;
  letter-spacing: 0.26em;
  color: var(--index-gray);
  margin: 0 0 14px;
}

.page-news .news-rail__list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 1px;
}

.page-news .news-rail__list a {
  position: relative;
  display: block;
  padding: 7px 0 7px 16px;
  font-size: 14.5px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 180ms var(--ease);
}

.page-news .news-rail__list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 1px;
  background: var(--index-gray);
  transition: width 180ms var(--ease), background-color 180ms var(--ease);
}

.page-news .news-rail__list a:hover,
.page-news .news-rail__list a:focus-visible {
  color: var(--amber);
}

.page-news .news-rail__list a:hover::before,
.page-news .news-rail__list a:focus-visible::before {
  width: 13px;
  background: var(--amber);
}

.page-news .news-rail__meta {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--news-hair);
  font-size: 12px;
  line-height: 1.9;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}

.page-news .news-rail__meta span {
  color: var(--index-gray);
  font-size: 11.5px;
}

/* 图片容器 */
.page-news .news-figure {
  margin: 0 0 8px;
}

.page-news .news-media {
  position: relative;
  overflow: hidden;
  background: rgba(22, 35, 43, 0.07);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.page-news .news-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.page-news .news-media--lead { aspect-ratio: 3 / 2; }
.page-news .news-media--band { aspect-ratio: 16 / 6; }
.page-news .news-media--tall { aspect-ratio: 3 / 4; }

.page-news .news-media__cap {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--index-gray);
}

.page-news .news-figure--band {
  margin-top: 40px;
}

/* 区块标题 */
.page-news .news-section {
  margin-top: 64px;
}

.page-news .news-section__head {
  margin-bottom: 26px;
}

.page-news .news-section__head .section-label {
  color: var(--index-gray);
  letter-spacing: 0.22em;
  margin: 0;
}

.page-news .news-section__head h2 {
  font-family: var(--font-serif);
  font-size: clamp(23px, 3.4vw, 32px);
  font-weight: 700;
  line-height: 1.32;
  margin: 10px 0 0;
  color: var(--ink);
}

.page-news .news-section__head h2::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--amber);
  margin-top: 12px;
}

.page-news .news-section__head p {
  margin: 12px 0 0;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.88;
  color: var(--ink-2);
}

/* 置顶三条 */
.page-news .pinned-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-news .pinned-card {
  position: relative;
  background: rgba(232, 196, 138, 0.18);
  border-left: 2px solid var(--amber);
  padding: 20px 20px 20px 40px;
}

.page-news .pinned-card__dot {
  position: absolute;
  left: 18px;
  top: 27px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cinnabar);
}

.page-news .pinned-card__kicker {
  margin: 0 0 8px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #8a5c14;
}

.page-news .pinned-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 10px;
  color: var(--ink);
}

.page-news .pinned-card p {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(16, 22, 25, 0.82);
  max-width: 62ch;
}

.page-news .pinned-card .pinned-card__scope {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}

/* 记录流 */
.page-news .record-list {
  position: relative;
  margin-top: 6px;
}

.page-news .record-list::before {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: var(--news-hair);
}

.page-news .record {
  position: relative;
  padding: 20px 0 20px 28px;
  border-top: 1px solid var(--news-hair);
}

.page-news .record:first-child {
  border-top: 0;
}

.page-news .record::before {
  content: "";
  position: absolute;
  left: 0;
  top: 30px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--index-gray);
  background: var(--paper);
  z-index: 1;
}

.page-news .record[open]::before {
  border-color: var(--amber);
  background: var(--amber);
}

.page-news .record > summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding-right: 28px;
}

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

.page-news .record > summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

.page-news .record__tagline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  flex-wrap: wrap;
}

.page-news .tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--news-hair-strong);
  font-size: 11.5px;
  line-height: 1.3;
  letter-spacing: 0.06em;
  color: var(--ink);
  white-space: nowrap;
}

.page-news .tag--version {
  border-color: rgba(178, 58, 46, 0.42);
  color: #8f2f26;
  background: rgba(178, 58, 46, 0.06);
}

.page-news .tag--data {
  border-color: rgba(201, 138, 46, 0.55);
  color: #8a5c14;
  background: rgba(201, 138, 46, 0.08);
}

.page-news .tag--device {
  border-color: rgba(79, 122, 111, 0.5);
  color: #3d6359;
  background: rgba(79, 122, 111, 0.07);
}

.page-news .tag--visit {
  border-color: rgba(138, 133, 120, 0.55);
  color: #6d6559;
  background: rgba(138, 133, 120, 0.08);
}

.page-news .tag--feature {
  border-color: rgba(36, 54, 63, 0.42);
  color: var(--ink-2);
  background: rgba(36, 54, 63, 0.06);
}

.page-news .record__batch {
  margin-left: auto;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--index-gray);
}

.page-news .record__title {
  display: block;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.page-news .record__cue {
  position: absolute;
  right: 0;
  top: 27px;
  font-family: var(--font-mono);
  font-size: 17px;
  line-height: 1;
  color: var(--index-gray);
}

.page-news .record__cue::before {
  content: "+";
}

.page-news .record[open] .record__cue::before {
  content: "−";
}

.page-news .record__body {
  padding: 14px 0 2px;
  font-size: 14.5px;
  line-height: 1.9;
  color: rgba(16, 22, 25, 0.82);
}

.page-news .record__body p {
  margin: 0 0 14px;
  max-width: 62ch;
}

.page-news .record__facts {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  font-size: 13px;
}

.page-news .record__facts > div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.page-news .record__facts dt {
  margin: 0;
  min-width: 66px;
  color: var(--index-gray);
}

.page-news .record__facts dd {
  margin: 0;
  color: var(--ink-2);
}

.page-news .record__link {
  display: inline-block;
  font-size: 13.5px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--amber);
  padding-bottom: 1px;
  transition: color 160ms var(--ease);
}

.page-news .record__link:hover {
  color: var(--amber);
}

/* 五个栏目 */
.page-news .columns-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.page-news .column-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--news-hair);
  border: 1px solid var(--news-hair);
}

.page-news .column-cell {
  background: var(--paper-2);
  padding: 20px 18px;
}

.page-news .column-cell h3 {
  font-family: var(--font-kai);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 8px;
  color: var(--ink);
}

.page-news .column-cell p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(16, 22, 25, 0.78);
}

.page-news .columns-layout__fig {
  margin: 0;
}

/* 更新提醒 */
.page-news .remind-panel {
  background: var(--ink);
  color: var(--paper);
  padding: 30px 22px 28px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.page-news .remind-panel .section-label {
  color: var(--amber-soft);
  letter-spacing: 0.22em;
  margin: 0;
}

.page-news .remind-panel h2 {
  font-family: var(--font-serif);
  font-size: clamp(21px, 3.2vw, 28px);
  font-weight: 700;
  line-height: 1.35;
  margin: 12px 0 0;
  color: var(--paper-2);
}

.page-news .remind-panel__lede {
  margin: 14px 0 0;
  max-width: 54ch;
  font-size: 14.5px;
  line-height: 1.9;
  color: rgba(244, 239, 228, 0.76);
}

.page-news .remind-steps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-news .remind-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(244, 239, 228, 0.82);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(244, 239, 228, 0.14);
}

.page-news .remind-steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-news .remind-steps .mono {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--amber-soft);
  padding-top: 4px;
}

.page-news .remind-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* 往期归档 */
.page-news .archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.page-news .drawer-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
}

.page-news .drawer {
  background: var(--paper-2);
  border: 1px solid var(--news-hair);
  padding: 18px 18px 20px;
  position: relative;
}

.page-news .drawer__no {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--cinnabar);
  margin-bottom: 8px;
}

.page-news .drawer h3 {
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 8px;
  color: var(--ink);
}

.page-news .drawer p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(16, 22, 25, 0.76);
}

.page-news .archive-side {
  display: grid;
  gap: 20px;
}

.page-news .archive-side__note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-2);
  border-left: 2px solid var(--amber);
  padding-left: 14px;
}

.page-news .archive-side__note a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--amber);
  margin-left: 2px;
}

.page-news .archive-side__note a:hover {
  color: var(--amber);
}

/* 响应式 */
@media (min-width: 560px) {
  .page-news .column-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-news .archive-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 240px);
    gap: 28px;
  }

  .page-news .drawer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-news .news-masthead {
    padding: 52px 0 72px;
  }

  .page-news .news-masthead__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 64px;
    align-items: end;
    margin-top: 44px;
  }

  .page-news .news-masthead__side {
    padding-top: 22px;
    padding-bottom: 4px;
  }

  .page-news .news-layout {
    grid-template-columns: 208px minmax(0, 1fr);
    gap: 56px;
    padding-top: 56px;
    padding-bottom: 104px;
  }

  .page-news .news-rail {
    position: sticky;
    top: calc(var(--header-h) + 28px);
    margin-bottom: 0;
  }

  .page-news .columns-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
  }

  .page-news .column-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-news .remind-panel {
    padding: 42px 40px 40px;
  }

  .page-news .archive-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 36px;
  }

  .page-news .record__title {
    font-size: 18px;
  }
}

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

  .page-news .drawer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
