.page-news {
  --news-time-col: 86px;
  display: block;
}

.page-news .breadcrumbs {
  padding-top: 26px;
  padding-bottom: 6px;
  font-size: 13px;
  color: var(--c-muted);
}

.page-news .breadcrumbs__item {
  color: var(--c-muted);
  text-decoration: none;
}

.page-news .breadcrumbs a.breadcrumbs__item:hover {
  color: var(--c-ink);
}

.page-news .breadcrumbs__item:last-child {
  color: var(--c-ink);
}

.page-news .section {
  padding-block: clamp(42px, 6vw, 78px);
}

.page-news .section--panel {
  background: linear-gradient(180deg, rgba(14, 23, 35, 0.9), rgba(7, 12, 20, 0.2));
}

/* ---------- 首屏 ---------- */
.news-hero {
  padding-top: clamp(14px, 2.5vw, 28px);
}

.news-hero__grid {
  display: grid;
  gap: 30px;
}

.news-hero h1 {
  margin: 16px 0 0;
}

.news-hero .lede {
  margin-top: 18px;
  max-width: 46ch;
}

.news-hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
  max-width: 470px;
}

.news-metric {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 12px;
  border-top: 1px solid var(--c-line);
}

.news-metric__num {
  font-family: var(--font-mono);
  font-size: clamp(20px, 3.4vw, 28px);
  letter-spacing: -0.02em;
  color: var(--c-lime);
  line-height: 1.1;
}

.news-metric__key {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-muted);
}

.news-hero__board {
  position: relative;
  overflow: hidden;
  padding: 26px 24px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(158deg, rgba(111, 208, 140, 0.12), rgba(7, 12, 20, 0) 46%),
    var(--c-panel);
}

.news-hero__board::after {
  content: "";
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -70px;
  height: 170px;
  background: radial-gradient(closest-side, rgba(242, 163, 60, 0.26), rgba(242, 163, 60, 0));
  pointer-events: none;
}

.news-board__title {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.news-board__row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px dashed var(--c-line);
}

.news-board__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.news-board__num {
  font-family: var(--font-mono);
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--c-moss);
  line-height: 1.1;
}

.news-board__num--lime {
  color: var(--c-lime);
}

.news-board__num--amber {
  color: var(--c-amber);
}

.news-board__num--clay {
  color: var(--c-clay);
}

.news-board__label {
  font-size: 13px;
  color: var(--c-muted);
  text-align: right;
}

/* ---------- 列表区 ---------- */
.news-feed__head {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.news-feed__head .muted {
  max-width: 54ch;
  line-height: 1.75;
}

.news-tabs__list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.page-news .news-tabs__tab {
  flex: 0 0 auto;
  padding: 10px 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  background: rgba(14, 23, 35, 0.6);
  color: var(--c-muted);
  font-family: var(--font-body);
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.page-news .news-tabs__tab:hover {
  color: var(--c-ink);
  border-color: rgba(111, 208, 140, 0.5);
}

.page-news .news-tabs__tab[aria-selected="true"] {
  color: var(--c-ink);
  border-color: var(--c-moss);
  background: rgba(111, 208, 140, 0.16);
}

.page-news .news-tabs__tab:focus-visible {
  outline: 2px solid var(--c-lime);
  outline-offset: 2px;
}

.news-panel {
  padding-top: 22px;
}

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

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

.news-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 20px 20px 20px 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-panel);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.news-item:hover {
  border-color: rgba(168, 230, 58, 0.5);
  transform: translateY(-2px);
}

.news-item__time .numeric {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--c-muted);
  transition: color var(--dur) var(--ease);
}

.news-item:hover .news-item__time .numeric {
  color: var(--c-lime);
}

.news-item__body {
  display: grid;
  gap: 10px;
  align-content: start;
}

.news-item__title {
  margin: 0;
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}

.news-item__excerpt {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--c-muted);
}

.news-item__media {
  margin: 4px 0 0;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--c-line);
}

.news-item__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 12px;
  border: 1px solid currentColor;
  border-radius: var(--r-pill);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.news-tag--moss {
  color: var(--c-moss);
  background: rgba(111, 208, 140, 0.12);
  border-color: rgba(111, 208, 140, 0.42);
}

.news-tag--amber {
  color: var(--c-amber);
  background: rgba(242, 163, 60, 0.12);
  border-color: rgba(242, 163, 60, 0.42);
}

.news-tag--clay {
  color: var(--c-clay);
  background: rgba(228, 113, 60, 0.12);
  border-color: rgba(228, 113, 60, 0.42);
}

.news-tag--lime {
  color: var(--c-lime);
  background: rgba(168, 230, 58, 0.12);
  border-color: rgba(168, 230, 58, 0.42);
}

.news-item__link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding-bottom: 2px;
  font-size: 13px;
  color: var(--c-moss);
  text-decoration: none;
  border-bottom: 1px dashed rgba(111, 208, 140, 0.45);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.news-item__link:hover {
  color: var(--c-lime);
  border-bottom-color: rgba(168, 230, 58, 0.65);
}

/* ---------- 专题 ---------- */
.news-series__head {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}

.news-series__head .lede {
  max-width: 52ch;
}

.news-series__figure {
  margin: 0 0 30px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.news-series__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-series__grid {
  display: grid;
  gap: 16px;
}

.news-series__item {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: linear-gradient(165deg, rgba(242, 163, 60, 0.08), rgba(7, 12, 20, 0) 55%), var(--c-panel);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.news-series__item:hover {
  border-color: rgba(242, 163, 60, 0.5);
  transform: translateY(-2px);
}

.news-series__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--c-amber);
}

.news-series__item h3 {
  margin: 0;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.45;
}

.news-series__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-muted);
}

/* ---------- 长文 ---------- */
.news-longread__head {
  display: grid;
  gap: 14px;
}

.news-longread__title {
  margin: 0;
  max-width: 20ch;
  font-family: var(--font-display);
  font-size: clamp(30px, 7vw, 64px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: var(--c-ink);
}

.news-longread__figure {
  margin: 30px 0 32px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.news-longread__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 3;
  object-fit: cover;
}

.news-longread__body {
  display: grid;
  gap: 20px;
  max-width: 70ch;
}

.news-longread__body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-ink);
}

.news-longread__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 4px 0 2px;
}

.news-stat {
  display: grid;
  gap: 5px;
  padding: 6px 0 6px 14px;
  border-left: 2px solid var(--c-moss);
}

.news-stat--clay {
  border-left-color: var(--c-clay);
}

.news-stat--amber {
  border-left-color: var(--c-amber);
}

.news-stat--lime {
  border-left-color: var(--c-lime);
}

.news-stat__num {
  font-family: var(--font-mono);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  line-height: 1.15;
}

.news-stat__key {
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--c-muted);
}

/* ---------- 技巧 ---------- */
.news-tips__grid {
  display: grid;
  gap: 30px;
}

.news-tips__figure {
  margin: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.news-tips__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.news-tips__copy {
  display: grid;
  gap: 14px;
  align-content: center;
}

.news-tips__copy .muted {
  line-height: 1.75;
  max-width: 48ch;
}

.news-tips__steps {
  counter-reset: tip;
  display: grid;
  gap: 16px;
  margin: 8px 0 4px;
  padding: 0;
  list-style: none;
}

.news-tips__steps li {
  position: relative;
  padding-left: 50px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--c-ink);
}

.news-tips__steps li::before {
  counter-increment: tip;
  content: "0" counter(tip);
  position: absolute;
  left: 0;
  top: 2px;
  padding: 2px 9px;
  border: 1px solid rgba(111, 208, 140, 0.42);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-moss);
}

/* ---------- 收口 ---------- */
.news-cta__panel {
  display: grid;
  gap: 22px;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(132deg, rgba(111, 208, 140, 0.14), rgba(228, 113, 60, 0.14) 52%, rgba(7, 12, 20, 0) 86%),
    var(--c-panel);
}

.news-cta__panel .lede {
  max-width: 58ch;
}

.news-cta__panel .btn-row {
  flex-wrap: wrap;
}

/* ---------- 响应式 ---------- */
@media (min-width: 620px) {
  .news-item {
    grid-template-columns: var(--news-time-col) minmax(0, 1fr);
    column-gap: 16px;
  }

  .news-item__body {
    grid-column: 2;
  }
}

@media (min-width: 720px) {
  .news-longread__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .news-series__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .news-item--lead {
    grid-column: 1 / -1;
    grid-template-columns: var(--news-time-col) minmax(0, 1fr) minmax(0, 300px);
  }

  .news-item--lead .news-item__media {
    margin-top: 0;
  }

  .news-tips__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: 52px;
  }
}

@media (min-width: 960px) {
  .news-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 52px;
    align-items: start;
  }

  .news-hero__board {
    margin-top: 46px;
  }
}
