.page-news {
  --card-accent: var(--color-blue);
  position: relative;
  background: var(--color-paper);
  color: var(--color-ink);
  overflow-x: hidden;
}

/* 公告条 */
.news-ribbon {
  background: var(--color-blue);
  color: var(--color-white);
  padding: 10px 0;
  border-bottom: 3px solid var(--color-red);
  position: relative;
  overflow: hidden;
}
.news-ribbon::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255,255,255,.08) 14px 28px);
}
.news-ribbon__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.news-ribbon__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  flex: 0 0 auto;
  animation: news-pulse 2.4s infinite ease-out;
}
@keyframes news-pulse {
  0% { box-shadow: 0 0 0 0 rgba(5,150,105,.5); }
  70% { box-shadow: 0 0 0 8px rgba(5,150,105,0); }
  100% { box-shadow: 0 0 0 0 rgba(5,150,105,0); }
}
.news-ribbon__tag {
  background: var(--color-red);
  color: var(--color-white);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  white-space: nowrap;
}
.news-ribbon__text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,.92);
}

/* 页头 */
.news-hero {
  background:
    radial-gradient(circle at 85% 18%, rgba(245,158,11,.18), transparent 32%),
    linear-gradient(180deg, var(--color-white) 0%, var(--color-paper) 100%);
  padding: 30px 0 56px;
  position: relative;
  overflow: hidden;
}
.news-hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 38%;
  background: linear-gradient(145deg, transparent 36%, var(--color-blue) 36%, var(--color-blue) 64%, transparent 64%);
  opacity: .10;
  pointer-events: none;
}
.news-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-gray);
  position: relative;
  z-index: 2;
}
.news-hero .breadcrumb a {
  color: var(--color-blue);
  text-decoration: none;
}
.news-hero .breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb__sep {
  color: var(--color-line);
}
.news-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
  margin-top: 30px;
}
.news-hero__title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.12;
  margin: 12px 0 16px;
  max-width: 720px;
  letter-spacing: -.01em;
}
.news-hero__lead {
  max-width: 640px;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-gray);
}
.news-hero__ticket {
  background: var(--color-ink);
  color: var(--color-white);
  border-radius: 20px;
  padding: 18px 22px;
  border-left: 6px solid var(--color-red);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 4px;
  position: relative;
  overflow: hidden;
}
.news-hero__ticket::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 90px;
  height: 90px;
  background: rgba(245,158,11,.18);
  border-radius: 50%;
  pointer-events: none;
}
.news-hero__ticket-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  grid-column: 1 / -1;
}
.news-hero__ticket-version {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}
.news-hero__ticket-desc {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  align-self: end;
  justify-self: end;
  padding-bottom: 4px;
}
.news-hero__cta {
  margin-top: 14px;
  width: 100%;
  justify-content: center;
}

/* 新闻目录 */
.news-directory {
  padding: 56px 0 64px;
}
.news-directory__layout {
  display: grid;
  gap: 28px;
}
.news-directory__sidebar-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.news-directory__title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  margin: 6px 0 10px;
}
.news-directory__hint {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-gray);
  margin: 0 0 18px;
}
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.news-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  background: var(--color-paper);
  color: var(--color-ink);
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.news-filter__btn:hover {
  border-color: var(--color-blue);
}
.news-filter__btn[aria-pressed="true"] {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
}
.news-filter__count {
  background: rgba(15,23,42,.08);
  border-radius: var(--radius-pill);
  padding: 1px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.news-filter__btn[aria-pressed="true"] .news-filter__count {
  background: rgba(255,255,255,.18);
}
.news-directory__index-link {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-blue);
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
  padding-bottom: 2px;
  transition: color .3s var(--ease);
}
.news-directory__head {
  margin-bottom: 28px;
  border-left: 4px solid var(--color-red);
  padding-left: 16px;
}
.news-directory__head .section-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}
.news-directory__head .section-intro {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--color-gray);
}

/* 文章列表 */
.news-list {
  display: grid;
  gap: 20px;
}
.news-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border-left: 6px solid var(--card-accent);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.news-card[data-filter-item="版本发布"] { --card-accent: var(--color-red); }
.news-card[data-filter-item="功能教程"] { --card-accent: var(--color-gold); }
.news-card[data-filter-item="数据洞察"] { --card-accent: var(--color-blue); }
.news-card[data-filter-item="服务公告"] { --card-accent: var(--color-green); }
.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px -22px rgba(15,23,42,.24);
}
.news-card.is-hidden {
  display: none;
}
.news-card--media {
  display: grid;
  grid-template-columns: 1fr;
}
.news-card__media {
  position: relative;
  overflow: hidden;
  background: var(--color-blue-soft);
}
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 170px;
  max-width: 100%;
}
.news-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.news-card__date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-gray);
  letter-spacing: .02em;
}
.news-card__title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}
.news-card__summary {
  font-size: 14px;
  line-height: 1.68;
  color: var(--color-gray);
  margin: 0;
}
.news-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
}
.news-card__link {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--card-accent);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: border-color .3s var(--ease);
}
.news-card__link:hover {
  border-bottom-color: currentColor;
}
.news-card__arrow {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--card-accent);
  opacity: .8;
}

/* 版本更新日志 */
.changelog {
  position: relative;
  background: var(--color-ink);
  color: var(--color-white);
  padding: 64px 0 72px;
  overflow: hidden;
}
.changelog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--color-red) 0 30%, var(--color-gold) 30% 45%, transparent 45%);
}
.changelog::after {
  content: "";
  position: absolute;
  right: -80px;
  top: 18%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(30,64,175,.45), transparent 65%);
  pointer-events: none;
}
.changelog .container {
  position: relative;
  z-index: 1;
}
.changelog .eyebrow {
  color: rgba(255,255,255,.5);
}
.changelog__title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  margin: 8px 0 12px;
}
.changelog__intro {
  color: rgba(255,255,255,.66);
  font-size: 14px;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 0 22px;
}
.changelog__link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-gold);
  text-decoration: none;
  border-bottom: 1px dashed rgba(245,158,11,.6);
  padding-bottom: 2px;
}
.changelog__list {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.changelog__item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  align-items: start;
  position: relative;
  overflow: hidden;
}
.changelog__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-red);
}
.changelog__version {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  color: var(--color-gold);
  grid-row: span 2;
  padding: 2px 0 0;
}
.changelog__year {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,.5);
  letter-spacing: .12em;
  justify-self: end;
}
.changelog__content h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 6px 0 6px;
}
.changelog__content p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,.66);
  margin: 0;
}

/* 热门标签 */
.news-tags {
  padding: 56px 0 64px;
}
.news-tags__grid {
  display: grid;
  gap: 28px;
}
.news-tags__head .section-title {
  margin: 6px 0 10px;
  font-size: 28px;
  line-height: 1.15;
}
.news-tags__cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: flex-start;
}
.news-tags__cloud .tag {
  font-size: 14px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: default;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.news-tags__cloud .tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -12px rgba(15,23,42,.3);
}
.tag--blue {
  background: var(--color-blue-soft);
  color: var(--color-blue);
}

/* 订阅通讯 */
.newsletter {
  background:
    radial-gradient(circle at 82% 26%, rgba(245,158,11,.22), transparent 40%),
    linear-gradient(135deg, var(--color-blue) 0%, var(--color-ink) 160%);
  color: var(--color-white);
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -40px;
  width: 220px;
  height: 220px;
  border: 2px solid rgba(255,255,255,.12);
  border-radius: 50%;
  pointer-events: none;
}
.newsletter__panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}
.newsletter .eyebrow {
  color: rgba(255,255,255,.6);
}
.newsletter__title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin: 8px 0 12px;
}
.newsletter__desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.8);
  margin: 0;
  max-width: 560px;
}
.newsletter__form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  align-content: flex-start;
}
.newsletter__input {
  flex: 1 1 220px;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 14px 18px;
  font-size: 14px;
  font-family: var(--font-sans);
  background: var(--color-white);
  color: var(--color-ink);
  outline: none;
  min-width: 0;
}
.newsletter__btn {
  white-space: nowrap;
  background: var(--color-red);
  border-color: var(--color-red);
}
.newsletter__note {
  flex-basis: 100%;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  margin: 4px 0 0;
  line-height: 1.5;
}

/* 桌面端增强 */
@media (min-width: 760px) {
  .news-hero__title {
    font-size: 46px;
  }
  .news-hero__lead {
    font-size: 17px;
  }
  .news-directory__head .section-title {
    font-size: 36px;
  }
  .news-card__title {
    font-size: 22px;
  }
  .news-card--media {
    grid-template-columns: 260px 1fr;
  }
  .news-card__media img {
    min-height: 230px;
  }
  .changelog__title {
    font-size: 38px;
  }
  .changelog__list {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .newsletter__title {
    font-size: 34px;
  }
  .newsletter__desc {
    font-size: 15px;
  }
}

@media (min-width: 980px) {
  .news-hero__grid {
    grid-template-columns: 1fr 240px;
    align-items: end;
  }
  .news-directory__layout {
    grid-template-columns: 260px 1fr;
    gap: 40px;
  }
  .news-directory__sidebar {
    position: sticky;
    top: 110px;
    align-self: start;
  }
  .news-tags__grid {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
  .newsletter__panel {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 40px;
  }
}
