/* ===== 新闻动态页 .page-news 专属样式 ===== */
.page-news {
  --news-dot: 14px;
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 0 16px;
}

.page-news .breadcrumbs {
  margin: 24px 0 0;
}

/* ---- Hero ---- */
.page-news .news-hero {
  position: relative;
  padding: 36px 0 32px;
  margin-bottom: 36px;
  border-bottom: var(--border-w) solid var(--c-primary);
  background: linear-gradient(180deg, var(--c-bg-soft) 0%, rgba(255, 255, 255, 0) 100%);
}

.page-news .news-hero h1 {
  font-size: 28px;
  line-height: 1.3;
  margin: 12px 0 14px;
  max-width: 680px;
}

.page-news .news-hero-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-gray);
  max-width: 640px;
  margin: 0;
}

/* ---- 区块通用标题 ---- */
.page-news .section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-primary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.page-news .news-timeline h2,
.page-news .update-status h2,
.page-news .match-reports h2 {
  font-size: 26px;
  line-height: 1.3;
  margin: 0 0 8px;
}

.page-news .section-desc {
  color: var(--c-gray);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 600px;
}

/* ---- 筛选 ---- */
.page-news .filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.page-news .news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.page-news .news-filter-btn {
  display: inline-block;
  padding: 8px 18px;
  border: 3px solid var(--c-ink);
  border-radius: var(--radius);
  background: var(--c-white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease-out;
}

.page-news .news-filter-btn:hover {
  background: var(--c-bg-mint);
}

.page-news #filter-all:checked ~ .news-filters label[for="filter-all"],
.page-news #filter-version:checked ~ .news-filters label[for="filter-version"],
.page-news #filter-official:checked ~ .news-filters label[for="filter-official"],
.page-news #filter-schedule:checked ~ .news-filters label[for="filter-schedule"],
.page-news #filter-report:checked ~ .news-filters label[for="filter-report"] {
  background: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  color: var(--c-white);
  box-shadow: 4px 4px 0 rgba(17, 24, 39, 0.25);
}

.page-news #filter-version:checked ~ .timeline .timeline-item:not([data-category="version"]),
.page-news #filter-official:checked ~ .timeline .timeline-item:not([data-category="official"]),
.page-news #filter-schedule:checked ~ .timeline .timeline-item:not([data-category="schedule"]),
.page-news #filter-report:checked ~ .timeline .timeline-item:not([data-category="report"]) {
  display: none;
}

/* ---- 时间线 ---- */
.page-news .news-timeline {
  padding: 8px 0 48px;
}

.page-news .timeline {
  position: relative;
  padding-left: 28px;
}

.page-news .timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-accent) 50%, var(--c-blue) 100%);
  border-radius: 2px;
}

.page-news .timeline-item {
  position: relative;
  margin-bottom: 28px;
}

.page-news .timeline-rail {
  position: absolute;
  left: -28px;
  top: 26px;
  width: 20px;
  height: 20px;
}

.page-news .timeline-dot {
  display: block;
  width: var(--news-dot);
  height: var(--news-dot);
  border-radius: 50%;
  background: var(--c-primary);
  border: 3px solid var(--c-white);
  box-shadow: 0 0 0 3px var(--c-primary);
}

.page-news .timeline-item[data-category="version"] .timeline-dot {
  background: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary);
}

.page-news .timeline-item[data-category="official"] .timeline-dot {
  background: var(--c-accent);
  box-shadow: 0 0 0 3px var(--c-accent);
}

.page-news .timeline-item[data-category="schedule"] .timeline-dot {
  background: var(--c-blue);
  box-shadow: 0 0 0 3px var(--c-blue);
}

.page-news .timeline-item[data-category="report"] .timeline-dot {
  background: var(--c-accent-deep);
  box-shadow: 0 0 0 3px var(--c-accent-deep);
}

.page-news .timeline-card {
  border: var(--border-w) solid var(--c-ink);
  border-left: 8px solid var(--c-primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  background: var(--c-white);
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.page-news .timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 12px 12px 32px rgba(17, 24, 39, 0.22);
}

.page-news .timeline-item[data-category="official"] .timeline-card {
  border-left-color: var(--c-accent);
}

.page-news .timeline-item[data-category="schedule"] .timeline-card {
  border-left-color: var(--c-blue);
}

.page-news .timeline-item[data-category="report"] .timeline-card {
  border-left-color: var(--c-accent-deep);
}

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

.page-news .timeline-meta time {
  font-family: var(--font-num);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-gray);
}

.page-news .timeline-card h3 {
  font-size: 20px;
  line-height: 1.4;
  margin: 0 0 10px;
}

.page-news .timeline-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-ink);
  margin: 0 0 12px;
}

.page-news .timeline-note {
  font-size: 13px !important;
  color: var(--c-gray) !important;
  background: var(--c-bg-soft);
  border-left: 4px solid var(--c-primary);
  padding: 8px 12px;
  border-radius: 0 4px 4px 0;
}

.page-news .img-frame {
  margin: 14px 0;
  border: 3px solid var(--c-ink);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.page-news .timeline-card .btn {
  margin-top: 4px;
}

/* ---- 更新状态区 ---- */
.page-news .update-status {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 32px 20px;
  margin-bottom: 48px;
  background: var(--c-bg-soft);
  border-top: var(--border-w) solid var(--c-primary);
  border-bottom: var(--border-w) solid var(--c-primary);
}

.page-news .update-copy {
  min-width: 0;
}

.page-news .update-status h2 {
  color: var(--c-primary-dark);
}

.page-news .status-panel {
  background: var(--c-primary-dark);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: var(--c-white);
  box-shadow: var(--shadow);
  margin: 16px 0;
}

.page-news .status-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.page-news .status-panel-title {
  font-weight: 700;
  font-size: 15px;
}

.page-news .update-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  display: inline-block;
  animation: news-pulse 2s infinite;
}

@keyframes news-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

.page-news .status-panel p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.page-news .update-note {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-gray);
  margin: 8px 0 0;
}

.page-news .update-img img {
  display: block;
  width: 100%;
  height: auto;
  border: var(--border-w) solid var(--c-ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---- 赛事战报专题 ---- */
.page-news .match-reports {
  padding: 8px 0 48px;
}

.page-news .reports-header {
  max-width: 680px;
  margin-bottom: 28px;
}

.page-news .reports-header p:not(.section-label) {
  color: var(--c-gray);
  line-height: 1.7;
  font-size: 14px;
}

.page-news .report-cover {
  margin: 0 0 28px;
  border: var(--border-w) solid var(--c-ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.page-news .report-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.page-news .report-card {
  border: var(--border-w) solid var(--c-ink);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

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

.page-news .report-card h3 {
  font-size: 18px;
  line-height: 1.4;
  margin: 12px 0 8px;
}

.page-news .report-card p {
  color: var(--c-gray);
  line-height: 1.7;
  font-size: 14px;
  margin-bottom: 16px;
}

.page-news .report-card .btn {
  width: 100%;
  text-align: center;
}

/* ---- 案例合集规则 ---- */
.page-news .case-rule {
  background: var(--c-bg-soft);
  border: var(--border-w) solid var(--c-primary-dark);
  border-radius: var(--radius);
  padding: 28px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-news .case-rule-copy h3 {
  font-size: 22px;
  margin: 10px 0 12px;
  color: var(--c-primary-dark);
}

.page-news .case-rule-copy ol {
  padding-left: 20px;
  line-height: 1.85;
  color: var(--c-ink);
  font-size: 14px;
  margin: 0;
}

.page-news .case-rule-copy li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.page-news .case-rule-img img {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid var(--c-ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ---- 订阅入口 ---- */
.page-news .subscribe-block {
  margin: 0 0 48px;
  padding: 40px 20px;
  background: var(--grad-primary);
  border-radius: var(--radius);
  color: var(--c-white);
  text-align: center;
  box-shadow: var(--shadow);
}

.page-news .subscribe-inner {
  max-width: 640px;
  margin: 0 auto;
}

.page-news .subscribe-block .section-label {
  color: #BBF7D0;
}

.page-news .subscribe-block h2 {
  color: var(--c-white);
  font-size: 26px;
  margin: 8px 0 12px;
}

.page-news .subscribe-block p {
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.8;
  font-size: 14px;
  margin-bottom: 24px;
}

.page-news .subscribe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.page-news .subscribe-actions .btn-outline {
  border-color: var(--c-white);
  color: var(--c-white);
  background: transparent;
}

.page-news .subscribe-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ---- 响应式增强 ---- */
@media (min-width: 640px) {
  .page-news {
    padding: 0 24px;
  }

  .page-news .news-hero h1 {
    font-size: 34px;
  }

  .page-news .timeline-card {
    padding: 26px 28px;
  }

  .page-news .update-status {
    padding: 40px 28px;
  }

  .page-news .report-card .btn {
    width: auto;
    display: inline-block;
  }
}

@media (min-width: 860px) {
  .page-news .update-status {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 36px;
  }

  .page-news .report-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .page-news .case-rule {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    padding: 36px 32px;
  }

  .page-news .subscribe-block {
    padding: 48px 32px;
  }

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

@media (min-width: 1080px) {
  .page-news {
    padding: 0 32px;
  }

  .page-news .news-hero h1 {
    font-size: 42px;
  }

  .page-news .timeline {
    padding-left: 40px;
  }

  .page-news .timeline-rail {
    left: -40px;
  }

  .page-news .news-timeline h2,
  .page-news .update-status h2,
  .page-news .match-reports h2 {
    font-size: 30px;
  }

  .page-news .timeline-card h3 {
    font-size: 22px;
  }

  .page-news .update-status {
    padding: 48px 36px;
  }
}
