.page-news {
  background: var(--cream);
  color: var(--ink);
}

.page-news h1,
.page-news h2,
.page-news h3 {
  margin: 0;
}

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

/* 首屏 */
.page-news .news-hero {
  border-bottom: 1px solid var(--rule-strong);
}

.page-news .news-hero__inner {
  display: grid;
  gap: 26px;
  padding: 18px 0 40px;
}

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

.page-news .news-hero__text .eyebrow {
  margin: 0 0 14px;
}

.page-news h1 {
  font-size: clamp(40px, 11vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.page-news .news-hero__lede {
  margin: 18px 0 0;
  max-width: 48ch;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(36, 31, 27, 0.8);
}

.page-news .news-hero__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 20px 0 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(36, 31, 27, 0.72);
}

.page-news .news-hero__meta li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.page-news .news-hero__meta li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--blue);
}

.page-news .news-hero__meta li:nth-child(2)::before {
  background: var(--spring);
}

.page-news .news-hero__meta li:nth-child(3)::before {
  background: var(--clay);
}

.page-news .news-hero__figure {
  margin: 0;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: var(--print-shadow);
}

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

/* 摘要条 */
.page-news .summary {
  background: var(--paper);
  border-bottom: 1px solid var(--rule-strong);
  padding: 26px 0 28px;
}

.page-news .summary__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 20px;
}

.page-news .summary__title {
  font-size: clamp(20px, 4.4vw, 26px);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.page-news .summary__note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(36, 31, 27, 0.62);
}

.page-news .summary__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 20px 0 0;
  border-top: 1px solid var(--rule);
}

.page-news .summary__cell {
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--rule);
  min-width: 0;
}

.page-news .summary__cell dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(36, 31, 27, 0.6);
}

.page-news .summary__cell dd {
  margin: 6px 0 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.page-news .summary__num {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--deep);
}

.page-news .summary__unit {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(36, 31, 27, 0.62);
}

.page-news .summary__foot {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(36, 31, 27, 0.78);
  max-width: 66ch;
}

.page-news .summary__link {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 6px;
}

.page-news .summary__link:hover {
  color: var(--clay);
}

/* 主体布局 */
.page-news .news-layout {
  display: grid;
  gap: 30px;
  padding: 34px 0 60px;
}

.page-news .news-rail {
  display: grid;
  gap: 22px;
  align-content: start;
  min-width: 0;
}

.page-news .rail-block {
  border-top: 2px solid var(--ink);
  padding-top: 10px;
}

.page-news .rail-block__label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(36, 31, 27, 0.62);
}

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

.page-news .rail-list__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px 9px 0;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: color 160ms ease, padding-left 160ms ease;
}

.page-news .rail-list__link:hover,
.page-news .rail-list__link:focus-visible {
  color: var(--blue);
  padding-left: 6px;
}

.page-news .rail-list__dot {
  width: 9px;
  height: 9px;
  flex: none;
}

.page-news .rail-list__dot--blue {
  background: var(--blue);
}

.page-news .rail-list__dot--spring {
  background: var(--spring);
}

.page-news .rail-list__dot--clay {
  background: var(--clay);
}

.page-news .rail-list__dot--mist {
  background: var(--mist);
}

.page-news .rail-list__count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(36, 31, 27, 0.55);
}

.page-news .ruler {
  list-style: none;
  margin: 0;
  padding: 2px 0 2px 14px;
  border-left: 1px solid var(--rule-strong);
  display: grid;
  gap: 14px;
}

.page-news .ruler__item {
  position: relative;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(36, 31, 27, 0.68);
}

.page-news .ruler__item::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 8px;
  width: 9px;
  height: 1px;
  background: var(--ink);
}

.page-news .ruler__item--now {
  color: var(--clay);
  font-weight: 600;
}

.page-news .ruler__item--now::before {
  width: 14px;
  height: 2px;
  top: 7px;
  background: var(--clay);
}

.page-news .ruler__item--end {
  color: rgba(36, 31, 27, 0.45);
}

.page-news .rail-block--help {
  background: var(--light-cyan);
  border-top-color: var(--blue);
  padding: 12px 12px 14px;
}

.page-news .rail-block__text {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(36, 31, 27, 0.78);
}

/* 条目流 */
.page-news .news-stream {
  min-width: 0;
  display: grid;
  gap: 44px;
}

.page-news .news-section {
  min-width: 0;
  padding-top: 22px;
  border-top: 1px solid var(--rule-strong);
}

.page-news .news-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 18px;
  margin-bottom: 14px;
}

.page-news .news-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(21px, 4.4vw, 30px);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.page-news .news-section__title::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  background: var(--blue);
}

.page-news .news-section--catalog .news-section__title::before {
  background: var(--spring);
}

.page-news .news-section--cases .news-section__title::before {
  background: var(--clay);
}

.page-news .news-section--compat .news-section__title::before {
  background: var(--mist);
}

.page-news .news-section--index .news-section__title::before {
  background: var(--deep);
}

.page-news .news-section__note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(36, 31, 27, 0.6);
}

.page-news .news-figure {
  margin: 0 0 16px;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  min-width: 0;
}

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

.page-news .news-figure figcaption {
  border-top: 1px solid var(--rule);
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(36, 31, 27, 0.64);
}

.page-news .entry-list {
  border-bottom: 1px solid var(--rule);
}

.page-news .entry {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  min-width: 0;
}

.page-news .entry__stamp {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--blue);
}

.page-news .news-section--catalog .entry__stamp {
  color: #3F7A5C;
}

.page-news .news-section--cases .entry__stamp {
  color: var(--clay);
}

.page-news .news-section--compat .entry__stamp {
  color: rgba(36, 31, 27, 0.62);
}

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

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

.page-news .entry__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.page-news .entry__text {
  margin: 7px 0 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(36, 31, 27, 0.78);
}

.page-news .entry__more {
  margin-top: 8px;
}

.page-news .entry__more summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--blue);
}

.page-news .entry__more summary::-webkit-details-marker {
  display: none;
}

.page-news .entry__more summary::before {
  content: "+";
  font-weight: 700;
}

.page-news .entry__more[open] summary::before {
  content: "–";
}

.page-news .entry__more summary:hover {
  color: var(--clay);
}

.page-news .entry__more summary:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}

.page-news .entry__more p {
  margin: 8px 0 0;
  max-width: 60ch;
  padding-left: 12px;
  border-left: 3px solid var(--light-clay);
  font-size: 13px;
  line-height: 1.75;
  color: rgba(36, 31, 27, 0.76);
}

/* 标签回溯 */
.page-news .news-index__lede {
  margin: 0 0 16px;
  max-width: 64ch;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(36, 31, 27, 0.78);
}

.page-news .news-index__wall {
  margin-bottom: 22px;
}

.page-news .news-index__wall .tag {
  text-decoration: none;
}

.page-news .news-index__foot {
  background: var(--deep);
  color: var(--cream);
  padding: 18px 16px 20px;
  display: grid;
  gap: 14px;
}

.page-news .news-index__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--on-deep);
  max-width: 60ch;
}

.page-news .news-index__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-news .news-index__foot .btn--ghost {
  color: var(--cream);
  border-color: rgba(247, 241, 230, 0.55);
}

.page-news .news-index__foot .btn--ghost:hover {
  background: var(--cream);
  color: var(--deep);
}

@media (min-width: 720px) {
  .page-news .news-hero__inner {
    padding: 24px 0 48px;
  }

  .page-news .news-hero__lede {
    font-size: 16px;
  }

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

  .page-news .summary__cell {
    padding: 16px 18px;
    border-bottom: 0;
    border-left: 1px solid var(--rule);
  }

  .page-news .summary__cell:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .page-news .summary__num {
    font-size: 38px;
  }

  .page-news .entry {
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 20px;
    padding: 18px 0;
  }

  .page-news .entry__stamp {
    padding-top: 2px;
    border-right: 1px solid var(--rule);
    padding-right: 12px;
  }

  .page-news .entry__title {
    font-size: 18px;
  }

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

  .page-news .news-index__foot {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 22px 24px;
  }
}

@media (min-width: 900px) {
  .page-news .news-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: end;
  }
}

@media (min-width: 980px) {
  .page-news .news-layout {
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 46px;
    padding: 44px 0 72px;
  }

  .page-news .news-rail {
    position: sticky;
    top: 96px;
    align-self: start;
  }

  .page-news .news-stream {
    gap: 52px;
  }

  .page-news .entry .entry__title {
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .rail-list__link {
    transition: none;
  }
}
