/* ===== page-news 专属样式 ===== */
.page-news {
  --hero-min-height: 320px;
  --timeline-dot-size: 14px;
  --timeline-rail-width: 2px;
  --label-num-size: 2.8rem;
  --match-card-radius: 4px;
  --guide-card-radius: 4px;
  --grid-bg-color: rgba(212, 175, 55, 0.04);

  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  background-color: var(--primary-dark);
  color: var(--text-light);
}

/* ---------- Hero / 顶部横幅 ---------- */
.page-news__hero {
  position: relative;
  width: 100%;
  min-height: var(--hero-min-height);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  margin: 0;
  background-color: var(--primary-dark);
}

.page-news__hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-news__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.page-news__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.85) 0%, rgba(10, 25, 47, 0.40) 70%, rgba(212, 175, 55, 0.15) 100%);
  z-index: 1;
}

.page-news__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 800px;
}

.page-news__hero-kicker {
  display: inline-block;
  font-family: var(--body-font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 0.75rem;
  border: 1px solid var(--gold-accent);
  padding: 0.2rem 1rem;
  border-radius: 2px;
}

.page-news__hero-title {
  font-family: var(--heading-font);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.page-news__hero-sub {
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
  opacity: 0.85;
  margin: 0;
  letter-spacing: 0.08em;
}

/* ---------- 面包屑 ---------- */
.page-news .breadcrumb {
  padding: 0.75rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.page-news .breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.page-news .breadcrumb li {
  font-family: var(--body-font);
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.page-news .breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--text-muted);
  opacity: 0.4;
}

.page-news .breadcrumb a {
  color: var(--gold-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.page-news .breadcrumb a:hover {
  border-color: var(--gold-accent);
}

.page-news .breadcrumb li[aria-current="page"] {
  color: var(--white);
  font-weight: 500;
}

/* ---------- 章节通用 ---------- */
.page-news__section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.page-news__label-num {
  font-family: var(--heading-font);
  font-size: var(--label-num-size);
  font-weight: 900;
  color: var(--gold-accent);
  line-height: 1;
  letter-spacing: -0.02em;
  opacity: 0.7;
}

.page-news__label-line {
  flex: 1;
  height: 1px;
  max-width: 80px;
  background: linear-gradient(90deg, var(--gold-accent), transparent);
  opacity: 0.4;
}

.page-news__section-title {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 0.35rem;
  letter-spacing: 0.01em;
}

.page-news__section-desc {
  font-family: var(--body-font);
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 520px;
}

/* ---------- 最新动态 · 时间线 ---------- */
.page-news__timeline {
  position: relative;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

.page-news__timeline-track {
  position: relative;
  padding-left: 2rem;
}

.page-news__timeline-rail {
  position: absolute;
  left: 9px;
  top: 0;
  bottom: 0;
  width: var(--timeline-rail-width);
  background: linear-gradient(180deg, var(--gold-accent) 0%, rgba(212, 175, 55, 0.15) 100%);
  border-radius: 2px;
}

.page-news__timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1rem;
}

.page-news__timeline-item:last-child {
  margin-bottom: 0;
}

.page-news__timeline-dot {
  position: absolute;
  left: -1.3rem;
  top: 0.35rem;
  width: var(--timeline-dot-size);
  height: var(--timeline-dot-size);
  border-radius: 50%;
  background-color: var(--gold-accent);
  border: 2px solid var(--primary-dark);
  box-shadow: 0 0 0 3px var(--gold-accent);
  z-index: 1;
}

.page-news__timeline-card {
  background-color: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 4px;
  padding: 1.25rem 1.25rem 1rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.page-news__timeline-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.page-news__timeline-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.page-news__timeline-title {
  font-family: var(--heading-font);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  margin: 0;
  line-height: 1.2;
}

.page-news__timeline-badge {
  display: inline-block;
  font-family: var(--body-font);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: rgba(212, 175, 55, 0.15);
  color: var(--gold-accent);
  padding: 0.15rem 0.6rem;
  border-radius: 2px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  white-space: nowrap;
}

.page-news__timeline-summary {
  font-family: var(--body-font);
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0 0 0.5rem;
  line-height: 1.5;
}

.page-news__timeline-detail {
  font-family: var(--body-font);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0.5rem 0 0.75rem;
  padding: 0.75rem;
  background-color: rgba(10, 25, 47, 0.4);
  border-left: 2px solid var(--gold-accent);
  border-radius: 2px;
}

.page-news__timeline-detail p {
  margin: 0;
}

.page-news__timeline-footer {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.page-news__timeline-footer .btn-sm {
  font-size: 0.78rem;
  padding: 0.35rem 1rem;
}

/* ---------- 赛事观察 · 网格卡片 ---------- */
.page-news__matches {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  background-color: var(--bg-section-alt);
  position: relative;
}

.page-news__matches::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.page-news__matches > * {
  position: relative;
  z-index: 1;
}

.page-news__matches-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.page-news__match-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: var(--match-card-radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.page-news__match-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(212, 175, 55, 0.3);
}

.page-news__match-num {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-accent);
  opacity: 0.15;
  line-height: 1;
  z-index: 2;
  pointer-events: none;
}

.page-news__match-img {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 2 / 1;
  max-height: 200px;
}

.page-news__match-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.page-news__match-card:hover .page-news__match-img img {
  transform: scale(1.04);
}

.page-news__match-img-overlay {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
}

.page-news__match-tag {
  display: inline-block;
  font-family: var(--body-font);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background-color: var(--cta-orange);
  color: var(--white);
  padding: 0.2rem 0.75rem;
  border-radius: 2px;
}

.page-news__match-body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.page-news__match-title {
  font-family: var(--heading-font);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--white);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.page-news__match-text {
  font-family: var(--body-font);
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 1rem;
  flex: 1;
}

.page-news__match-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.page-news__match-meta .btn-sm {
  font-size: 0.78rem;
  padding: 0.35rem 1rem;
}

/* ---------- 使用指南 · 宽幅卡片 ---------- */
.page-news__guides {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

.page-news__guides-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.page-news__guide-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: var(--guide-card-radius);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.page-news__guide-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.page-news__guide-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 280px;
  overflow: hidden;
  background-color: var(--primary-dark);
}

.page-news__guide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.page-news__guide-card:hover .page-news__guide-img img {
  transform: scale(1.03);
}

.page-news__guide-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.page-news__guide-num {
  font-family: var(--heading-font);
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--gold-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  opacity: 0.7;
}

.page-news__guide-title {
  font-family: var(--heading-font);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  margin: 0 0 0.6rem;
  line-height: 1.2;
}

.page-news__guide-text {
  font-family: var(--body-font);
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 1rem;
}

.page-news__guide-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.page-news__guide-steps li {
  position: relative;
  font-family: var(--body-font);
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 1.6rem;
  line-height: 1.5;
}

.page-news__guide-steps li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--gold-accent);
  font-size: 1rem;
}

.page-news__guide-body .btn-gold {
  align-self: flex-start;
}

/* ---------- 按钮变体辅助 ---------- */
.page-news .btn-gold {
  background-color: transparent;
  color: var(--gold-accent);
  border: 1px solid var(--gold-accent);
  border-radius: 2px;
  font-family: var(--body-font);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  cursor: default;
  transition: background-color 0.25s, color 0.25s;
  text-decoration: none;
  display: inline-block;
}

.page-news .btn-gold:hover {
  background-color: var(--gold-accent);
  color: var(--primary-dark);
}

.page-news .btn-cta {
  background-color: var(--cta-orange);
  color: var(--white);
  border: none;
  border-radius: 2px;
  font-family: var(--body-font);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  cursor: default;
  transition: background-color 0.25s, opacity 0.25s;
  text-decoration: none;
  display: inline-block;
}

.page-news .btn-cta:hover {
  opacity: 0.88;
}

.page-news .btn-sm {
  font-size: 0.8rem;
  padding: 0.35rem 1rem;
}

/* ---------- 响应式 · 平板及以上 ---------- */
@media (min-width: 640px) {
  .page-news__hero-title {
    font-size: 4rem;
  }

  .page-news__hero-sub {
    font-size: 1.15rem;
  }

  .page-news__section-title {
    font-size: 2.4rem;
  }

  .page-news__timeline-track {
    padding-left: 3rem;
  }

  .page-news__timeline-dot {
    left: -1.8rem;
    width: 16px;
    height: 16px;
  }

  .page-news__timeline-rail {
    left: 12px;
  }

  .page-news__timeline-card {
    padding: 1.5rem 1.75rem 1.25rem;
  }

  .page-news__timeline-title {
    font-size: 1.35rem;
  }

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

  .page-news__match-card--wide {
    grid-column: span 2;
    flex-direction: row;
  }

  .page-news__match-card--wide .page-news__match-img {
    max-width: 40%;
    max-height: none;
    aspect-ratio: auto;
    height: auto;
  }

  .page-news__match-card--wide .page-news__match-body {
    flex: 1;
  }

  .page-news__guide-card {
    flex-direction: row;
  }

  .page-news__guide-img {
    width: 40%;
    max-width: 280px;
    aspect-ratio: auto;
    max-height: none;
    flex-shrink: 0;
  }

  .page-news__guide-card--reverse {
    flex-direction: row-reverse;
  }

  .page-news__guide-body {
    padding: 1.75rem 2rem;
  }

  .page-news__guide-title {
    font-size: 1.6rem;
  }
}

@media (min-width: 900px) {
  .page-news__hero-title {
    font-size: 5rem;
  }

  .page-news__hero {
    min-height: 400px;
  }

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

  .page-news__match-card--wide {
    grid-column: span 2;
  }

  .page-news__guide-img {
    width: 35%;
    max-width: 320px;
  }

  .page-news__timeline-item {
    padding-left: 1.5rem;
  }

  .page-news__timeline-card {
    padding: 1.75rem 2rem 1.5rem;
  }
}

/* ---------- 桌面大屏 ---------- */
@media (min-width: 1200px) {
  .page-news__section-title {
    font-size: 2.8rem;
  }

  .page-news__label-num {
    font-size: 3.2rem;
  }

  .page-news__timeline-track {
    padding-left: 4rem;
  }

  .page-news__timeline-dot {
    left: -2.2rem;
    width: 18px;
    height: 18px;
  }

  .page-news__timeline-rail {
    left: 14px;
  }

  .page-news__match-title {
    font-size: 1.3rem;
  }
}

/* ---------- 极窄屏安全 ---------- */
@media (max-width: 399px) {
  .page-news__hero-title {
    font-size: 2rem;
  }

  .page-news__hero {
    min-height: 240px;
  }

  .page-news__timeline-track {
    padding-left: 1.5rem;
  }

  .page-news__timeline-dot {
    left: -0.9rem;
    width: 12px;
    height: 12px;
  }

  .page-news__timeline-rail {
    left: 7px;
  }

  .page-news__timeline-card {
    padding: 0.9rem;
  }

  .page-news__match-body {
    padding: 1rem;
  }

  .page-news__guide-body {
    padding: 1rem;
  }
}
