.page-news {
  --c-version: var(--c-accent);
  --c-sub: var(--c-cyan);
  --c-injury: var(--c-teal);
  --c-team: var(--c-indigo);
  --c-league: var(--c-wine);
  --c-member: #B08D57;
  --c-guide: #0B6A67;
  background: var(--c-primary);
  background-image:
    linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, transparent 30%),
    radial-gradient(circle at 78% 8%, rgba(255, 106, 0, 0.1), transparent 42%);
  color: var(--c-cream);
  min-height: 100vh;
  padding-bottom: 64px;
}

.page-news a {
  color: inherit;
}

.page-news .btn {
  text-decoration: none;
}

/* 页首 */
.page-news .news-head {
  padding-top: 40px;
  padding-bottom: 0;
}

.page-news .news-head-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: end;
  margin-top: 28px;
}

.page-news .news-head-copy {
  max-width: 640px;
}

.page-news .page-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 14px;
  color: var(--c-cream);
}

.page-news .page-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 8px;
  background: var(--c-accent);
  margin-top: 16px;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
}

.page-news .page-title-sub {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--c-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.page-news .news-head-desc {
  color: var(--c-gray);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
  max-width: 56ch;
}

.page-news .news-head-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: var(--border-w) solid var(--c-cyan);
  padding: 12px 18px;
  background: rgba(0, 212, 255, 0.08);
  font-size: 0.9rem;
  justify-self: start;
  margin-bottom: 8px;
}

.page-news .news-head-badge .num {
  font-size: 2.2rem;
  line-height: 1;
  color: var(--c-cyan);
}

/* 顶部信息图 */
.page-news .news-hero-img {
  margin: 32px 0 0;
  border: var(--border-w) solid var(--c-cyan);
  box-shadow: 6px 6px 0 rgba(0, 212, 255, 0.25);
  background: var(--c-ink);
  max-height: 380px;
  overflow: hidden;
}

.page-news .news-hero-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* 数据带 */
.page-news .news-ribbon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
  margin-bottom: 48px;
}

.page-news .ribbon-item {
  background: rgba(255, 255, 255, 0.04);
  border: var(--border-w) solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.page-news .ribbon-item .num {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  line-height: 1.1;
  color: var(--c-accent);
  font-weight: 700;
}

.page-news .ribbon-item span:last-child {
  color: var(--c-gray);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

/* 三列布局基础（移动端单列） */
.page-news .news-layout {
  display: block;
  align-items: start;
}

.page-news .news-sidebar,
.page-news .news-aside {
  margin-top: 32px;
}

/* 左侧栏目索引 */
.page-news .news-sidebar {
  padding: 24px;
  border: var(--border-w) solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 16, 32, 0.55);
}

.page-news .news-sidebar h2,
.page-news .news-aside h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 14px 0 8px;
}

.page-news .sidebar-note {
  color: var(--c-gray);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0 0 20px;
}

.page-news .cat-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-news .cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid transparent;
  transition: border-color var(--ease), background var(--ease), transform var(--ease);
}

.page-news .cat-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--c-cyan);
  transform: translateX(4px);
}

.page-news .cat-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--c-cyan);
}

.page-news .cat-item-sub .cat-dot { background: var(--c-sub); }
.page-news .cat-item-version .cat-dot { background: var(--c-version); }
.page-news .cat-item-injury .cat-dot { background: var(--c-injury); }
.page-news .cat-item-team .cat-dot { background: var(--c-team); }
.page-news .cat-item-league .cat-dot { background: var(--c-league); }
.page-news .cat-item-member .cat-dot { background: var(--c-member); }

.page-news .cat-arrow {
  margin-left: auto;
  color: var(--c-cyan);
  font-family: var(--font-mono);
}

.page-news .sidebar-six {
  margin-top: 24px;
  border-left: var(--border-w) solid var(--c-accent);
  padding-left: 16px;
}

.page-news .sidebar-six h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
}

.page-news .sidebar-six ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
}

.page-news .sidebar-six li {
  font-size: 0.85rem;
  color: var(--c-cream);
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* 中间文章区 */
.page-news .news-main {
  min-width: 0;
}

.page-news .section-heading {
  margin-bottom: 24px;
}

.page-news .section-heading h2 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  text-transform: uppercase;
  margin: 14px 0 6px;
}

.page-news .section-heading p {
  color: var(--c-gray);
  margin: 0;
  line-height: 1.7;
  max-width: 48ch;
}

.page-news .center-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
}

.page-news .module-label {
  color: var(--c-gray);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-right: 4px;
}

.page-news .module-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  color: var(--c-cream);
  text-decoration: none;
  font-size: 0.86rem;
  transition: border-color var(--ease), background var(--ease);
}

.page-news .module-chip:hover {
  border-color: var(--c-cyan);
  background: rgba(0, 212, 255, 0.1);
}

/* 文章卡片 */
.page-news .news-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-news .article-card {
  background: var(--c-cream);
  color: var(--c-primary);
  border: var(--border-w) solid var(--c-ink);
  border-left-width: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform var(--ease), box-shadow var(--ease);
}

.page-news .article-card:hover,
.page-news .article-card:focus-within {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.35);
}

.page-news .article-card.accent-sub { border-left-color: var(--c-sub); }
.page-news .article-card.accent-version { border-left-color: var(--c-version); }
.page-news .article-card.accent-injury { border-left-color: var(--c-injury); }
.page-news .article-card.accent-team { border-left-color: var(--c-team); }
.page-news .article-card.accent-league { border-left-color: var(--c-league); }
.page-news .article-card.accent-member { border-left-color: var(--c-member); }
.page-news .article-card.accent-cyan { border-left-color: var(--c-cyan); }

.page-news .article-media {
  aspect-ratio: 16 / 10;
  background: var(--c-ink);
  overflow: hidden;
}

.page-news .article-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-news .article-body {
  padding: 22px 24px 18px;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.page-news .article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.page-news .article-time {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--c-gray);
  letter-spacing: 0.05em;
  background: rgba(10, 31, 68, 0.06);
  padding: 4px 8px;
}

.page-news .article-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.2;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.page-news .article-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(10, 31, 68, 0.82);
  margin: 0 0 18px;
  flex: 1 1 auto;
}

.page-news .article-card:hover .article-excerpt,
.page-news .article-card:focus-within .article-excerpt {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.page-news .article-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px dashed rgba(10, 31, 68, 0.2);
  padding-top: 12px;
  margin-top: auto;
}

.page-news .article-idx {
  font-size: 1.5rem;
  font-family: var(--font-mono);
  color: var(--c-primary);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.18), transparent);
  padding: 2px 8px;
  line-height: 1;
}

.page-news .article-length {
  font-size: 0.8rem;
  color: rgba(10, 31, 68, 0.55);
}

.page-news .btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}

/* 页内标签色彩 */
.page-news .tag-version,
.page-news .tag-sub,
.page-news .tag-member {
  color: var(--c-ink);
}

.page-news .tag-injury,
.page-news .tag-team,
.page-news .tag-league,
.page-news .tag-guide {
  color: var(--c-cream);
}

.page-news .tag-sub { background: var(--c-sub); }
.page-news .tag-version { background: var(--c-version); }
.page-news .tag-injury { background: var(--c-injury); }
.page-news .tag-team { background: var(--c-team); }
.page-news .tag-league { background: var(--c-league); }
.page-news .tag-member { background: var(--c-member); }
.page-news .tag-guide { background: var(--c-guide); }

/* 订阅引导 */
.page-news .news-subs {
  margin-top: 40px;
  background: linear-gradient(135deg, var(--c-teal), var(--c-indigo));
  border: var(--border-w) solid var(--c-ink);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.25);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.page-news .news-subs::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, transparent 50%, rgba(0, 212, 255, 0.25) 50%);
}

.page-news .news-subs h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--c-cream);
  margin: 12px 0 8px;
}

.page-news .subs-lead {
  color: rgba(250, 247, 242, 0.85);
  line-height: 1.7;
  max-width: 62ch;
  margin: 0 0 22px;
}

.page-news .subs-times {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.page-news .subs-times div {
  background: rgba(0, 0, 0, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-news .subs-times .num {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-cyan);
  line-height: 1.2;
}

.page-news .subs-times span:last-child {
  font-size: 0.78rem;
  color: rgba(250, 247, 242, 0.7);
}

.page-news .subs-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.page-news .subs-metrics div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-news .subs-metrics strong {
  font-size: 1.25rem;
  color: var(--c-accent);
}

.page-news .subs-metrics span {
  font-size: 0.76rem;
  color: rgba(250, 247, 242, 0.72);
  line-height: 1.3;
}

.page-news .news-subs .btn-primary {
  margin-top: 8px;
}

/* 右侧面板 */
.page-news .news-aside {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.page-news .topic-panel,
.page-news .help-panel {
  position: relative;
  padding: 24px;
  border: var(--border-w) solid var(--c-ink);
}

.page-news .topic-panel {
  background: var(--c-wine);
  background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.22), transparent 40%);
  color: var(--c-cream);
}

.page-news .help-panel {
  background: var(--c-indigo);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 40%);
  color: var(--c-cream);
}

.page-news .topic-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-news .topic-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.page-news .topic-num {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.25);
  padding: 6px 10px;
  min-width: 50px;
  text-align: center;
}

.page-news .topic-list h3 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.page-news .topic-list p {
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgba(250, 247, 242, 0.82);
  margin: 0;
}

.page-news .topic-panel .btn-outline-cyan {
  margin-top: 8px;
}

.page-news .help-img {
  border: var(--border-w) solid rgba(255, 255, 255, 0.4);
  overflow: hidden;
  margin: 16px 0;
}

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

.page-news .help-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.page-news .help-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.page-news .help-list a {
  color: var(--c-cyan);
  font-weight: 500;
  text-decoration: none;
}

.page-news .help-list a:hover {
  text-decoration: underline;
}

.page-news .help-list span {
  font-size: 0.78rem;
  color: rgba(250, 247, 242, 0.68);
}

/* 平板及以上 */
@media (min-width: 480px) {
  .page-news .subs-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 640px) {
  .page-news .news-ribbon {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-news .news-head-row {
    grid-template-columns: 1fr auto;
  }

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

  .page-news .news-sidebar {
    position: sticky;
    top: 96px;
  }

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

  .page-news .article-card-spread {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .page-news .article-card-spread .article-media {
    aspect-ratio: auto;
    height: 100%;
  }

  .page-news .news-aside {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* 桌面三列 */
@media (min-width: 1100px) {
  .page-news .news-layout {
    grid-template-columns: minmax(230px, 250px) minmax(0, 1fr) minmax(280px, 310px);
  }

  .page-news .news-aside {
    grid-column: auto;
    display: block;
  }
}
