.page-news {
  --news-gap: clamp(14px, 2vw, 22px);
  --news-block: clamp(32px, 5vw, 60px);
}

.page-news .news-crumb {
  padding-top: clamp(14px, 2vw, 22px);
}

.page-news .news-sec {
  padding: var(--news-block) 0;
}

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

.page-news .news-hero {
  position: relative;
  padding: clamp(22px, 4vw, 46px) 0 clamp(10px, 2vw, 20px);
  overflow: hidden;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  top: -24%;
  right: -14%;
  width: min(760px, 96vw);
  height: 150%;
  background: linear-gradient(158deg, rgba(0, 229, 199, 0.16), rgba(10, 26, 47, 0) 62%);
  transform: skewY(-9deg);
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -18%;
  width: min(540px, 80vw);
  height: 70%;
  background: radial-gradient(closest-side, rgba(255, 107, 53, 0.14), rgba(10, 26, 47, 0));
  transform: skewY(-6deg);
  pointer-events: none;
}

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

.page-news .news-hero__in {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
}

.page-news .news-hero h1 {
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(31px, 5.6vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 17ch;
}

.page-news .news-hero .lede {
  max-width: 46ch;
  color: var(--muted);
}

.page-news .news-hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-news .news-hero__stats {
  list-style: none;
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 38px;
}

.page-news .news-hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-news .news-hero__stats .num {
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1;
  color: var(--cyan);
}

.page-news .news-hero__stat-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.page-news .news-hero__art {
  margin: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--card), var(--bg-2));
}

.page-news .news-hero__art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- 区块标题 ---------- */

.page-news .news-head {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-news .news-head h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.page-news .news-head__note {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 52ch;
}

/* ---------- 栏目定位 ---------- */

.page-news .news-desk {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--news-gap);
}

.page-news .desk-card {
  position: relative;
  margin: 0;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(19, 43, 69, 0.92), rgba(14, 33, 56, 0.58));
  overflow: hidden;
}

.page-news .desk-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ac, var(--cyan)), rgba(10, 26, 47, 0));
}

.page-news .desk-card--data { --ac: var(--cyan); }
.page-news .desk-card--review { --ac: var(--orange); }
.page-news .desk-card--howto { --ac: var(--cyan-soft); }
.page-news .desk-card--watch { --ac: var(--gold); }

.page-news .desk-card__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.page-news .desk-card__idx {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ac, var(--cyan));
}

.page-news .desk-card__title {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.page-news .desk-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
}

.page-news .desk-card .desk-card__who {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(30, 62, 92, 0.9);
  font-size: 13px;
  color: var(--cyan-soft);
}

.page-news .desk-card__art {
  margin: 0 0 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-news .desk-card__art img {
  display: block;
  width: 100%;
  height: 118px;
  object-fit: cover;
}

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

.page-news .feature-band {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  background:
    linear-gradient(112deg, rgba(255, 107, 53, 0.16), rgba(10, 26, 47, 0) 58%),
    var(--card);
}

.page-news .feature-band__art {
  margin: 0;
  background: var(--bg-2);
}

.page-news .feature-band__art img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-news .feature-band__body {
  padding: clamp(22px, 3.4vw, 38px);
}

.page-news .feature-band__body h2 {
  margin: 14px 0 12px;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(22px, 2.9vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  max-width: 24ch;
}

.page-news .feature-band__lede {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 54ch;
}

.page-news .feature-band__toc {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-news .feature-band__toc li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 11px 2px;
  border-bottom: 1px dashed rgba(30, 62, 92, 0.9);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

.page-news .feature-band__toc .num {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--orange);
}

/* ---------- 条目列表 ---------- */

.page-news .news-head--row {
  display: grid;
  gap: 12px;
}

.page-news .entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-news .entry {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 17px 6px 17px 18px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s var(--ease);
}

.page-news .entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 58%;
  border-radius: 2px;
  background: var(--cyan);
  transform: translateY(-50%) scaleY(0);
  transform-origin: center;
  transition: transform 0.18s var(--ease);
}

.page-news .entry:hover::before,
.page-news .entry:focus-within::before {
  transform: translateY(-50%) scaleY(1);
}

.page-news .entry:hover {
  background: rgba(0, 229, 199, 0.045);
}

.page-news .entry__title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}

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

.page-news .entry__time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-news .tag {
  display: inline-block;
  padding: 3px 11px;
  border-radius: var(--r-pill);
  border: 1px solid currentColor;
  font-size: 11px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.page-news .tag--data {
  color: var(--cyan);
  background: rgba(0, 229, 199, 0.08);
}

.page-news .tag--review {
  color: var(--orange-soft);
  background: rgba(255, 107, 53, 0.1);
}

.page-news .tag--howto {
  color: var(--cyan-soft);
  background: rgba(125, 243, 227, 0.07);
}

.page-news .tag--watch {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.page-news .news-latest__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ---------- 标签入口 ---------- */

.page-news .tag-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}

.page-news .tag-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-news .tag-card:hover,
.page-news .tag-card:focus-visible {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.page-news .tag-card__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--cyan);
}

.page-news .tag-card__desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 回访引导 ---------- */

.page-news .sub-band {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(118deg, rgba(0, 229, 199, 0.15), rgba(10, 26, 47, 0) 56%),
    var(--bg-2);
}

.page-news .sub-band h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.page-news .sub-band p {
  margin: 0;
  color: var(--muted);
  max-width: 56ch;
}

.page-news .sub-band__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 响应式 ---------- */

@media (min-width: 720px) {
  .page-news .news-head--row {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 20px;
  }

  .page-news .news-head--row .news-head__note {
    margin: 0;
    text-align: right;
    max-width: 30ch;
  }

  .page-news .entry {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
  }

  .page-news .entry__meta {
    justify-content: flex-end;
  }
}

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

  .page-news .desk-card {
    grid-column: span 3;
  }

  .page-news .desk-card--wide {
    grid-column: span 4;
  }

  .page-news .desk-card:not(.desk-card--wide) {
    grid-column: span 2;
  }

  .page-news .desk-card__art img {
    height: 132px;
  }
}

@media (min-width: 860px) {
  .page-news .news-hero__in {
    grid-template-columns: 1.12fr 0.88fr;
  }

  .page-news .sub-band {
    grid-template-columns: minmax(0, 1.5fr) auto;
    align-items: center;
  }

  .page-news .sub-band__acts {
    justify-content: flex-end;
  }
}

@media (min-width: 980px) {
  .page-news .feature-band {
    grid-template-columns: 320px minmax(0, 1fr);
  }

  .page-news .feature-band__art img {
    aspect-ratio: auto;
    min-height: 100%;
  }
}
</main>
