.page-news {
  --news-green: #00FF88;
  --news-blue: #00BFFF;
  --news-bg: #0A0E14;
  --news-surface: #121A24;
  --news-glow: #1C2833;
  --news-text: #E8EEF2;
  --news-dim: #A6B7C3;
  --news-line: rgba(255, 255, 255, 0.12);
  --news-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.page-news [hidden] {
  display: none !important;
}

/* ========== 海报式页首 ========== */
.page-news .page-head {
  position: relative;
  padding: 42px 0 28px;
  border-bottom: 1px solid var(--news-line);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 88% 8%, rgba(0, 255, 136, 0.12), transparent 46%),
    radial-gradient(ellipse at 6% 92%, rgba(0, 191, 255, 0.1), transparent 50%);
}

.page-news .page-head::before {
  content: "";
  position: absolute;
  right: -7vw;
  top: -9vw;
  width: 44vw;
  height: 44vw;
  min-width: 300px;
  min-height: 300px;
  border: 2px solid rgba(0, 255, 136, 0.14);
  transform: rotate(22deg);
  background: linear-gradient(135deg, transparent 44%, rgba(0, 255, 136, 0.06));
  z-index: 0;
}

.page-news .page-head::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 4px;
  background: linear-gradient(90deg, var(--news-green), var(--news-blue));
  z-index: 1;
}

.page-news .page-head__meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.page-news .page-head__code {
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--news-dim);
}

.page-news .page-head__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.page-news .page-head h1 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(32px, 5.4vw, 58px);
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: var(--news-text);
}

.page-news .head-accent {
  color: var(--news-green);
}

.page-news .page-lead {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--news-dim);
  max-width: 46em;
}

.page-news .page-head__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  padding: 22px 20px;
  background: var(--news-surface);
  border: 1px solid var(--news-line);
  border-top: 4px solid var(--news-green);
  box-shadow: var(--news-card-shadow);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.page-news .page-head__panel::before {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 46px;
  height: 46px;
  border-right: 2px solid rgba(0, 191, 255, 0.35);
  border-bottom: 2px solid rgba(0, 191, 255, 0.35);
}

.page-news .panel-num {
  font-family: var(--f-display);
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  color: var(--news-green);
}

.page-news .panel-label {
  font-size: 14px;
  color: var(--news-dim);
  letter-spacing: 0.04em;
}

/* 面包屑 */
.page-news .breadcrumb {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--news-line);
  font-size: 14px;
}

.page-news .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

.page-news .breadcrumb [aria-current="page"] {
  color: var(--news-dim);
}

/* ========== 分类横幅 ========== */
.page-news .cat-banner {
  position: relative;
  border-top: 1px solid var(--news-line);
  border-bottom: 1px solid var(--news-line);
  overflow: hidden;
  background: var(--news-bg);
}

.page-news .cat-banner__img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-news .cat-banner__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 6%;
  background: linear-gradient(90deg, rgba(10, 14, 20, 0.88) 0%, rgba(10, 14, 20, 0.55) 52%, transparent 100%);
}

.page-news .cat-banner__label {
  margin: 0;
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.page-news .cat-banner__text {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--news-dim);
  max-width: 46em;
}

/* ========== 章节头部 ========== */
.page-news .insight-head {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--news-line);
}

.page-news .insight-head::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--news-green), transparent);
}

.page-news .insight-head__tag {
  display: inline-block;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--news-blue);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.page-news .insight-head__title {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--news-text);
}

.page-news .insight-head__lead {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--news-dim);
  max-width: 56em;
}

/* ========== 最新动态网格 ========== */
.page-news .latest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.page-news .latest-card {
  display: flex;
  flex-direction: column;
  background: var(--news-surface);
  border: 1px solid var(--news-line);
  box-shadow: var(--news-card-shadow);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease;
}

.page-news .latest-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 136, 0.4);
}

.page-news .latest-card__media {
  margin: 0;
  border-bottom: 1px solid var(--news-line);
}

.page-news .latest-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 20px;
}

.page-news .latest-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .read-time {
  font-size: 13px;
  color: var(--news-dim);
  letter-spacing: 0.03em;
}

.page-news .latest-card__title {
  margin: 0;
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.22;
  color: var(--news-text);
  letter-spacing: 0.01em;
}

.page-news .latest-card__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--news-dim);
  flex: 1;
}

.page-news .latest-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--news-line);
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--news-dim);
}

/* ========== 分类筛选布局 ========== */
.page-news .filter-section {
  background: var(--news-bg);
  border: 1px solid var(--news-line);
  padding: 28px 22px;
}

.page-news .filter-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.page-news .filter-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-news .filter-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(0, 255, 136, 0.04), transparent 60%), var(--news-surface);
  border: 1px solid var(--news-line);
  border-top: 3px solid var(--news-green);
}

.page-news .filter-pill {
  appearance: none;
  border: 1px solid var(--news-line);
  border-radius: 2px;
  background: transparent;
  color: var(--news-text);
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.page-news .filter-pill:hover {
  border-color: var(--news-blue);
  color: var(--news-blue);
}

.page-news .filter-pill[aria-pressed="true"] {
  background: var(--news-green);
  border-color: var(--news-green);
  color: #04120A;
  font-weight: 700;
}

.page-news .filter-notice {
  display: flex;
  gap: 10px;
  padding: 16px;
  background: var(--news-surface);
  border: 1px solid var(--news-line);
  border-left: 3px solid var(--news-green);
}

.page-news .filter-notice p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--news-dim);
}

.page-news .filter-notice strong {
  color: var(--news-text);
  font-weight: 600;
}

.page-news .quick-links {
  padding: 16px;
  background: var(--news-surface);
  border: 1px solid var(--news-line);
}

.page-news .quick-links h3 {
  margin: 0 0 10px;
  font-family: var(--f-display);
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--news-text);
}

.page-news .quick-links a {
  display: block;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--news-blue);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.page-news .quick-links a:last-child {
  border-bottom: none;
}

.page-news .quick-links a:hover {
  color: var(--news-green);
  padding-left: 4px;
}

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

.page-news .filter-card {
  display: flex;
  gap: 18px;
  padding: 18px;
  background: var(--news-surface);
  border: 1px solid var(--news-line);
  border-right: 3px solid transparent;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease;
}

.page-news .filter-card:hover {
  border-right-color: var(--news-blue);
  transform: translateX(4px);
}

.page-news .filter-card__index {
  font-family: var(--f-display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--news-blue);
  opacity: 0.7;
  min-width: 44px;
}

.page-news .filter-card__content {
  flex: 1;
}

.page-news .filter-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.page-news .filter-card h3 {
  margin: 0 0 8px;
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--news-text);
}

.page-news .filter-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--news-dim);
  max-width: 52em;
}

/* ========== 热门推荐 ========== */
.page-news .hot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.page-news .hot-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--news-surface);
  border: 1px solid var(--news-line);
  box-shadow: var(--news-card-shadow);
  overflow: hidden;
}

.page-news .hot-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--news-green), var(--news-blue));
  z-index: 1;
}

.page-news .hot-card--lead {
  background: linear-gradient(135deg, var(--news-surface) 0%, var(--news-glow) 100%);
}

.page-news .hot-card__media {
  margin: 0;
  border-bottom: 1px solid var(--news-line);
}

.page-news .hot-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 22px;
}

.page-news .hot-card__rank {
  font-family: var(--f-display);
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--news-green);
  opacity: 0.85;
}

.page-news .hot-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  color: var(--news-dim);
}

.page-news .hot-card h3 {
  margin: 0;
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--news-text);
}

.page-news .hot-card__why {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--news-dim);
  flex: 1;
}

.page-news .hot-card__why strong {
  color: var(--news-green);
  font-weight: 600;
}

.page-news .hot-card .btn {
  align-self: flex-start;
  margin-top: 4px;
}

/* ========== 响应式增强 ========== */
@media (min-width: 640px) {
  .page-news .cat-banner__label {
    font-size: 32px;
  }

  .page-news .cat-banner__text {
    font-size: 15px;
  }
}

@media (min-width: 768px) {
  .page-news .page-head {
    padding: 56px 0 34px;
  }

  .page-news .page-head__grid {
    grid-template-columns: 1.5fr 0.9fr;
    align-items: end;
  }

  .page-news .latest-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .page-news .filter-card {
    padding: 22px;
  }

  .page-news .hot-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .page-news .hot-card--lead {
    grid-column: span 2;
  }

  .page-news .hot-card--lead .hot-card__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
  }

  .page-news .hot-card--lead .hot-card__media {
    grid-column: span 2;
  }
}

@media (min-width: 992px) {
  .page-news .filter-layout {
    grid-template-columns: 280px 1fr;
    gap: 32px;
  }

  .page-news .filter-sidebar {
    position: sticky;
    top: 108px;
    z-index: 2;
  }

  .page-news .hot-grid {
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
  }

  .page-news .hot-card--lead {
    grid-column: span 1;
  }

  .page-news .hot-card--lead .hot-card__body {
    display: flex;
  }

  .page-news .hot-card--lead .hot-card__media {
    grid-column: auto;
  }
}

@media (min-width: 1200px) {
  .page-news .latest-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-news .filter-section {
    padding: 36px 34px;
  }

  .page-news .cat-banner__overlay {
    padding: 0 7%;
  }
}
