/* ===== page-news 专属样式 ===== */
.page-news {
  --news-max-width: 1280px;
  --news-gap: 16px;
  --news-gap-lg: 32px;
  --news-card-pad: 20px;
  --news-red-linear: linear-gradient(135deg, #E62B1E 0%, #A11410 100%);
  --news-gold-line: linear-gradient(90deg, #E62B1E, #E3B341);

  background-color: #0D0F14;
  color: #F5F1E8;
  overflow-x: hidden;
}

/* ---------- 页面上下文标题区 ---------- */
.page-news .news-context {
  max-width: var(--news-max-width);
  margin: 0 auto;
  padding: 40px 24px 12px;
  position: relative;
}

.page-news .news-context::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 28px;
  background: var(--news-gold-line);
}

.page-news .news-context__inner {
  margin-top: 14px;
}

.page-news .news-context .index-label {
  margin-bottom: 10px;
}

.page-news .news-context h1 {
  font-family: var(--font-headline);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.18;
}

.page-news .news-context__lead {
  max-width: 64ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #9AA0AC;
}

/* ---------- 最新赛季动态（主横幅） ---------- */
.page-news .news-featured {
  padding: 24px 16px 0;
}

.page-news .news-featured__banner {
  max-width: var(--news-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  background: #17191F;
  border: 1px solid #2C303A;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.page-news .news-featured__content {
  position: relative;
  z-index: 1;
  background: var(--news-red-linear);
  padding: 32px 24px 36px;
  color: #F5F1E8;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-news .news-featured__tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #0D0F14;
  background: #E3B341;
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

.page-news .news-featured__content h2 {
  font-family: var(--font-headline);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  line-height: 1.28;
  margin: 0 0 14px;
  max-width: 18em;
}

.page-news .news-featured__content p {
  margin: 0 0 24px;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(245, 241, 232, 0.92);
}

.page-news .news-featured__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.page-news .news-featured__actions .btn--primary {
  background: #E3B341;
  border-color: #E3B341;
  color: #0D0F14;
  font-weight: 700;
}

.page-news .news-featured__actions .btn--primary:hover,
.page-news .news-featured__actions .btn--primary:focus-visible {
  background: #F0C45C;
  border-color: #F0C45C;
}

.page-news .news-featured__actions .btn-link {
  color: #F5F1E8;
  border-color: rgba(245, 241, 232, 0.5);
}

.page-news .news-featured__visual {
  position: relative;
  min-height: 200px;
  background: #0D0F14;
}

.page-news .news-featured__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(230, 43, 30, 0.18), rgba(161, 20, 16, 0) 55%);
  z-index: 1;
  pointer-events: none;
}

.page-news .news-featured__visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  min-height: 200px;
}

/* ---------- 中层：战报主栏 + 更新记录旁栏 ---------- */
.page-news .news-middle {
  max-width: var(--news-max-width);
  margin: 0 auto;
  padding: 48px 24px 0;
}

.page-news .news-middle__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* ---------- 战报与数据归档 ---------- */
.page-news .news-archive {
  min-width: 0;
}

.page-news .news-archive .section-head {
  margin-bottom: 8px;
}

.page-news .news-archive__desc {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: #9AA0AC;
  max-width: 62ch;
}

.page-news .news-archive__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 24px;
  padding-top: 18px;
  border-top: 1px solid #2C303A;
}

.page-news .filter-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid rgba(227, 179, 65, 0.4);
  border-radius: 999px;
  font-size: 13px;
  color: #9AA0AC;
  line-height: 1.4;
  background: transparent;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.page-news .filter-tag.is-active {
  border-color: #E3B341;
  color: #E3B341;
  background: rgba(227, 179, 65, 0.08);
  font-weight: 700;
}

.page-news .filter-tag:hover {
  border-color: #E3B341;
  color: #E3B341;
}

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

.page-news .archive-item {
  position: relative;
  display: grid;
  gap: 16px;
  background: #17191F;
  border: 1px solid #2C303A;
  border-radius: 6px;
  padding: 20px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.page-news .archive-item::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 20px;
  bottom: 20px;
  width: 3px;
  background: #E62B1E;
  opacity: 0;
  border-radius: 0 2px 2px 0;
  transition: opacity 0.2s ease;
}

.page-news .archive-item:hover,
.page-news .archive-item:focus-within {
  border-color: rgba(230, 43, 30, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.page-news .archive-item:hover::before,
.page-news .archive-item:focus-within::before {
  opacity: 1;
}

.page-news .archive-item--featured {
  background: linear-gradient(135deg, rgba(230, 43, 30, 0.12), rgba(23, 25, 31, 0) 58%);
  border-color: rgba(230, 43, 30, 0.3);
}

.page-news .archive-item__media {
  overflow: hidden;
  border-radius: 4px;
  background: #0D0F14;
}

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

.page-news .archive-item__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.page-news .archive-item__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #E62B1E;
  border: 1px solid rgba(230, 43, 30, 0.4);
  border-radius: 999px;
  padding: 3px 10px;
}

.page-news .archive-item__body h3 {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
  margin: 0;
  color: #F5F1E8;
}

.page-news .archive-item__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #9AA0AC;
}

.page-news .archive-item__stats {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .archive-item__stats li {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #E3B341;
  background: rgba(227, 179, 65, 0.07);
  border: 1px solid rgba(227, 179, 65, 0.22);
  border-radius: 4px;
  padding: 4px 8px;
}

.page-news .news-archive__foot {
  margin-top: 20px;
  display: flex;
  justify-content: flex-start;
}

/* ---------- 更新记录与改动说明（旁注栏） ---------- */
.page-news .news-changelog {
  min-width: 0;
}

.page-news .news-changelog .section-head {
  margin-bottom: 8px;
}

.page-news .news-changelog__visual {
  margin: 16px 0 4px;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #2C303A;
  background: #0D0F14;
}

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

.page-news .changelog-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
  border-left: 1px solid #2C303A;
  margin-left: 5px;
}

.page-news .changelog-item {
  position: relative;
  padding-left: 20px;
}

.page-news .changelog-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 6px;
  width: 9px;
  height: 9px;
  background: #E62B1E;
  border: 2px solid #0D0F14;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(230, 43, 30, 0.6);
}

.page-news .changelog-item__time {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #E62B1E;
  margin-bottom: 6px;
}

.page-news .changelog-item__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.page-news .changelog-item__version {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #E3B341;
  background: rgba(227, 179, 65, 0.08);
  border: 1px solid rgba(227, 179, 65, 0.3);
  border-radius: 4px;
  padding: 2px 8px;
  line-height: 1.6;
}

.page-news .changelog-item__body h3 {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 900;
  margin: 0;
  color: #F5F1E8;
  line-height: 1.4;
}

.page-news .changelog-item__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #9AA0AC;
}

.page-news .changelog-more {
  margin-top: 24px;
}

/* ---------- 延伸阅读与 FAQ 精选 ---------- */
.page-news .news-faq {
  margin-top: 56px;
  padding: 48px 16px 64px;
  background: linear-gradient(180deg, rgba(23, 25, 31, 0.85), rgba(13, 15, 20, 0.2));
  border-top: 1px solid #2C303A;
}

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

.page-news .news-faq .section-head {
  margin-bottom: 8px;
}

.page-news .news-faq__lead {
  margin: 10px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.7;
  color: #9AA0AC;
}

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

.page-news .news-faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-news .faq-card {
  background: #17191F;
  border: 1px solid #2C303A;
  border-left: 3px solid #E3B341;
  border-radius: 6px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-news .faq-card:hover {
  border-color: rgba(227, 179, 65, 0.45);
  transform: translateY(-2px);
}

.page-news .faq-card__category {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #E3B341;
  text-transform: uppercase;
}

.page-news .faq-card h3 {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
  margin: 0;
  color: #F5F1E8;
}

.page-news .faq-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #9AA0AC;
}

.page-news .news-faq__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.page-news .news-faq__stat {
  align-self: stretch;
  background: #0D0F14;
  border: 1px solid #2C303A;
  border-radius: 6px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-news .news-faq__stat-num {
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: #E3B341;
}

.page-news .news-faq__stat-label {
  font-size: 13px;
  line-height: 1.6;
  color: #9AA0AC;
}

.page-news .news-faq__visual {
  align-self: stretch;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #2C303A;
  background: #0D0F14;
}

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

.page-news .news-faq__aside .btn {
  width: 100%;
  justify-content: center;
}

.page-news .news-faq__disclaimer {
  margin-top: 2px;
}

/* ---------- 桌面断点：≥720px ---------- */
@media (min-width: 720px) {
  .page-news .news-featured__banner {
    grid-template-columns: 1fr 1fr;
  }

  .page-news .news-featured__content {
    padding: 40px 36px 44px;
    clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
  }

  .page-news .news-featured__visual {
    margin-left: -12%;
    min-height: 320px;
  }

  .page-news .news-featured__visual img {
    min-height: 320px;
  }

  .page-news .archive-item {
    padding: 24px;
  }

  .page-news .archive-item--featured {
    grid-template-columns: 2fr 3fr;
    align-items: center;
  }

  .page-news .archive-item__media {
    height: 100%;
    min-height: 100%;
  }

  .page-news .archive-item__media img {
    aspect-ratio: auto;
    height: 100%;
  }

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

/* ---------- 大屏断点：≥960px ---------- */
@media (min-width: 960px) {
  .page-news .news-middle__inner {
    grid-template-columns: repeat(12, 1fr);
    gap: 32px;
    align-items: start;
  }

  .page-news .news-archive {
    grid-column: 1 / span 8;
  }

  .page-news .news-changelog {
    grid-column: 9 / span 4;
    position: sticky;
    top: 24px;
  }

  .page-news .news-faq__layout {
    grid-template-columns: repeat(12, 1fr);
    align-items: start;
  }

  .page-news .news-faq__grid {
    grid-column: 1 / span 8;
    grid-template-columns: 1fr 1fr;
  }

  .page-news .news-faq__aside {
    grid-column: 9 / span 4;
  }

  .page-news .news-featured__content h2 {
    font-size: 30px;
  }

  .page-news .news-featured__visual {
    min-height: 380px;
  }

  .page-news .news-featured__visual img {
    min-height: 380px;
  }
}

/* ---------- prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-news *,
  .page-news *::before,
  .page-news *::after {
    transition: none !important;
    animation: none !important;
  }

  .page-news .archive-item:hover,
  .page-news .faq-card:hover {
    transform: none;
  }
}
