.page-news {
  --news-gap: clamp(20px, 4vw, 40px);
  --news-radius: clamp(24px, 4vw, 48px);
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;
}

.page-news .breadcrumb {
  padding-top: clamp(18px, 3vw, 30px);
  padding-bottom: 10px;
  font-size: 13px;
  color: var(--muted);
}

.page-news .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-news .breadcrumb a:hover,
.page-news .breadcrumb a:focus-visible {
  color: var(--orange-ink);
  border-bottom-color: currentColor;
}

.page-news .breadcrumb span[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

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

.page-news .news-hero {
  position: relative;
  margin-top: 12px;
  background: var(--green);
  color: #fff;
  border-radius: 0 0 var(--news-radius) 0;
  overflow: hidden;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.065) 0 1px, transparent 1px 15px);
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -30%;
  width: min(420px, 58vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 19, 0.34), transparent 68%);
  pointer-events: none;
}

.page-news .news-hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(30px, 5vw, 62px) 0 clamp(24px, 4vw, 44px);
}

.page-news .news-hero .eyebrow {
  color: var(--orange-soft);
}

.page-news .news-hero .display {
  margin: 16px 0 0;
  max-width: 20ch;
  font-family: var(--font-sans);
  font-size: clamp(2.15rem, 6.6vw, 4.6rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
}

.page-news .news-hero .lede {
  margin: 20px 0 0;
  max-width: 40ch;
  font-size: clamp(1rem, 1.6vw, 1.0625rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

.page-news .hero-facts {
  display: grid;
  gap: 16px;
  margin: clamp(26px, 4vw, 40px) 0 0;
  padding: 0;
  list-style: none;
}

.page-news .hero-facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 16px;
  border-left: 2px solid rgba(255, 106, 19, 0.7);
}

.page-news .fact-num {
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--orange);
}

.page-news .fact-label {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.66);
}

.page-news .news-hero-media {
  position: relative;
  z-index: 1;
  margin: 0;
}

.page-news .news-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 620;
  object-fit: cover;
  border-radius: var(--news-radius) 0 0 0;
}

/* ---------- 日志主布局 ---------- */

.page-news .news-log {
  padding-top: clamp(38px, 6vw, 72px);
}

.page-news .news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--news-gap);
}

.page-news .log-main {
  min-width: 0;
  display: grid;
  gap: clamp(44px, 6vw, 84px);
}

/* ---------- 左侧索引 ---------- */

.page-news .log-side-inner {
  background: var(--blue-mist);
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) var(--r-sm);
  padding: clamp(20px, 3vw, 28px);
}

.page-news .side-title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.page-news .side-note {
  margin: 8px 0 0;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted);
}

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

.page-news .filter-field .search-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-news .filter-field .search-input {
  width: 100%;
  margin-top: 8px;
  padding: 11px 14px;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-news .filter-field .search-input::placeholder {
  color: var(--muted);
  opacity: 0.8;
}

.page-news .filter-field .search-input:focus-visible {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 19, 0.22);
}

.page-news .search-status {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--green-2);
}

.page-news .side-sub {
  margin: 24px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-news .chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.page-news .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-news .chip-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--orange-ink);
}

.page-news .chip:hover,
.page-news .chip:focus-visible {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.page-news .chip:hover .chip-num,
.page-news .chip:focus-visible .chip-num {
  color: var(--orange-soft);
}

.page-news .side-meta {
  margin: 12px 0 0;
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--muted);
}

.page-news .side-foot {
  margin: 22px 0 0;
  font-size: 0.8125rem;
}

.page-news .side-foot a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 111, 235, 0.35);
}

.page-news .side-foot a:hover,
.page-news .side-foot a:focus-visible {
  color: var(--orange-ink);
  border-bottom-color: currentColor;
}

/* ---------- 日志区块 ---------- */

.page-news .log-block {
  scroll-margin-top: calc(var(--topline-h) + 24px);
}

.page-news .block-head {
  max-width: 62ch;
}

.page-news .block-head .eyebrow {
  color: var(--muted);
}

.page-news .block-head .section-title {
  margin: 12px 0 0;
  font-size: clamp(1.375rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.page-news .block-lede {
  margin: 12px 0 0;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--muted);
}

.page-news .log-list {
  margin-top: clamp(22px, 3vw, 32px);
  display: grid;
  gap: 12px;
}

.page-news .log-item {
  background: var(--card);
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) var(--r-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.page-news .log-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 26px;
  grid-template-areas: "idx .page-news icon";
  align-items: start;
  gap: 14px;
  width: 100%;
  padding: 18px 18px;
  font: inherit;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: border-color 0.22s ease, background 0.22s ease;
}

.page-news .log-row:hover {
  background: rgba(214, 230, 255, 0.42);
}

.page-news .log-row:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}

.page-news .acc-index {
  grid-area: idx;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--orange-ink);
  padding-top: 2px;
}

.page-news .log-row-body {
  grid-area: body;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.page-news .log-title {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.page-news .log-sum {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
}

.page-news .log-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.page-news .tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--green-2);
  background: rgba(214, 230, 255, 0.72);
  border-radius: 999px;
  white-space: nowrap;
}

.page-news .tag--num {
  font-family: var(--font-mono);
  color: var(--orange-ink);
  background: rgba(255, 164, 92, 0.24);
}

.page-news .acc-icon {
  grid-area: icon;
  position: relative;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 0.22s ease;
}

.page-news .acc-icon::before,
.page-news .acc-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--green);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.22s ease;
}

.page-news .acc-icon::before {
  width: 11px;
  height: 1.5px;
}

.page-news .acc-icon::after {
  width: 1.5px;
  height: 11px;
}

.page-news .log-item[data-state="open"] .log-row {
  border-left-color: var(--orange);
  background: rgba(214, 230, 255, 0.42);
}

.page-news .log-item[data-state="open"] .acc-icon {
  border-color: var(--orange);
}

.page-news .log-item[data-state="open"] .acc-icon::before,
.page-news .log-item[data-state="open"] .acc-icon::after {
  background: var(--orange-ink);
}

.page-news .log-item[data-state="open"] .acc-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

.page-news .acc-panel {
  padding: 4px 18px 22px 66px;
  border-top: 1px dashed var(--line);
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--ink);
}

.page-news .acc-panel[hidden] {
  display: none;
}

.page-news .acc-panel > p {
  margin: 14px 0 0;
}

.page-news .index-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.page-news .index-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--green-2);
}

.page-news .index-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--orange-ink);
}

.page-news .index-meta {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 区块配图 ---------- */

.page-news .block-media {
  margin: clamp(24px, 4vw, 38px) 0 0;
}

.page-news .block-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 640;
  object-fit: cover;
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) var(--r-sm);
}

.page-news .block-media--narrow {
  max-width: 620px;
}

.page-news .block-media--narrow img {
  aspect-ratio: 900 / 600;
}

.page-news .block-media figcaption {
  margin-top: 12px;
  font-size: 0.8125rem;
  line-height: 1.75;
  color: var(--muted);
  border-left: 2px solid var(--orange-soft);
  padding-left: 12px;
}

/* ---------- 版本记录 ---------- */

.page-news .ver-list {
  margin: clamp(22px, 3vw, 32px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-news .ver-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 22px 0 22px 0;
  border-bottom: 1px solid var(--line);
}

.page-news .ver-num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--orange-ink);
}

.page-news .ver-num::after {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--orange), var(--orange-soft));
  transition: width 0.28s ease;
}

.page-news .ver-item:hover .ver-num::after,
.page-news .ver-item:focus-within .ver-num::after {
  width: 72px;
}

.page-news .ver-body {
  min-width: 0;
}

.page-news .ver-title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.page-news .ver-text {
  margin: 10px 0 0;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--muted);
}

.page-news .ver-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
}

/* ---------- 订阅与回看 ---------- */

.page-news .news-subscribe {
  margin-top: clamp(48px, 7vw, 92px);
  padding: clamp(40px, 6vw, 76px) 0 clamp(32px, 5vw, 56px);
  background: var(--green);
  color: #fff;
  border-radius: var(--news-radius) var(--news-radius) 0 0;
}

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

.page-news .news-subscribe .eyebrow {
  color: var(--orange-soft);
}

.page-news .news-subscribe .section-title {
  margin: 12px 0 0;
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.page-news .subscribe-text {
  margin: 16px 0 0;
  max-width: 42ch;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.78);
}

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

.page-news .steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.page-news .step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.page-news .step:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.page-news .step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--orange);
  padding-top: 4px;
}

.page-news .step-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.page-news .step-text {
  margin: 8px 0 0;
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

.page-news .subscribe-foot {
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  gap: 10px;
}

.page-news .subscribe-note {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.page-news .subscribe-note a {
  color: var(--orange-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 164, 92, 0.5);
}

.page-news .subscribe-note a:hover,
.page-news .subscribe-note a:focus-visible {
  color: #fff;
  border-bottom-color: currentColor;
}

.page-news .subscribe-note--mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

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

@media (min-width: 640px) {
  .page-news .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .page-news .log-row {
    padding: 20px 24px;
    gap: 18px;
  }

  .page-news .acc-panel {
    padding: 4px 24px 26px 76px;
  }
}

@media (min-width: 768px) {
  .page-news .log-row {
    grid-template-columns: 40px minmax(0, 1fr) auto 26px;
    grid-template-areas: "idx .page-news tags icon";
    align-items: center;
  }

  .page-news .log-tags {
    grid-area: tags;
    justify-content: flex-end;
    margin-top: 0;
    max-width: 260px;
  }

  .page-news .acc-icon {
    margin-top: 0;
  }

  .page-news .ver-item {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .page-news .news-layout {
    grid-template-columns: minmax(230px, 272px) minmax(0, 1fr);
    gap: clamp(36px, 4.5vw, 68px);
    align-items: start;
  }

  .page-news .log-side-inner {
    position: sticky;
    top: calc(var(--topline-h) + 24px);
  }

  .page-news .subscribe-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(40px, 5vw, 80px);
  }

  .page-news .news-hero .lede {
    font-size: 1.0625rem;
  }

  .page-news .log-block {
    scroll-margin-top: calc(var(--topline-h) + 40px);
  }
}

@media (min-width: 1280px) {
  .page-news .news-hero-inner {
    padding-bottom: clamp(36px, 4vw, 64px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .chip,
  .page-news .log-row,
  .page-news .acc-icon::before,
  .page-news .acc-icon::after,
  .page-news .ver-num::after {
    transition: none;
  }
}
