.page-news {
  --news-edge: rgba(107, 74, 47, 0.26);
  --news-hair: rgba(140, 147, 132, 0.42);
  position: relative;
  isolation: isolate;
  background-color: var(--c-porch);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-prose);
  padding-bottom: var(--space-8);
  overflow-x: hidden;
}

.page-news::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(140, 147, 132, 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(140, 147, 132, 0.09) 1px, transparent 1px);
  background-size: var(--grid-step) var(--grid-step);
}

.page-news .breadcrumb {
  padding-top: var(--space-5);
}

.page-news .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  color: var(--c-wood);
}

.page-news .breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin-right: var(--space-2);
  color: var(--c-gridline);
}

.page-news .breadcrumb__item a {
  color: var(--c-wood);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-news .breadcrumb__item a:hover,
.page-news .breadcrumb__item a:focus-visible {
  border-bottom-color: var(--c-bookmark);
}

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

.page-news .news-hero {
  display: grid;
  gap: var(--space-6);
  padding: var(--space-6) 0 var(--space-7);
}

.page-news .news-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  padding: 7px 16px 7px 14px;
  background: var(--c-paper);
  border: 1px solid var(--news-edge);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.04em;
  color: var(--c-wood);
}

.page-news .news-hero__eyebrow .dial-index {
  color: var(--c-bookmark);
  font-weight: 600;
}

.page-news .news-hero h1 {
  font-family: var(--font-head);
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0.03em;
  color: var(--c-wood-shadow);
  margin: 0 0 var(--space-4);
}

.page-news .news-hero__lead {
  max-width: 47ch;
  margin: 0 0 var(--space-5);
}

.page-news .news-hero__note {
  max-width: 48ch;
  margin: 0;
  padding: var(--space-3) 0 var(--space-3) var(--space-4);
  border-left: 3px solid var(--c-bookmark);
  background: linear-gradient(to right, rgba(210, 84, 42, 0.08), transparent 72%);
  color: var(--c-wood-shadow);
}

.page-news .news-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: var(--space-5) 0 0;
  padding: 0;
  background: var(--news-hair);
  border: 1px solid var(--news-hair);
}

.page-news .news-stat {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: var(--space-3) var(--space-4);
  background: var(--c-paper);
}

.page-news .news-stat__num {
  font-family: var(--font-mono);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-bookmark);
}

.page-news .news-stat__label {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--c-wood);
}

.page-news .news-hero__frame {
  position: relative;
  margin: 0;
  padding: 12px;
  background: var(--c-paper);
  border: 1px solid var(--news-edge);
}

.page-news .news-hero__frame::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  height: 1px;
  background: var(--c-light);
  opacity: 0.85;
}

.page-news .news-hero__frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-news .news-hero__frame figcaption {
  padding-top: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  line-height: 1.6;
  color: var(--c-wood);
}

/* ---------- 章节骨架 ---------- */

.page-news .news-section {
  position: relative;
  padding: var(--space-7) 0;
}

.page-news .news-section + .news-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--c-gridline);
  opacity: 0.4;
  box-shadow: 0 0 8px rgba(242, 183, 92, 0.7);
}

.page-news .news-section__head {
  max-width: 64ch;
  margin-bottom: var(--space-6);
}

.page-news .news-section__kicker {
  margin: 0 0 var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.14em;
  color: var(--c-wood);
}

.page-news .news-section__head h2 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-head);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.015em;
  color: var(--c-wood-shadow);
}

.page-news .news-section__head p:last-child {
  margin: 0;
}

/* ---------- 时间轴 ---------- */

.page-news .news-archive {
  display: grid;
  gap: var(--space-5);
}

.page-news .news-filter {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--c-grain);
  border: 1px solid var(--news-edge);
}

.page-news .news-filter__label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.12em;
  color: var(--c-wood);
}

.page-news .news-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.page-news .news-chip {
  appearance: none;
  min-height: 44px;
  padding: 0 var(--space-4);
  border: 1px solid var(--news-edge);
  border-radius: var(--radius-pill);
  background: var(--c-paper);
  color: var(--c-wood);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background-color 0.18s var(--ease-out), color 0.18s var(--ease-out), border-color 0.18s var(--ease-out);
}

.page-news .news-chip:hover {
  border-color: var(--c-light);
}

.page-news .news-chip[aria-pressed="true"],
.page-news .news-chip.is-active {
  background: var(--c-wood);
  border-color: var(--c-wood);
  color: var(--c-paper);
}

.page-news .news-chip:focus-visible {
  outline: 2px solid var(--c-bookmark);
  outline-offset: 2px;
}

.page-news .news-track {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .news-track::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-light), var(--c-grain) 38%, var(--c-grain));
}

.page-news .news-node {
  position: relative;
  padding-left: var(--space-6);
}

.page-news .news-node + .news-node {
  margin-top: var(--space-4);
}

.page-news .news-node::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-paper);
  border: 2px solid var(--c-ink-green);
  box-shadow: 0 0 0 4px var(--c-porch);
}

.page-news .news-node[data-filter-item="界面调整"]::before {
  border-color: var(--c-light);
}

.page-news .news-node[data-filter-item="登录流程"]::before {
  border-color: var(--c-bookmark);
}

.page-news .news-node[data-filter-item="回访表单"]::before {
  border-color: var(--c-ink-green);
}

.page-news .news-node[data-filter-item="帮助文档"]::before {
  border-color: var(--c-wood);
}

.page-news .news-node.is-hidden {
  display: none;
}

.page-news .news-entry {
  padding: var(--space-4) var(--space-5) var(--space-4) var(--space-4);
  background: var(--c-paper);
  border: 1px solid var(--news-edge);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.page-news .news-entry__summary {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "meta toggle"
    "title toggle";
  gap: var(--space-2) var(--space-3);
  align-items: center;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
}

.page-news .news-entry__summary::-webkit-details-marker {
  display: none;
}

.page-news .news-entry__summary:focus-visible {
  outline: 2px solid var(--c-bookmark);
  outline-offset: 4px;
}

.page-news .news-entry__meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

.page-news .news-entry__num {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-bookmark);
}

.page-news .news-entry__when {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  color: var(--c-gridline);
}

.page-news .news-entry__title {
  grid-area: title;
  font-family: var(--font-head);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.42;
  color: var(--c-wood-shadow);
}

.page-news .news-entry__toggle {
  grid-area: toggle;
  align-self: start;
  position: relative;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid var(--news-edge);
  border-radius: 50%;
}

.page-news .news-entry__toggle::before,
.page-news .news-entry__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--c-wood);
  transition: transform 0.22s var(--ease-out), opacity 0.22s var(--ease-out);
}

.page-news .news-entry__toggle::before {
  width: 12px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.page-news .news-entry__toggle::after {
  width: 1.5px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.page-news .news-entry[open] .news-entry__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.page-news .news-entry__body {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px dashed var(--news-hair);
}

.page-news .news-entry__body > p {
  max-width: 62ch;
  margin: 0;
}

.page-news .news-entry__split {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-4) 0 0;
  padding: 0;
  max-width: 62ch;
}

.page-news .news-entry__split-item {
  padding-left: var(--space-3);
  border-left: 3px solid var(--c-light);
}

.page-news .news-entry__split-item--const {
  border-left-color: var(--c-ink-green);
}

.page-news .news-entry__split-item dt {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.08em;
  color: var(--c-wood);
}

.page-news .news-entry__split-item dd {
  margin: var(--space-1) 0 0;
  font-size: 0.9375rem;
}

.page-news .copy-btn {
  margin-top: var(--space-4);
}

.page-news .news-timeline__figure {
  max-width: 760px;
  margin: var(--space-6) 0 0;
}

/* ---------- 媒体框 ---------- */

.page-news .media-frame {
  margin: 0;
  padding: 10px;
  background: var(--c-paper);
  border: 1px solid var(--news-edge);
}

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

.page-news .news-timeline__figure img {
  aspect-ratio: 4 / 3;
}

.page-news .media-frame--portrait img {
  aspect-ratio: 1 / 1;
}

.page-news .media-frame--wide img {
  aspect-ratio: 14 / 9;
}

.page-news .media-frame__caption {
  padding: var(--space-2) var(--space-1) 0;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  line-height: 1.6;
  color: var(--c-wood);
}

/* ---------- 四类变更 ---------- */

.page-news .news-types__grid {
  display: grid;
  gap: var(--space-4);
}

.page-news .news-type {
  position: relative;
  padding: var(--space-5) var(--space-4) var(--space-5) var(--space-6);
  background: var(--c-paper);
  border: 1px solid var(--news-edge);
}

.page-news .news-type::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--c-light);
}

.page-news .news-type:nth-child(2)::before {
  background: var(--c-bookmark);
}

.page-news .news-type:nth-child(3)::before {
  background: var(--c-ink-green);
}

.page-news .news-type:nth-child(4)::before {
  background: var(--c-wood);
}

.page-news .news-type__code {
  margin: 0 0 var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.12em;
  color: var(--c-bookmark);
}

.page-news .news-type h3 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-head);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--c-wood-shadow);
}

.page-news .news-type p {
  margin: 0 0 var(--space-3);
  font-size: 0.9375rem;
}

.page-news .news-type__note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  line-height: 1.6;
  color: var(--c-wood) !important;
}

.page-news .news-types__figure {
  margin-top: var(--space-5);
}

/* ---------- 对照三步 ---------- */

.page-news .news-steps {
  display: grid;
  gap: var(--space-4);
  margin: 0 0 var(--space-6);
  padding: 0;
  list-style: none;
}

.page-news .news-step {
  position: relative;
  padding: var(--space-5);
  background: var(--c-paper);
  border: 1px solid var(--news-edge);
  border-top: 3px solid var(--c-bookmark);
}

.page-news .news-step__num {
  display: block;
  margin-bottom: var(--space-3);
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--c-bookmark);
}

.page-news .news-step h3 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--c-wood-shadow);
}

.page-news .news-step p {
  margin: 0;
  font-size: 0.9375rem;
}

.page-news .news-step a {
  color: var(--c-bookmark);
  text-decoration: none;
  border-bottom: 1px solid rgba(210, 84, 42, 0.45);
}

.page-news .news-step a:hover,
.page-news .news-step a:focus-visible {
  border-bottom-color: var(--c-bookmark);
}

.page-news .news-compare__figure {
  margin-top: var(--space-5);
}

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

.page-news .news-cadence__grid {
  display: grid;
  gap: var(--space-4);
}

.page-news .news-cadence__item {
  padding: var(--space-5);
  background: var(--c-paper);
  border: 1px solid var(--news-edge);
  border-top: 3px solid var(--c-light);
}

.page-news .news-cadence__item--urgent {
  border-top-color: var(--c-bookmark);
}

.page-news .news-cadence__item--review {
  border-top-color: var(--c-ink-green);
}

.page-news .news-cadence__code {
  margin: 0 0 var(--space-2);
  font-family: var(--font-mono);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-wood);
}

.page-news .news-cadence__item h3 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--c-wood-shadow);
}

.page-news .news-cadence__item p:last-child {
  margin: 0;
  font-size: 0.9375rem;
}

/* ---------- 档案索引 ---------- */

.page-news .news-ledger__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--news-hair);
}

.page-news .news-ledger__row {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--news-hair);
}

.page-news .news-ledger__key {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--c-wood-shadow);
}

.page-news .news-ledger__dots {
  flex: 1 1 auto;
  min-width: 24px;
  border-bottom: 1px dotted rgba(140, 147, 132, 0.75);
  transform: translateY(-4px);
}

.page-news .news-ledger__val {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  color: var(--c-bookmark);
}

.page-news .news-next {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.page-news .news-next .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

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

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

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

@media (min-width: 900px) {
  .page-news .news-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: end;
    gap: var(--space-7);
    padding-top: var(--space-7);
  }

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

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

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

  .page-news .news-track::before {
    left: 7px;
  }

  .page-news .news-node {
    padding-left: var(--space-7);
  }

  .page-news .news-node::before {
    left: 1px;
  }
}

@media (min-width: 1080px) {
  .page-news .news-types {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    grid-template-areas:
      "head figure"
      "grid figure";
    gap: var(--space-5) var(--space-6);
    align-items: start;
  }

  .page-news .news-types .news-section__head {
    grid-area: head;
    margin-bottom: 0;
  }

  .page-news .news-types__grid {
    grid-area: grid;
  }

  .page-news .news-types__figure {
    grid-area: figure;
    margin-top: 0;
  }

  .page-news .news-timeline__figure {
    margin-left: auto;
    margin-right: auto;
  }
}
