/* ===== 文章中心数字期刊版式 ===== */
.page-news {
  --news-ink: #1C1C1E;
  --news-paper: #FFFFFF;
  --news-blue: #007AFF;
  --news-green: #34C759;
  --news-mist: #F2F2F7;
  --news-line: #E5E5EA;
  --news-soft: #8E8E93;
  --news-radius: 16px;
  background: var(--news-paper);
  color: var(--news-ink);
  overflow-x: hidden;
}

/* 面包屑 */
.page-news .news-breadcrumb {
  padding: 16px 0 4px;
  font-size: 13px;
  letter-spacing: 0.01em;
}
.page-news .news-breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-news .news-breadcrumb a {
  color: var(--news-blue);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.page-news .news-breadcrumb a:hover {
  color: var(--news-ink);
}
.page-news .news-breadcrumb-sep {
  color: var(--news-line);
  pointer-events: none;
}

/* 封面区 */
.page-news .news-cover {
  background: var(--news-ink);
  color: var(--news-paper);
  padding: 40px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-news .news-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--news-blue), var(--news-green));
  z-index: 2;
}
.page-news .news-cover::after {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  pointer-events: none;
}
.page-news .news-cover-grid {
  display: grid;
  gap: 32px;
  position: relative;
  z-index: 2;
}
.page-news .news-cover-kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--news-green);
  margin-bottom: 16px;
}
.page-news .news-cover-main h1 {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.page-news .news-cover-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  max-width: 30em;
  margin: 0;
}
.page-news .news-cover-index {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--news-radius);
  padding: 20px 24px;
}
.page-news .news-cover-index-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.page-news .news-cover-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page-news .news-cover-index-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: var(--news-paper);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.page-news .news-cover-index-list a:hover {
  color: var(--news-green);
  border-color: rgba(52,199,89,0.4);
}
.page-news .news-cover-index-list li:last-child a {
  border-bottom: none;
}
.page-news .news-cover-meta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.page-news .news-cover-vol {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.12em;
}

/* 正文整体布局 */
.page-news .news-layout {
  display: grid;
  gap: 40px;
  padding-top: 32px;
}

/* 章节头 */
.page-news .news-section {
  scroll-margin-top: 80px;
  padding-top: 16px;
}
.page-news .news-section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.page-news .news-section-head .coord-index {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--news-blue);
  background: rgba(0,122,255,0.08);
  padding: 4px 8px;
  border-radius: 8px;
  line-height: 1;
  white-space: nowrap;
}
.page-news .news-section-title {
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.page-news .news-section-desc {
  font-size: 14px;
  color: var(--news-soft);
  margin: 0;
  line-height: 1.6;
}

/* 图片基础 */
.page-news img {
  max-width: 100%;
  height: auto;
  display: block;
}
.page-news .news-cover-img {
  width: 100%;
  height: auto;
  border-radius: var(--news-radius);
  margin-bottom: 24px;
}

/* 文章卡片 */
.page-news .news-article-list {
  display: grid;
  gap: 16px;
}
.page-news .news-article {
  display: flex;
  gap: 14px;
  background: var(--news-paper);
  border: 1px solid var(--news-line);
  border-radius: var(--news-radius);
  padding: 20px 16px;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.page-news .news-article:hover {
  box-shadow: 0 8px 24px var(--bibo-shadow);
  transform: translateY(-2px);
  border-color: rgba(0,122,255,0.25);
}
.page-news .news-article-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--news-blue);
  line-height: 1;
  min-width: 36px;
  padding-top: 2px;
}
.page-news .news-article-body {
  flex: 1;
  min-width: 0;
}
.page-news .news-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.page-news .news-article-body h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.page-news .news-article-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--news-soft);
  margin: 0 0 14px;
}
.page-news .news-article-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.page-news .news-article-link {
  color: var(--news-blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}
.page-news .news-article-link:hover {
  gap: 10px;
  color: var(--news-ink);
}
.page-news .news-article-time {
  font-size: 12px;
  color: var(--news-soft);
}

/* 装饰横幅 */
.page-news .news-divider {
  margin: 32px 0;
}
.page-news .news-divider img {
  width: 100%;
  height: auto;
  border-radius: var(--news-radius);
}

/* 资料更新 */
.page-news .news-update-banner {
  display: grid;
  gap: 20px;
  background: var(--news-mist);
  border-radius: var(--news-radius);
  padding: 20px;
  margin-bottom: 20px;
}
.page-news .news-update-banner img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.page-news .news-update-banner-content {
  display: grid;
  gap: 12px;
  align-content: start;
}
.page-news .news-update-banner-content h3 {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
}
.page-news .news-update-banner-content p {
  font-size: 14px;
  color: var(--news-soft);
  margin: 0;
  line-height: 1.6;
}
.page-news .news-update-banner-content .btn {
  justify-self: start;
}
.page-news .news-update-grid {
  display: grid;
  gap: 14px;
}
.page-news .news-update-card {
  background: var(--news-paper);
  border: 1px solid var(--news-line);
  border-radius: 14px;
  padding: 18px 20px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.page-news .news-update-card:hover {
  border-color: rgba(0,122,255,0.3);
  box-shadow: 0 4px 16px var(--bibo-shadow);
}
.page-news .news-update-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--news-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.page-news .news-update-card h3 {
  font-size: 16px;
  margin: 8px 0 4px;
  font-weight: 700;
  line-height: 1.35;
}
.page-news .news-update-card p {
  font-size: 13px;
  color: var(--news-soft);
  margin: 0;
  line-height: 1.6;
}

/* 产品动态 */
.page-news .news-product {
  display: grid;
  gap: 20px;
  background: var(--news-ink);
  color: var(--news-paper);
  border-radius: var(--news-radius);
  padding: 20px;
  margin-bottom: 20px;
}
.page-news .news-product img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.page-news .news-product-content {
  display: grid;
  gap: 8px;
  align-content: start;
}
.page-news .news-product-content h3 {
  font-size: 20px;
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
}
.page-news .news-product-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.6;
}
.page-news .news-product-list {
  display: grid;
  gap: 12px;
}
.page-news .news-product-item {
  border-bottom: 1px solid var(--news-line);
  padding: 8px 0 16px;
}
.page-news .news-product-item:last-child {
  border-bottom: none;
}
.page-news .news-product-item h3 {
  font-size: 15px;
  margin: 8px 0 4px;
  font-weight: 700;
  line-height: 1.4;
}
.page-news .news-product-item p {
  font-size: 13px;
  color: var(--news-soft);
  margin: 0;
  line-height: 1.5;
}
.page-news .news-product-item a {
  color: var(--news-blue);
  text-decoration: none;
  font-weight: 600;
}
.page-news .news-product-item a:hover {
  text-decoration: underline;
}

/* 侧边栏 */
.page-news .news-sidebar {
  display: grid;
  gap: 32px;
  align-content: start;
}
.page-news .news-sidebar-block {
  background: var(--news-mist);
  border-radius: var(--news-radius);
  padding: 24px 20px;
}
.page-news .news-sidebar-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--news-ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-news .news-sidebar-title::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--news-blue);
  border-radius: 50%;
  flex-shrink: 0;
}

/* 标签云 */
.page-news .news-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.page-news .news-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--news-paper);
  border: 1px solid var(--news-line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--news-ink);
  text-decoration: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.page-news .news-tag:hover {
  background: var(--news-blue);
  border-color: var(--news-blue);
  color: #fff;
}
.page-news .news-tag--lg {
  font-size: 16px;
  font-weight: 700;
  padding: 8px 18px;
}
.page-news .news-tag--md {
  font-size: 14px;
  font-weight: 600;
  padding: 7px 16px;
}

/* 热门阅读 */
.page-news .news-popular-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: popular;
  display: grid;
  gap: 8px;
}
.page-news .news-popular-list li {
  counter-increment: popular;
  padding: 10px 0 10px 36px;
  position: relative;
  border-bottom: 1px dashed var(--news-line);
}
.page-news .news-popular-list li:last-child {
  border-bottom: none;
}
.page-news .news-popular-list li::before {
  content: counter(popular, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--news-blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.page-news .news-popular-list a {
  color: var(--news-ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  display: block;
  transition: color 0.2s var(--ease);
}
.page-news .news-popular-list a:hover {
  color: var(--news-blue);
}
.page-news .news-popular-count {
  font-size: 12px;
  color: var(--news-soft);
  margin-top: 4px;
  display: block;
}

/* 折叠目录 */
.page-news .news-toc {
  display: grid;
  gap: 12px;
}
.page-news .news-toc-group {
  background: var(--news-paper);
  border: 1px solid var(--news-line);
  border-radius: 12px;
  padding: 14px 16px;
}
.page-news .news-toc-head {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--news-ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-news .news-toc-head::before {
  content: '';
  width: 4px;
  height: 14px;
  background: var(--news-blue);
  border-radius: 2px;
  flex-shrink: 0;
}
.page-news .news-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.page-news .news-toc-list a {
  font-size: 13px;
  color: var(--news-soft);
  text-decoration: none;
  padding: 4px 0 4px 12px;
  border-left: 1px solid var(--news-line);
  display: block;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.page-news .news-toc-list a:hover {
  color: var(--news-blue);
  border-left-color: var(--news-blue);
}

/* 底部更新状态 */
.page-news .news-update-strip {
  background: var(--news-ink);
  color: var(--news-paper);
  margin-top: 56px;
  padding: 40px 0;
}
.page-news .news-update-strip-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.page-news .news-update-strip p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 40em;
}
.page-news .news-legal-note {
  padding: 24px 24px 0;
}
.page-news .news-legal-note p {
  font-size: 12px;
  color: var(--news-soft);
  margin: 0;
  line-height: 1.6;
}
.page-news .news-legal-note a {
  color: var(--news-blue);
  text-decoration: none;
}
.page-news .news-legal-note a:hover {
  text-decoration: underline;
}

/* ===== 桌面端增强 ===== */
@media (min-width: 900px) {
  .page-news .news-cover {
    padding: 64px 0 72px;
  }
  .page-news .news-cover-grid {
    grid-template-columns: 1.6fr 1fr;
    gap: 64px;
    align-items: end;
  }
  .page-news .news-cover-main h1 {
    font-size: 48px;
    line-height: 1.15;
    max-width: 14em;
  }
  .page-news .news-cover-desc {
    font-size: 17px;
  }
  .page-news .news-layout {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 56px;
  }
  .page-news .news-update-banner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .page-news .news-update-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-news .news-product {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .page-news .news-update-strip-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .page-news .news-article {
    padding: 24px;
  }
  .page-news .news-article-num {
    font-size: 24px;
    min-width: 44px;
  }
  .page-news .news-article-body h3 {
    font-size: 18px;
  }
  .page-news .news-sidebar {
    position: sticky;
    top: 80px;
  }
}
