.page-news {
  --news-side-w: 320px;
  --news-lift: 3px;
}

/* 面包屑 */
.page-news .news-crumb {
  margin-top: 22px;
}

/* 首屏 */
.page-news .news-hero {
  position: relative;
  margin-top: 18px;
  padding: 42px 0 54px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(130% 100% at 84% -10%, rgba(56, 232, 198, 0.16), transparent 58%),
    radial-gradient(90% 80% at 4% 112%, rgba(242, 184, 75, 0.1), transparent 62%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-3) 100%);
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(0deg, var(--line) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 72%);
}

.page-news .news-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
}

.page-news .news-hero__title {
  margin: 14px 0 0;
  font-weight: 300;
  font-size: clamp(32px, 6.4vw, 58px);
  line-height: 1.09;
  letter-spacing: 0.035em;
  color: var(--paper);
}

.page-news .news-hero__lede {
  max-width: 60ch;
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--haze);
}

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

.page-news .news-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 38px;
  margin: 32px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.page-news .news-hero__stats div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.page-news .news-hero__stats dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--stone);
}

.page-news .news-hero__stats dd {
  margin: 0;
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

/* 图像容器 */
.page-news .news-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--deep);
}

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

.page-news .news-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(56, 232, 198, 0.22), transparent 46%),
    linear-gradient(315deg, rgba(242, 184, 75, 0.13), transparent 54%);
}

.page-news .news-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(184, 199, 206, 0.05) 0 1px, transparent 1px 5px);
}

.page-news .news-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px 16px 13px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  color: var(--haze);
  background: linear-gradient(0deg, rgba(5, 10, 16, 0.9), transparent);
}

.page-news .news-hero__figure {
  aspect-ratio: 2 / 1;
}

.page-news .news-hero__figure img {
  height: 100%;
}

/* 主体两栏 */
.page-news .news-shell {
  display: grid;
  gap: 44px;
  padding-top: 54px;
  padding-bottom: 76px;
}

.page-news .news-block {
  margin-bottom: 58px;
}

.page-news .news-block:last-child {
  margin-bottom: 0;
}

/* 章节头 */
.page-news .news-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-strong);
}

.page-news .news-head__note {
  max-width: 64ch;
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--stone);
}

/* 公告条目 */
.page-news .news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-news .news-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 20px 12px 20px 14px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}

.page-news .news-item:hover,
.page-news .news-item:focus-within {
  border-left-color: var(--cyan);
  background: linear-gradient(90deg, rgba(56, 232, 198, 0.08), rgba(56, 232, 198, 0) 74%);
}

.page-news .news-item__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.11em;
  color: var(--gold);
}

.page-news .news-item__time {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.11em;
  color: var(--stone);
}

.page-news .news-item__title {
  margin: 0;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.52;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.page-news .news-item__text {
  margin: 9px 0 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--haze);
}

.page-news .news-item__more > p {
  margin: 0;
  padding-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(56, 232, 198, 0.78);
}

/* 版本条目 */
.page-news .news-vers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-news .news-vers__item {
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  background: var(--ink-2);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-left-color var(--t) var(--ease);
}

.page-news .news-vers__item:hover {
  transform: translate(calc(var(--news-lift) * -1), calc(var(--news-lift) * -1));
  box-shadow: 6px 6px 0 rgba(56, 232, 198, 0.2);
  border-left-color: var(--gold);
}

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

.page-news .news-vers__ver {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.09em;
  color: var(--gold);
}

.page-news .news-vers__title {
  margin: 0;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.5;
  color: var(--paper);
}

.page-news .news-vers__text {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--haze);
}

/* 专题 */
.page-news .news-topics {
  display: grid;
  gap: 16px;
}

.page-news .news-topic {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(18, 40, 61, 0.9), rgba(11, 27, 43, 0.92));
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease);
}

.page-news .news-topic:hover {
  transform: translateY(-3px);
  border-color: var(--line-cyan);
}

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

.page-news .news-topic__title {
  margin: 0;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.45;
  color: var(--paper);
}

.page-news .news-topic__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--haze);
}

.page-news .news-topic__meta {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--stone);
}

.page-news .news-topic__figure {
  aspect-ratio: 10 / 7;
}

.page-news .news-topic__figure img {
  height: 100%;
}

/* 标签页 */
.page-news .news-tabs {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.page-news .news-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.page-news .news-tabs__list .bw-tab {
  transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease);
}

.page-news .news-tabs__list .bw-tab:hover {
  border-color: var(--line-cyan);
  color: var(--cyan);
}

.page-news .news-tabs__list .bw-tab[aria-selected="true"] {
  background: rgba(56, 232, 198, 0.14);
  border-color: var(--cyan);
  color: var(--cyan);
}

.page-news .news-panel {
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-cyan);
  background: rgba(18, 40, 61, 0.55);
  padding: 4px 14px;
}

.page-news .news-taglist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .news-taglist li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
  padding: 15px 8px 15px 12px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}

.page-news .news-taglist li:last-child {
  border-bottom: 0;
}

.page-news .news-taglist li:hover {
  border-left-color: var(--gold);
  background: rgba(242, 184, 75, 0.06);
}

.page-news .news-taglist__time {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  color: var(--gold);
}

.page-news .news-taglist__text {
  font-size: 15px;
  line-height: 1.68;
  color: var(--haze);
}

/* 更新节奏 */
.page-news .news-rhythm {
  border-top: 1px solid var(--line);
}

.page-news .news-rhythm__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.page-news .news-rhythm__when {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-news .news-rhythm__what {
  margin: 0;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  color: var(--paper);
}

.page-news .news-rhythm__why {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--haze);
}

/* 侧栏 */
.page-news .news-side {
  margin-bottom: 18px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  background: var(--ink-2);
}

.page-news .news-side:last-child {
  margin-bottom: 0;
}

.page-news .news-side--screen {
  border-left: 3px solid var(--cyan);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(56, 232, 198, 0.12), transparent 60%),
    var(--ink-2);
}

.page-news .news-side__title {
  margin: 10px 0 0;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.48;
  color: var(--paper);
}

.page-news .news-side__text {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--haze);
}

.page-news .news-side__figure {
  margin: 16px 0;
  aspect-ratio: 4 / 3;
}

.page-news .news-side__figure img {
  height: 100%;
}

.page-news .news-side__list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-news .news-side__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.62;
  color: var(--haze);
}

.page-news .news-side__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 1px;
  background: var(--cyan);
}

.page-news .news-side .bw-btn {
  margin-top: 2px;
}

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

  .page-news .news-taglist li {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 18px;
    align-items: baseline;
  }
}

@media (min-width: 720px) {
  .page-news .news-head {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
  }

  .page-news .news-head__note {
    grid-column: 2;
  }

  .page-news .news-rhythm__row {
    grid-template-columns: 118px 190px minmax(0, 1fr);
    gap: 22px;
    align-items: baseline;
  }

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

@media (min-width: 900px) {
  .page-news .news-vers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page-news .news-topic--wide {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: stretch;
    gap: 24px;
  }

  .page-news .news-topic--wide .news-topic__figure {
    flex: 0 0 46%;
    aspect-ratio: 10 / 7;
  }

  .page-news .news-topic--wide .news-topic__body {
    flex: 1 1 auto;
    justify-content: center;
  }

  /* 悬停展开补充信息（桌面端） */
  .page-news .news-item__more {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 220ms var(--ease), opacity 220ms var(--ease);
  }

  .page-news .news-item__more > p {
    overflow: hidden;
    min-height: 0;
  }

  .page-news .news-item:hover .news-item__more,
  .page-news .news-item:focus-within .news-item__more {
    grid-template-rows: 1fr;
    opacity: 1;
  }
}

@media (min-width: 1024px) {
  .page-news .news-shell {
    grid-template-columns: minmax(0, 1fr) var(--news-side-w);
    gap: 56px;
    align-items: start;
  }

  .page-news .news-shell__side {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .page-news .news-hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 52px;
    align-items: end;
  }
}

@media (min-width: 1280px) {
  .page-news .news-hero {
    padding: 56px 0 66px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-item,
  .page-news .news-vers__item,
  .page-news .news-topic,
  .page-news .news-taglist li,
  .page-news .news-tabs__list .bw-tab {
    transition: none;
  }

  .page-news .news-vers__item:hover,
  .page-news .news-topic:hover {
    transform: none;
  }
}
