.page-news {
  --news-rule: rgba(139, 154, 144, 0.26);
  --news-rule-soft: rgba(139, 154, 144, 0.14);
  --news-mint-soft: rgba(56, 242, 176, 0.08);
  --news-mustard-soft: rgba(214, 185, 76, 0.16);
}

/* ---------- 面包屑 ---------- */
.page-news .breadcrumb {
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--stone);
}

.page-news .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--graphite);
}

.page-news .breadcrumb a {
  color: var(--stone);
  text-decoration: none;
}

.page-news .breadcrumb a:hover,
.page-news .breadcrumb a:focus-visible {
  color: var(--mint);
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  isolation: isolate;
  padding: 26px 0 44px;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  z-index: -1;
  background:
    linear-gradient(118deg, rgba(18, 54, 44, 0.92) 0%, rgba(18, 54, 44, 0.35) 46%, rgba(6, 26, 21, 0) 72%),
    repeating-linear-gradient(90deg, rgba(56, 242, 176, 0.055) 0 1px, transparent 1px 68px);
  clip-path: polygon(0 0, 100% 0, 100% 84%, 78% 100%, 0 100%);
}

.page-news .news-hero__grid {
  display: grid;
  gap: 30px;
}

.page-news .news-hero__main h1 {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: clamp(2.15rem, 8.4vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 12px 0 18px;
  color: var(--bone);
}

.page-news .news-hero__lede {
  margin: 0;
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(243, 239, 227, 0.84);
}

.page-news .news-hero__actions {
  margin-top: 24px;
  gap: 10px;
}

.page-news .news-hero__board {
  background: var(--moss);
  border: 1px solid var(--graphite);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  padding: 20px 22px 22px;
}

.page-news .news-board__label {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mustard);
  text-transform: uppercase;
}

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

.page-news .news-board__list li {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--news-rule-soft);
}

.page-news .news-board__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-news .news-board__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--mint);
}

.page-news .news-board__unit {
  font-size: 0.75rem;
  margin-left: 2px;
  color: var(--stone);
}

.page-news .news-board__txt {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(243, 239, 227, 0.78);
}

/* ---------- 本周先读 ---------- */
.page-news .news-focus {
  padding-top: 8px;
}

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

.page-news .news-feature {
  background: var(--moss);
  border: 1px solid var(--graphite);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
  overflow: hidden;
}

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

.page-news .news-feature__title {
  margin: 12px 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.42;
  letter-spacing: -0.01em;
}

.page-news .news-feature__title a,
.page-news .news-mini__title a,
.page-news .news-item__title a {
  color: var(--bone);
  text-decoration: none;
}

.page-news .news-feature__title a:hover,
.page-news .news-feature__title a:focus-visible,
.page-news .news-mini__title a:hover,
.page-news .news-mini__title a:focus-visible,
.page-news .news-item__title a:hover,
.page-news .news-item__title a:focus-visible {
  color: var(--mint);
}

.page-news .news-feature__desc,
.page-news .news-mini__desc,
.page-news .news-item__desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.68;
  color: rgba(243, 239, 227, 0.74);
}

.page-news .news-more {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 182, 74, 0.42);
  padding-bottom: 3px;
}

.page-news .news-more:hover,
.page-news .news-more:focus-visible {
  color: var(--bone);
  border-bottom-color: var(--bone);
}

.page-news .news-focus__side {
  display: grid;
  gap: 16px;
}

.page-news .news-mini {
  position: relative;
  padding: 16px 18px 18px 20px;
  background: rgba(18, 54, 44, 0.55);
  border-left: 2px solid var(--mustard);
}

.page-news .news-mini__title {
  margin: 10px 0 8px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.34;
  letter-spacing: -0.01em;
}

.page-news .news-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}

/* ---------- 分类筛选 ---------- */
.page-news .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.page-news .filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-news .filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--news-rule);
  background: transparent;
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease), background-color 0.16s var(--ease);
}

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

.page-news .filter-input:checked + .filter-chip {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--ink);
}

.page-news .filter-input:focus-visible + .filter-chip {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.page-news:has(#news-f-schedule:checked) .news-group:not([data-cat="schedule"]),
.page-news:has(#news-f-data:checked) .news-group:not([data-cat="data"]),
.page-news:has(#news-f-mobile:checked) .news-group:not([data-cat="mobile"]),
.page-news:has(#news-f-brand:checked) .news-group:not([data-cat="brand"]) {
  display: none;
}

/* ---------- 资讯分组 ---------- */
.page-news .news-groups {
  display: grid;
  gap: 36px;
}

.page-news .news-group__title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--graphite);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--bone);
}

.page-news .news-group__idx {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--mint);
  letter-spacing: 0.06em;
}

.page-news .news-group__count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--stone);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.page-news .news-group__body {
  display: grid;
  gap: 20px;
}

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

.page-news .news-item {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 16px 0 16px 14px;
  border-bottom: 1px solid var(--news-rule);
}

.page-news .news-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  bottom: 15px;
  width: 2px;
  background: var(--mint);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.22s var(--ease);
}

.page-news .news-item:hover::before {
  transform: scaleY(1);
}

.page-news .news-item:hover {
  background: linear-gradient(90deg, var(--news-mint-soft), transparent 62%);
}

.page-news .news-when {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  align-self: start;
  width: fit-content;
  padding: 3px 9px;
  border: 1px solid var(--news-mustard-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mustard);
  white-space: nowrap;
}

.page-news .news-when__dot {
  width: 5px;
  height: 5px;
  background: var(--mustard);
  flex: none;
}

.page-news .news-item__title {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
}

/* ---------- 图片容器 ---------- */
.page-news .news-figure {
  margin: 0;
  display: block;
  overflow: hidden;
  background: var(--moss);
  border: 1px solid var(--graphite);
}

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

.page-news .news-figure figcaption {
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--stone);
  border-top: 1px solid var(--graphite);
}

.page-news .news-figure--16x9 {
  aspect-ratio: 16 / 9;
}

.page-news .news-figure--3x2 {
  aspect-ratio: 3 / 2;
}

.page-news .news-figure--phone {
  aspect-ratio: 3 / 4;
}

.page-news .news-figure--wide {
  aspect-ratio: 1200 / 760;
}

.page-news .news-figure--16x9 img {
  border-bottom: 1px solid var(--graphite);
}

.page-news .news-group__figure {
  margin-top: 18px;
}

/* ---------- 结尾入口 ---------- */
.page-news .news-next {
  padding-top: 0;
}

.page-news .news-next__panel {
  padding: 26px 20px;
  background: var(--moss);
  border: 1px solid var(--graphite);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
}

.page-news .news-next__head h2 {
  margin: 0 0 8px;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: clamp(1.5rem, 5.4vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--bone);
}

.page-news .news-next__head p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.66;
  color: rgba(243, 239, 227, 0.76);
}

.page-news .news-next__links {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.page-news .news-next__card {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--graphite);
  border-left: 2px solid var(--mint);
  background: rgba(6, 26, 21, 0.5);
  text-decoration: none;
  transition: border-left-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.page-news .news-next__card:hover,
.page-news .news-next__card:focus-visible {
  border-left-color: var(--amber);
  background: rgba(6, 26, 21, 0.78);
}

.page-news .news-next__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mint);
}

.page-news .news-next__card strong {
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--bone);
}

.page-news .news-next__go {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--amber);
}

.page-news .news-next__note {
  margin: 18px 0 0;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--stone);
}

.page-news .news-next__note a {
  color: var(--mint);
  text-decoration: none;
  border-bottom: 1px solid rgba(56, 242, 176, 0.4);
}

.page-news .news-next__note a:hover,
.page-news .news-next__note a:focus-visible {
  color: var(--bone);
  border-bottom-color: var(--bone);
}

/* ---------- 断点 ---------- */
@media (min-width: 720px) {
  .page-news .news-hero {
    padding: 34px 0 56px;
  }

  .page-news .news-item {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 16px;
    padding: 18px 0 18px 16px;
  }

  .page-news .news-when {
    margin-top: 2px;
    justify-content: center;
  }

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

  .page-news .news-next__panel {
    padding: 32px 28px;
  }
}

@media (min-width: 900px) {
  .page-news .news-hero__grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: end;
    gap: 44px;
  }

  .page-news .news-focus__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-news .news-group__body {
    gap: 26px;
  }

  .page-news .news-group__figure {
    margin-top: 20px;
  }
}

@media (min-width: 1000px) {
  .page-news .news-group--split .news-group__body {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }

  .page-news .news-group--split .news-group__figure {
    margin-top: 16px;
    position: sticky;
    top: 24px;
  }
}

@media (min-width: 1180px) {
  .page-news .news-hero__grid {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 64px;
  }

  .page-news .news-feature__body {
    padding: 22px 26px 28px;
  }

  .page-news .news-feature__title {
    font-size: 1.45rem;
  }

  .page-news .news-group--split .news-group__body {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}

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

  .page-news .news-item::before {
    transform: none;
    opacity: 0;
  }

  .page-news .news-item:hover::before {
    opacity: 1;
  }
}
