.page-news {
  --news-line: rgba(166, 179, 201, .22);
  --news-card: rgba(42, 51, 70, .32);
}

/* ---------- 首屏 ---------- */
.page-news .log-hero {
  padding-top: clamp(18px, 3vw, 34px);
}

.page-news .log-hero__card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: linear-gradient(155deg, var(--ink-bg-2) 0%, var(--ink-bg) 62%);
  padding: clamp(22px, 4vw, 52px);
}

.page-news .log-hero__card::before {
  content: "";
  position: absolute;
  inset: -34% 34% 42% -18%;
  background: radial-gradient(circle at 32% 34%, rgba(255, 106, 26, .24), transparent 64%);
  pointer-events: none;
}

.page-news .log-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 60ch;
}

.page-news .log-hero h1 {
  margin: 12px 0 16px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 6.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink);
}

.page-news .log-hero .lead {
  color: var(--mist);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  margin: 0 0 22px;
}

.page-news .log-hero__media {
  position: relative;
  z-index: 1;
  margin: clamp(22px, 3.4vw, 36px) 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--ink-bg-2);
  aspect-ratio: 14 / 5;
}

.page-news .media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: var(--ink-bg-2);
}

.page-news .media__img,
.page-news .media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.page-news .log-hero__facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-news .log-hero__facts .stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 14px;
  border-left: 2px solid var(--huohu-orange);
}

.page-news .log-hero__facts .stat__value {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}

.page-news .log-hero__facts .stat__label {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--mist);
}

/* ---------- 节奏 ---------- */
.page-news .cadence {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

.page-news .cadence__card {
  position: relative;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, var(--news-card), rgba(16, 18, 24, .2));
}

.page-news .cadence__card:first-child {
  border-color: rgba(255, 106, 26, .42);
}

.page-news .cadence__card:first-child::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(255, 138, 61, .14), transparent 58%);
  pointer-events: none;
}

.page-news .cadence__card .label-mono {
  color: var(--huohu-orange);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  margin: 0 0 12px;
}

.page-news .cadence__card h3 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: clamp(18px, 2.2vw, 21px);
  font-weight: 700;
  color: var(--ink);
}

.page-news .cadence__card p {
  margin: 0;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.75;
}

/* ---------- 时间线布局 ---------- */
.page-news .log-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.page-news .log-filter {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 18px 18px 20px;
  background: rgba(27, 31, 42, .7);
}

.page-news .log-filter .label-mono {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--mist);
  margin: 0 0 14px;
}

.page-news .log-filter__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--mist);
  text-decoration: none;
  background: rgba(42, 51, 70, .5);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.page-news .chip:hover,
.page-news .chip:focus-visible {
  color: var(--ink);
  border-color: var(--line-strong);
}

.page-news .chip.is-active {
  color: var(--ink);
  border-color: var(--huohu-orange);
  background: rgba(255, 106, 26, .16);
}

.page-news .chip--tag {
  border-color: transparent;
  background: rgba(47, 191, 155, .16);
  color: var(--archive-teal);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
}

.page-news .log-filter__hint {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--news-line);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--mist);
}

.page-news .log-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .log-list::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--huohu-orange), var(--news-line) 18%, var(--news-line) 82%, transparent);
}

.page-news .log-list > li + li {
  margin-top: 0;
}

.page-news .log-entry {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  padding-bottom: 26px;
}

.page-news .log-entry__rail {
  position: relative;
}

.page-news .log-entry__dot {
  display: block;
  width: 12px;
  height: 12px;
  margin: 9px auto 0;
  border-radius: 50%;
  background: var(--mist);
  box-shadow: 0 0 0 4px var(--ink-bg);
}

.page-news .log-entry__dot--done {
  background: var(--archive-teal);
}

.page-news .log-entry__dot--warn {
  background: var(--card-yellow);
}

.page-news .log-entry__dot--live {
  background: var(--huohu-orange);
  animation: newsPulse 2.4s ease-in-out infinite;
}

@keyframes newsPulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--ink-bg), 0 0 0 0 rgba(255, 106, 26, .5); }
  50% { box-shadow: 0 0 0 4px var(--ink-bg), 0 0 0 10px rgba(255, 106, 26, 0); }
}

.page-news .log-entry__body {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, var(--news-card), rgba(16, 18, 24, .18));
  transition: border-color .22s ease, transform .22s ease;
}

.page-news .log-entry__body:hover {
  border-color: var(--line-strong);
  transform: translateX(4px);
}

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

.page-news .log-entry__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--huohu-orange);
}

.page-news .log-entry__time {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--mist);
}

.page-news .log-entry__title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.page-news .log-entry__brief {
  margin: 0 0 12px;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.page-news .expand {
  border-top: 1px dashed var(--news-line);
  padding-top: 12px;
  transition: border-color .22s ease, padding-left .22s ease;
}

.page-news .expand[open] {
  border-left: 2px solid var(--line-strong);
  padding-left: 14px;
}

.page-news .expand__summary {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--huohu-orange);
  list-style: none;
}

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

.page-news .expand__summary::before {
  content: "＋ ";
  font-family: var(--font-mono);
}

.page-news .expand[open] .expand__summary::before {
  content: "－ ";
}

.page-news .expand__body {
  padding-top: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

.page-news .expand__body p {
  margin: 0 0 12px;
  max-width: 64ch;
}

.page-news .expand__body p:last-child {
  margin-bottom: 0;
}

.page-news .log-entry__link a,
.page-news .expand__body a {
  color: var(--huohu-orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 106, 26, .4);
}

.page-news .log-entry__link a:hover,
.page-news .expand__body a:hover {
  border-bottom-color: var(--huohu-orange);
}

.page-news .log-figure {
  margin: 16px 0 0;
  max-width: 320px;
  border-radius: var(--radius-s);
}

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

/* ---------- 专栏 ---------- */
.page-news .column-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.page-news .column-grid__media {
  border-radius: var(--radius-m);
  aspect-ratio: 3 / 2;
}

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

.page-news .column-tracks li {
  padding-left: 16px;
  border-left: 2px solid var(--huohu-orange);
}

.page-news .column-tracks strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.page-news .column-tracks span {
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.page-news .column-grid__note {
  margin: 22px 0 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: rgba(42, 51, 70, .34);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

/* ---------- 查询入口 ---------- */
.page-news .records-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.page-news .records-grid__media {
  border-radius: var(--radius-m);
  aspect-ratio: 5 / 3;
  order: -1;
}

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

.page-news .records-list li {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: rgba(42, 51, 70, .3);
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.page-news .records-list__key {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--huohu-orange);
}

.page-news .records-grid__note {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 订阅 ---------- */
.page-news .subscribe {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: clamp(22px, 3.6vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: linear-gradient(120deg, rgba(255, 106, 26, .14), rgba(42, 51, 70, .5) 46%, rgba(16, 18, 24, .6));
}

.page-news .subscribe__copy h2 {
  margin: 8px 0 12px;
  font-family: var(--font-head);
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

.page-news .subscribe__copy p {
  margin: 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

.page-news .subscribe__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-news .log-hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

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

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

  .page-news .column-grid {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 36px;
    align-items: start;
  }

  .page-news .records-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: 36px;
    align-items: center;
  }

  .page-news .records-grid__media {
    order: 2;
  }

  .page-news .subscribe {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: center;
    gap: 32px;
  }

  .page-news .subscribe__actions {
    justify-content: flex-end;
  }

  .page-news .log-entry__body {
    padding: 20px 24px;
  }
}

@media (min-width: 1040px) {
  .page-news .log-layout {
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }

  .page-news .log-filter {
    position: sticky;
    top: 118px;
  }

  .page-news .log-filter__chips {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-news .log-list::before {
    left: 23px;
  }

  .page-news .log-entry {
    grid-template-columns: 48px minmax(0, 1fr);
    padding-bottom: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .log-entry__dot--live {
    animation: none;
  }

  .page-news .log-entry__body,
  .page-news .chip,
  .page-news .expand {
    transition: none;
  }

  .page-news .log-entry__body:hover {
    transform: none;
  }
}
