.page-news {
  --news-line: rgba(25, 245, 198, 0.16);
  --news-line-soft: rgba(11, 74, 60, 0.9);
  --news-dim: #07332A;
  --news-cut: 24px;
  background: var(--ink);
  color: var(--bone);
  overflow-x: clip;
}

.page-news h1,
.page-news h2,
.page-news h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.028em;
  line-height: 1.04;
}

/* ================= 首屏 ================= */
.page-news .news-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(46px, 8vw, 102px)) 0 clamp(30px, 4.4vw, 56px);
  border-bottom: 1px solid var(--news-line);
}

.page-news .news-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-news .news-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: saturate(0.6) contrast(1.12);
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(172deg, rgba(4, 33, 28, 0.68) 0%, rgba(4, 33, 28, 0.94) 56%, var(--ink) 100%),
    repeating-linear-gradient(90deg, rgba(25, 245, 198, 0.06) 0 1px, transparent 1px 128px),
    repeating-linear-gradient(0deg, rgba(25, 245, 198, 0.05) 0 1px, transparent 1px 128px);
}

.page-news .news-hero .breadcrumb {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--grey);
}

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

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

.page-news .news-hero h1 {
  margin-top: clamp(14px, 2vw, 24px);
  max-width: 17ch;
  font-size: clamp(2.05rem, 6.4vw, 5rem);
  letter-spacing: -0.035em;
  line-height: 0.99;
}

.page-news .news-hero__lede {
  margin: clamp(16px, 2.2vw, 26px) 0 0;
  max-width: 48ch;
  font-size: clamp(0.98rem, 1.1vw, 1.06rem);
  line-height: 1.8;
  color: rgba(234, 246, 242, 0.78);
}

.page-news .news-tagbar {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: clamp(26px, 3.4vw, 42px);
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-news .news-tagbar::-webkit-scrollbar {
  display: none;
}

.page-news .news-tagbar a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: var(--bone);
  text-decoration: none;
  background: rgba(11, 74, 60, 0.55);
  border: 1px solid var(--news-line);
  clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px);
  transition: background 0.24s ease, border-color 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.page-news .news-tagbar a::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--lime);
  transition: background 0.24s ease;
}

.page-news .news-tagbar a:hover,
.page-news .news-tagbar a:focus-visible {
  color: var(--black);
  background: var(--neon);
  border-color: var(--neon);
  transform: translateY(-2px);
}

.page-news .news-tagbar a:hover::before,
.page-news .news-tagbar a:focus-visible::before {
  background: var(--black);
}

/* ================= 置顶长文 ================= */
.page-news .news-feature {
  padding: clamp(42px, 5.8vw, 84px) 0 clamp(28px, 3.8vw, 50px);
}

.page-news .news-feature__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2.8vw, 36px);
}

.page-news .news-feature__rail {
  display: flex;
  align-items: center;
  gap: 14px;
}

.page-news .news-feature__no {
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--neon);
  font-variant-numeric: tabular-nums;
}

.page-news .news-feature__railnote {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  color: var(--grey);
}

.page-news .news-feature__card {
  position: relative;
  padding: clamp(20px, 2.8vw, 40px);
  background: linear-gradient(150deg, rgba(11, 74, 60, 0.62) 0%, rgba(7, 51, 42, 0.92) 100%);
  border: 1px solid var(--news-line);
  clip-path: polygon(var(--news-cut) 0, 100% 0, 100% calc(100% - var(--news-cut)), calc(100% - var(--news-cut)) 100%, 0 100%, 0 var(--news-cut));
}

.page-news .news-feature__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(12px, 1.6vw, 18px);
}

.page-news .news-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--lime);
  background: rgba(201, 255, 94, 0.1);
  border: 1px solid rgba(201, 255, 94, 0.3);
}

.page-news .news-feature__when {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--grey);
}

.page-news .news-feature__card h2 {
  max-width: 22ch;
  font-size: clamp(1.55rem, 3.6vw, 2.75rem);
}

.page-news .news-feature__figure {
  margin: clamp(18px, 2.4vw, 28px) 0 0;
}

.page-news .news-feature__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
}

.page-news .news-feature__prose {
  margin-top: clamp(18px, 2.2vw, 26px);
  max-width: 54ch;
}

.page-news .news-feature__prose p {
  margin: 0 0 1.05em;
  font-size: 0.99rem;
  line-height: 1.8;
  color: rgba(234, 246, 242, 0.82);
}

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

.page-news .news-feature__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(16px, 2vw, 24px);
  padding-bottom: 4px;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(25, 245, 198, 0.42);
  transition: color 0.22s ease, border-color 0.22s ease, gap 0.24s ease;
}

.page-news .news-feature__more::after {
  content: "→";
  font-family: var(--font-mono);
}

.page-news .news-feature__more:hover,
.page-news .news-feature__more:focus-visible {
  gap: 16px;
  color: var(--amber);
  border-color: rgba(255, 122, 47, 0.6);
}

/* ================= 条目列表 ================= */
.page-news .news-entries {
  padding: clamp(38px, 5.2vw, 74px) 0 clamp(28px, 3.8vw, 54px);
}

.page-news .news-entries__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
  padding-bottom: clamp(16px, 2.2vw, 26px);
  border-bottom: 2px solid var(--neon);
}

.page-news .news-entries__head h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.55rem);
}

.page-news .news-entries__sub {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--grey);
}

.page-news .news-group {
  margin-top: clamp(28px, 3.8vw, 50px);
}

.page-news .news-group__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.page-news .news-group__tick {
  width: 22px;
  height: 3px;
  background: var(--neon);
}

.page-news .news-group__count {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--grey);
}

.page-news .news-entry {
  display: grid;
  grid-template-columns: 2.3rem minmax(0, 1fr);
  gap: 0 clamp(11px, 1.8vw, 26px);
  padding: clamp(16px, 2.2vw, 26px) 0;
  border-bottom: 1px solid var(--news-line);
  transition: transform 0.28s ease, background 0.28s ease;
}

.page-news .news-entry__no {
  padding-top: 0.3em;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: rgba(201, 255, 94, 0.72);
  font-variant-numeric: tabular-nums;
}

.page-news .news-entry__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.page-news .news-entry__phase {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--grey);
}

.page-news .news-entry__title {
  font-size: clamp(1.02rem, 1.9vw, 1.32rem);
  line-height: 1.42;
  letter-spacing: -0.018em;
}

.page-news .news-entry__title a {
  color: var(--bone);
  text-decoration: none;
  padding-bottom: 3px;
  background-image: linear-gradient(var(--neon), var(--neon));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 0.3s ease, color 0.22s ease;
}

.page-news .news-entry__title a:hover,
.page-news .news-entry__title a:focus-visible {
  color: var(--neon);
  background-size: 100% 1px;
}

.page-news .news-entry__summary {
  margin: 0;
  max-width: 64ch;
  font-size: 0.93rem;
  line-height: 1.74;
  color: rgba(143, 168, 161, 0.96);
}

.page-news .news-inline-figure {
  margin: clamp(18px, 2.4vw, 28px) 0 0;
  border: 1px solid var(--news-line);
}

.page-news .news-inline-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  filter: saturate(0.72) brightness(0.88);
}

.page-news .news-inline-figure figcaption {
  padding: 12px 16px;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--grey);
  background: rgba(7, 51, 42, 0.72);
}

/* ================= 归档与订阅 ================= */
.page-news .news-archive {
  padding: clamp(42px, 5.4vw, 80px) 0;
  border-top: 1px solid var(--news-line);
  background: linear-gradient(180deg, transparent 0%, rgba(7, 51, 42, 0.42) 100%);
}

.page-news .news-archive__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 3.6vw, 52px);
}

.page-news .news-archive__main h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
}

.page-news .news-archive__lede {
  margin: clamp(14px, 1.8vw, 20px) 0 0;
  max-width: 50ch;
  font-size: 0.97rem;
  line-height: 1.78;
  color: rgba(234, 246, 242, 0.78);
}

.page-news .news-archive__list {
  margin: clamp(22px, 2.8vw, 34px) 0 0;
  padding: 0;
  list-style: none;
}

.page-news .news-archive__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--news-line-soft);
}

.page-news .news-archive__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--bone);
}

.page-news .news-archive__stage {
  font-size: 0.86rem;
  line-height: 1.66;
  color: var(--grey);
}

.page-news .news-archive__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 2.8vw, 34px);
}

.page-news .news-archive__aside figure {
  margin: 0;
  border: 1px solid var(--news-line);
  overflow: hidden;
}

.page-news .news-archive__aside img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  filter: saturate(0.78) brightness(0.9);
}

.page-news .news-archive__aside figcaption {
  padding: 13px 16px;
  font-size: 0.8rem;
  line-height: 1.68;
  color: var(--grey);
  background: rgba(11, 74, 60, 0.55);
}

/* ================= 编辑团队 ================= */
.page-news .news-team {
  padding: clamp(42px, 5.4vw, 80px) 0 clamp(52px, 7vw, 104px);
  border-top: 1px solid var(--news-line);
}

.page-news .news-team h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
}

.page-news .news-team__text p {
  margin: clamp(14px, 1.8vw, 20px) 0 0;
  max-width: 58ch;
  font-size: 0.97rem;
  line-height: 1.8;
  color: rgba(234, 246, 242, 0.8);
}

.page-news .news-team__list {
  margin: clamp(20px, 2.6vw, 30px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.page-news .news-team__list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(234, 246, 242, 0.78);
}

.page-news .news-team__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 9px;
  height: 2px;
  background: var(--lime);
}

.page-news .news-team__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(22px, 2.8vw, 32px);
  padding-bottom: 4px;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(25, 245, 198, 0.42);
  transition: color 0.22s ease, border-color 0.22s ease, gap 0.24s ease;
}

.page-news .news-team__link::after {
  content: "→";
  font-family: var(--font-mono);
}

.page-news .news-team__link:hover,
.page-news .news-team__link:focus-visible {
  gap: 16px;
  color: var(--amber);
  border-color: rgba(255, 122, 47, 0.6);
}

/* ================= 响应式 ================= */
@media (min-width: 560px) {
  .page-news .news-archive__row {
    grid-template-columns: 9.5rem minmax(0, 1fr);
    align-items: baseline;
  }

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

@media (min-width: 760px) {
  .page-news .news-entry {
    grid-template-columns: 4.4rem minmax(0, 1fr);
  }

  .page-news .news-entry__no {
    font-size: 0.95rem;
    color: var(--lime);
  }

  .page-news .news-entry:hover {
    transform: translateY(-3px);
  }

  .page-news .news-entry__summary {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.36s ease, opacity 0.3s ease, margin-top 0.36s ease;
  }

  .page-news .news-entry:hover .news-entry__summary,
  .page-news .news-entry:focus-within .news-entry__summary {
    max-height: 7.5em;
    margin-top: 0.55em;
    opacity: 1;
  }
}

@media (min-width: 900px) {
  .page-news .news-feature__grid {
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: start;
  }

  .page-news .news-feature__rail {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 8px 0 0 14px;
    border-left: 1px solid var(--news-line);
  }

  .page-news .news-feature__railnote {
    writing-mode: vertical-rl;
    letter-spacing: 0.24em;
  }
}

@media (min-width: 940px) {
  .page-news .news-archive__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.8fr);
    align-items: start;
  }

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

@media (min-width: 1440px) {
  .page-news .news-feature__card {
    margin-right: -56px;
  }
}

@media (hover: none) {
  .page-news .news-entry__summary {
    max-height: none;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-tagbar a,
  .page-news .news-entry,
  .page-news .news-entry__title a,
  .page-news .news-feature__more,
  .page-news .news-team__link,
  .page-news .news-entry__summary {
    transition: none;
  }

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