.page-news {
  --news-rail: 280px;
  --news-grid-line: rgba(17, 24, 32, .06);
  background: var(--paper-100);
  color: var(--body-text);
  font-family: var(--font-body);
}

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

.page-news .section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.page-news .breadcrumb {
  padding-top: 18px;
}

.page-news .display-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 7vw, 54px);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--deep-900);
  margin: 10px 0 0;
}

.page-news .lede {
  max-width: 56ch;
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--body-text);
}

/* ---------- 首屏 ---------- */
.news-hero {
  padding: 16px 0 36px;
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(90deg, var(--news-grid-line) 1px, transparent 1px),
    linear-gradient(var(--news-grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
}

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

.news-hero__main {
  min-width: 0;
}

.news-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.news-hero__status {
  min-width: 0;
  padding: 18px 18px 20px;
  background: var(--deep-900);
  color: var(--paper-100);
  border-left: 3px solid var(--amber-400);
  border-radius: var(--radius);
}

.news-hero__statuslabel {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--amber-400);
}

.news-hero__batch {
  margin: 8px 0 6px;
  font-family: var(--font-mono);
  font-size: clamp(34px, 9vw, 44px);
  line-height: 1;
  letter-spacing: -.02em;
  color: #fff;
}

.news-hero__batchtext {
  margin: 0;
  font-size: 13px;
  color: rgba(246, 242, 233, .72);
}

.news-hero__meta {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-invert);
  display: grid;
  gap: 8px;
}

.news-hero__meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.news-hero__meta dt {
  color: rgba(246, 242, 233, .62);
}

.news-hero__meta dd {
  margin: 0;
  font-family: var(--font-mono);
  color: #fff;
}

/* ---------- 章节头 ---------- */
.news-sechead {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: baseline;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
}

.news-sechead .index-num {
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1;
  color: var(--amber-600);
}

.news-sechead .section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(21px, 3.6vw, 32px);
  line-height: 1.2;
  color: var(--deep-900);
}

.news-sechead__note {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--stone-500);
}

/* ---------- 本期精选 ---------- */
.feature-card {
  display: grid;
  overflow: hidden;
  background: var(--deep-900);
  color: var(--paper-100);
  border-radius: var(--radius);
}

.feature-card__body {
  min-width: 0;
  padding: 22px 18px 24px;
}

.feature-card__tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.feature-card__batch {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--amber-400);
}

.feature-card__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(21px, 4vw, 28px);
  line-height: 1.3;
  color: #fff;
}

.feature-card__text {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(246, 242, 233, .8);
}

.feature-card__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.feature-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(246, 242, 233, .7);
}

.feature-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 9px;
  height: 1px;
  background: var(--amber-400);
}

.feature-card .link-arrow {
  color: var(--amber-400);
}

.feature-card__media {
  margin: 0;
  min-height: 190px;
}

.feature-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 列表与筛选 ---------- */
.feed-layout {
  display: grid;
  gap: 28px;
}

.feed-main {
  min-width: 0;
}

.feed-rail {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.feed-rail__block {
  padding-top: 10px;
  border-top: 2px solid var(--deep-700);
}

.feed-rail__label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--stone-500);
}

.feed-filter {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.feed-filter__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--deep-700);
  text-decoration: none;
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.feed-filter__link:hover {
  background: var(--paper-200);
  border-color: var(--line-strong);
}

.feed-filter__link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.feed-filter__count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: inherit;
  opacity: .62;
}

.page-news:has(#all-feed:target) .feed-filter__link[href="#all-feed"],
.page-news:has(#cat-review:target) .feed-filter__link[href="#cat-review"],
.page-news:has(#cat-region:target) .feed-filter__link[href="#cat-region"],
.page-news:has(#cat-guide:target) .feed-filter__link[href="#cat-guide"],
.page-news:has(#cat-weekly:target) .feed-filter__link[href="#cat-weekly"] {
  background: var(--deep-900);
  border-color: var(--deep-900);
  color: var(--paper-100);
}

.page-news:has(#cat-review:target) .feed-filter__link[href="#cat-review"] .feed-filter__count,
.page-news:has(#cat-region:target) .feed-filter__link[href="#cat-region"] .feed-filter__count,
.page-news:has(#cat-guide:target) .feed-filter__link[href="#cat-guide"] .feed-filter__count,
.page-news:has(#cat-weekly:target) .feed-filter__link[href="#cat-weekly"] .feed-filter__count,
.page-news:has(#all-feed:target) .feed-filter__link[href="#all-feed"] .feed-filter__count {
  color: var(--amber-400);
  opacity: 1;
}

.page-news:has(#cat-review:target) .feed-row:not(.is-review),
.page-news:has(#cat-region:target) .feed-row:not(.is-region),
.page-news:has(#cat-guide:target) .feed-row:not(.is-guide),
.page-news:has(#cat-weekly:target) .feed-row:not(.is-weekly) {
  display: none;
}

.feed-batch {
  margin: 0;
  display: grid;
  gap: 8px;
}

.feed-batch div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.feed-batch dt {
  color: var(--stone-500);
}

.feed-batch dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--deep-700);
  text-align: right;
}

.feed-rail__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.feed-rail__links a {
  color: var(--deep-500);
  font-size: 13.5px;
  line-height: 1.55;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}

.feed-rail__links a:hover {
  color: var(--amber-600);
  border-bottom-color: var(--amber-400);
}

.feed-target {
  display: block;
  height: 0;
  overflow: hidden;
  scroll-margin-top: 96px;
}

.feed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}

.feed-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 4px 12px;
  padding: 16px 6px 16px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .2s ease;
}

.feed-row:hover {
  background: rgba(234, 227, 212, .45);
}

.feed-row__index {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--amber-600);
}

.feed-row__body {
  min-width: 0;
}

.feed-row__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 16.5px;
  line-height: 1.45;
  color: var(--deep-900);
}

.feed-row__text {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--body-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed-row__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.feed-row__batch {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--stone-500);
  padding-left: 10px;
  border-left: 1px solid var(--line-strong);
}

/* ---------- 五项维度 ---------- */
.dims-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

.dims-media {
  margin: 0;
  padding: 10px;
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.dims-media img {
  display: block;
  width: 100%;
  border-radius: 2px;
}

.dims-media .media__caption,
.rhythm-media .media__caption,
.paths-media .media__caption {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--stone-500);
}

.dims-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dims-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.dims-list li:first-child {
  border-top: 1px solid var(--line-strong);
}

.dims-list__num {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--celadon-500);
}

.dims-list h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 15.5px;
  color: var(--deep-900);
}

.dims-list p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--body-text);
}

/* ---------- 更新节奏 ---------- */
.rhythm-layout {
  display: grid;
  gap: 26px;
  align-items: start;
}

.rhythm-steps {
  list-style: none;
  margin: 0;
  padding: 0 0 0 24px;
  position: relative;
}

.rhythm-steps::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(var(--deep-700), var(--amber-400));
}

.rhythm-node {
  position: relative;
  padding-bottom: 20px;
}

.rhythm-node::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--paper-100);
  border: 2px solid var(--deep-700);
}

.rhythm-node--latest::before {
  background: var(--amber-400);
  border-color: var(--amber-600);
}

.rhythm-node__time {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--stone-500);
}

.rhythm-node h3 {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--deep-900);
}

.rhythm-node p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--body-text);
}

.rhythm-media {
  margin: 0;
  padding: 10px;
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.rhythm-media img {
  display: block;
  width: 100%;
  border-radius: 2px;
}

/* ---------- 编辑推荐路径 ---------- */
.paths-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

.paths-intro {
  min-width: 0;
}

.paths-intro > p {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--body-text);
}

.paths-media {
  margin: 0;
}

.paths-media img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
}

.path-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.path-item {
  padding: 16px 16px 18px;
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber-400);
  border-radius: var(--radius);
}

.path-item__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--deep-500);
}

.path-item h3 {
  margin: 7px 0 8px;
  font-family: var(--font-display);
  font-size: 17.5px;
  line-height: 1.35;
  color: var(--deep-900);
}

.path-item p {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--body-text);
}

/* ---------- 订阅 ---------- */
.sub-panel {
  display: grid;
  gap: 22px;
  padding: 20px 18px 22px;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(14, 51, 80, .18);
  border-radius: var(--radius);
}

.sub-panel__body {
  min-width: 0;
}

.sub-panel__body h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.35;
  color: var(--deep-900);
}

.sub-panel__body p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--body-text);
}

.sub-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.sub-panel__list li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--body-text);
}

.sub-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 8px;
  height: 1px;
  background: var(--celadon-500);
}

.sub-panel__action {
  min-width: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  justify-items: start;
}

.sub-panel__note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--stone-500);
  overflow-wrap: anywhere;
}

/* ---------- 断点 ---------- */
@media (min-width: 760px) {
  .page-news .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .news-hero {
    padding: 22px 0 48px;
  }

  .news-hero__grid {
    grid-template-columns: minmax(0, 1fr) 268px;
    gap: 36px;
    align-items: start;
  }

  .feature-card {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  }

  .feature-card__body {
    padding: 30px 28px 32px;
  }

  .feature-card__media {
    min-height: 100%;
  }

  .dims-layout {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 36px;
  }

  .rhythm-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
    gap: 36px;
  }

  .paths-layout {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 34px;
  }

  .sub-panel {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    align-items: center;
    gap: 30px;
    padding: 26px 28px 28px;
  }

  .sub-panel__action {
    padding-top: 0;
    padding-left: 24px;
    border-top: 0;
    border-left: 1px solid var(--line);
    align-self: stretch;
    align-content: center;
  }
}

@media (min-width: 1000px) {
  .feed-layout {
    grid-template-columns: var(--news-rail) minmax(0, 1fr);
    gap: 44px;
  }

  .feed-rail {
    position: sticky;
    top: 92px;
    align-self: start;
  }

  .feed-row {
    grid-template-columns: 40px 1fr;
    gap: 4px 16px;
    padding: 18px 10px 18px 0;
  }

  .feed-row__title {
    font-size: 17.5px;
  }

  .news-sechead {
    grid-template-columns: auto 1fr auto;
    align-items: baseline;
  }

  .news-sechead__note {
    grid-column: 3;
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news * {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
