.page-news{
  background:
    radial-gradient(1000px 360px at 88% -10%, rgba(42,27,61,.38), transparent 60%),
    radial-gradient(800px 300px at -5% 30%, rgba(255,107,0,.05), transparent 55%),
    var(--c-bg);
  color: var(--c-text);
}

.page-news .breadcrumb{
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--c-text-2);
}

.page-news .breadcrumb a{
  color: var(--c-silver);
  text-decoration: none;
  transition: color .2s ease;
}

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

.page-news .breadcrumb__sep{
  margin: 0 8px;
  color: var(--c-line);
}

/* ---------- Hero ---------- */
.page-news .news-hero{
  position: relative;
  border-bottom: 1px solid var(--c-line);
  background:
    radial-gradient(ellipse at 90% 16%, rgba(255,107,0,.07), transparent 55%),
    linear-gradient(120deg, var(--c-bg) 0%, var(--c-bg-panel) 62%, var(--c-bg) 100%);
  padding: 40px 0 0;
  overflow: hidden;
}

.page-news .news-hero::before{
  content: "";
  position: absolute;
  left: -10%;
  bottom: 0;
  width: 70%;
  height: 4px;
  background: linear-gradient(90deg, var(--c-accent) 0%, transparent 100%);
  z-index: 2;
}

.page-news .news-hero__inner{
  display: flex;
  flex-direction: column;
  gap: 28px;
}

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

.page-news .news-hero__lead{
  color: var(--c-text-2);
  font-size: 16px;
  line-height: 1.75;
  max-width: 58ch;
  margin: 0;
}

.page-news .news-hero h1{
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.08;
  margin: 12px 0 18px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.page-news .news-hero__tags{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.page-news .news-hero__visual{
  position: relative;
  margin-inline: calc(var(--container-pad) * -1);
}

.page-news .news-hero__img{
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 92%);
}

/* ---------- 区块头 ---------- */
.page-news .section{
  padding: 56px 0;
}

.page-news .section-label{
  margin-bottom: 10px;
}

.page-news .news-section-head{
  position: relative;
  padding-left: 18px;
  margin-bottom: 32px;
}

.page-news .news-section-head::before{
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 4px;
  background: linear-gradient(180deg, var(--c-accent) 0%, var(--c-purple) 100%);
}

.page-news .news-section-head h2{
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ---------- 最新发布 ---------- */
.page-news .news-latest{
  background:
    linear-gradient(180deg, transparent 0%, rgba(18,26,47,.5) 100%);
}

.page-news .news-papers{
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-news .news-paper{
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px;
  background: var(--c-bg-panel);
  border: 1px solid var(--c-line);
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.page-news .news-paper::after{
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--c-accent);
  opacity: 0;
  transition: opacity .25s ease;
}

.page-news .news-paper:hover{
  transform: translateY(-4px);
  border-color: rgba(255,107,0,.4);
  box-shadow: var(--shadow-1);
  background:
    linear-gradient(135deg, rgba(255,107,0,.06), transparent 46%),
    var(--c-bg-panel);
}

.page-news .news-paper:hover::after{
  opacity: 1;
}

.page-news .news-paper--feature{
  border-left: 3px solid var(--c-accent);
}

.page-news .news-paper h3{
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.page-news .news-paper p{
  color: var(--c-text-2);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.page-news .news-paper__meta{
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--c-silver) !important;
  text-transform: uppercase;
}

/* ---------- 版本档案 ---------- */
.page-news .news-archive{
  background:
    linear-gradient(180deg, rgba(18,26,47,.35) 0%, transparent 20%),
    var(--c-bg);
}

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

.page-news .news-filter__btn{
  display: inline-block;
  padding: 7px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-2);
  text-decoration: none;
  border: 1px solid var(--c-line);
  background: var(--c-bg-panel);
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.page-news .news-filter__btn:hover,
.page-news .news-filter__btn:focus-visible,
.page-news .news-filter__btn.is-current{
  color: var(--c-bg);
  background: var(--c-accent);
  border-color: var(--c-accent);
}

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

.page-news .news-version{
  position: relative;
  overflow: hidden;
  padding: 22px 20px;
  background: linear-gradient(135deg, rgba(18,26,47,.85) 0%, rgba(42,27,61,.4) 100%);
  border: 1px solid var(--c-line);
  border-radius: 2px;
}

.page-news .news-version::after{
  content: "";
  position: absolute;
  right: -22px;
  top: -22px;
  width: 72px;
  height: 72px;
  background: var(--c-accent);
  opacity: .1;
  transform: rotate(45deg);
}

.page-news .news-version__num{
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
}

.page-news .news-version h3{
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin: 10px 0 6px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.page-news .news-version p{
  color: var(--c-text-2);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* ---------- 时间轴 ---------- */
.page-news .news-timeline{
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.page-news .news-timeline::before{
  content: "";
  position: absolute;
  left: 16px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-accent) 0%, var(--c-purple) 55%, var(--c-silver) 100%);
  opacity: .5;
}

.page-news .news-timeline__item{
  position: relative;
  padding-left: 56px;
  margin-bottom: 28px;
}

.page-news .news-timeline__node{
  position: absolute;
  left: 2px;
  top: 30px;
  width: 36px;
  text-align: center;
}

.page-news .news-timeline__node::before{
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto 10px;
  background: var(--c-accent);
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px rgba(255,107,0,.14);
}

.page-news .news-timeline__node-label{
  writing-mode: vertical-rl;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-silver);
  border-inline-start: 2px solid var(--c-line);
  padding-inline-start: 6px;
  white-space: nowrap;
}

.page-news .news-timeline__item[data-category="data"] .news-timeline__node::before{
  background: var(--c-success);
  box-shadow: 0 0 0 4px rgba(0,200,83,.14);
}

.page-news .news-timeline__item[data-category="feature"] .news-timeline__node::before{
  background: var(--c-warning);
  box-shadow: 0 0 0 4px rgba(255,214,0,.14);
}

.page-news .news-timeline__item[data-category="local"] .news-timeline__node::before{
  background: var(--c-purple);
  box-shadow: 0 0 0 4px rgba(42,27,61,.4);
}

.page-news .news-timeline__item[data-category="data"] .news-timeline__node-label{
  border-color: rgba(0,200,83,.5);
}

.page-news .news-timeline__item[data-category="feature"] .news-timeline__node-label{
  border-color: rgba(255,214,0,.5);
}

.page-news .news-timeline__item[data-category="local"] .news-timeline__node-label{
  border-color: rgba(42,27,61,.8);
}

.page-news .news-entry{
  background: var(--c-bg-panel);
  border: 1px solid var(--c-line);
  border-radius: 2px;
  padding: 24px 22px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.page-news .news-entry:hover{
  transform: translateX(6px) rotate(.3deg);
  border-color: rgba(255,107,0,.35);
  box-shadow: var(--shadow-1);
}

.page-news .news-timeline__item:target .news-entry{
  border-color: var(--c-accent);
  box-shadow: var(--shadow-1);
}

.page-news .news-entry__header{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.page-news .news-entry__header h3{
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin: 6px 0 0;
}

.page-news .news-entry__time{
  color: var(--c-text-2);
  font-size: 14px;
  margin: 0;
}

.page-news .news-entry__body p{
  color: var(--c-text-2);
  line-height: 1.75;
  margin: 0 0 16px;
}

.page-news .news-entry__body img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  border: 1px solid var(--c-line);
}

.page-news .news-entry__portrait{
  max-width: 320px;
  margin: 12px auto 0;
}

/* ---------- 专题文章 ---------- */
.page-news .news-features{
  background:
    linear-gradient(180deg, var(--c-bg) 0%, rgba(18,26,47,.35) 100%);
}

.page-news .news-features__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-news .news-feature-card{
  display: block;
  padding: 28px 24px;
  background: var(--c-bg-panel);
  border: 1px solid var(--c-line);
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.page-news .news-feature-card::after{
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--c-accent);
  opacity: 0;
  transition: opacity .25s ease;
}

.page-news .news-feature-card:hover{
  transform: translateY(-4px) rotate(-.4deg);
  border-color: rgba(255,107,0,.4);
  background:
    linear-gradient(135deg, rgba(255,107,0,.05), transparent 48%),
    var(--c-bg-panel);
}

.page-news .news-feature-card:hover::after{
  opacity: 1;
}

.page-news .news-feature-card h3{
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  margin: 12px 0 8px;
}

.page-news .news-feature-card p{
  color: var(--c-text-2);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 18px;
}

.page-news .news-feature-card__link{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--c-accent);
  text-transform: uppercase;
}

/* ---------- 更多入口 ---------- */
.page-news .news-more{
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.page-news .news-more__item{
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  row-gap: 4px;
  padding: 20px;
  text-decoration: none;
  border-bottom: 1px solid var(--c-line);
  transition: background .25s ease;
}

.page-news .news-more__item:last-child{
  border-bottom: none;
}

.page-news .news-more__item:hover{
  background: var(--c-bg-panel);
}

.page-news .news-more__index{
  grid-row: span 2;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-accent);
  opacity: .6;
  line-height: 1;
}

.page-news .news-more__name{
  color: var(--c-text);
  font-weight: 600;
}

.page-news .news-more__desc{
  color: var(--c-text-2);
  font-size: 13px;
}

/* ---------- 桌面端增强 ---------- */
@media (min-width: 760px){
  .page-news .news-versions{
    grid-template-columns: repeat(3, 1fr);
  }

  .page-news .news-more{
    grid-template-columns: repeat(3, 1fr);
  }

  .page-news .news-more__item{
    border-bottom: none;
    border-right: 1px solid var(--c-line);
  }

  .page-news .news-more__item:last-child{
    border-right: none;
  }
}

@media (min-width: 900px){
  .page-news .news-hero{
    padding: 56px 0 0;
  }

  .page-news .news-hero__inner{
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    gap: 48px;
    align-items: center;
    min-height: 440px;
  }

  .page-news .news-hero__visual{
    margin-inline: 0;
  }

  .page-news .news-hero__img{
    height: 300px;
    clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
  }

  .page-news .news-papers{
    grid-template-columns: 1.18fr 1fr 1fr;
  }

  .page-news .news-features__grid{
    grid-template-columns: repeat(3, 1fr);
  }

  .page-news .news-entry__body img{
    margin-top: 4px;
  }
}
