/* ===================================================
   page-news — 运行动态
   =================================================== */

.page-news {
  --news-cat-pad: 10px 14px;
}

/* ---------- 首屏 ---------- */
.page-news .news-masthead {
  position: relative;
  overflow: hidden;
}

.page-news .news-masthead > .shell {
  position: relative;
  z-index: 1;
}

.page-news .news-masthead::after {
  content: "";
  position: absolute;
  top: 16%;
  right: -120px;
  width: 300px;
  height: 76px;
  background: var(--red);
  transform: skewX(-28deg);
  opacity: .9;
  pointer-events: none;
  z-index: 0;
}

.page-news .news-masthead__grid {
  display: grid;
  gap: 30px;
  margin-top: 24px;
}

.page-news .news-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--copper);
}

.page-news .news-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--copper);
}

.page-news .news-masthead__title {
  margin: 0 0 20px;
  font-size: clamp(29px, 7vw, 58px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--white);
}

.page-news .news-masthead__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--gray);
}

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

.page-news .news-stat {
  background: var(--ink);
  padding: 16px 12px;
}

.page-news .news-stat__value {
  display: block;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(22px, 5vw, 28px);
  line-height: 1.1;
  color: var(--white);
}

.page-news .news-stat__label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray);
}

@media (min-width: 900px) {
  .page-news .news-masthead__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 48px;
    align-items: end;
    margin-top: 32px;
  }

  .page-news .news-masthead::after {
    top: 22%;
    right: -80px;
    width: 360px;
    height: 88px;
  }
}

/* ---------- 置顶条目 ---------- */
.page-news .news-pin {
  position: relative;
  display: grid;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.page-news .news-pin::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--red), var(--red-deep));
  z-index: 2;
}

.page-news .news-pin__flag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  padding: 8px 24px 8px 20px;
  background: var(--red);
  color: var(--white);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}

.page-news .news-pin__main {
  padding: 58px 20px 26px;
}

.page-news .news-pin__code {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--copper);
}

.page-news .news-pin__title {
  margin: 0 0 16px;
  font-size: clamp(21px, 3.6vw, 32px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--white);
}

.page-news .news-pin__summary {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray);
}

.page-news .news-pin__facts {
  margin: 0 0 24px;
  border-top: 1px solid var(--line);
}

.page-news .news-pin__fact {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.page-news .news-pin__fact dt {
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--copper);
}

.page-news .news-pin__fact dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--white);
}

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

.page-news .news-pin__copy {
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gray);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  cursor: pointer;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}

.page-news .news-pin__copy:hover,
.page-news .news-pin__copy:focus-visible {
  border-color: var(--copper);
  color: var(--copper);
}

.page-news .news-pin__figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--panel-2);
  min-height: 220px;
}

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

@media (min-width: 900px) {
  .page-news .news-pin {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  }

  .page-news .news-pin__main {
    padding: 62px 40px 34px;
  }

  .page-news .news-pin__figure {
    min-height: 100%;
  }
}

/* ---------- 类别索引 ---------- */
.page-news .news-cats__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-bottom: 20px;
}

.page-news .news-cats__title {
  margin: 0;
  font-size: clamp(20px, 3.4vw, 28px);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--white);
}

.page-news .news-cats__note {
  margin: 0;
  font-size: 14px;
  color: var(--gray);
}

.page-news .news-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .news-cat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--news-cat-pad);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gray);
  font-size: 14px;
  text-decoration: none;
  transition: border-color .18s var(--ease), color .18s var(--ease), background-color .18s var(--ease);
}

.page-news .news-cat:hover,
.page-news .news-cat:focus-visible {
  border-color: var(--copper);
  background: var(--panel);
  color: var(--white);
}

.page-news .news-cat__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--copper);
}

.page-news .news-cat__count {
  padding-left: 10px;
  border-left: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray);
}

/* ---------- 条目列表 ---------- */
.page-news .news-list__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-bottom: 8px;
}

.page-news .news-list__title {
  margin: 0;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--white);
}

.page-news .news-list__note {
  margin: 0;
  font-size: 13px;
  color: var(--gray);
}

.page-news .news-group {
  margin-top: 40px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.page-news .news-group__head {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.page-news .news-group__head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 2px;
  background: var(--red);
}

.page-news .news-group__code {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--red);
}

.page-news .news-group__title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: var(--white);
}

.page-news .news-group__count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gray);
}

.page-news .news-entries {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .news-entry {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 6px 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.page-news .news-entry__num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--copper);
  padding-top: 3px;
}

.page-news .news-entry__body {
  grid-column: 2;
}

.page-news .news-entry__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--white);
  transition: color .18s var(--ease);
}

.page-news .news-entry__summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
}

.page-news .news-entry__time {
  grid-column: 2;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--gray);
}

.page-news .news-entry:hover .news-entry__title,
.page-news .news-entry:focus-within .news-entry__title {
  color: var(--copper);
}

@media (min-width: 760px) {
  .page-news .news-entry {
    grid-template-columns: 76px minmax(0, 1fr) 104px;
    gap: 0 22px;
    align-items: start;
  }

  .page-news .news-entry__body {
    grid-column: 2;
  }

  .page-news .news-entry__time {
    grid-column: 3;
    padding-top: 3px;
    text-align: right;
  }
}

/* ---------- 专题合集 ---------- */
.page-news .news-series__head {
  max-width: 62ch;
  margin-bottom: 26px;
}

.page-news .news-series__head h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--white);
}

.page-news .news-series__head p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray);
}

.page-news .news-series {
  display: grid;
  gap: 22px;
}

.page-news .news-series__card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.page-news .news-series__figure {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--panel-2);
}

.page-news .news-series__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85);
  transition: transform .5s var(--ease);
}

.page-news .news-series__card:hover .news-series__figure img {
  transform: scale(1.04);
}

.page-news .news-series__body {
  padding: 20px 20px 24px;
}

.page-news .news-series__kicker {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--copper);
}

.page-news .news-series__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}

.page-news .news-series__desc {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
}

.page-news .news-series__link {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--red);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--white);
  text-decoration: none;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.page-news .news-series__link:hover,
.page-news .news-series__link:focus-visible {
  color: var(--copper);
  border-color: var(--copper);
}

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

/* ---------- 订阅与回看 ---------- */
.page-news .news-back {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-news .news-back__head {
  max-width: 34ch;
  margin-bottom: 26px;
}

.page-news .news-back__head h2 {
  margin: 0;
  font-size: clamp(23px, 4.4vw, 38px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--white);
}

.page-news .news-return {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-news .news-return__col {
  background: var(--ink);
  padding: 26px 22px 28px;
}

.page-news .news-return__code {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--red);
}

.page-news .news-return__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}

.page-news .news-return__text {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray);
}

.page-news .news-back__note {
  margin: 22px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--gray);
}

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

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-news .news-series__card:hover .news-series__figure img {
    transform: none;
  }

  .page-news .news-entry__title,
  .page-news .news-cat,
  .page-news .news-series__link,
  .page-news .news-pin__copy,
  .page-news .news-series__figure img {
    transition: none;
  }
}
