/* ================= 变更与专栏 / page-news ================= */

.page-news {
  --news-soft: #B7C6D3;
  --news-dim: #8FA3B4;
  background: var(--mist);
  color: var(--deep-text);
  padding-bottom: clamp(48px, 8vw, 96px);
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--mist);
  padding: clamp(20px, 4.2vw, 38px) 0 clamp(22px, 4vw, 36px);
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -110px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 43, 0.26), rgba(255, 106, 43, 0) 68%);
  pointer-events: none;
}

.page-news .news-hero .breadcrumb {
  position: relative;
  z-index: 1;
}

.page-news .news-hero .breadcrumb__link,
.page-news .news-hero .breadcrumb__item {
  color: #9DB0C0;
}

.page-news .news-hero .breadcrumb__link:hover,
.page-news .news-hero .breadcrumb__link:focus-visible {
  color: var(--orange);
}

.page-news .news-hero .breadcrumb__item [aria-current="page"] {
  color: var(--mist);
  font-weight: 700;
}

.page-news .news-hero .kicker {
  display: inline-block;
  margin: 16px 0 0;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 106, 43, 0.14);
  border: 1px solid rgba(255, 106, 43, 0.42);
  color: var(--orange);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.page-news .news-hero h1 {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  max-width: 20em;
  font-size: clamp(30px, 5.4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #fff;
}

.page-news .news-hero__lead {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  max-width: 44em;
  font-size: 17px;
  line-height: 1.85;
  color: var(--news-soft);
}

/* 状态条 */
.page-news .news-status {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(20px, 4vw, 32px);
  background: rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-news .news-status__cell {
  background: var(--ink-2);
  padding: 13px 16px 15px;
}

.page-news .news-status__key {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.09em;
  color: var(--news-dim);
}

.page-news .news-status__val {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--mist);
}

.page-news .news-status__val b {
  font-family: var(--font-mono);
  font-size: 21px;
  color: var(--orange);
  margin-right: 3px;
}

/* 筛选胶囊 */
.page-news .news-filter {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: clamp(18px, 3vw, 26px);
  padding-top: clamp(14px, 2.4vw, 20px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.page-news .news-filter__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--news-dim);
}

.page-news .news-filter__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .news-filter .chip {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.18s ease-out, color 0.18s ease-out, border-color 0.18s ease-out;
}

.page-news .news-filter .chip:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.page-news .news-filter .chip[aria-pressed="true"] {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
  font-weight: 700;
}

/* ---------- 内容流 ---------- */
.page-news .news-stream {
  padding-top: clamp(26px, 5vw, 52px);
}

.page-news .section-head__note a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.page-news .section-head__note a:hover {
  color: var(--orange);
}

.page-news .media-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-left: 0;
  margin-right: 0;
}

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

.page-news .news-timeline-media {
  margin-top: 0;
  margin-bottom: clamp(20px, 3.4vw, 32px);
}

/* ---------- 批次时间轴 ---------- */
.page-news .news-timeline {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 4px 0 0 26px;
}

.page-news .news-timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 12px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--orange) 0%, var(--slate) 26%, var(--line) 100%);
}

.page-news .news-item {
  position: relative;
  padding-bottom: clamp(12px, 2vw, 18px);
}

.page-news .news-item:last-child {
  padding-bottom: 0;
}

.page-news .news-item__dot {
  position: absolute;
  left: -26px;
  top: 22px;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--mist);
  border: 3px solid var(--orange);
}

.page-news .news-item__box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.page-news .news-item__box[open] {
  border-color: var(--slate);
}

.page-news .news-item__head {
  display: grid;
  grid-template-columns: clamp(44px, 11vw, 58px) minmax(0, 1fr);
  gap: 4px 14px;
  align-items: center;
  padding: 15px 16px;
  cursor: pointer;
  list-style: none;
  background: linear-gradient(90deg, rgba(27, 42, 56, 0.07), rgba(27, 42, 56, 0) 46%);
}

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

.page-news .news-item__head::marker {
  content: "";
}

.page-news .news-item__no {
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: clamp(22px, 4.4vw, 27px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--orange);
  text-align: center;
}

.page-news .news-item__title {
  grid-column: 2;
  grid-row: 1;
  font-size: clamp(16px, 2.2vw, 18px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.page-news .news-item__head .tag {
  grid-column: 2;
  grid-row: 2;
  justify-self: start;
}

.page-news .news-item__panel {
  padding: 15px 16px 18px;
  border-top: 1px solid var(--line);
  background: rgba(244, 247, 248, 0.72);
}

.page-news .news-spec {
  margin: 0;
  display: grid;
  gap: 10px;
}

.page-news .news-spec__row {
  display: grid;
  gap: 3px;
}

.page-news .news-spec dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.page-news .news-spec dd {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--deep-text);
}

/* ---------- 版本迭代 ---------- */
.page-news .news-version-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

.page-news .news-versions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-news .news-ver {
  display: grid;
  gap: 10px;
  padding: 16px 18px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.page-news .news-ver:first-child {
  border-color: var(--orange);
  box-shadow: var(--shadow);
}

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

.page-news .news-ver__no {
  display: inline-block;
  padding: 3px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--mist);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-news .news-ver__body p {
  margin: 0 0 7px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--slate);
}

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

.page-news .news-ver__body b {
  display: inline-block;
  min-width: 5em;
  color: var(--ink);
  font-weight: 700;
}

.page-news .news-version-media {
  margin: 0;
}

/* ---------- 排查笔记 ---------- */
.page-news .news-notes-media {
  margin-top: 0;
  margin-bottom: clamp(18px, 3vw, 28px);
}

.page-news .news-notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 22px);
}

.page-news .news-note {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 20px 20px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.24s ease-out, border-color 0.24s ease-out;
}

.page-news .news-note:hover {
  transform: translateY(-3px);
  border-color: var(--slate);
}

.page-news .news-note__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .news-note__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--ink);
}

.page-news .news-note__excerpt {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--slate);
}

.page-news .news-note__meta {
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: #6D8296;
}

/* ---------- 年度观察 ---------- */
.page-news .news-annual__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-news .news-topic {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.page-news .news-topic__no {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  color: var(--orange);
}

.page-news .news-topic h3 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}

.page-news .news-topic p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate);
}

/* ---------- 订阅区 ---------- */
.page-news .news-sub {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: center;
  padding: clamp(20px, 3.4vw, 34px);
  background: var(--ink-2);
  border-radius: var(--radius-lg);
  color: var(--mist);
  overflow: hidden;
}

.page-news .news-sub__media {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

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

.page-news .news-sub .kicker {
  color: var(--orange);
}

.page-news .news-sub h2 {
  margin: 10px 0 0;
  font-size: clamp(23px, 3.4vw, 33px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: #fff;
}

.page-news .news-sub__body > p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--news-soft);
}

.page-news .news-sub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.page-news .news-sub .btn--ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--mist);
}

.page-news .news-sub .btn--ghost:hover,
.page-news .news-sub .btn--ghost:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
}

.page-news .news-sub [data-toggle-state][aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--ink);
}

.page-news .news-sub__body .news-sub__note {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--news-dim);
}

.page-news .news-sub__note a {
  color: var(--mist);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.page-news .news-sub__note a:hover {
  color: var(--orange);
}

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

  .page-news .news-spec__row {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 0 14px;
    align-items: baseline;
  }

  .page-news .news-item__head {
    padding: 17px 20px;
  }

  .page-news .news-item__panel {
    padding: 16px 20px 20px;
  }
}

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

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

@media (min-width: 900px) {
  .page-news .news-version-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-news .news-sub {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .page-news .news-timeline {
    padding-left: 34px;
  }

  .page-news .news-timeline::before {
    left: 13px;
  }

  .page-news .news-item__dot {
    left: -34px;
    top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-note,
  .page-news .news-filter .chip {
    transition: none;
  }

  .page-news .news-note:hover {
    transform: none;
  }
}
