/* ====================================
   内容观察 · page-news 专属样式
   ==================================== */
.page-news {
  --news-green: #00FF9C;
  --news-orange: #FF6A00;
  --news-border: rgba(255, 255, 255, .1);
  --news-card: rgba(255, 255, 255, .04);
  background: var(--grad-primary);
  color: var(--c-text-light);
  overflow-x: hidden;
}

.page-news .img-frame {
  position: relative;
  overflow: hidden;
}

/* ---------- 导语区 ---------- */
.page-news .news-hero {
  position: relative;
  isolation: isolate;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + var(--header-offset) + 48px) 0 64px;
  overflow: hidden;
}

.page-news .news-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-news .news-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(7, 20, 40, .9) 0%, rgba(46, 26, 71, .72) 100%);
}

.page-news .news-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .news-hero-inner {
  width: 100%;
  z-index: 2;
}

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

.page-news .news-hero-cols {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.page-news .news-hero-main h1 {
  font-size: clamp(56px, 12vw, 104px);
  line-height: .92;
  margin: 12px 0 20px;
  font-weight: 900;
  letter-spacing: -.03em;
}

.page-news .news-hero-main h1 span {
  display: block;
  color: var(--news-green);
  background: linear-gradient(90deg, var(--news-green), #7CD9FF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-news .news-hero-lead {
  max-width: 460px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .78);
  margin: 0;
}

.page-news .news-hero-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-news .news-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-news .news-hero-stat {
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--news-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(6px);
  min-width: 104px;
}

.page-news .news-hero-stat .stat-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--news-green);
  font-family: var(--font-mono);
  line-height: 1;
}

.page-news .news-hero-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, .7);
  margin-top: 6px;
}

.page-news .news-hero-coord {
  display: flex;
  justify-content: flex-end;
}

.page-news .news-hero-scroll {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .4em;
  color: rgba(255, 255, 255, .4);
  z-index: 2;
}

/* ---------- 文章浏览区 ---------- */
.page-news .news-board-section {
  padding: 64px 0 72px;
}

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

.page-news .news-sidenav-inner {
  position: relative;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--news-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
}

.page-news .news-sidenav-inner::before {
  content: "INDEX / 目录";
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .28em;
  color: var(--news-orange);
  margin-bottom: 12px;
}

.page-news .news-sidenav-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text-light);
  margin-bottom: 16px;
  letter-spacing: .06em;
}

.page-news .news-sidenav-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.page-news .news-sidenav-link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-light);
  text-decoration: none;
  transition: all .3s var(--ease);
}

.page-news .news-sidenav-link em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, .42);
  margin-left: auto;
}

.page-news .news-sidenav-link:hover,
.page-news .news-sidenav-link.is-active {
  background: var(--news-green);
  color: #071428;
  border-color: transparent;
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0, 255, 156, .18);
}

.page-news .news-sidenav-note {
  border-top: 1px dashed rgba(255, 255, 255, .16);
  padding-top: 16px;
}

.page-news .news-sidenav-note p {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .58);
  margin: 10px 0 0;
}

.page-news .news-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
  min-width: 0;
}

/* ---------- 头条文章 ---------- */
.page-news .news-feature {
  background: var(--c-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--c-text-dark);
}

.page-news .news-feature .img-frame {
  border-radius: 0;
}

.page-news .news-feature .img-label {
  background: rgba(7, 20, 40, .85);
}

.page-news .news-feature-body {
  padding: 26px 24px 32px;
}

.page-news .news-feature-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.page-news .news-time {
  font-size: 13px;
  color: rgba(28, 46, 74, .6);
}

.page-news .news-feature h2 {
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 14px 0 12px;
}

.page-news .news-feature h2 a {
  color: var(--c-text-dark);
  text-decoration: none;
  transition: color .3s;
}

.page-news .news-feature h2 a:hover {
  color: var(--news-orange);
}

.page-news .news-feature-body > p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(28, 46, 74, .72);
  margin: 0 0 22px;
  max-width: 680px;
}

.page-news .news-feature-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-news .news-readmore {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-dark);
  text-decoration: none;
  border-bottom: 2px solid var(--news-orange);
  padding-bottom: 2px;
  transition: color .3s, border-color .3s;
}

.page-news .news-readmore:hover {
  color: var(--news-orange);
  border-color: var(--news-orange);
}

/* ---------- 分类区块 ---------- */
.page-news .news-block {
  scroll-margin-top: 100px;
}

.page-news .news-block-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--news-border);
}

.page-news .news-block-head h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  color: var(--c-text-light);
  letter-spacing: .02em;
}

.page-news .news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-news .news-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 4px 16px;
  background: var(--news-card);
  border: 1px solid var(--news-border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: transform .35s var(--ease), border-color .35s, background .35s, box-shadow .35s;
}

.page-news .news-item:hover {
  transform: translateX(8px) translateY(-2px);
  background: rgba(255, 255, 255, .07);
  border-color: rgba(0, 255, 156, .4);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .22);
}

.page-news .news-item-num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: rgba(255, 255, 255, .18);
  line-height: 1.2;
  transition: color .3s;
}

.page-news .news-item:hover .news-item-num {
  color: var(--news-green);
}

.page-news .news-item-content {
  min-width: 0;
}

.page-news .news-item-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page-news .news-item h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin: 8px 0 8px;
}

.page-news .news-item h4 a {
  color: var(--c-text-light);
  text-decoration: none;
  transition: color .3s;
}

.page-news .news-item h4 a:hover {
  color: var(--news-green);
}

.page-news .news-item-content > p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .58);
  margin: 0;
}

.page-news .news-item-media {
  grid-column: 1 / -1;
  margin-top: 10px;
  border-radius: var(--radius-sm);
}

.page-news .news-item-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-overlay);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}

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

.page-news .news-continue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.page-news .news-continue-line {
  height: 1px;
  flex: 1;
  max-width: 120px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 156, .4));
}

.page-news .news-continue-line:last-child {
  background: linear-gradient(270deg, transparent, rgba(255, 106, 0, .4));
}

.page-news .news-continue a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  transition: color .3s;
}

.page-news .news-continue a:hover {
  color: var(--news-orange);
}

/* ---------- 热门标签带 ---------- */
.page-news .news-tagband {
  background: var(--c-light);
  color: var(--c-text-dark);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.page-news .news-tagband::before {
  content: "TAG · CLOUD";
  position: absolute;
  top: 24px;
  right: -20px;
  font-family: var(--font-mono);
  font-size: 96px;
  font-weight: 700;
  color: rgba(28, 46, 74, .05);
  letter-spacing: .06em;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.page-news .news-tagband-head {
  margin-bottom: 32px;
}

.page-news .news-tagband-head h2 {
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 900;
  margin: 8px 0 8px;
  letter-spacing: -.02em;
}

.page-news .news-tagband-head p {
  font-size: 14px;
  color: rgba(28, 46, 74, .6);
  margin: 0;
}

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

.page-news .news-taglist .tag-chip {
  font-size: 14px;
  padding: 10px 18px;
  transition: all .3s var(--ease);
  background: #fff;
  border-color: rgba(28, 46, 74, .14);
  color: var(--c-text-dark);
}

.page-news .news-taglist .tag-chip:hover {
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: 0 10px 24px rgba(28, 46, 74, .12);
}

.page-news .news-taglist .tag-chip--green {
  background: var(--news-green);
  border-color: transparent;
  color: #071428;
}

.page-news .tag-chip--orange {
  background: rgba(255, 106, 0, .1);
  border-color: rgba(255, 106, 0, .4);
  color: var(--news-orange);
}

.page-news .news-taglist .tag-chip--orange:hover {
  background: var(--news-orange);
  border-color: transparent;
  color: #FFFFFF;
}

/* ---------- 收藏区 ---------- */
.page-news .news-collect {
  padding: 72px 0 96px;
  position: relative;
}

.page-news .news-collect-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(0, 255, 156, .06));
  border: 1px solid var(--news-border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-news .news-collect-card::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 80px;
  height: 80px;
  border-top: 3px solid var(--news-green);
  border-right: 3px solid var(--news-green);
  border-top-right-radius: var(--radius-lg);
  opacity: .8;
}

.page-news .news-collect-info h2 {
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 900;
  margin: 10px 0 12px;
  letter-spacing: -.02em;
}

.page-news .news-collect-info p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .7);
  margin: 0;
  max-width: 520px;
}

.page-news .news-collect-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.page-news .news-collect-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px dashed rgba(255, 255, 255, .16);
  padding-top: 20px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 768px) {
  .page-news .news-hero {
    min-height: 580px;
  }

  .page-news .news-hero-cols {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .page-news .news-hero-side {
    align-items: flex-end;
  }

  .page-news .news-sidenav-list {
    grid-template-columns: 1fr;
  }

  .page-news .news-item {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 26px 28px;
  }

  .page-news .news-feature-body {
    padding: 32px 36px 36px;
  }

  .page-news .news-collect-card {
    padding: 56px 48px;
  }
}

@media (min-width: 1024px) {
  .page-news .news-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }

  .page-news .news-sidenav-inner {
    position: sticky;
    top: calc(var(--header-h) + var(--header-offset) + 24px);
    padding: 28px 24px;
  }

  .page-news .news-board-section {
    padding: 88px 0 96px;
  }

  .page-news .news-tagband {
    padding: 96px 0;
  }

  .page-news .news-collect {
    padding: 96px 0 120px;
  }
}
