.page-news {
  --news-cut: 14px;
  --news-rail: 218px;
  --news-line: rgba(36, 64, 95, .85);
  --news-line-soft: rgba(36, 64, 95, .45);
  padding-bottom: clamp(48px, 8vw, 96px);
}

.page-news .breadcrumb {
  padding-top: clamp(18px, 3vw, 30px);
}

/* ---------- 页头 ---------- */
.page-news .page-head {
  max-width: 74ch;
  padding: clamp(22px, 4vw, 42px) 0 clamp(18px, 3vw, 28px);
}

.page-news .page-head__title {
  margin: 10px 0 0;
  font-size: clamp(25px, 4.4vw, 42px);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -.012em;
  color: var(--paper-100);
}

.page-news .lede {
  margin: 16px 0 0;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-soft);
}

.page-news .meta-line {
  margin: 14px 0 0;
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--gray-200);
}

/* ---------- 章节间距 ---------- */
.page-news .section + .section {
  margin-top: clamp(44px, 6.5vw, 80px);
}

.page-news .section__title {
  font-size: clamp(19px, 2.6vw, 26px);
  line-height: 1.4;
  color: var(--paper-100);
}

.page-news .section__lede {
  margin-top: 10px;
  max-width: 68ch;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-soft);
}

/* ---------- 01 栏目卡片 ---------- */
.page-news .column-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
}

.page-news .column-card {
  position: relative;
  padding: 24px 18px 22px;
  background: linear-gradient(168deg, var(--ink-700) 0%, var(--ink-800) 100%);
  border: 1px solid var(--ink-500);
  clip-path: polygon(0 0,
      calc(100% - var(--news-cut)) 0,
      100% var(--news-cut),
      100% 100%,
      var(--news-cut) 100%,
      0 calc(100% - var(--news-cut)));
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-news .column-card::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  width: 36px;
  height: 3px;
  background: var(--gray-400);
}

.page-news .column-card--gold::before { background: var(--gold-400); }
.page-news .column-card--jade::before { background: var(--jade-300); }
.page-news .column-card--clay::before { background: var(--clay-500); }
.page-news .column-card--moss::before { background: var(--moss-400); }

.page-news .column-card:hover {
  transform: translateY(-2px);
  background: linear-gradient(168deg, var(--ink-700) 0%, var(--ink-700) 100%);
}

.page-news .column-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.page-news .column-card__freq {
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--gray-200);
}

.page-news .column-card__idx {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink-500);
}

.page-news .column-card--gold .column-card__idx { color: rgba(214, 169, 76, .55); }
.page-news .column-card--jade .column-card__idx { color: rgba(87, 180, 155, .5); }
.page-news .column-card--clay .column-card__idx { color: rgba(169, 96, 60, .6); }
.page-news .column-card--moss .column-card__idx { color: rgba(110, 127, 92, .65); }

.page-news .column-card__title {
  margin: 16px 0 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--paper-100);
}

.page-news .column-card__desc {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-soft);
}

/* ---------- 02 条目列表 ---------- */
.page-news .news-banner {
  margin: 26px 0 0;
  border: 1px solid var(--ink-500);
  overflow: hidden;
  background: var(--ink-900);
}

.page-news .news-banner img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  opacity: .5;
}

.page-news .entry-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 26px;
}

.page-news .entry-rail {
  padding: 16px 16px 18px;
  background: var(--ink-800);
  border: 1px solid var(--ink-500);
  border-left: 3px solid var(--gold-400);
}

.page-news .entry-rail__label {
  margin: 0;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--gray-200);
}

.page-news .entry-rail__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-news .entry-rail__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 8px;
  border-left: 2px solid transparent;
  cursor: default;
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.page-news .entry-rail__link {
  font-size: 14px;
  color: var(--text-soft);
  outline: none;
}

.page-news .entry-rail__item:hover,
.page-news .entry-rail__item:focus-within {
  background: rgba(36, 64, 95, .55);
  border-left-color: var(--gold-400);
}

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

.page-news .entry-rail__count {
  font-size: 12px;
  color: var(--gray-400);
}

.page-news .entry-rail__hint {
  margin: 14px 0 0;
  font-size: 11px;
  line-height: 1.75;
  color: var(--gray-400);
}

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

.page-news .entry {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 20px 0 20px 10px;
  border-bottom: 1px solid var(--news-line);
  transition: background-color var(--dur) var(--ease);
}

.page-news .entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--ink-500);
  transition: background-color var(--dur) var(--ease), width var(--dur) var(--ease);
}

.page-news .entry:hover,
.page-news .entry:focus-within {
  background: rgba(18, 39, 63, .55);
}

.page-news .entry:hover::before,
.page-news .entry:focus-within::before {
  width: 3px;
  background: var(--gold-400);
}

.page-news .entry.is-linked::before {
  background: var(--jade-300);
  width: 3px;
}

.page-news .entry.is-linked {
  background: rgba(47, 143, 121, .08);
}

.page-news .entry__idx {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink-500);
  padding-top: 2px;
}

.page-news .entry__inner {
  min-width: 0;
}

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

.page-news .entry__time {
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--gray-200);
}

.page-news .entry__title {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
}

.page-news .entry__title a {
  color: var(--paper-100);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.page-news .entry__title a:hover,
.page-news .entry__title a:focus-visible {
  color: var(--cinnabar-300);
}

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

.page-news .entry__sum {
  margin: 9px 0 0;
  max-width: 66ch;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-soft);
}

.page-news .entry__link {
  margin: 10px 0 0;
  font-size: 11.5px;
  letter-spacing: .04em;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity var(--dur) var(--ease), max-height var(--dur) var(--ease);
}

.page-news .entry:hover .entry__link,
.page-news .entry:focus-within .entry__link {
  opacity: 1;
  max-height: 3em;
}

.page-news .entry__link a {
  color: var(--gold-400);
  text-decoration: none;
  border-bottom: 1px dashed rgba(214, 169, 76, .5);
}

.page-news .entry__link a:hover,
.page-news .entry__link a:focus-visible {
  color: var(--paper-100);
  border-bottom-color: var(--paper-100);
}

/* ---------- 03 查看周期 ---------- */
.page-news .cycle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 24px;
}

.page-news .cycle-figure {
  margin: 0;
  border: 1px solid var(--ink-500);
  background: var(--ink-800);
  overflow: hidden;
}

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

.page-news .cycle-panel {
  padding: 22px 18px 20px;
  background: var(--ink-800);
  border: 1px solid var(--ink-500);
}

.page-news .cycle-bar {
  display: flex;
  gap: 3px;
  margin-bottom: 46px;
}

.page-news .cycle-seg {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  min-height: 86px;
  padding: 12px 10px;
  background: var(--ink-700);
  border-bottom: 3px solid var(--moss-400);
  outline: none;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-news .cycle-seg--day { flex: 38 1 0; border-bottom-color: var(--jade-500); }
.page-news .cycle-seg--week { flex: 34 1 0; border-bottom-color: var(--jade-300); }
.page-news .cycle-seg--month { flex: 28 1 0; border-bottom-color: var(--gold-400); }

.page-news .cycle-seg:hover,
.page-news .cycle-seg:focus-visible {
  background: var(--ink-500);
}

.page-news .cycle-seg:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 2px;
}

.page-news .cycle-seg__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--paper-100);
}

.page-news .cycle-seg__pct {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: var(--gray-200);
}

.page-news .cycle-seg--day .cycle-seg__pct { color: var(--jade-300); }
.page-news .cycle-seg--month .cycle-seg__pct { color: var(--gold-400); }

.page-news .cycle-seg__tip {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  width: min(210px, 60vw);
  padding: 8px 10px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--paper-100);
  background: var(--ink-900);
  border: 1px solid var(--ink-500);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
  z-index: 3;
}

.page-news .cycle-seg:hover .cycle-seg__tip,
.page-news .cycle-seg:focus-visible .cycle-seg__tip {
  opacity: 1;
  visibility: visible;
}

.page-news .cycle-notes {
  border-top: 1px solid var(--news-line-soft);
}

.page-news .cycle-notes .data-list__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  padding: 12px 0;
  border-bottom: 1px solid var(--news-line-soft);
}

.page-news .cycle-notes .data-list__key {
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--gold-400);
}

.page-news .cycle-notes .data-list__val {
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-soft);
}

.page-news .note {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.85;
  color: var(--gray-200);
}

.page-news .note--boxed {
  padding: 14px 16px;
  background: rgba(36, 64, 95, .35);
  border-left: 3px solid var(--clay-500);
}

/* ---------- 04 专题系列 ---------- */
.page-news .series-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 24px;
}

.page-news .series-mark {
  margin: 0;
  border: 1px solid var(--ink-500);
  background: var(--ink-800);
  overflow: hidden;
}

.page-news .series-mark img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-news .series-detail {
  display: grid;
  gap: 0;
}

.page-news .series-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid var(--news-line);
}

.page-news .series-row:first-child {
  border-top: 1px solid var(--news-line);
}

.page-news .series-row__stage {
  align-self: start;
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--paper-100);
  background: var(--clay-500);
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
  justify-self: start;
}

.page-news .series-row__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--paper-100);
}

.page-news .series-row__desc {
  margin: 8px 0 0;
  max-width: 64ch;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-soft);
}

.page-news .series-foot {
  margin: 16px 0 0;
  font-size: 11.5px;
  line-height: 1.8;
  letter-spacing: .03em;
  color: var(--gray-200);
}

/* ---------- 05 归档与检索 ---------- */
.page-news .archive-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 24px;
}

.page-news .archive-figure {
  margin: 0;
  border: 1px solid var(--ink-500);
  background: var(--ink-800);
  overflow: hidden;
}

.page-news .archive-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 9 / 5;
  object-fit: cover;
}

.page-news .archive-ways {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-news .archive-way {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 14px 14px;
  background: var(--ink-800);
  border: 1px solid var(--ink-500);
  border-top: 2px solid var(--ink-500);
  transition: border-top-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.page-news .archive-way:hover {
  border-top-color: var(--gold-400);
  background: var(--ink-700);
}

.page-news .archive-way__key {
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--gold-400);
}

.page-news .archive-way__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-soft);
}

.page-news .archive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-news .column-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .page-news .cycle-notes .data-list__row {
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
  }

  .page-news .series-row {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
  }

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

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

  .page-news .entry-rail {
    position: sticky;
    top: 96px;
  }

  .page-news .cycle-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 28px;
    align-items: stretch;
  }

  .page-news .series-block {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 30px;
    align-items: start;
  }

  .page-news .archive-block {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 30px;
    align-items: start;
  }
}

@media (min-width: 1060px) {
  .page-news .column-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .page-news .entry {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    padding: 24px 0 24px 14px;
  }

  .page-news .entry__idx {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .column-card,
  .page-news .entry,
  .page-news .entry::before,
  .page-news .entry__link,
  .page-news .cycle-seg,
  .page-news .archive-way {
    transition: none;
  }

  .page-news .column-card:hover {
    transform: none;
  }
}
