.page-news{
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.75;
  overflow-x: hidden;
}

.page-news img{
  max-width: 100%;
  height: auto;
  display: block;
}

.page-news .container-wide{
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

/* 面包屑 */
.page-news .breadcrumb{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: var(--text-cap);
  color: var(--color-text-muted);
}

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

.page-news .breadcrumb-link:hover{
  color: var(--color-primary);
}

.page-news .breadcrumb-sep{
  opacity: .45;
}

.page-news .breadcrumb-current{
  color: var(--color-text);
}

/* 英雄区 */
.page-news .news-hero{
  position: relative;
  padding: 56px 0 48px;
  background:
    linear-gradient(135deg, rgba(75,46,255,.30) 0%, rgba(75,46,255,0) 38%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 64px),
    var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.page-news .news-hero::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary) 40%, var(--color-gradient-end) 75%, transparent);
  opacity: .7;
}

.page-news .news-hero::after{
  content: "";
  position: absolute;
  right: -8%;
  top: -18%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(55,255,139,.16) 0%, transparent 65%);
  pointer-events: none;
}

.page-news .news-hero-inner{
  position: relative;
  z-index: 1;
}

.page-news .news-hero-grid{
  display: grid;
  gap: 28px;
  margin-top: 36px;
  align-items: end;
}

.page-news .news-hero-eyebrow{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--text-cap);
  letter-spacing: .16em;
  color: var(--color-secondary);
  margin-bottom: 14px;
  text-transform: uppercase;
}

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

.page-news .news-hero-copy h1{
  margin: 0 0 16px;
  font-size: 2.25rem;
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 900;
  color: var(--color-text);
}

.page-news .news-hero-lead{
  margin: 0 0 20px;
  max-width: 58ch;
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

.page-news .news-hero-meta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: var(--text-cap);
  color: var(--color-text-muted);
}

.page-news .news-meta-text{
  font-family: var(--font-mono);
  color: var(--color-text);
}

.page-news .news-hero-pulse{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: linear-gradient(135deg, rgba(55,255,139,.14), rgba(0,217,255,.05) 70%);
  border: 1px solid rgba(55,255,139,.35);
  border-radius: var(--radius-lg);
  max-width: 280px;
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
  transform: rotate(-1deg);
}

.page-news .pulse-core{
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
}

.page-news .pulse-label{
  font-size: var(--text-cap);
  line-height: 1.45;
  color: var(--color-text-muted);
  letter-spacing: .1em;
}

/* 章节头 */
.page-news .section-head{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.page-news .section-head h2{
  margin: 0;
  font-size: var(--text-h2);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--color-text);
}

.page-news .section-head-index{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding-inline: 8px;
  font-family: var(--font-mono);
  font-size: var(--text-cap);
  font-weight: 700;
  color: var(--color-bg);
  background: var(--color-primary);
  border-radius: var(--radius-sm);
}

.page-news .timeline-section .section-head-index{
  background: var(--color-secondary);
}

.page-news .hot-tags-section .section-head-index{
  background: var(--color-warning);
}

/* 两列主布局 */
.page-news .news-layout{
  margin-top: 52px;
  display: grid;
  gap: 36px;
}

.page-news .news-list-section{
  min-width: 0;
}

/* 文章卡片 */
.page-news .news-list{
  display: grid;
  gap: 20px;
}

.page-news .news-article-card{
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.page-news .news-article-card:hover{
  border-color: rgba(55,255,139,.7);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.page-news .news-article-card::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--color-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.page-news .news-article-card:hover::before{
  opacity: 1;
}

.page-news .news-article-card--featured{
  background: linear-gradient(160deg, rgba(55,255,139,.05), var(--color-surface) 38%);
}

.page-news .news-article-card--featured .news-article-title{
  font-size: 1.35rem;
}

.page-news .news-article-img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 55%;
  border-bottom: 1px solid var(--color-border);
}

.page-news .news-article-body{
  padding: 20px 22px 22px;
}

.page-news .news-article-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.page-news .news-article-title{
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--color-text);
  line-height: 1.4;
}

.page-news .news-article-summary{
  margin: 0 0 16px;
  color: var(--color-text-muted);
  font-size: .93rem;
}

.page-news .news-article-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--color-border);
}

.page-news .news-meta-item{
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: var(--text-cap);
  color: var(--color-text-muted);
}

.page-news .news-meta-label{
  letter-spacing: .08em;
}

.page-news .news-num{
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.page-news .news-tag-name{
  font-family: var(--font-mono);
  color: var(--color-secondary);
  font-weight: 700;
}

/* 副栏 */
.page-news .news-side{
  display: grid;
  gap: 28px;
  min-width: 0;
}

/* 时间线 */
.page-news .timeline-section{
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.page-news .timeline-top-img{
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  border: 1px solid var(--color-border);
}

.page-news .timeline-intro{
  margin: 0 0 22px;
  color: var(--color-text-muted);
  font-size: var(--text-cap);
}

.page-news .timeline-intro b{
  color: var(--color-warning);
  font-family: var(--font-mono);
  font-weight: 700;
}

.page-news .timeline-list{
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.page-news .timeline-list::before{
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 20px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--color-border) 0 6px, transparent 6px 12px);
}

.page-news .timeline-item{
  position: relative;
  padding: 0 0 22px 30px;
}

.page-news .timeline-item:last-child{
  padding-bottom: 0;
}

.page-news .timeline-dot{
  position: absolute;
  left: 2px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(55,255,139,.15), 0 0 14px rgba(55,255,139,.65);
}

.page-news .timeline-content h3{
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text);
}

.page-news .timeline-content p{
  margin: 0;
  font-size: .875rem;
  color: var(--color-text-muted);
}

/* 热门标签 */
.page-news .hot-tags-section{
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.page-news .guide-cover{
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  border: 1px solid var(--color-border);
}

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

.page-news .tag-cloud-item{
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-surface-soft);
  color: var(--color-text-muted);
  font-size: var(--text-cap);
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.page-news .tag-cloud-item::before{
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-secondary);
  margin-right: 8px;
  flex: 0 0 auto;
}

.page-news .tag-cloud-item:hover{
  color: var(--color-text);
  border-color: var(--color-primary);
  background: rgba(55,255,139,.08);
}

.page-news .tag-cloud-item:hover::before{
  background: var(--color-primary);
}

/* 继续探索 */
.page-news .news-extras{
  margin-top: 64px;
  padding: 48px 0;
  background:
    linear-gradient(115deg, rgba(75,46,255,.20), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 1px, transparent 1px 12px);
  border-top: 1px solid var(--color-border);
}

.page-news .news-extras-inner{
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-news .trend-img{
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.page-news .news-extras-content h2{
  margin: 0 0 8px;
  font-size: var(--text-h2);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--color-text);
}

.page-news .news-extras-content p{
  margin: 0 0 18px;
  color: var(--color-text-muted);
}

.page-news .news-extras-links{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 桌面端 */
@media (min-width: 960px){
  .page-news .news-hero{
    padding: 88px 0 72px;
  }

  .page-news .news-hero-copy h1{
    font-size: var(--text-h1);
  }

  .page-news .news-hero-grid{
    grid-template-columns: minmax(0,1fr) 300px;
  }

  .page-news .news-layout{
    grid-template-columns: minmax(0,1fr) 360px;
    align-items: start;
    gap: 34px;
  }

  .page-news .news-side{
    position: sticky;
    top: 104px;
  }

  .page-news .news-extras-inner{
    grid-template-columns: 440px minmax(0,1fr);
  }
}
