.page-news {
  --pn-sand-soft: #F4E7CB;
  --pn-sand-ink: #7A5A17;
  --pn-grass-soft: #DDEDE3;
  --pn-alert-soft: #F7E2D6;
  --pn-alert-ink: #A2451B;
  --pn-rail-w: 190px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  padding-bottom: clamp(48px, 8vw, 96px);
  overflow-x: hidden;
}

.page-news .pn-wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.page-news img {
  max-width: 100%;
  height: auto;
}

/* ---------- 面包屑 ---------- */
.page-news .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: clamp(16px, 3vw, 26px);
  font-size: 13px;
  color: var(--slate);
}

.page-news .breadcrumb__link {
  color: var(--lake);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-news .breadcrumb__link:hover {
  border-bottom-color: var(--lake);
}

/* ---------- 页头 ---------- */
.page-news .phead {
  padding-block: clamp(20px, 4vw, 40px) clamp(22px, 4vw, 38px);
  border-bottom: 1px solid var(--rule);
}

.page-news .phead__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--lake);
}

.page-news .phead h1 {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 5.6vw, 3.3rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.025em;
  max-width: 22ch;
}

.page-news .phead__lede {
  margin: 0 0 22px;
  max-width: 62ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.82;
  color: var(--slate);
}

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

.page-news .phead__time {
  font-size: 12.5px;
  color: var(--ink);
  border-left: 2px solid var(--sand);
  padding-left: 10px;
}

/* ---------- 标签 ---------- */
.page-news .tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 2px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.page-news .tag--lake { background: var(--lake-soft); color: var(--lake-deep); }
.page-news .tag--sand { background: var(--pn-sand-soft); color: var(--pn-sand-ink); }
.page-news .tag--grass { background: var(--pn-grass-soft); color: var(--grass); }
.page-news .tag--alert { background: var(--pn-alert-soft); color: var(--pn-alert-ink); }

/* ---------- 置顶大卡 ---------- */
.page-news .pin {
  margin-top: clamp(24px, 4vw, 44px);
  display: grid;
  background: var(--lake-deep);
  color: #fff;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border-left: 6px solid var(--sand);
}

.page-news .pin__media {
  position: relative;
  min-height: 200px;
}

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

.page-news .pin__body {
  padding: clamp(22px, 4vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-news .pin__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--sand);
}

.page-news .pin h2 {
  margin: 0;
  font-size: clamp(1.32rem, 3vw, 1.85rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -.01em;
}

.page-news .pin p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .84);
}

.page-news .pin__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.page-news .pin__stats li {
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 2px;
  padding: 6px 10px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .8);
}

.page-news .pin__stats b {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--sand);
  margin-right: 4px;
}

.page-news .pin__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.page-news .pin__cta {
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.page-news .pin__cta--solid {
  background: var(--sand);
  color: var(--ink);
}

.page-news .pin__cta--solid:hover {
  background: #DBB05C;
}

.page-news .pin__cta--line {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}

.page-news .pin__cta--line:hover {
  background: rgba(255, 255, 255, .14);
}

.page-news .pin__cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ---------- 章节头 ---------- */
.page-news .log,
.page-news .topics {
  margin-top: clamp(38px, 6vw, 68px);
}

.page-news .log__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  padding-bottom: 12px;
  margin-bottom: clamp(20px, 3vw, 30px);
  border-bottom: 2px solid var(--ink);
}

.page-news .log__index {
  font-size: 12.5px;
  letter-spacing: .14em;
  color: var(--lake);
}

.page-news .log__title {
  margin: 0;
  font-size: clamp(1.3rem, 2.6vw, 1.72rem);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.2;
}

.page-news .log__note {
  margin: 0 0 0 auto;
  font-size: 12.5px;
  color: var(--slate);
}

/* ---------- 分类轨道 + 条目流 ---------- */
.page-news .log__body {
  display: grid;
  gap: 20px;
}

.page-news .log__rail-note {
  display: none;
  margin: 18px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--slate);
  border-left: 2px solid var(--rule);
  padding-left: 10px;
}

.page-news .tabs__list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-news .tabs__tab {
  flex: 0 0 auto;
  appearance: none;
  margin: 0;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
  text-align: left;
  cursor: pointer;
  transition: color .16s var(--ease), border-color .16s var(--ease), background-color .16s var(--ease);
}

.page-news .tabs__tab:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.page-news .tabs__tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--sand);
}

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

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

.page-news .log__lead {
  margin: 0 0 4px;
  padding-bottom: 14px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--slate);
  max-width: 58ch;
}

/* ---------- 条目 ---------- */
.page-news .log-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}

.page-news .log-item__num {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--sand);
  padding-top: 3px;
  transition: color .16s var(--ease);
}

.page-news .log-item:hover .log-item__num {
  color: var(--lake);
}

.page-news .log-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.page-news .log-item__time {
  font-size: 12px;
  color: var(--slate);
}

.page-news .log-item h3 {
  margin: 0 0 8px;
  font-size: clamp(1rem, 2vw, 1.1rem);
  font-weight: 700;
  line-height: 1.46;
  letter-spacing: -.005em;
}

.page-news .log-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--slate);
  max-width: 60ch;
}

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

.page-news .topic {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.page-news .topic:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.page-news .topic__media {
  background: repeating-linear-gradient(135deg, var(--paper-2) 0 10px, #fff 10px 20px);
}

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

.page-news .topic__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px;
  flex: 1;
}

.page-news .topic h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

.page-news .topic p {
  margin: 0;
  flex: 1;
  font-size: 13.8px;
  line-height: 1.78;
  color: var(--slate);
}

.page-news .topic__link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--lake);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.page-news .topic__link:hover {
  color: var(--lake-deep);
}

.page-news .topic--plain {
  background: var(--lake-soft);
  border-color: #BFDFEA;
  justify-content: center;
}

/* ---------- 刷新节奏 ---------- */
.page-news .cadence {
  margin-top: clamp(38px, 6vw, 68px);
  display: grid;
  gap: 24px;
  padding: clamp(22px, 4vw, 40px);
  background: var(--night);
  color: #fff;
  border-radius: 3px;
}

.page-news .cadence__kicker {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--sand);
}

.page-news .cadence h2 {
  margin: 0 0 14px;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.page-news .cadence p {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.82;
  color: rgba(255, 255, 255, .78);
  max-width: 56ch;
}

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

.page-news .cadence__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .9);
}

.page-news .cadence__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grass);
}

.page-news .cadence__foot {
  margin: 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .7);
}

.page-news .link-inline {
  color: var(--sand);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(201, 154, 61, .55);
}

.page-news .link-inline:hover {
  border-bottom-color: var(--sand);
}

.page-news .cadence__card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 3px;
  overflow: hidden;
}

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

.page-news .cadence__card p {
  margin: 0;
  padding: 14px 16px;
  font-size: 12.8px;
  line-height: 1.72;
  color: rgba(255, 255, 255, .72);
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-news .pin {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 900px) {
  .page-news .log__body {
    grid-template-columns: var(--pn-rail-w) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }

  .page-news .log__rail {
    position: sticky;
    top: calc(var(--topbar-h, 62px) + 20px);
  }

  .page-news .log__rail-note {
    display: block;
  }

  .page-news .tabs__list {
    flex-direction: column;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-news .tabs__tab {
    width: 100%;
  }

  .page-news .pin {
    grid-template-columns: 1.05fr 1fr;
  }

  .page-news .cadence {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
    gap: 36px;
  }
}

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

  .page-news .log-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .topic,
  .page-news .tabs__tab,
  .page-news .log-item__num,
  .page-news .pin__cta {
    transition: none;
  }

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