.page-news {
  padding-bottom: 4.5rem;
}

.page-news .breadcrumb {
  margin-bottom: 1.35rem;
}

/* ---- Hero 首屏 ---- */
.page-news .updates-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy) 0%, var(--indigo) 62%, var(--violet) 135%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem 1.5rem;
  box-shadow: var(--shadow-2);
}

.page-news .updates-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(100deg, rgba(0,0,0,.9), transparent 75%);
  mask-image: linear-gradient(100deg, rgba(0,0,0,.9), transparent 75%);
  pointer-events: none;
}

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

.page-news .updates-hero h1 {
  margin: .85rem 0 .9rem;
  font-family: var(--font-head);
  font-size: clamp(1.65rem, 4.6vw, 2.6rem);
  line-height: 1.22;
  letter-spacing: .01em;
}

.page-news .updates-hero-lead {
  font-size: .98rem;
  line-height: 1.7;
  color: rgba(255,255,255,.88);
  margin: 0 0 .65rem;
}

.page-news .updates-hero-lead strong {
  color: #ffffff;
  font-weight: 700;
}

.page-news .updates-hero-note {
  display: inline-block;
  font-size: .82rem;
  color: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: .3rem .75rem;
  margin: 0;
}

.page-news .updates-hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.5rem;
}

.page-news .hero-stat {
  flex: 1;
  min-width: 5.2rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md);
  padding: .8rem .6rem;
  text-align: center;
}

.page-news .hero-stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

.page-news .hero-stat-label {
  display: block;
  font-size: .72rem;
  color: rgba(255,255,255,.7);
  margin-top: .2rem;
}

/* ---- 分类筛选 ---- */
.page-news .updates-filter {
  margin: 2.25rem 0 1rem;
  padding: 1.25rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.page-news .filter-title {
  font-family: var(--font-head);
  font-size: 1.45rem;
  line-height: 1.3;
  margin: 0 0 .4rem;
  color: var(--navy);
  position: relative;
  display: inline-block;
  padding-bottom: .35rem;
  scroll-margin-top: 2rem;
}

.page-news .filter-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.6rem;
  height: 3px;
  background: var(--grad-accent);
  border-radius: 99px;
}

.page-news .filter-heading p {
  font-size: .88rem;
  color: var(--text);
  margin: 0 0 1rem;
}

.page-news .filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.page-news .filter-list li {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.page-news .filter-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .38rem .75rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  background: #ffffff;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}

.page-news .filter-tag:hover,
.page-news .filter-tag:focus-visible,
.page-news .filter-tag.is-active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  box-shadow: 0 4px 16px rgba(11,27,58,.18);
  transform: translateY(-1px);
}

.page-news .filter-count {
  font-size: .72rem;
  color: var(--violet);
  font-weight: 700;
  background: rgba(123,47,190,.1);
  border-radius: 999px;
  padding: .12rem .5rem;
}

/* ---- 最新动态 ---- */
.page-news .updates-feed {
  margin-top: 2rem;
}

.page-news .feed-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.page-news .feed-order {
  font-size: .78rem;
  color: var(--text);
  opacity: .65;
}

.page-news .feed-banner {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  margin-bottom: 1.6rem;
  box-shadow: var(--shadow-1);
}

.page-news .news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

.page-news .news-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  position: relative;
  box-shadow: var(--shadow-1);
  scroll-margin-top: 2rem;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}

.page-news .news-card:hover,
.page-news .news-card:focus-within {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}

.page-news .news-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--violet), var(--orange));
  opacity: .75;
}

.page-news .news-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: .7rem;
}

.page-news .news-time {
  font-size: .78rem;
  font-weight: 700;
  color: var(--wine);
  background: rgba(165,42,42,.08);
  padding: .2rem .55rem;
  border-radius: 999px;
}

.page-news .news-cat {
  font-size: .74rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.page-news .cat-interface {
  background: rgba(123,47,190,.1);
  color: var(--violet);
}

.page-news .cat-feature {
  background: rgba(11,27,58,.08);
  color: var(--navy);
}

.page-news .cat-event {
  background: rgba(255,107,53,.14);
  color: var(--orange);
}

.page-news .cat-security {
  background: rgba(75,0,130,.1);
  color: var(--indigo);
}

.page-news .news-card-title {
  font-family: var(--font-head);
  font-size: 1.12rem;
  line-height: 1.4;
  margin: 0 0 .55rem;
  color: var(--text);
}

.page-news .news-card-excerpt {
  font-size: .92rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 .8rem;
}

.page-news .news-details {
  border-top: 1px dashed var(--border);
  padding-top: .7rem;
}

.page-news .news-details summary {
  cursor: pointer;
  font-size: .82rem;
  font-weight: 600;
  color: var(--violet);
  list-style: none;
  user-select: none;
}

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

.page-news .news-details summary::after {
  content: "+";
  display: inline-block;
  margin-left: .4rem;
  font-weight: 700;
  transition: transform .2s var(--ease);
}

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

.page-news .news-details summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.page-news .news-details-body {
  margin-top: .7rem;
  font-size: .88rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: .8rem 1rem;
}

.page-news .news-details-body p {
  margin: 0 0 .5rem;
}

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

.page-news .card-thumb,
.page-news .special-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 1rem 0 .6rem;
}

/* ---- 专题 · 焕新之路 ---- */
.page-news .updates-special {
  margin-top: 2.75rem;
  padding: 1.6rem 1.25rem;
  background: linear-gradient(150deg, rgba(123,47,190,.08), rgba(255,107,53,.1));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(123,47,190,.2);
}

.page-news .special-board {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

.page-news .special-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  line-height: 0;
}

.page-news .special-image {
  margin: 0;
  border-radius: var(--radius-md);
}

.page-news .special-content h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  margin: 0 0 .6rem;
  color: var(--navy);
}

.page-news .special-lead {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 1rem;
}

.page-news .special-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: grid;
  gap: .6rem;
}

.page-news .special-points li {
  position: relative;
  padding: .6rem .8rem .6rem 1.6rem;
  font-size: .88rem;
  line-height: 1.6;
  color: var(--text);
  background: rgba(255,255,255,.55);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(11,27,58,.08);
}

.page-news .special-points li::before {
  content: "";
  position: absolute;
  left: .7rem;
  top: 1.05rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,53,.2);
}

.page-news .special-feedback {
  margin: 0 0 1.2rem;
  padding: .8rem 1rem;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(255,107,53,.25);
  border-radius: var(--radius-md);
}

.page-news .special-feedback-label {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  color: var(--orange);
  margin-right: .5rem;
  background: rgba(255,107,53,.1);
  padding: .15rem .5rem;
  border-radius: 999px;
}

.page-news .special-feedback p {
  margin: .4rem 0 0;
  font-size: .86rem;
  line-height: 1.65;
  color: var(--text);
}

.page-news .special-link {
  display: inline-block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--violet);
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  padding-bottom: .15rem;
}

/* ---- 历史更新时间线 ---- */
.page-news .updates-history {
  margin-top: 2.75rem;
}

.page-news .history-timeline {
  margin-top: 1.5rem;
  position: relative;
  padding-left: 4.2rem;
}

.page-news .history-timeline::before {
  content: "";
  position: absolute;
  left: 3.75rem;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--violet), var(--orange), var(--navy));
  opacity: .35;
}

.page-news .history-item {
  position: relative;
  padding-bottom: 1.6rem;
}

.page-news .history-item:last-child {
  padding-bottom: 0;
}

.page-news .history-marker {
  position: absolute;
  left: 0;
  top: 3px;
  width: 3.4rem;
  text-align: right;
  font-size: .78rem;
  font-weight: 800;
  color: var(--violet);
  line-height: 1.4;
}

.page-news .history-marker::after {
  content: "";
  position: absolute;
  right: -1.35rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--violet);
  transform: translateY(-50%);
  box-shadow: 0 0 0 3px rgba(123,47,190,.16);
}

.page-news .history-item.current .history-marker {
  color: var(--orange);
}

.page-news .history-item.current .history-marker::after {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,107,53,.22);
}

.page-news .history-body {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: .95rem 1.1rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.page-news .history-body:hover,
.page-news .history-body:focus-within {
  transform: translateX(4px);
  box-shadow: var(--shadow-1);
}

.page-news .history-body h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  margin: 0 0 .35rem;
  color: var(--navy);
}

.page-news .history-body p {
  font-size: .86rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

.page-news .history-item.current .history-body {
  border-color: rgba(255,107,53,.5);
  background: linear-gradient(135deg, rgba(255,107,53,.06), #ffffff 55%);
}

.page-news .history-footer-link {
  margin-top: 1.6rem;
  text-align: right;
}

.page-news .history-footer-link a {
  display: inline-block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--violet);
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  padding-bottom: .15rem;
}

/* ---- 桌面端增强 ---- */
@media (min-width: 768px) {
  .page-news .updates-hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: end;
    padding: 2.5rem 2.25rem;
  }

  .page-news .updates-hero-stats {
    flex-direction: column;
    margin-top: 0;
  }

  .page-news .feed-banner {
    max-height: 420px;
  }

  .page-news .news-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
  }

  .page-news .special-board {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
  }

  .page-news .updates-special {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .page-news .updates-filter {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem 1.75rem;
  }

  .page-news .filter-heading {
    max-width: 320px;
  }

  .page-news .filter-heading p {
    margin-bottom: 0;
  }

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

  .page-news .history-timeline {
    padding-left: 6rem;
  }

  .page-news .history-timeline::before {
    left: 4.75rem;
  }

  .page-news .history-marker {
    width: 4.2rem;
  }
}
