.page-news *,
.page-news *::before,
.page-news *::after {
  box-sizing: border-box;
}

.page-news {
  --news-moss-soft: rgba(90, 114, 71, 0.16);
  --news-red-soft: rgba(230, 57, 70, 0.14);
  --news-blue-soft: rgba(29, 53, 87, 0.1);
  --news-gold-soft: rgba(244, 162, 97, 0.22);
  --news-line: rgba(41, 42, 45, 0.16);
  --news-line-light: rgba(245, 241, 232, 0.18);

  position: relative;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

/* ===== 面包屑 ===== */
.page-news .breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
}

.page-news .breadcrumb__link {
  color: var(--gold);
  text-decoration: none;
}

.page-news .breadcrumb__link:hover,
.page-news .breadcrumb__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-news .breadcrumb__current {
  color: rgba(245, 241, 232, 0.72);
}

.page-news .breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin-right: 6px;
  color: rgba(245, 241, 232, 0.4);
}

/* ===== 报头首屏 ===== */
.page-news .news-masthead {
  background:
    radial-gradient(circle at 78% 16%, rgba(230, 57, 70, 0.22), transparent 26rem),
    linear-gradient(115deg, var(--rock) 0%, var(--rock-soft) 52%, var(--blue) 100%);
  color: var(--text-light);
  padding: calc(var(--header-height) + 12px) 20px 64px;
  position: relative;
  overflow: hidden;
}

.page-news .news-masthead::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 38%;
  height: 6px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  z-index: 1;
}

.page-news .news-masthead::after {
  content: "";
  position: absolute;
  right: -14%;
  bottom: -38%;
  width: 44%;
  aspect-ratio: 1;
  border: 1px solid var(--news-line-light);
  transform: rotate(35deg);
  pointer-events: none;
}

.page-news .news-masthead__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-news .news-masthead__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: end;
  margin-top: 42px;
}

.page-news .news-masthead__content {
  max-width: 640px;
}

.page-news .news-masthead__content h1 {
  font-size: clamp(2.35rem, 9vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin: 18px 0 20px;
}

.page-news .news-masthead__lead {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.75;
  color: rgba(245, 241, 232, 0.82);
  max-width: 54ch;
}

.page-news .news-masthead__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-news .news-issue {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  justify-content: start;
  align-items: baseline;
  border-left: 4px solid var(--gold);
  border-bottom: 1px solid var(--news-line-light);
  padding: 16px 0 16px 18px;
  max-width: 280px;
}

.page-news .news-issue__label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-right: 8px;
}

.page-news .news-issue__num {
  font-size: clamp(4rem, 16vw, 7rem);
  font-weight: 900;
  line-height: 0.8;
  grid-row: 1 / span 2;
  color: #fff;
  letter-spacing: -0.04em;
}

.page-news .news-issue__unit {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-light);
}

.page-news .news-issue__note {
  grid-column: 2;
  font-size: 0.85rem;
  color: rgba(245, 241, 232, 0.72);
  line-height: 1.6;
  margin-top: 6px;
}

/* ===== 本周焦点 ===== */
.page-news .news-focus {
  position: relative;
  padding: 64px 20px 80px;
}

.page-news .news-focus::before {
  content: "01";
  position: absolute;
  left: 6px;
  top: 46px;
  font-size: 3.6rem;
  font-weight: 900;
  font-style: italic;
  color: var(--terracotta);
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}

.page-news .news-focus__wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.page-news .news-focus__media {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow);
  background: var(--rock-soft);
}

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

.page-news .news-focus__media::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(245, 241, 232, 0.42);
  pointer-events: none;
}

.page-news .news-focus__stamp {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  font-size: 0.85rem;
  border-radius: 2px;
}

.page-news .news-focus__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-news .news-focus__body h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 14px 0 18px;
}

.page-news .news-focus__lead {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.65;
  font-weight: 500;
  margin-bottom: 14px;
}

.page-news .news-focus__body p {
  line-height: 1.7;
}

.page-news .news-focus__body p + p {
  margin-top: 12px;
}

.page-news .news-focus__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 28px;
  align-items: center;
}

.page-news .link-arrow {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}

.page-news .link-arrow::after {
  content: "→";
  transition: transform 0.15s ease;
}

.page-news .link-arrow:hover,
.page-news .link-arrow:focus-visible {
  border-color: var(--red);
}

.page-news .link-arrow:hover::after {
  transform: translateX(4px);
}

/* 展开阅读 */
.page-news .news-expand {
  margin-top: 24px;
  border: 1px solid var(--news-line);
  border-left: 4px solid var(--red);
  border-radius: 4px;
  background: #fff;
  max-width: 46rem;
}

.page-news .news-expand summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.page-news .news-expand summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--red);
}

.page-news .news-expand[open] summary::after {
  content: "−";
}

.page-news .news-expand__body {
  padding: 0 20px 20px;
  display: grid;
  gap: 10px;
}

.page-news .news-expand__body p {
  line-height: 1.7;
  margin: 0;
}

/* ===== 更新日志 ===== */
.page-news .news-log {
  background:
    linear-gradient(180deg, var(--news-moss-soft), rgba(245, 241, 232, 0.6)),
    var(--paper);
  padding: 72px 20px;
}

.page-news .news-log__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.page-news .news-log__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}

.page-news .news-log__heading h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.02em;
  margin: 12px 0 10px;
}

.page-news .news-log__heading p {
  color: var(--rock);
  line-height: 1.65;
  max-width: 56ch;
}

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

.page-news .tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 2px;
  color: #fff;
}

.page-news .tag--red {
  background: var(--red);
}

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

.page-news .tag--gold {
  background: var(--gold);
  color: var(--rock);
}

.page-news .news-log__filters .tag {
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.page-news .news-log__filters .tag:hover,
.page-news .news-log__filters .tag:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

/* 时间线 */
.page-news .timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .timeline__item {
  position: relative;
  border-left: 2px dashed var(--terracotta);
  padding-left: 28px;
  padding-bottom: 40px;
}

.page-news .timeline__item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.page-news .timeline__dot {
  position: absolute;
  left: -8px;
  top: 30px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
  border: 4px solid var(--paper);
  box-shadow: 0 0 0 2px var(--red);
}

.page-news .timeline__card {
  background: #fff;
  border-radius: 4px;
  padding: 20px;
  box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  transition: border-color 0.2s ease;
}

.page-news .timeline__item:target .timeline__card,
.page-news .timeline__item:focus-within .timeline__card {
  border-top-color: var(--red);
}

.page-news .timeline__card-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.page-news .timeline__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--paper-dim);
  background: var(--rock);
}

.page-news .timeline__header {
  flex: 1;
  min-width: 0;
}

.page-news .timeline__time {
  display: block;
  font-weight: 800;
  color: var(--terracotta);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.page-news .timeline__header .tag {
  display: inline-flex;
}

.page-news .timeline__card h3 {
  font-size: 1.15rem;
  margin: 8px 0 8px;
  line-height: 1.35;
}

.page-news .timeline__card p {
  font-size: 0.92rem;
  line-height: 1.68;
  color: #3c3e43;
  margin: 0;
}

/* ===== 专题报道 ===== */
.page-news .news-features {
  background:
    radial-gradient(circle at 12% 0%, var(--news-gold-soft), transparent 18rem),
    #fff;
  padding: 72px 20px;
}

.page-news .news-features__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.page-news .news-features__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.page-news .news-features__head h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.02em;
  margin: 12px 0 10px;
}

.page-news .news-features__head p {
  color: var(--rock);
  line-height: 1.65;
  max-width: 54ch;
}

.page-news .news-features__head .btn--ghost {
  color: var(--blue);
  border-color: var(--blue);
}

.page-news .news-features__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.page-news .feature-card {
  flex: 1 1 100%;
  border: 1px solid var(--line-rgba);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  background: var(--paper);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-news .feature-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--moss);
}

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

.page-news .feature-card__body {
  padding: 24px;
}

.page-news .feature-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.82rem;
  color: var(--cold-gray);
}

.page-news .feature-card h3 {
  font-size: 1.28rem;
  line-height: 1.3;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.page-news .feature-card p {
  font-size: 0.95rem;
  color: #3c3e43;
  line-height: 1.65;
  margin: 0;
}

.page-news .feature-card--quote {
  background:
    linear-gradient(135deg, var(--news-blue-soft), var(--news-red-soft)),
    var(--paper);
  border-top: 5px solid var(--blue);
}

/* ===== 订阅提醒 ===== */
.page-news .news-subscribe {
  background:
    radial-gradient(circle at 82% 18%, rgba(230, 57, 70, 0.28), transparent 22rem),
    linear-gradient(115deg, var(--blue), var(--rock));
  color: var(--text-light);
  padding: 64px 20px;
  position: relative;
  overflow: hidden;
}

.page-news .news-subscribe::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--blue));
}

.page-news .news-subscribe__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.page-news .news-subscribe__media {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

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

.page-news .news-subscribe__content {
  max-width: 620px;
}

.page-news .news-subscribe h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 16px 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.page-news .news-subscribe__content > p {
  color: rgba(245, 241, 232, 0.78);
  line-height: 1.7;
}

.page-news .news-subscribe__steps {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-news .news-subscribe__steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(245, 241, 232, 0.06);
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  line-height: 1.55;
}

.page-news .news-subscribe__steps li > span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.9rem;
  background: var(--red);
  color: #fff;
}

.page-news .news-subscribe__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-news .news-subscribe__trust {
  margin-top: 24px;
  font-size: 0.88rem;
  color: rgba(245, 241, 232, 0.64);
  line-height: 1.6;
}

.page-news .news-subscribe__trust a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ===== 按钮 ===== */
.page-news .btn {
  border-radius: 2px;
  font-weight: 700;
}

.page-news .btn--primary {
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
}

.page-news .btn--primary:hover,
.page-news .btn--primary:focus-visible {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.page-news .btn--ghost {
  background: transparent;
  color: inherit;
  border: 2px solid currentColor;
}

.page-news .btn--ghost:hover,
.page-news .btn--ghost:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

/* ===== 桌面端适配 ===== */
@media (min-width: 768px) {
  .page-news .news-log__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
  }

  .page-news .news-log__heading {
    flex: 1;
  }

  .page-news .timeline__card {
    display: flex;
    gap: 20px;
    padding: 24px;
  }

  .page-news .timeline__card-top {
    flex: 0 0 auto;
    display: block;
    margin-bottom: 0;
  }

  .page-news .timeline__icon {
    width: 108px;
    height: 108px;
    border-radius: 16px;
  }

  .page-news .timeline__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
  }

  .page-news .timeline__time {
    margin-bottom: 0;
  }

  .page-news .timeline__card-main {
    flex: 1;
    min-width: 0;
  }

  .page-news .news-features__grid .feature-card--media {
    flex-basis: 56%;
  }

  .page-news .news-features__grid .feature-card:not(.feature-card--media) {
    flex-basis: calc(44% - 24px);
  }
}

@media (min-width: 900px) {
  .page-news .news-focus__wrap {
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    gap: 0;
    align-items: stretch;
  }

  .page-news .news-focus__media {
    min-height: 460px;
  }

  .page-news .news-focus__media img {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .page-news .news-focus__body {
    padding-left: 48px;
  }

  .page-news .news-features__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .page-news .news-subscribe__inner {
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  }

  .page-news .news-subscribe__media {
    order: 1;
  }

  .page-news .news-subscribe__content {
    order: 2;
    padding-left: 24px;
  }
}

@media (min-width: 1024px) {
  .page-news .news-masthead__grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  }

  .page-news .news-masthead__content h1 {
    max-width: 12ch;
  }
}

@media (hover: hover) {
  .page-news .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
  }
}
