.page-news {
  --news-line: rgba(16, 27, 45, .12);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
}

.page-news img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------- 开头 ---------- */
.page-news .news-masthead {
  padding: 26px 0 52px;
  background:
    radial-gradient(120% 90% at 88% -12%, rgba(46, 111, 214, .16), transparent 62%),
    linear-gradient(180deg, var(--paper) 0%, #FBF8F1 100%);
  border-bottom: 1px solid var(--news-line);
}

.page-news .masthead-grid {
  display: grid;
  gap: 26px;
  margin-top: 24px;
}

.page-news .masthead-kicker {
  color: var(--orange-500);
}

.page-news .masthead-title {
  margin: 10px 0 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 6.2vw, 52px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--blue-900);
}

.page-news .masthead-lede {
  margin: 0;
  max-width: 660px;
  font-size: 16px;
  line-height: 1.85;
  color: #2A3448;
}

.page-news .masthead-chips {
  margin-top: 22px;
}

.page-news .masthead-side {
  padding: 18px 20px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--news-line);
}

.page-news .masthead-side .annotation {
  color: var(--blue-500);
}

.page-news .side-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--blue-900);
}

.page-news .side-list li {
  position: relative;
  padding-left: 16px;
}

.page-news .side-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-500);
}

/* ---------- 章节通用头 ---------- */
.page-news .band-head {
  display: grid;
  gap: 8px;
  margin-bottom: 26px;
}

.page-news .band-head--flat {
  margin-bottom: 20px;
}

.page-news .band-num {
  color: var(--orange-500);
}

.page-news .band-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(23px, 4vw, 36px);
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--blue-900);
}

.page-news .band-sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate);
}

/* ---------- 焦点 ---------- */
.page-news .focus-band {
  padding: 54px 0 62px;
  background:
    radial-gradient(90% 70% at 10% 0%, rgba(46, 111, 214, .52), transparent 62%),
    var(--blue-900);
  color: #fff;
}

.page-news .focus-band .band-num {
  color: var(--mint-400);
}

.page-news .focus-band .band-title {
  color: #fff;
}

.page-news .focus-band .band-sub {
  color: rgba(255, 255, 255, .74);
}

.page-news .focus-layout {
  display: grid;
  gap: 18px;
}

.page-news .focus-lead {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
}

.page-news .focus-figure {
  margin: 0;
}

.page-news .focus-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-news .focus-lead-body {
  display: grid;
  gap: 12px;
  padding: 22px 20px 26px;
}

.page-news .focus-lead-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(19px, 3.1vw, 27px);
  line-height: 1.36;
  color: #fff;
}

.page-news .focus-lead-body > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.82;
  color: rgba(255, 255, 255, .8);
}

.page-news .focus-lead-body > .btn {
  justify-self: start;
  margin-top: 4px;
}

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

.page-news .focus-time {
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .6);
}

.page-news .focus-side {
  display: grid;
  gap: 18px;
}

.page-news .focus-mini {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
}

.page-news .focus-mini h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
  color: #fff;
}

.page-news .focus-mini > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: rgba(255, 255, 255, .74);
}

.page-news .link-more {
  width: fit-content;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange-500);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 106, 46, .45);
  padding-bottom: 2px;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.page-news .link-more:hover {
  color: var(--blue-700);
  border-color: var(--blue-700);
}

.page-news .focus-band .link-more:hover {
  color: #fff;
  border-color: #fff;
}

/* ---------- 分类标签 ---------- */
.page-news .entry-cat {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: var(--pill);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
}

.page-news .entry-cat--doc {
  background: var(--blue-100);
  color: var(--blue-700);
}

.page-news .entry-cat--product {
  background: var(--orange-100);
  color: #A8431A;
}

.page-news .entry-cat--family {
  background: rgba(47, 224, 176, .22);
  color: #0B6B52;
}

.page-news .entry-cat--service {
  background: #ECEEF3;
  color: #465468;
}

/* ---------- 条目流 ---------- */
.page-news .stream-band {
  padding: 58px 0 56px;
  background: var(--paper);
}

.page-news .stream-layout {
  display: grid;
  gap: 26px;
}

.page-news .stream-index {
  padding: 18px 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(232, 240, 251, .74);
  border: 1px solid var(--news-line);
}

.page-news .stream-index .annotation {
  color: var(--blue-500);
}

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

.page-news .toc-link {
  padding: 7px 13px;
  border-radius: var(--pill);
  background: #fff;
  border: 1px solid var(--news-line);
  font-size: 13px;
  line-height: 1.4;
  color: var(--blue-700);
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.page-news .toc-link:hover,
.page-news .toc-link[data-active="true"] {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: #fff;
}

.page-news .index-note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.75;
  color: var(--slate);
}

.page-news .stream-main {
  min-width: 0;
}

.page-news .filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 6px;
  border-radius: var(--pill);
  background: #fff;
  border: 1px solid var(--news-line);
  box-shadow: var(--shadow-soft);
}

.page-news .filter-label {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--slate);
  white-space: nowrap;
}

.page-news .filter-input {
  flex: 1 1 170px;
  min-width: 0;
  padding: 6px 4px;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
}

.page-news .filter-input:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.page-news .filter-count {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--slate);
  white-space: nowrap;
}

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

.page-news .entry {
  display: grid;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--news-line);
}

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

.page-news .entry-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.page-news .entry-no {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--slate);
}

.page-news .entry-time {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--slate);
}

.page-news .entry-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.52;
  color: var(--blue-900);
  transition: color .18s var(--ease);
}

.page-news .entry:hover .entry-title {
  color: var(--blue-500);
}

.page-news .entry-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.82;
  color: #33405A;
}

.page-news .filter-empty {
  margin: 20px 0 0;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--orange-100);
  font-size: 14px;
  line-height: 1.7;
  color: #8A3A12;
}

.page-news .filter-empty[hidden] {
  display: none;
}

/* ---------- 版本对比 ---------- */
.page-news .versions-band {
  padding: 58px 0;
  background: var(--blue-100);
}

.page-news .compare-grid {
  display: grid;
  gap: 14px;
}

.page-news .compare-panel {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px 20px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(15, 76, 154, .14);
}

.page-news .compare-panel--now {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: #fff;
}

.page-news .compare-tag {
  margin: 0;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--slate);
}

.page-news .compare-tag--now {
  color: var(--mint-400);
}

.page-news .compare-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  color: inherit;
}

.page-news .compare-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.72;
  color: #33405A;
}

.page-news .compare-panel--now .compare-list {
  color: rgba(255, 255, 255, .88);
}

.page-news .compare-mid {
  display: none;
}

.page-news .fold-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.page-news .fold {
  padding: 0 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(15, 76, 154, .16);
}

.page-news .fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--blue-900);
  list-style: none;
}

.page-news .fold summary::-webkit-details-marker {
  display: none;
}

.page-news .fold summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--blue-500);
}

.page-news .fold[open] summary::after {
  content: "−";
}

.page-news .fold > p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.82;
  color: #33405A;
}

/* ---------- 家庭场景 ---------- */
.page-news .family-band {
  padding: 58px 0;
  background: var(--paper);
}

.page-news .family-layout {
  display: grid;
  gap: 22px;
  margin-bottom: 28px;
}

.page-news .family-copy {
  display: grid;
  gap: 10px;
  align-content: start;
}

.page-news .family-copy .lede {
  margin: 0;
  font-size: 15px;
  line-height: 1.82;
  color: #33405A;
}

.page-news .family-copy .btn {
  justify-self: start;
  margin-top: 6px;
}

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

.page-news .family-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

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

.page-news .family-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 20px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--news-line);
  border-top: 3px solid var(--blue-500);
}

.page-news .family-card .family-kicker {
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--orange-500);
  line-height: 1.6;
}

.page-news .family-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.48;
  color: var(--blue-900);
}

.page-news .family-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #33405A;
}

/* ---------- 通知 ---------- */
.page-news .subscribe-band {
  padding: 58px 0 64px;
  background: linear-gradient(160deg, #FFE3D3 0%, #FBEEDF 52%, var(--paper) 100%);
}

.page-news .subscribe-layout {
  display: grid;
  gap: 24px;
}

.page-news .subscribe-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-news .subscribe-copy > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: #2A3448;
}

.page-news .subscribe-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-news .subscribe-points li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: #2A3448;
}

.page-news .subscribe-points .dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: .58em;
  border-radius: 50%;
  background: var(--blue-700);
}

.page-news .subscribe-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
}

.page-news .subscribe-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(16, 27, 45, .1);
  box-shadow: var(--shadow-soft);
}

.page-news .subscribe-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-news .masthead-grid {
    grid-template-columns: minmax(0, 1fr) 236px;
    gap: 40px;
    align-items: start;
  }

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

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

  .page-news .entry {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 960px) {
  .page-news .news-masthead {
    padding: 34px 0 70px;
  }

  .page-news .masthead-lede {
    font-size: 17px;
  }

  .page-news .focus-band,
  .page-news .stream-band,
  .page-news .versions-band,
  .page-news .family-band,
  .page-news .subscribe-band {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .page-news .focus-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
    gap: 22px;
    align-items: stretch;
  }

  .page-news .focus-side {
    grid-template-columns: minmax(0, 1fr);
    align-content: stretch;
  }

  .page-news .stream-layout {
    grid-template-columns: 226px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }

  .page-news .stream-index {
    position: sticky;
    top: 96px;
  }

  .page-news .compare-grid {
    grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
    align-items: stretch;
  }

  .page-news .compare-mid {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .page-news .compare-arrow {
    display: block;
    width: 26px;
    height: 26px;
    border-top: 2px solid var(--blue-700);
    border-right: 2px solid var(--blue-700);
    transform: rotate(45deg);
  }

  .page-news .family-layout {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 42px;
    align-items: center;
  }

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

  .page-news .family-card:nth-child(2) {
    margin-top: 24px;
  }

  .page-news .family-card:nth-child(4) {
    margin-top: 24px;
  }

  .page-news .subscribe-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 46px;
    align-items: center;
  }
}

@media (min-width: 1180px) {
  .page-news .focus-lead-body {
    padding: 26px 26px 30px;
  }

  .page-news .entry {
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-areas:
      "head head"
      "title title"
      "text text";
    column-gap: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .entry-title,
  .page-news .toc-link,
  .page-news .link-more {
    transition: none;
  }
}
