/* ==================== 页面作用域：news ==================== */
.page-news {
  --news-blue: #4D8DFF;
  --news-blue-border: rgba(77, 141, 255, 0.5);
  background:
    linear-gradient(135deg, rgba(0, 230, 118, 0.05) 0%, transparent 40%),
    var(--primary-bg);
}

.page-news__inner {
  padding-top: 24px;
  padding-bottom: 72px;
}

.page-news .breadcrumb {
  margin-bottom: 24px;
}

/* ---------- 页首 ---------- */
.page-news__head {
  padding-top: 26px;
  margin-bottom: 30px;
}

.page-news__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--accent-green);
}

.page-news__kicker::before {
  content: '';
  width: 28px;
  height: 4px;
  background: var(--accent-gold);
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}

.page-news__title {
  margin-bottom: 18px;
}

.page-news__title-main {
  display: block;
  color: var(--accent-gold);
}

.page-news__title::after {
  content: '';
  display: block;
  width: 92px;
  height: 6px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-gold));
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.page-news__lead {
  max-width: 780px;
  margin-bottom: 0;
}

/* ---------- 分类快捷跳转 ---------- */
.page-news__topics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 52px;
  padding: 14px 16px;
  background: var(--surface-glass);
  border-left: 3px solid var(--accent-green);
}

.page-news__topics-label {
  margin-right: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent-gold);
}

.page-news__topic-link {
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  border: 1px solid var(--border-line);
  transition: color .18s, border-color .18s, background .18s;
}

.page-news__topic-link:hover {
  color: var(--accent-green);
  border-color: var(--accent-green);
  background: var(--hover-mask);
}

/* ---------- 版块通用 ---------- */
.news-section {
  margin-bottom: 64px;
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.news-section:target {
  box-shadow: inset 3px 0 0 var(--accent-green);
}

.news-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-line);
}

.news-section__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 40px;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-green);
  background: rgba(0, 230, 118, 0.06);
  border: 1px solid rgba(0, 230, 118, 0.35);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.news-section--guide .news-section__num {
  color: var(--accent-gold);
  background: rgba(255, 215, 0, 0.06);
  border-color: rgba(255, 215, 0, 0.35);
}

.news-section--data .news-section__num {
  color: var(--news-blue);
  background: rgba(77, 141, 255, 0.06);
  border-color: var(--news-blue-border);
}

.news-section--notice .news-section__num {
  color: var(--accent-gold);
  background: rgba(255, 215, 0, 0.06);
  border-color: rgba(255, 215, 0, 0.35);
}

.news-section__head-text h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text-primary);
}

.news-section__head-text p {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.news-section__more {
  margin-left: auto;
  padding-bottom: 3px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px dashed var(--border-line);
  transition: color .18s, border-color .18s;
}

.news-section__more:hover {
  color: var(--accent-green);
  border-color: var(--accent-green);
}

/* ---------- 元信息与阅读链接 ---------- */
.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.news-meta__read {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-green);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s, border-color .18s;
}

.news-more:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.news-more span {
  transition: transform .18s;
}

.news-more:hover span {
  transform: translateX(3px);
}

/* ---------- 最新更新：时间轴 ---------- */
.news-timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 26px;
}

.news-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-green) 0%, var(--border-line) 45%, var(--accent-gold) 100%);
}

.news-timeline__item {
  position: relative;
  margin-bottom: 22px;
}

.news-timeline__dot {
  position: absolute;
  left: -30px;
  top: 20px;
  width: 13px;
  height: 13px;
  background: var(--accent-green);
  box-shadow: 0 0 0 4px rgba(0, 230, 118, 0.14);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.news-timeline__item:nth-child(even) .news-timeline__dot {
  background: var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.13);
}

.news-timeline__card {
  padding: 20px 18px;
  background: var(--surface-glass);
  border: 1px solid var(--border-line);
  border-left: 3px solid var(--accent-green);
  transition: border-color .2s, background .2s, box-shadow .2s, transform .2s;
}

.news-timeline__card:hover {
  border-color: var(--accent-green);
  background: rgba(0, 230, 118, 0.04);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.news-timeline__card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-primary);
}

.news-timeline__card p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* 特色条目 */
.news-timeline__card.news-feature {
  display: grid;
  gap: 18px;
  padding: 0;
  overflow: hidden;
}

.news-feature__body {
  padding: 20px 18px;
}

.news-feature__media,
.guide-card__media,
.data-layout__media,
.notice-banner__media {
  overflow: hidden;
  background: var(--secondary-bg);
  border: 1px solid var(--border-line);
}

.news-feature__media {
  aspect-ratio: 8 / 5;
}

.news-feature__img,
.guide-card__img,
.data-layout__img,
.notice-banner__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 赛程导航指南 ---------- */
.guide-grid {
  display: grid;
  gap: 20px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-glass);
  border: 1px solid var(--border-line);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.guide-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.guide-card__media {
  aspect-ratio: 8 / 5;
  border-bottom: 1px solid var(--border-line);
}

.guide-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 18px;
}

.guide-card__body h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
}

.guide-card__body > p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.guide-card__detail {
  margin: auto 0 14px;
  background: rgba(255, 215, 0, 0.04);
  border: 1px solid rgba(255, 215, 0, 0.25);
}

.guide-card__detail summary {
  padding: 10px 12px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-gold);
}

.guide-card__detail summary::-webkit-details-marker {
  display: none;
}

.guide-card__detail summary::before {
  content: '+';
  display: inline-block;
  width: 16px;
  margin-right: 4px;
  color: var(--accent-gold);
}

.guide-card__detail[open] summary::before {
  content: '–';
}

.guide-card__steps {
  list-style: none;
  margin: 0;
  padding: 0 14px 12px 28px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.guide-card__steps li {
  position: relative;
  padding-left: 16px;
}

.guide-card__steps li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  transform: rotate(45deg);
}

/* ---------- 数据解读 ---------- */
.data-layout {
  display: grid;
  gap: 22px;
}

.data-layout__media {
  position: relative;
  aspect-ratio: 9 / 5;
}

.data-layout__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 30, 63, 0.25), transparent 55%);
  pointer-events: none;
}

.data-layout__img {
  filter: saturate(0.85) contrast(1.08);
}

.data-list {
  display: grid;
  gap: 14px;
}

.data-item {
  display: flex;
  gap: 16px;
  padding: 18px 16px;
  background: var(--surface-glass);
  border: 1px solid var(--border-line);
  border-top: 2px solid rgba(77, 141, 255, 0.55);
  transition: border-color .2s, background .2s;
}

.data-item:hover {
  border-color: var(--news-blue);
  background: rgba(77, 141, 255, 0.05);
}

.data-item__num {
  min-width: 34px;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--news-blue);
}

.data-item__body h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-primary);
}

.data-item__body p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ---------- 平台公告 ---------- */
.notice-list {
  display: grid;
  gap: 14px;
}

.notice-item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 14px;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-line);
  border-left: 3px solid var(--accent-gold);
  transition: background .2s, border-color .2s;
}

.notice-item:hover {
  background: rgba(255, 215, 0, 0.05);
  border-color: rgba(255, 215, 0, 0.5);
}

.notice-item--highlight {
  border-left-color: var(--accent-green);
}

.notice-item__mark {
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 8px;
  background: var(--accent-gold);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.notice-item--highlight .notice-item__mark {
  background: var(--accent-green);
}

.notice-item__body {
  flex: 1 1 220px;
}

.notice-item__body h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-primary);
}

.notice-item__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.notice-item .news-more {
  margin-left: auto;
  align-self: center;
}

.notice-banner {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(0, 230, 118, 0.08), transparent 60%),
    var(--secondary-bg);
  border: 1px solid var(--border-line);
}

.notice-banner__text p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
}

.notice-banner__media {
  aspect-ratio: 2 / 1;
}

/* ---------- 信任声明 ---------- */
.page-news__trust {
  position: relative;
  margin-top: 16px;
  padding: 22px 20px 22px 26px;
  background: var(--surface-glass);
  border-left: 4px solid var(--accent-gold);
}

.page-news__trust::before {
  content: '◎';
  margin-right: 10px;
  font-family: var(--font-mono);
  color: var(--accent-gold);
}

.page-news__trust p {
  display: inline;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ==================== 响应式 ==================== */
@media (min-width: 700px) {
  .page-news__head {
    padding-top: 34px;
    margin-bottom: 36px;
  }

  .news-section__head-text h2 {
    font-size: 30px;
  }

  .news-timeline__card {
    padding: 24px 22px;
  }

  .news-timeline__card.news-feature {
    padding: 0;
  }

  .news-feature__body {
    padding: 24px 22px;
  }
}

@media (min-width: 900px) {
  .page-news__inner {
    padding-top: 32px;
  }

  .news-section {
    margin-bottom: 80px;
  }

  .news-feature {
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }

  .news-feature__media {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-card--feature {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: stretch;
  }

  .guide-card--feature .guide-card__media {
    aspect-ratio: auto;
    min-height: 100%;
    border-right: 1px solid var(--border-line);
    border-bottom: none;
  }

  .guide-card--feature .guide-card__body {
    padding: 24px 22px;
  }

  .data-layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }

  .data-layout__media {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .notice-banner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
