/* =============== 专题中心 · page-news =============== */

.page-news {
  --cat-stage: var(--green);
  --cat-review: var(--aqua);
  --cat-team: var(--violet);
  --cat-tips: var(--orange);
  padding-bottom: clamp(48px, 9vw, 96px);
}

.page-news .visually-quiet {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

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

.page-news .news-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(22px, 5vw, 48px) clamp(20px, 4vw, 40px);
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  top: -35%;
  right: -14%;
  width: min(84vw, 780px);
  height: 170%;
  background: linear-gradient(148deg, rgba(0, 168, 112, 0.34), rgba(31, 217, 196, 0.09) 52%, transparent 78%);
  clip-path: polygon(44% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
  z-index: 0;
}

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

.page-news .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 4vw, 36px);
  align-items: end;
  margin-top: clamp(24px, 5vw, 44px);
}

.page-news .news-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(40px, 11vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 900;
  color: var(--mist);
}

.page-news .news-lede {
  margin: 20px 0 0;
  max-width: 60ch;
  font-size: clamp(16px, 2.1vw, 19px);
  line-height: 1.8;
  color: var(--grey);
}

.page-news .rail-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: var(--green);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}

/* ---------- 置顶专题 ---------- */

.page-news .featured-zone {
  padding-block: clamp(24px, 5vw, 48px);
}

.page-news .featured {
  position: relative;
}

.page-news .featured-media {
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-xl);
  overflow: hidden;
}

.page-news .featured-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 23, 35, 0.05) 30%, rgba(10, 23, 35, 0.72) 100%);
  pointer-events: none;
}

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

.page-news .featured-body {
  margin-top: -34px;
  position: relative;
  z-index: 2;
  padding: clamp(22px, 5vw, 40px);
  border-radius: var(--r-xl);
  background: var(--ink-2);
}

.page-news .chip-row {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .featured-body h3 {
  margin: 0 0 16px;
  font-size: clamp(24px, 4.6vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--mist);
}

.page-news .featured-body p {
  margin: 0 0 14px;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--grey);
}

.page-news .featured-body p:last-of-type {
  margin-bottom: 22px;
}

.page-news .featured-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.page-news .featured-time {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* ---------- 列表区 ---------- */

.page-news .list-zone {
  padding-block: clamp(36px, 7vw, 72px);
}

.page-news .list-head {
  max-width: 68ch;
  margin-bottom: clamp(24px, 5vw, 44px);
}

.page-news .list-head h2,
.page-news .serial-main h2,
.page-news .subscribe-copy h2 {
  margin: 10px 0 12px;
  font-size: clamp(26px, 5.4vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--mist);
}

.page-news .list-lede,
.page-news .serial-lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--grey);
}

.page-news .tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: start;
}

.page-news .tab-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-news .tab-list > [role="tab"] {
  flex: 0 0 auto;
  scroll-snap-align: start;
  appearance: none;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  padding: 11px 20px;
  border-radius: var(--pill);
  border: 1px solid rgba(169, 186, 198, 0.3);
  background: transparent;
  color: var(--mist);
  cursor: pointer;
  transition: background 0.24s var(--ease), color 0.24s var(--ease), border-color 0.24s var(--ease);
}

.page-news .tab-list > [role="tab"]:hover {
  border-color: var(--green);
  color: var(--green);
}

.page-news .tab-list > [role="tab"]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.page-news .tab-list > [role="tab"][aria-selected="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.page-news .tab-panel {
  display: grid;
  gap: clamp(14px, 2.6vw, 22px);
}

.page-news .tab-panel[hidden] {
  display: none;
}

/* ---------- 单条专题 ---------- */

.page-news .topic-item {
  position: relative;
  padding: 20px 0 20px 22px;
  border-bottom: 1px solid rgba(169, 186, 198, 0.16);
  transition: transform 0.28s var(--ease);
}

.page-news .tab-panel > .topic-item:first-child {
  border-top: 1px solid rgba(169, 186, 198, 0.16);
}

.page-news .topic-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 4px;
  border-radius: 4px;
  background: var(--cat-stage);
  transition: top 0.28s var(--ease), bottom 0.28s var(--ease);
}

.page-news .topic-item:hover::before {
  top: 12px;
  bottom: 12px;
}

.page-news [data-panel="review"] .topic-item::before {
  background: var(--cat-review);
}

.page-news [data-panel="team"] .topic-item::before {
  background: var(--cat-team);
}

.page-news [data-panel="tips"] .topic-item::before {
  background: var(--cat-tips);
}

.page-news .topic-item--media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.page-news .topic-thumb {
  border-radius: var(--r-m);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.page-news .topic-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.42s var(--ease);
}

.page-news .topic-item--media:hover .topic-thumb img {
  transform: scale(1.03);
}

.page-news .topic-cat {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.page-news .topic-body h3 {
  margin: 0 0 10px;
  font-size: clamp(19px, 3.4vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 800;
  color: var(--mist);
}

.page-news .topic-summary {
  margin: 0 0 10px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--grey);
  max-width: 64ch;
}

.page-news .topic-time {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--gold-soft);
}

/* ---------- 连载区 ---------- */

.page-news .serial-zone {
  padding-block: clamp(36px, 7vw, 76px);
  border-top: 1px solid rgba(169, 186, 198, 0.14);
}

.page-news .serial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 4vw, 36px);
}

.page-news .serial-list {
  list-style: none;
  margin: clamp(24px, 5vw, 40px) 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.page-news .serial-item {
  padding: clamp(18px, 3.4vw, 26px);
  border-radius: var(--r-l);
  background: var(--ink-2);
}

.page-news .serial-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.page-news .serial-head h3 {
  margin: 0;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 800;
  color: var(--mist);
}

.page-news .serial-count {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.04em;
}

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

.page-news .serial-bar {
  height: 6px;
  border-radius: var(--pill);
  background: rgba(169, 186, 198, 0.2);
  overflow: hidden;
}

.page-news .serial-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.page-news .serial-bar--gold > span {
  background: var(--gold);
}

.page-news .serial-bar--aqua > span {
  background: var(--aqua);
}

.page-news .serial-foot {
  margin: 10px 0 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--grey);
}

/* ---------- 订阅 ---------- */

.page-news .subscribe-zone {
  padding-block: clamp(32px, 6vw, 64px);
}

.page-news .subscribe-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 4vw, 40px);
  align-items: center;
  padding: clamp(24px, 5vw, 52px);
  border-radius: var(--r-xl);
  background: linear-gradient(118deg, rgba(0, 168, 112, 0.22), rgba(242, 194, 48, 0.12) 62%, rgba(123, 92, 255, 0.1));
}

.page-news .subscribe-copy p {
  margin: 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--mist);
}

.page-news .subscribe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- 回到顶部 ---------- */

.page-news .back-top {
  position: fixed;
  right: clamp(14px, 4vw, 32px);
  bottom: 92px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 10px 26px rgba(10, 23, 35, 0.45);
  transition: transform 0.24s var(--ease), background 0.24s var(--ease);
}

.page-news .back-top:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
}

.page-news .back-top:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- 平板以上 ---------- */

@media (min-width: 720px) {
  .page-news .topic-item--media {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 22px;
  }

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

  .page-news .serial-list {
    gap: 22px;
  }
}

@media (min-width: 900px) {
  .page-news .hero-grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 3fr);
  }

  .page-news .hero-rail {
    justify-self: end;
    text-align: right;
  }

  .page-news .rails-note,
  .page-news .rail-note {
    writing-mode: vertical-rl;
  }

  .page-news .hero-rail .rail-note {
    writing-mode: vertical-rl;
    max-height: 260px;
    margin-left: auto;
  }

  .page-news .featured-media {
    aspect-ratio: 16 / 8;
    clip-path: polygon(0 0, 100% 0, 100% 76%, 0 100%);
  }

  .page-news .featured-body {
    margin-top: -8%;
    margin-left: clamp(20px, 6vw, 80px);
    width: min(66%, 720px);
    box-shadow: 0 26px 60px rgba(10, 23, 35, 0.55);
  }

  .page-news .tabs {
    grid-template-columns: minmax(190px, 232px) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 52px);
  }

  .page-news .tab-list {
    position: sticky;
    top: calc(var(--header-h) + 28px);
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-news .tab-list > [role="tab"] {
    text-align: left;
    white-space: normal;
  }

  .page-news .serial-grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 3fr);
  }

  .page-news .serial-rail {
    justify-self: end;
    align-self: start;
    margin-top: clamp(40px, 6vw, 80px);
  }

  .page-news .back-top {
    bottom: clamp(28px, 4vw, 44px);
  }
}

/* ---------- 动效偏好 ---------- */

@media (prefers-reduced-motion: reduce) {
  .page-news .topic-item,
  .page-news .topic-thumb img,
  .page-news .back-top {
    transition: none;
  }

  .page-news .topic-item--media:hover .topic-thumb img {
    transform: none;
  }
}
<<<END>>>
