/* ========== 内容专栏 ========== */
.page-news {
  display: block;
  padding: 0 0 56px;
}

/* Hero 区域 */
.page-news .news-hero {
  position: relative;
  margin: 20px 0 8px;
  padding: 28px 20px 32px;
  background:
    linear-gradient(135deg, rgba(57, 255, 20, 0.16) 0%, rgba(57, 255, 20, 0) 46%),
    linear-gradient(160deg, #0F2A4A 0%, #0B1D3A 60%, #061224 100%);
  overflow: hidden;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border: 2px solid rgba(57, 255, 20, 0.35);
  border-radius: 8px;
  transform: rotate(30deg);
  pointer-events: none;
}

.page-news .breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 16px;
}

.page-news .breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.page-news .breadcrumb a:hover,
.page-news .breadcrumb a:focus-visible {
  color: var(--color-accent);
}

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

.page-news .news-hero .section-kicker {
  position: relative;
  z-index: 1;
  margin-bottom: 4px;
}

.page-news .news-hero h1 {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 900;
  line-height: 1.18;
  color: var(--color-text);
  margin: 8px 0 14px;
  max-width: 12em;
}

.page-news .news-hero__desc {
  position: relative;
  z-index: 1;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 58ch;
  margin-bottom: 24px;
}

.page-news .news-hero__stats {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
}

.page-news .hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-news .hero-stat__num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.page-news .hero-stat__label {
  font-size: 13px;
  color: var(--color-muted);
  letter-spacing: 0.02em;
}

/* 主布局 */
.page-news .news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  margin-top: 32px;
}

.page-news .news-primary {
  min-width: 0;
}

/* 内容专区 */
.page-news .news-section {
  position: relative;
  margin-bottom: 48px;
  scroll-margin-top: 84px;
}

.page-news .news-section::after {
  content: attr(data-index);
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 800;
  color: rgba(57, 255, 20, 0.12);
  line-height: 1;
  pointer-events: none;
}

.page-news .news-section > h2,
.page-news .sidebar-block > h2 {
  position: relative;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
  margin: 0 0 20px;
  padding-left: 16px;
}

.page-news .news-section > h2::before,
.page-news .sidebar-block > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 9px;
  height: 1.1em;
  background: var(--color-accent);
  transform: skewX(-18deg);
}

/* 文章标签 */
.page-news .post-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  background: rgba(57, 255, 20, 0.1);
  border: 1px solid rgba(57, 255, 20, 0.35);
  padding: 3px 9px;
  border-radius: 2px;
  margin-bottom: 10px;
}

/* 最新动态 */
.page-news .post-card {
  display: flex;
  flex-direction: column;
  background: rgba(15, 42, 74, 0.55);
  margin-bottom: 6px;
}

.page-news .post-card__thumb {
  background: var(--color-bg-deep);
}

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

.page-news .post-card__body {
  padding: 20px;
}

.page-news .post-card__title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
  margin: 0 0 10px;
}

.page-news .post-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.page-news .post-card__title a:hover,
.page-news .post-card__title a:focus-visible {
  color: var(--color-accent);
}

.page-news .post-card__excerpt {
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-muted);
  margin: 0 0 14px;
}

.page-news .post-card__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-muted);
  letter-spacing: 0.03em;
}

/* 文章紧凑列表 */
.page-news .post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-news .post-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-news .post-list__link {
  position: relative;
  display: block;
  padding: 20px 36px 20px 4px;
  text-decoration: none;
  transition: background var(--transition-base);
}

.page-news .post-list__link:hover,
.page-news .post-list__link:focus-visible {
  background: rgba(255, 255, 255, 0.03);
}

.page-news .post-list__link::after {
  content: "→";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-accent);
  font-size: 18px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.page-news .post-list__link:hover::after,
.page-news .post-list__link:focus-visible::after {
  opacity: 1;
}

.page-news .post-list__link h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
  margin: 0 0 6px;
}

.page-news .post-list__link p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-muted);
  margin: 0;
}

/* 赛事复盘分类 */
.page-news .replay-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.page-news .replay-item {
  padding: 20px;
  background: rgba(26, 43, 60, 0.5);
  border-left: 3px solid var(--color-accent);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.page-news .replay-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

.page-news .replay-item__league {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.08em;
}

.page-news .replay-item h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin: 8px 0;
  line-height: 1.45;
}

.page-news .replay-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0;
}

.page-news .replay-chart {
  margin: 0;
  padding: 16px;
  background: rgba(6, 18, 36, 0.65);
}

.page-news .replay-chart img,
.page-news .guide-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.page-news .replay-chart figcaption,
.page-news .guide-cover figcaption {
  font-size: 13px;
  color: var(--color-muted);
  text-align: center;
  padding-top: 12px;
}

/* 用户评测专区 */
.page-news .review-feature {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 20px;
  background: rgba(26, 43, 60, 0.6);
  margin-bottom: 16px;
}

.page-news .review-feature__text {
  flex: 1;
  min-width: 0;
}

.page-news .review-feature__text h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-text);
  margin: 6px 0 14px;
}

.page-news .review-feature__text p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-muted);
  margin: 0 0 12px;
}

.page-news .review-feature__text .review-byline {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-accent);
  margin: 12px 0 0;
}

.page-news .review-feature img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

.page-news .review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-news .review-item {
  padding: 20px;
  background: rgba(26, 43, 60, 0.4);
  border-left: 3px solid rgba(255, 179, 0, 0.8);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.page-news .review-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

.page-news .review-item h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px;
}

.page-news .review-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0;
}

/* 选型指南 */
.page-news .guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.page-news .guide-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 20px;
  background: rgba(26, 43, 60, 0.5);
}

.page-news .guide-item h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-text);
  margin: 0;
}

.page-news .guide-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0;
}

.page-news .guide-item .btn {
  align-self: flex-start;
  margin-top: auto;
}

.page-news .guide-cover {
  margin: 0;
  padding: 16px;
  background: rgba(6, 18, 36, 0.6);
}

/* 侧栏 */
.page-news .news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-news .sidebar-block {
  position: relative;
  padding: 20px;
  background: rgba(26, 43, 60, 0.5);
}

.page-news .sidebar-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(120deg, var(--color-accent) 0%, rgba(57, 255, 20, 0.25) 55%, rgba(57, 255, 20, 0.05) 100%);
  pointer-events: none;
}

.page-news .sidebar-block > h2 {
  font-size: 18px;
}

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

.page-news .tag-link {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--color-text);
  background: rgba(125, 211, 252, 0.06);
  border: 1px solid rgba(125, 211, 252, 0.3);
  border-radius: 3px;
  text-decoration: none;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.page-news .tag-link:hover,
.page-news .tag-link:focus-visible {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(57, 255, 20, 0.1);
}

.page-news .sidebar-block .timeline {
  margin: 0;
  padding: 0;
}

.page-news .sidebar-block .timeline-item {
  position: relative;
  padding-left: 18px;
  margin-bottom: 18px;
  border-left: 1px solid rgba(57, 255, 20, 0.4);
}

.page-news .sidebar-block .timeline-item:last-child {
  margin-bottom: 0;
}

.page-news .sidebar-block .timeline-item::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 4px;
  width: 7px;
  height: 7px;
  background: var(--color-accent);
  border-radius: 50%;
}

.page-news .sidebar-block .timeline-time {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  padding: 2px 8px;
  background: rgba(57, 255, 20, 0.14);
  border: 1px solid rgba(57, 255, 20, 0.35);
  transform: skewX(-10deg);
}

.page-news .sidebar-block .timeline-item p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--color-muted);
  margin: 0;
}

.page-news .sidebar-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0 0 12px;
}

.page-news .sidebar-note:last-child {
  margin-bottom: 0;
}

.page-news .sidebar-note a {
  color: var(--color-link);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.page-news .sidebar-note a:hover {
  color: var(--color-accent);
}

/* 响应式：平板与桌面 */
@media (min-width: 760px) {
  .page-news .news-hero {
    padding: 40px 36px;
  }

  .page-news .post-card--feature {
    flex-direction: row;
  }

  .page-news .post-card__thumb {
    width: 280px;
    flex-shrink: 0;
  }

  .page-news .post-card__body {
    padding: 28px;
  }

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

  .page-news .review-feature {
    flex-direction: row;
    align-items: stretch;
  }

  .page-news .review-feature img {
    width: 260px;
    flex-shrink: 0;
  }
}

@media (min-width: 1080px) {
  .page-news .news-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
  }

  .page-news .news-hero {
    padding: 48px 44px;
  }
}
