.page-news {
  --news-hair: rgba(201, 162, 39, .42);
  --news-hair-soft: rgba(201, 162, 39, .22);
  --news-soft-clay: rgba(242, 164, 136, .26);
  background-color: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

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

.page-news .news-masthead {
  position: relative;
  padding: clamp(20px, 3vw, 36px) 0 clamp(40px, 6vw, 76px);
  overflow: hidden;
}

.page-news .news-masthead::before {
  content: "";
  position: absolute;
  left: -18%;
  bottom: -34%;
  width: clamp(240px, 42vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 62% 38%, var(--clay), rgba(242, 164, 136, 0) 68%);
  opacity: .4;
  pointer-events: none;
  z-index: 0;
}

.page-news .news-masthead::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 6%;
  width: clamp(120px, 20vw, 260px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--news-hair);
  opacity: .8;
  pointer-events: none;
  z-index: 0;
}

.page-news .news-masthead .shell {
  position: relative;
  z-index: 1;
}

.page-news .news-masthead__eyebrow {
  margin-top: clamp(20px, 3vw, 34px);
}

.page-news .news-masthead__title {
  margin: 16px 0 0;
  color: var(--brown);
  line-height: 1.04;
}

.page-news .news-masthead__lede {
  margin: 22px 0 0;
  max-width: 54ch;
  font-size: 18px;
  color: var(--ink);
  opacity: .9;
}

.page-news .news-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(26px, 4vw, 40px);
}

.page-news .news-jump a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--pill);
  border: 1px solid var(--news-hair);
  background: var(--card);
  color: var(--brown);
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  transition: transform .22s var(--ease), background-color .22s var(--ease), border-color .22s var(--ease);
}

.page-news .news-jump a:hover,
.page-news .news-jump a:focus-visible {
  transform: translateY(-3px);
  background: var(--soft-clay, var(--clay));
  border-color: var(--orange);
}

.page-news .news-jump a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.page-news .news-jump .num {
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

/* ---------- 通用章节头 ---------- */

.page-news .news-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.page-news .news-head .h2 {
  margin: 0;
  color: var(--brown);
}

.page-news .news-note {
  margin: 0;
  max-width: 58ch;
  color: var(--ink);
  opacity: .78;
  font-size: 16px;
}

/* ---------- 本周更新 ---------- */

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

.page-news .news-weekly__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: clamp(22px, 3.4vw, 34px) 0;
  border-bottom: 1px solid var(--news-hair);
  transition: transform .24s var(--ease);
}

.page-news .news-weekly__no {
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--clay);
}

.page-news .news-weekly__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.page-news .news-weekly__time {
  font-size: 14px;
  color: var(--ink);
  opacity: .68;
}

.page-news .news-weekly__body .h3 {
  margin: 0;
  color: var(--brown);
}

.page-news .news-weekly__body p {
  margin: 0;
  max-width: 64ch;
  color: var(--ink);
  opacity: .9;
}

@media (min-width: 760px) {
  .page-news .news-weekly__item {
    grid-template-columns: 128px 1fr;
    align-items: start;
    gap: 28px;
  }

  .page-news .news-weekly__item:hover .news-weekly__no {
    color: var(--orange);
  }

  .page-news .news-weekly__no {
    transition: color .24s var(--ease);
    padding-top: 6px;
  }
}

/* ---------- 案例合集 ---------- */

.page-news .news-cases__lead {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.page-news .news-cases__lead img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-news .news-case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-news .news-case {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 24px;
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-1);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease);
}

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

.page-news .news-case__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--mist);
  margin-bottom: 4px;
}

.page-news .news-case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-news .news-case .tag {
  align-self: flex-start;
}

.page-news .news-case__title {
  margin: 0;
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 800;
  line-height: 1.4;
  color: var(--brown);
  letter-spacing: -.01em;
}

.page-news .news-case__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  opacity: .86;
}

.page-news .news-case__cue {
  margin-top: auto;
  padding-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}

.page-news .news-case:hover .news-case__cue,
.page-news .news-case:focus-within .news-case__cue {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .page-news .news-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .page-news .news-case-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

/* ---------- 版本与活动动态 ---------- */

.page-news .news-releases {
  background:
    radial-gradient(circle at 88% 8%, rgba(228, 87, 46, .3), rgba(22, 50, 79, 0) 56%),
    radial-gradient(circle at 4% 96%, rgba(201, 162, 39, .18), rgba(22, 50, 79, 0) 52%),
    var(--ink);
  color: var(--paper);
}

.page-news .news-releases__title {
  margin: 14px 0 0;
  color: var(--paper);
}

.page-news .news-releases__note {
  margin: 14px 0 0;
  color: rgba(251, 244, 233, .78);
  font-size: 16px;
  max-width: 46ch;
}

.page-news .news-release-list {
  margin-top: clamp(22px, 3.4vw, 34px);
}

.page-news .news-release {
  border-top: 1px solid rgba(251, 244, 233, .2);
  padding: 16px 0;
}

.page-news .news-release:last-of-type {
  border-bottom: 1px solid rgba(251, 244, 233, .2);
}

.page-news .news-release summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 14px;
  cursor: pointer;
  list-style: none;
  padding: 4px 2px;
  transition: color .2s var(--ease);
}

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

.page-news .news-release summary:hover {
  color: var(--clay);
}

.page-news .news-release summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-md);
}

.page-news .news-release__when {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .02em;
  white-space: nowrap;
}

.page-news .news-release__title {
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--paper);
  letter-spacing: -.01em;
}

.page-news .news-release__cue {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
  align-self: center;
}

.page-news .news-release__cue::before,
.page-news .news-release__cue::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--clay);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}

.page-news .news-release__cue::before {
  width: 14px;
  height: 2px;
}

.page-news .news-release__cue::after {
  width: 2px;
  height: 14px;
}

.page-news .news-release[open] .news-release__cue::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

.page-news .news-release__body {
  padding: 10px 2px 6px;
}

.page-news .news-release__body p {
  margin: 0;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(251, 244, 233, .82);
}

.page-news .news-releases__media {
  margin-top: clamp(28px, 4vw, 44px);
}

.page-news .news-releases__media .media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(221, 231, 240, .14);
}

.page-news .news-releases__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 900px) {
  .page-news .news-releases__grid {
    align-items: start;
  }

  .page-news .news-releases__media {
    margin-top: 6px;
  }
}

/* ---------- 使用技巧 ---------- */

.page-news .news-tip-list {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--news-hair);
}

.page-news .news-tip {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: clamp(20px, 3vw, 28px) 0;
  border-bottom: 1px solid var(--news-hair);
  align-items: start;
}

.page-news .news-tip__mark {
  font-size: 20px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -.02em;
  padding-top: 4px;
}

.page-news .news-tip__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-news .news-tip__title {
  margin: 0;
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 800;
  line-height: 1.45;
  color: var(--brown);
  letter-spacing: -.01em;
}

.page-news .news-tip__body p {
  margin: 0;
  max-width: 66ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  opacity: .88;
}

.page-news .news-tip__link {
  align-self: flex-start;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid var(--news-hair);
  padding-bottom: 2px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.page-news .news-tip__link:hover,
.page-news .news-tip__link:focus-visible {
  color: var(--orange-deep);
  border-color: var(--orange-deep);
}

.page-news .news-tip__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (min-width: 900px) {
  .page-news .news-tip-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: clamp(32px, 5vw, 72px);
  }
}

/* ---------- 更新节奏与订阅 ---------- */

.page-news .news-subscribe__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 44px);
  padding: clamp(26px, 4vw, 48px);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow-1);
  position: relative;
  overflow: hidden;
}

.page-news .news-subscribe__panel::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px solid var(--news-hair-soft);
  pointer-events: none;
}

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

.page-news .news-subscribe__intro .h2 {
  margin: 14px 0 0;
  color: var(--brown);
}

.page-news .news-subscribe__intro p {
  margin: 16px 0 0;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink);
  opacity: .9;
}

.page-news .news-subscribe__aside {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 3vw, 26px);
  border-radius: var(--radius-lg);
  background: var(--mist);
}

.page-news .news-subscribe__label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink);
  opacity: .72;
}

.page-news .news-subscribe__chip {
  width: 100%;
  justify-content: space-between;
}

.page-news .news-subscribe__small {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  opacity: .8;
}

.page-news .news-subscribe__btn {
  align-self: flex-start;
  margin-top: 4px;
}

@media (min-width: 900px) {
  .page-news .news-subscribe__panel {
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }
}

/* ---------- 收尾 ---------- */

.page-news .news-outro__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: clamp(8px, 2vw, 20px);
}

.page-news .news-outro__title {
  margin: 0;
  color: var(--brown);
}

.page-news .news-outro__text {
  margin: 0;
  max-width: 54ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  opacity: .86;
}

.page-news .news-outro__actions {
  margin-top: 6px;
}

/* ---------- 减少动效 ---------- */

@media (prefers-reduced-motion: reduce) {
  .page-news .news-case,
  .page-news .news-weekly__no,
  .page-news .news-jump a,
  .page-news .news-tip__link {
    transition: none;
  }

  .page-news .news-case:hover,
  .page-news .news-case:focus-within,
  .page-news .news-jump a:hover,
  .page-news .news-jump a:focus-visible {
    transform: none;
  }

  .page-news .news-case__cue {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.page-news {
  --soft-clay: transparent;
}
