/* ===== 内容中心 页面专属样式 ===== */
.page-news {
  --news-rule: rgba(140, 107, 18, 0.28);
  --news-rule-soft: rgba(140, 107, 18, 0.16);
  --news-shadow: 0 18px 40px -28px rgba(11, 36, 29, 0.55);
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  padding-block: 28px 52px;
}

.page-news .news-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 18px;
}

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

.page-news .news-hero h1 {
  margin: 12px 0 0;
  font-family: var(--jh-serif);
  font-size: clamp(29px, 5.6vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--jh-text);
}

.page-news .news-hero__lead {
  margin: 20px 0 0;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.8;
  color: var(--jh-muted);
}

.page-news .news-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--news-rule);
}

.page-news .news-hero__stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.page-news .news-hero__stat .jh-num {
  font-family: var(--jh-serif);
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1;
  font-weight: 700;
  color: var(--jh-gold);
  letter-spacing: -0.02em;
}

.page-news .news-hero__stat-label {
  font-size: 14px;
  color: var(--jh-muted);
}

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

.page-news .news-hero__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--news-rule);
  border-radius: 4px;
  box-shadow: var(--news-shadow);
}

.page-news .news-hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(158deg, rgba(201, 162, 39, 0.12), rgba(11, 36, 29, 0.24));
  pointer-events: none;
}

.page-news .news-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 560;
  object-fit: cover;
}

/* ---------- 栏目切换 ---------- */
.page-news .news-block__head {
  max-width: 660px;
}

.page-news .news-block h2,
.page-news .news-density h2,
.page-news .news-refresh h2,
.page-news .news-archive h2 {
  margin: 10px 0 0;
  font-family: var(--jh-serif);
  font-size: clamp(24px, 3.6vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--jh-text);
}

.page-news .news-block__intro,
.page-news .news-archive__intro {
  margin: 16px 0 0;
  max-width: 60ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--jh-muted);
}

.page-news .news-block__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 32px;
}

.page-news .news-block__figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--news-rule);
  border-radius: 4px;
  background: var(--jh-ink);
}

.page-news .news-block__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page-news .news-tabs .jh-tabs__rail,
.page-news .news-calendar__tabs .jh-tabs__rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.page-news .news-tabs .jh-tabs__btn {
  appearance: none;
  padding: 9px 18px;
  border: 1px solid var(--news-rule);
  border-radius: 999px;
  background: transparent;
  color: var(--jh-text);
  font-family: var(--jh-sans);
  font-size: 15px;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 0.22s var(--jh-ease), color 0.22s var(--jh-ease), border-color 0.22s var(--jh-ease);
}

.page-news .news-tabs .jh-tabs__btn.is-active,
.page-news .news-tabs .jh-tabs__btn[aria-selected="true"] {
  background: var(--jh-ink);
  border-color: var(--jh-ink);
  color: var(--jh-gold-hi);
}

.page-news .news-tabs .jh-tabs__btn:focus-visible,
.page-news .news-calendar__tabs .jh-tabs__btn:focus-visible {
  outline: 2px solid var(--jh-gold);
  outline-offset: 2px;
}

/* ---------- 条目卡片流 ---------- */
.page-news .news-cards {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .news-cards--dense {
  grid-template-columns: 1fr;
}

.page-news .news-cards--grid3 {
  grid-template-columns: 1fr;
}

.page-news .news-card {
  position: relative;
  padding: 18px 20px;
  border: 1px solid var(--news-rule-soft);
  border-left: 3px solid var(--jh-gold);
  border-radius: 3px;
  background: var(--jh-card);
  box-shadow: var(--news-shadow);
  transition: transform 0.24s var(--jh-ease), border-color 0.24s var(--jh-ease);
}

.page-news .news-card:hover {
  transform: translateY(-4px);
  border-color: var(--jh-gold-line);
}

.page-news .news-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.page-news .news-card__time {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--jh-copper);
}

.page-news .news-card__title {
  margin: 0;
  font-family: var(--jh-serif);
  font-size: 18px;
  line-height: 1.5;
  color: var(--jh-text);
}

.page-news .news-card__summary {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--jh-muted);
}

/* 玩法解读：单列宽卡 */
.page-news .news-cards--wide .news-card {
  padding: 22px 26px;
  border-left-width: 4px;
}

.page-news .news-cards--wide .news-card__title {
  font-size: 22px;
}

/* 开服节奏：三列网格 */
.page-news .news-cards--grid3 .news-card {
  border-left: 1px solid var(--news-rule-soft);
  border-top: 3px solid var(--jh-copper);
}

/* 每个栏目的徽章色略作区分 */
.page-news .news-panel--guide .jh-badge {
  background: rgba(201, 162, 39, 0.16);
  border-color: var(--jh-gold-line);
  color: #6f5410;
}

.page-news .news-panel--schedule .jh-badge {
  background: rgba(20, 56, 46, 0.12);
  border-color: var(--jh-ink-2);
  color: var(--jh-ink-2);
}

/* ---------- 更新密度 ---------- */
.page-news .news-density {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--news-rule-soft);
}

.page-news .news-density__text {
  margin: 14px 0 0;
  max-width: 52ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--jh-muted);
}

.page-news .news-density__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--news-rule-soft);
  border-radius: 4px;
}

.page-news .news-density__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 400;
  object-fit: cover;
}

/* ---------- 开服日历（深色分区） ---------- */
.page-news .news-calendar {
  position: relative;
  overflow: hidden;
  padding-block: 60px;
  background: var(--jh-ink);
  color: var(--jh-paper);
}

.page-news .news-calendar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 16%, rgba(201, 162, 39, 0.18), transparent 46%),
    radial-gradient(circle at 10% 86%, rgba(169, 102, 58, 0.16), transparent 44%);
  pointer-events: none;
}

.page-news .news-calendar > .jh-shell {
  position: relative;
  z-index: 1;
}

.page-news .news-calendar__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

.page-news .news-calendar .jh-kicker {
  color: var(--jh-gold);
}

.page-news .news-calendar h2 {
  color: var(--jh-gold-hi);
}

.page-news .news-calendar__text {
  margin: 16px 0 0;
  max-width: 54ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(246, 241, 228, 0.78);
}

.page-news .news-calendar__figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.32);
  border-radius: 4px;
}

.page-news .news-calendar__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 480;
  object-fit: cover;
  opacity: 0.92;
}

.page-news .news-calendar__tabs {
  margin-top: 40px;
}

.page-news .news-calendar__tabs .jh-tabs__btn {
  appearance: none;
  padding: 9px 20px;
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 999px;
  background: transparent;
  color: rgba(246, 241, 228, 0.86);
  font-family: var(--jh-sans);
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.22s var(--jh-ease), color 0.22s var(--jh-ease), border-color 0.22s var(--jh-ease);
}

.page-news .news-calendar__tabs .jh-tabs__btn.is-active,
.page-news .news-calendar__tabs .jh-tabs__btn[aria-selected="true"] {
  background: var(--jh-gold);
  border-color: var(--jh-gold);
  color: var(--jh-ink);
}

.page-news .news-cal-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}

.page-news .news-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  min-width: 470px;
}

.page-news .news-cal-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 88px;
  padding: 10px 8px;
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 3px;
  background: rgba(20, 56, 46, 0.7);
}

.page-news .news-cal-cell--open {
  border-color: rgba(201, 162, 39, 0.6);
  background: rgba(20, 56, 46, 0.98);
}

.page-news .news-cal-cell__day {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(246, 241, 228, 0.68);
}

.page-news .news-cal-cell__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--jh-gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.18);
}

.page-news .news-cal-cell__time {
  margin-top: auto;
  font-family: var(--jh-serif);
  font-size: 15px;
  color: var(--jh-gold-hi);
}

.page-news .news-cal-cell__time--idle {
  color: rgba(246, 241, 228, 0.32);
}

/* 月视图 */
.page-news .news-month {
  display: grid;
  gap: 10px;
}

.page-news .news-month__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 3px;
  background: rgba(20, 56, 46, 0.78);
}

.page-news .news-month__label {
  flex: 0 0 auto;
  min-width: 62px;
  font-family: var(--jh-serif);
  font-size: 15px;
  color: var(--jh-gold-hi);
}

.page-news .news-month__slots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .news-month__slots li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border: 1px solid rgba(201, 162, 39, 0.34);
  border-radius: 999px;
  font-size: 13.5px;
  color: rgba(246, 241, 228, 0.86);
}

.page-news .news-month__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jh-gold);
}

.page-news .news-calendar__note {
  margin: 30px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(201, 162, 39, 0.24);
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(246, 241, 228, 0.76);
}

.page-news .news-calendar__note .jh-link {
  color: var(--jh-gold-hi);
}

/* ---------- 更新时间 ---------- */
.page-news .news-refresh__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  padding: 28px 24px;
  border: 1px solid var(--news-rule);
  border-radius: 4px;
  background: linear-gradient(135deg, var(--jh-card) 0%, rgba(235, 208, 138, 0.34) 100%);
  box-shadow: var(--news-shadow);
}

.page-news .news-refresh__text {
  margin: 16px 0 22px;
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--jh-muted);
}

.page-news .news-refresh__times {
  display: grid;
  gap: 14px;
  margin: 0;
}

.page-news .news-refresh__item {
  padding: 16px 20px;
  border: 1px solid var(--news-rule-soft);
  border-radius: 3px;
  background: var(--jh-paper);
}

.page-news .news-refresh__item--next {
  border-color: var(--jh-gold-line);
  background: var(--jh-card);
}

.page-news .news-refresh__item dt {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--jh-copper);
}

.page-news .news-refresh__item dd {
  margin: 8px 0 0;
  font-family: var(--jh-serif);
  font-size: 24px;
  line-height: 1.2;
  color: var(--jh-text);
}

/* ---------- 专题与归档 ---------- */
.page-news .news-archive__head {
  max-width: 680px;
}

.page-news .news-archive__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 34px;
}

.page-news .news-archive__card {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  border: 1px solid var(--news-rule-soft);
  border-radius: 4px;
  background: var(--jh-card);
  box-shadow: var(--news-shadow);
  transition: transform 0.24s var(--jh-ease), border-color 0.24s var(--jh-ease);
}

.page-news .news-archive__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--jh-gold), var(--jh-copper));
}

.page-news .news-archive__card:hover {
  transform: translateY(-4px);
  border-color: var(--jh-gold-line);
}

.page-news .news-archive__card h3 {
  margin: 12px 0 0;
  font-family: var(--jh-serif);
  font-size: 20px;
  line-height: 1.45;
  color: var(--jh-text);
}

.page-news .news-archive__card p:last-child {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--jh-muted);
}

/* ---------- 页尾行动区 ---------- */
.page-news .news-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  margin-top: 40px;
  padding: 26px 28px;
  border: 1px dashed var(--jh-gold-line);
  border-radius: 4px;
  background: rgba(235, 208, 138, 0.18);
}

.page-news .news-next__text {
  margin: 0;
  max-width: 48ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--jh-text);
}

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

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

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

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

  .page-news .news-cards--dense > .news-card:nth-child(even) {
    transform: translateY(14px);
  }

  .page-news .news-cards--dense > .news-card:nth-child(even):hover {
    transform: translateY(10px);
  }
}

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

@media (min-width: 900px) {
  .page-news .news-hero {
    padding-block: 40px 72px;
  }

  .page-news .news-hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 56px;
  }

  .page-news .news-density {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 40px;
  }

  .page-news .news-calendar {
    padding-block: 76px;
  }

  .page-news .news-calendar__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 48px;
  }

  .page-news .news-refresh__panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    align-items: center;
    gap: 48px;
    padding: 40px 44px;
  }
}

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

@media (min-width: 1024px) {
  .page-news .news-block__body {
    grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
  }

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

/* ---------- 降级动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-news .news-card,
  .page-news .news-archive__card {
    transition: none;
  }

  .page-news .news-card:hover,
  .page-news .news-archive__card:hover,
  .page-news .news-cards--dense > .news-card:nth-child(even) {
    transform: none;
  }
}
