/* ===== 专题动态 / page-news ===== */

.page-news {
  --tl-col: 68px;
  --news-hair: rgba(153, 162, 201, .16);
  position: relative;
  overflow-x: clip;
}

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

.page-news .news-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(44px, 6.5vw, 96px) 0 clamp(42px, 5.5vw, 76px);
  border-bottom: 1px solid rgba(164, 107, 255, .2);
}

.page-news .news-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .36;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 15, 44, .44) 0%, rgba(10, 15, 44, .88) 64%, var(--ink) 100%),
    radial-gradient(96% 84% at 86% 2%, rgba(164, 107, 255, .38), transparent 64%),
    radial-gradient(64% 66% at 2% 98%, rgba(53, 224, 232, .16), transparent 66%);
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  top: -34%;
  right: -10%;
  z-index: -1;
  width: 42%;
  height: 168%;
  transform: rotate(13deg);
  pointer-events: none;
  background: linear-gradient(148deg, rgba(53, 224, 232, .16), rgba(164, 107, 255, .07) 52%, transparent 76%);
}

.page-news .news-hero-inner {
  position: relative;
  max-width: 62em;
}

.page-news .news-crumbs {
  margin-bottom: clamp(20px, 2.6vw, 34px);
}

.page-news .news-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted);
}

.page-news .news-crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(153, 162, 201, .55);
}

.page-news .news-crumbs a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease-out), border-color .2s var(--ease-out);
}

.page-news .news-crumbs a:hover,
.page-news .news-crumbs a:focus-visible {
  color: var(--cyan);
  border-bottom-color: rgba(53, 224, 232, .5);
}

.page-news .news-crumbs [aria-current="page"] {
  color: var(--white);
}

.page-news .news-hero h1 {
  margin: 16px 0 0;
  font-size: clamp(42px, 7.4vw, 96px);
  line-height: 1.02;
  letter-spacing: .06em;
  font-weight: 900;
  color: var(--white);
}

.page-news .news-lede {
  max-width: 34em;
  margin: 22px 0 0;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.95;
  color: var(--muted);
}

.page-news .news-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(26px, 3vw, 38px);
}

/* ---------- 类型筛选条 ---------- */

.page-news .filter-bar {
  position: relative;
  border-bottom: 1px solid var(--news-hair);
  background: linear-gradient(180deg, rgba(20, 26, 63, .7), rgba(10, 15, 44, 0));
}

.page-news .filter-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.page-news .filter-label {
  margin-right: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--muted);
}

.page-news .filter-chip {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid currentColor;
  border-radius: 2px;
  color: var(--violet);
  font-size: 13px;
  letter-spacing: .1em;
  text-decoration: none;
  transition: color .25s var(--ease-out), background-color .25s var(--ease-out);
}

.page-news .filter-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(238, 241, 255, .2) 0 2px, transparent 2px 7px);
  transition: opacity .25s var(--ease-out);
}

.page-news .filter-chip:hover::before,
.page-news .filter-chip:focus-visible::before {
  opacity: 1;
}

.page-news .filter-chip:hover,
.page-news .filter-chip:focus-visible {
  color: var(--white);
  background-color: rgba(238, 241, 255, .06);
}

.page-news .filter-chip.chip-cyan { color: var(--cyan); }
.page-news .filter-chip.chip-warn { color: var(--warn); }
.page-news .filter-chip.chip-ok { color: var(--ok); }
.page-news .filter-chip.chip-gold { color: var(--gold); }

/* ---------- 章节与标题 ---------- */

.page-news .section {
  padding: clamp(44px, 5.6vw, 80px) 0;
}

.page-news .section-head {
  max-width: 48em;
  margin-bottom: clamp(26px, 3.2vw, 42px);
}

.page-news .section-head h2 {
  margin: 12px 0 0;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.2;
  letter-spacing: .03em;
  color: var(--white);
}

.page-news .section-head p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.95;
}

/* ---------- 阅读方式 ---------- */

.page-news .batch-notes {
  list-style: none;
  margin: 0;
  padding: 0 0 0 clamp(18px, 2vw, 26px);
  border-left: 1px solid rgba(164, 107, 255, .34);
}

.page-news .batch-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
  align-items: start;
  padding: clamp(20px, 2.4vw, 28px) 0;
}

.page-news .batch-item + .batch-item {
  border-top: 1px solid var(--news-hair);
}

.page-news .batch-num {
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: .04em;
  color: rgba(164, 107, 255, .9);
}

.page-news .batch-item h3 {
  margin: 0 0 8px;
  font-size: clamp(17px, 1.5vw, 19px);
  letter-spacing: .02em;
  color: var(--white);
}

.page-news .batch-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

/* ---------- 时间线 ---------- */

.page-news .tl {
  position: relative;
  display: grid;
  gap: clamp(16px, 1.8vw, 24px);
}

.page-news .tl::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: calc(var(--tl-col) / 2);
  width: 1px;
  transform: translateX(-50%);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(164, 107, 255, .55), rgba(53, 224, 232, .4) 54%, rgba(164, 107, 255, .08));
}

.page-news .tl-item {
  display: grid;
  grid-template-columns: var(--tl-col) minmax(0, 1fr);
  align-items: start;
}

.page-news .tl-rail {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 16px;
}

.page-news .tl-batch {
  display: inline-block;
  padding: 3px 6px;
  border: 1px solid rgba(53, 224, 232, .42);
  border-radius: 2px;
  background: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  white-space: nowrap;
  color: var(--cyan);
}

.page-news .tl-body {
  min-width: 0;
}

.page-news .tl-card {
  position: relative;
  padding: clamp(15px, 1.8vw, 20px) clamp(16px, 2vw, 24px) clamp(16px, 2vw, 22px);
  border: 1px solid var(--news-hair);
  border-left: 2px solid rgba(164, 107, 255, .6);
  border-radius: 0;
  background: linear-gradient(152deg, rgba(20, 26, 63, .9), rgba(20, 26, 63, .52));
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  transition: border-left-color .3s var(--ease-out), transform .3s var(--ease-out);
}

.page-news .tl-card:hover {
  border-left-color: var(--cyan);
  transform: translateX(3px);
}

.page-news .tl-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.page-news .tl-trigger:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.page-news .tl-heading {
  font-size: clamp(16px, 1.45vw, 19px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .01em;
  color: var(--white);
}

.page-news .tl-hint {
  flex: none;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  white-space: nowrap;
  color: var(--cyan);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}

.page-news .tl-card:hover .tl-hint,
.page-news .tl-trigger[aria-expanded="true"] .tl-hint {
  opacity: 1;
  transform: none;
}

.page-news .tl-summary {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.page-news .tl-card .accordion-panel {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(153, 162, 201, .28);
}

.page-news .tl-card .accordion-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.95;
}

/* ---------- 配图 ---------- */

.page-news .news-figure {
  margin: clamp(28px, 3.4vw, 44px) 0 0;
}

.page-news .news-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.page-news .news-figure figcaption {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: .04em;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 章节收尾 ---------- */

.page-news .section-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin: clamp(26px, 3vw, 38px) 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.page-news .section-foot span {
  max-width: 40em;
}

.page-news .section-foot a:not(.btn) {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 224, 232, .4);
  transition: border-color .2s var(--ease-out);
}

.page-news .section-foot a:not(.btn):hover,
.page-news .section-foot a:not(.btn):focus-visible {
  border-bottom-color: var(--cyan);
}

/* ---------- 四类公告 ---------- */

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

.page-news .type-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: clamp(14px, 2vw, 30px);
  align-items: center;
  padding: clamp(16px, 1.8vw, 22px) 0;
  border-bottom: 1px solid var(--news-hair);
  transition: background-color .25s var(--ease-out);
}

.page-news .type-row:hover {
  background: linear-gradient(90deg, rgba(164, 107, 255, .1), transparent 70%);
}

.page-news .type-mark {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: .16em;
  text-align: center;
}

.page-news .type-row--cyan .type-mark { color: var(--cyan); }
.page-news .type-row--warn .type-mark { color: var(--warn); }
.page-news .type-row--ok .type-mark { color: var(--ok); }
.page-news .type-row--gold .type-mark { color: var(--gold); }

.page-news .type-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.page-news .type-row a {
  white-space: nowrap;
  color: var(--white);
  font-size: 13px;
  letter-spacing: .06em;
  text-decoration: none;
  border-bottom: 1px solid rgba(238, 241, 255, .3);
  transition: color .2s var(--ease-out), border-color .2s var(--ease-out);
}

.page-news .type-row a:hover,
.page-news .type-row a:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* ---------- 阅读顺序 ---------- */

.page-news .read-path {
  list-style: none;
  margin: clamp(30px, 3.6vw, 48px) 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.page-news .read-path li {
  position: relative;
  padding-top: 18px;
  border-top: 2px solid rgba(164, 107, 255, .45);
}

.page-news .read-path li:nth-child(2) { border-top-color: rgba(53, 224, 232, .45); }
.page-news .read-path li:nth-child(3) { border-top-color: rgba(243, 185, 74, .45); }

.page-news .read-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted);
}

.page-news .read-path h3 {
  margin: 8px 0 6px;
  font-size: 17px;
  letter-spacing: .02em;
  color: var(--white);
}

.page-news .read-path p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

/* ---------- 栅格与响应式 ---------- */

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

@media (max-width: 860px) {
  .page-news .type-row {
    grid-template-columns: 118px minmax(0, 1fr);
    row-gap: 10px;
  }

  .page-news .type-row a {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  .page-news {
    --tl-col: 46px;
  }

  .page-news .tl-batch {
    font-size: 10px;
    letter-spacing: 0;
    padding: 2px 5px;
  }

  .page-news .tl-hint {
    display: none;
  }

  .page-news .tl-trigger {
    gap: 8px;
  }

  .page-news .tl-heading {
    font-size: 16px;
  }

  .page-news .batch-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .page-news .batch-num {
    font-size: 17px;
  }

  .page-news .type-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-news .type-mark {
    justify-self: start;
  }

  .page-news .type-row a {
    grid-column: auto;
  }

  .page-news .news-figure img {
    clip-path: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news *,
  .page-news *::before,
  .page-news *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }

  .page-news .tl-card:hover {
    transform: none;
  }
}
