.page-news {
  --n-line: rgba(36, 48, 74, 0.85);
  --n-line-soft: rgba(36, 48, 74, 0.45);
  --n-cyan-glow: rgba(0, 229, 195, 0.35);
  background: var(--deep);
  color: var(--mist);
  font-family: var(--font-display);
  padding-bottom: clamp(48px, 7vw, 96px);
}

.page-news *,
.page-news *::before,
.page-news *::after {
  box-sizing: border-box;
}

.page-news .news-wrap {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 4.2vw, 40px);
}

/* ---------- 面包屑 ---------- */
.page-news .news-crumb {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 18px clamp(16px, 4.2vw, 40px) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--star);
}
.page-news .news-crumb a {
  color: var(--star);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.page-news .news-crumb a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}
.page-news .news-crumb [aria-current="page"] {
  color: var(--mist);
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(28px, 4.5vw, 56px) clamp(34px, 5vw, 64px);
  background:
    radial-gradient(1000px 480px at 86% -10%, rgba(26, 92, 255, 0.22), transparent 62%),
    radial-gradient(640px 420px at 2% 16%, rgba(0, 229, 195, 0.10), transparent 66%);
}
.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 92, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 92, 255, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 62% at 62% 18%, #000 0%, transparent 78%);
  mask-image: radial-gradient(70% 62% at 62% 18%, #000 0%, transparent 78%);
  pointer-events: none;
}
.page-news .news-hero__grid {
  position: relative;
  display: grid;
  gap: clamp(24px, 3.4vw, 44px);
  align-items: end;
}
.page-news .news-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.page-news .news-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 0 14px rgba(0, 229, 195, 0.55);
}
.page-news h1 {
  margin: 16px 0 0;
  font-size: clamp(33px, 5.4vw, 70px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--mist);
}
.page-news h1 .hl {
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(0, 229, 195, 0.3);
}
.page-news .news-lede {
  margin: 20px 0 0;
  max-width: 46ch;
  font-size: clamp(15.5px, 1.15vw, 17.5px);
  line-height: 1.85;
  color: var(--star);
}
.page-news .news-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin: 30px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--n-line);
}
.page-news .news-stats > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.page-news .news-stats dt {
  order: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--star);
}
.page-news .news-stats dd {
  order: 1;
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  line-height: 1;
  color: var(--mist);
}
.page-news .news-hero__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--n-line);
  background: var(--graphite);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}
.page-news .news-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.page-news .news-hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(11, 15, 26, 0.08) 0%, rgba(7, 10, 18, 0.7) 100%);
  pointer-events: none;
}
.page-news .news-hero__figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 16px 18px 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  line-height: 1.6;
  color: var(--mist);
  background: linear-gradient(transparent, rgba(7, 10, 18, 0.94));
}

/* ---------- 通用分区 ---------- */
.page-news .news-sec {
  padding-block: clamp(34px, 5.2vw, 74px);
}
.page-news .news-sec + .news-sec {
  border-top: 1px solid var(--n-line-soft);
}
.page-news .sec-head {
  margin-bottom: clamp(24px, 3.2vw, 40px);
  max-width: 64ch;
}
.page-news .sec-head h2 {
  margin: 14px 0 0;
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--mist);
}
.page-news .sec-head > p:last-child {
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--star);
}

/* ---------- 频道导读 ---------- */
.page-news .brief-grid {
  display: grid;
  gap: 16px;
}
.page-news .brief-card {
  position: relative;
  padding: 24px 22px 26px;
  border: 1px solid var(--n-line);
  border-radius: 14px;
  background: linear-gradient(168deg, rgba(21, 28, 46, 0.92), rgba(11, 15, 26, 0.88));
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.page-news .brief-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 3px;
  height: 44px;
  border-radius: 0 3px 3px 0;
  background: var(--brief-c, var(--cyan));
  box-shadow: 0 0 16px -2px var(--brief-c, var(--cyan));
}
.page-news .brief-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 195, 0.55);
  box-shadow: 0 18px 40px -26px rgba(0, 229, 195, 0.6);
}
.page-news .brief-card--enterprise { --brief-c: #4DE2A8; }
.page-news .brief-card--home { --brief-c: #1A5CFF; }
.page-news .brief-card--guide { --brief-c: #00E5C3; }
.page-news .brief-card__tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--brief-c, var(--cyan));
}
.page-news .brief-card h3 {
  margin: 14px 0 10px;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 800;
  line-height: 1.42;
  color: var(--mist);
}
.page-news .brief-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--star);
}

/* ---------- 分类索引 ---------- */
.page-news .cat-layout {
  display: grid;
  gap: clamp(24px, 3.4vw, 44px);
}
.page-news .cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--n-line);
}
.page-news .cat-item {
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--n-line);
}
.page-news .cat-item__bar {
  align-self: stretch;
  min-height: 36px;
  border-radius: 2px;
  background: var(--cat-c, var(--cyan));
  box-shadow: 0 0 18px -4px var(--cat-c, var(--cyan));
}
.page-news .cat-item__name {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--mist);
}
.page-news .cat-item__desc {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--star);
}
.page-news .cat-item__count {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--mist);
}
.page-news .cat-item--guide { --cat-c: #00E5C3; }
.page-news .cat-item--home { --cat-c: #1A5CFF; }
.page-news .cat-item--enterprise { --cat-c: #4DE2A8; }
.page-news .cat-item--version { --cat-c: #FFB547; }
.page-news .cat-item--eng { --cat-c: #9AA7C7; }
.page-news .cat-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--n-line);
  background: var(--graphite);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}
.page-news .cat-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}
.page-news .cat-figure figcaption {
  padding: 14px 18px;
  border-top: 1px solid var(--n-line-soft);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--star);
}

/* ---------- 条目流 ---------- */
.page-news .entries-layout {
  display: grid;
  gap: clamp(24px, 3.4vw, 44px);
}
.page-news .entries-main {
  min-width: 0;
}
.page-news .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.page-news .filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.page-news .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--n-line);
  border-radius: 999px;
  background: rgba(21, 28, 46, 0.6);
  font-size: 13px;
  font-weight: 500;
  color: var(--star);
  cursor: pointer;
  user-select: none;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.page-news .chip span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--star);
  opacity: 0.85;
}
.page-news .chip:hover {
  color: var(--mist);
  border-color: rgba(0, 229, 195, 0.45);
}
.page-news .filter-input:checked + .chip {
  color: var(--mist);
  border-color: rgba(0, 229, 195, 0.75);
  background: rgba(0, 229, 195, 0.12);
}
.page-news .filter-input:checked + .chip span {
  color: var(--cyan);
  opacity: 1;
}
.page-news .filter-input:focus-visible + .chip {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.page-news .filter-shell:has(#f-guide:checked) .entry:not(.entry--guide),
.page-news .filter-shell:has(#f-home:checked) .entry:not(.entry--home),
.page-news .filter-shell:has(#f-enterprise:checked) .entry:not(.entry--enterprise),
.page-news .filter-shell:has(#f-version:checked) .entry:not(.entry--version),
.page-news .filter-shell:has(#f-eng:checked) .entry:not(.entry--eng) {
  display: none;
}
.page-news .entry-list {
  margin: 0;
  padding: 0;
}
.page-news .entry {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 16px;
  padding: 24px 0 24px 14px;
  border-top: 1px solid var(--n-line);
  border-left: 2px solid transparent;
  transition: border-left-color 0.2s var(--ease), background 0.2s var(--ease);
}
.page-news .entry:last-child {
  border-bottom: 1px solid var(--n-line);
}
.page-news .entry:hover {
  border-left-color: var(--cat-c, var(--cyan));
  background: linear-gradient(90deg, rgba(0, 229, 195, 0.05), transparent 62%);
}
.page-news .entry--guide { --cat-c: #00E5C3; }
.page-news .entry--home { --cat-c: #1A5CFF; }
.page-news .entry--enterprise { --cat-c: #4DE2A8; }
.page-news .entry--version { --cat-c: #FFB547; }
.page-news .entry--eng { --cat-c: #9AA7C7; }
.page-news .entry__no {
  font-family: var(--font-mono);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: rgba(154, 167, 199, 0.7);
  transition: color 0.2s var(--ease);
}
.page-news .entry:hover .entry__no {
  color: var(--cat-c, var(--cyan));
}
.page-news .entry__main {
  min-width: 0;
}
.page-news .entry__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--star);
}
.page-news .entry__cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border: 1px solid var(--n-line);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--mist);
}
.page-news .entry__cat::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cat-c, var(--cyan));
  box-shadow: 0 0 8px var(--cat-c, var(--cyan));
}
.page-news .entry__title {
  margin: 0 0 8px;
  font-size: clamp(16.5px, 1.5vw, 20px);
  font-weight: 800;
  line-height: 1.44;
  letter-spacing: -0.005em;
  color: var(--mist);
}
.page-news .entry__sum {
  margin: 0;
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--star);
}
.page-news .entry__figure {
  grid-column: 1 / -1;
  margin: 14px 0 0;
  overflow: hidden;
  border: 1px solid var(--n-line);
  border-radius: 10px;
  background: var(--graphite);
}
.page-news .entry__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

/* ---------- 侧栏索引 ---------- */
.page-news .entries-side {
  display: grid;
  gap: 14px;
}
.page-news .side-card {
  padding: 20px 18px;
  border: 1px solid var(--n-line);
  border-radius: 12px;
  background: linear-gradient(170deg, rgba(21, 28, 46, 0.82), rgba(11, 15, 26, 0.72));
}
.page-news .side-card__label {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.page-news .side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.page-news .side-list a {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(36, 48, 74, 0.7);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--star);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
.page-news .side-list li:last-child a {
  border-bottom: 0;
}
.page-news .side-list a span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}
.page-news .side-list a:hover {
  color: var(--mist);
}
.page-news .side-card--action {
  border-color: rgba(0, 229, 195, 0.35);
}
.page-news .side-card--action p {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--star);
}
.page-news .side-card--action a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(0, 229, 195, 0.4);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.page-news .side-card--action a:hover {
  color: var(--mist);
  border-bottom-color: var(--mist);
}

/* ---------- 专题合集 ---------- */
.page-news .topic-grid {
  display: grid;
  gap: 18px;
}
.page-news .topic-card {
  position: relative;
  padding: 26px 22px 24px;
  border: 1px solid var(--n-line);
  background: linear-gradient(168deg, rgba(21, 28, 46, 0.95), rgba(11, 15, 26, 0.92));
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  transition: transform 0.22s var(--ease);
}
.page-news .topic-card:hover {
  transform: translateY(-4px);
}
.page-news .topic-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 46px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.page-news .topic-card__no {
  display: block;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(0, 229, 195, 0.32);
}
.page-news .topic-card h3 {
  margin: 12px 0 6px;
  font-size: clamp(18px, 1.7vw, 21px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--mist);
}
.page-news .topic-card__meta {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}
.page-news .topic-card__desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--star);
}
.page-news .topic-card__list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 7px;
}
.page-news .topic-card__list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--star);
}
.page-news .topic-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--cyan);
  border-right: 1px solid var(--cyan);
  transform: rotate(45deg);
}
.page-news .topic-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(0, 229, 195, 0.45);
  font-size: 13px;
  font-weight: 700;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.page-news .topic-card__link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

/* ---------- 订阅与合作 ---------- */
.page-news .sub-panel {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
  padding: clamp(26px, 3.6vw, 44px);
  border: 1px solid rgba(0, 229, 195, 0.28);
  border-radius: 16px;
  background:
    radial-gradient(620px 280px at 92% 0%, rgba(0, 229, 195, 0.14), transparent 62%),
    linear-gradient(160deg, rgba(21, 28, 46, 0.95), rgba(7, 10, 18, 0.96));
}
.page-news .sub-panel h2 {
  margin: 14px 0 0;
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--mist);
}
.page-news .sub-panel__body {
  margin: 14px 0 0;
  max-width: 48ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--star);
}
.page-news .sub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.page-news .sub-actions .btn {
  font-size: 14px;
  text-decoration: none;
}
.page-news .sub-side {
  padding-top: 20px;
  border-top: 1px solid var(--n-line-soft);
}
.page-news .sub-side__label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--star);
}
.page-news .sub-side__mail {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(0, 229, 195, 0.4);
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 500;
  color: var(--cyan);
  text-decoration: none;
  word-break: break-all;
}
.page-news .sub-side__note {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--star);
}
.page-news .copy-btn {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  cursor: pointer;
}

/* ---------- 响应式 ---------- */
@media (min-width: 760px) {
  .page-news .brief-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-news .topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 820px) {
  .page-news .entry--media {
    grid-template-columns: 42px minmax(0, 1fr) 196px;
  }
  .page-news .entry--media .entry__figure {
    grid-column: 3;
    grid-row: 1;
    margin: 0;
    align-self: start;
  }
}

@media (min-width: 900px) {
  .page-news .news-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .page-news .sub-panel {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: center;
  }
  .page-news .sub-side {
    padding-top: 0;
    border-top: 0;
  }
}

@media (min-width: 980px) {
  .page-news .cat-layout {
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .page-news .entries-layout {
    grid-template-columns: minmax(0, 1fr) 262px;
    align-items: start;
  }
  .page-news .entries-side {
    position: sticky;
    top: calc(var(--masthead-h, 140px) + 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .brief-card,
  .page-news .topic-card,
  .page-news .entry,
  .page-news .chip,
  .page-news .side-list a,
  .page-news .topic-card__link {
    transition: none;
  }
  .page-news .brief-card:hover,
  .page-news .topic-card:hover {
    transform: none;
  }
}
</main>
