.page-news {
  --news-grid: rgba(0, 212, 255, 0.07);
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--news-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--news-grid) 1px, transparent 1px);
  background-size: 44px 44px;
  overflow-x: hidden;
  color: var(--muted);
  font-family: var(--font-body);
}

/* 01 · Hero */
.news-hero {
  position: relative;
  padding: 40px 0 48px;
  border-bottom: 1px solid var(--border);
}

.news-hero::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--green) 40%, transparent 80%);
  z-index: 1;
}

.news-hero::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 180px;
  background:
    linear-gradient(135deg, transparent 45%, rgba(0, 212, 255, 0.12) 45%, rgba(0, 212, 255, 0.12) 55%, transparent 55%);
  background-size: 20px 20px;
  pointer-events: none;
}

@media (max-width: 767px) {
  .news-hero::after {
    display: none;
  }
}

.news-breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}

.news-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.news-breadcrumb a:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.news-breadcrumb__sep {
  color: var(--border);
}

.news-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .news-hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: end;
  }
}

.news-hero__context,
.news-hero__side {
  min-width: 0;
}

.news-hero__context .eyebrow {
  color: var(--blue);
}

.news-hero h1 {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 14px 0 0;
}

@media (min-width: 768px) {
  .news-hero h1 {
    font-size: 58px;
  }
}

.news-hero__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  border-left: 3px solid var(--blue);
  padding-left: 16px;
}

@media (min-width: 768px) {
  .news-hero__lead {
    font-size: 16px;
  }
}

.news-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.news-hero__stat {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 7px 10px;
  white-space: nowrap;
}

/* 02/03/04 · 档案索引与最新观察 */
.news-archive {
  padding: 48px 0 24px;
}

.news-archive__layout {
  display: grid;
  gap: 36px;
}

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

.news-sidebar {
  display: grid;
  gap: 28px;
}

@media (min-width: 1024px) {
  .news-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    align-self: start;
  }
}

.news-sidebar__block {
  background: rgba(18, 26, 43, 0.72);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  padding: 20px 18px 22px;
}

.news-sidebar__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.news-sidebar__num,
.news-list__num {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
}

.news-sidebar__title {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.05em;
  color: #fff;
  margin: 0;
}

/* 栏目筛选 */
.news-cat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-cat-field {
  position: relative;
}

.news-filter-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.news-cat-btn {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  user-select: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.news-cat-btn:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.news-filter-input:focus-visible + .news-cat-btn {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.news-sidebar:has(#news-filter-all:checked) label[for="news-filter-all"],
.news-sidebar:has(#news-filter-data:checked) label[for="news-filter-data"],
.news-sidebar:has(#news-filter-tactic:checked) label[for="news-filter-tactic"],
.news-sidebar:has(#news-filter-story:checked) label[for="news-filter-story"],
.news-sidebar:has(#news-filter-version:checked) label[for="news-filter-version"] {
  background: var(--paper);
  border-color: var(--paper);
  color: #0A0E17;
  font-weight: 600;
}

.news-sidebar:has(#news-filter-data:checked) ~ .news-list .news-article:not(.news-article--data),
.news-sidebar:has(#news-filter-tactic:checked) ~ .news-list .news-article:not(.news-article--tactic),
.news-sidebar:has(#news-filter-story:checked) ~ .news-list .news-article:not(.news-article--story),
.news-sidebar:has(#news-filter-version:checked) ~ .news-list .news-article:not(.news-article--version) {
  display: none;
}

/* 热门标签 */
.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: baseline;
}

.news-tags__item {
  display: inline-block;
  color: var(--muted);
  font-family: var(--font-body);
  border-bottom: 1px dotted rgba(0, 212, 255, 0.5);
  padding: 2px 0;
  line-height: 1.3;
  transition: color 0.2s var(--ease);
}

.news-tags__item:hover {
  color: var(--blue);
}

.news-tags__item--lg {
  font-size: 19px;
  color: var(--paper);
  font-weight: 700;
}

.news-tags__item--md {
  font-size: 15px;
}

.news-tags__item--sm {
  font-size: 13px;
}

.news-sidebar__note {
  border: 1px dashed var(--border);
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.news-sidebar__note a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.news-sidebar__note a:hover {
  border-color: var(--blue);
}

/* 文章列表 */
.news-list {
  min-width: 0;
}

.news-list__head {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 8px;
}

.news-list__head h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
}

.news-list__count {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 4px 8px;
}

/* 文章条目 */
.news-article {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: transform 0.3s var(--ease);
}

.news-article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.05), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
  z-index: 0;
}

.news-article > * {
  position: relative;
  z-index: 1;
}

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

.news-article:hover::before {
  opacity: 1;
}

.news-article__index {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--muted);
  padding-top: 4px;
  transition: color 0.3s var(--ease);
}

.news-article:hover .news-article__index {
  color: var(--blue);
}

.news-article__body {
  min-width: 0;
}

@media (min-width: 900px) {
  .news-article {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 20px 28px;
    padding: 28px 16px;
  }

  .news-article--with-thumb {
    grid-template-columns: 64px minmax(0, 1fr) 240px;
    align-items: center;
  }
}

.news-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.news-article__tags .tag {
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 4px 8px;
}

.news-article__body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.3;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  transition: color 0.2s var(--ease);
}

.news-article:hover .news-article__body h3 {
  color: var(--blue);
}

@media (min-width: 768px) {
  .news-article__body h3 {
    font-size: 21px;
  }
}

.news-article__summary {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 620px;
}

.news-article__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: #6c7586;
  letter-spacing: 0.02em;
}

.news-article__arrow {
  margin-left: auto;
  font-size: 18px;
  color: var(--muted);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.news-article:hover .news-article__arrow {
  transform: translateX(6px);
  color: var(--blue);
}

.news-article__thumb {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.news-article__thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border: 1px solid var(--border);
  filter: saturate(0.85) contrast(1.05);
  background: var(--bg-field);
}

@media (min-width: 900px) {
  .news-article--with-thumb .news-article__thumb {
    grid-column: 3;
    grid-row: 1;
    margin-top: 0;
  }
}

/* 05 · 订阅提醒 */
.news-subscribe {
  margin-top: 48px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(0, 212, 255, 0.16) 0%, transparent 42%),
    linear-gradient(0deg, rgba(57, 255, 136, 0.05), transparent 60%),
    var(--bg-field);
  border-top: 1px solid var(--border);
}

.news-subscribe::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border: 2px solid rgba(0, 212, 255, 0.18);
  transform: rotate(14deg);
  pointer-events: none;
}

.news-subscribe__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  padding: 48px 0;
}

@media (min-width: 900px) {
  .news-subscribe__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 48px;
    padding: 56px 0;
  }
}

.news-subscribe__num {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
  display: block;
  margin-bottom: 12px;
}

.news-subscribe__text .eyebrow {
  color: var(--green);
}

.news-subscribe h2 {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.15;
  color: #fff;
  margin: 8px 0 12px;
}

@media (min-width: 768px) {
  .news-subscribe h2 {
    font-size: 32px;
  }
}

.news-subscribe__text p {
  max-width: 560px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.news-subscribe__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.news-subscribe__actions .btn--ghost {
  border-color: var(--border);
  color: var(--blue);
}

.news-subscribe__actions .btn--ghost:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--blue);
}

.news-subscribe__badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  color: #0A0E17;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  padding: 24px 28px;
  transform: skewX(-6deg);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.news-subscribe__badge > * {
  transform: skewX(6deg);
}

.news-subscribe__badge-icon {
  font-size: 26px;
  color: var(--red);
}
