.page-news {
  --news-gold-glow: rgba(212, 175, 55, 0.22);
  --news-red-soft: rgba(230, 57, 70, 0.14);
  background: var(--bg);
  color: var(--text);
}

.page-news .news-hero {
  position: relative;
  padding: 28px 0 56px;
  overflow: hidden;
}

.page-news .news-hero::before {
  content: "NEWS";
  position: absolute;
  top: 10px;
  right: 4%;
  font-family: var(--font-head);
  font-size: clamp(5rem, 14vw, 11rem);
  font-weight: 900;
  color: rgba(245, 245, 247, 0.045);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.06em;
  z-index: 0;
}

.page-news .news-hero .container {
  position: relative;
  z-index: 1;
}

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

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

.page-news .hero-copy h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 14px 0 20px;
  max-width: 14em;
}

.page-news .hero-desc {
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--text-2);
  max-width: 40em;
  margin: 0 0 28px;
}

.page-news .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-news .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-self: center;
}

.page-news .stat-item {
  position: relative;
  background: rgba(44, 44, 46, 0.66);
  border: 1px solid rgba(245, 245, 247, 0.1);
  border-bottom: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  text-align: center;
  overflow: hidden;
}

.page-news .stat-item::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, transparent 50%, rgba(212, 175, 55, 0.12) 50%);
}

.page-news .stat-value {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.page-news .stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.8125rem;
  color: var(--text-2);
}

.page-news .news-body {
  position: relative;
  padding: 0 0 72px;
}

.page-news .news-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--red), var(--gold), transparent 80%);
}

.page-news .filter-group {
  position: relative;
}

.page-news .filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page-news .filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  margin-bottom: 44px;
  border-bottom: 1px solid rgba(245, 245, 247, 0.1);
}

.page-news .filter-pills {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.page-news .filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid rgba(245, 245, 247, 0.16);
  border-radius: 999px;
  background: rgba(44, 44, 46, 0.55);
  color: var(--text-2);
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
}

.page-news .filter-pill span {
  font-size: 0.75rem;
  background: rgba(245, 245, 247, 0.1);
  border-radius: 999px;
  padding: 2px 8px;
  color: var(--text-2);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

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

.page-news .filter-pill:hover span {
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold-light);
}

.page-news #filter-all:checked ~ .filter-bar .filter-pill[for="filter-all"],
.page-news #filter-tutorial:checked ~ .filter-bar .filter-pill[for="filter-tutorial"],
.page-news #filter-update:checked ~ .filter-bar .filter-pill[for="filter-update"],
.page-news #filter-trouble:checked ~ .filter-bar .filter-pill[for="filter-trouble"],
.page-news #filter-activity:checked ~ .filter-bar .filter-pill[for="filter-activity"],
.page-news #filter-insight:checked ~ .filter-bar .filter-pill[for="filter-insight"] {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.28);
}

.page-news #filter-all:checked ~ .filter-bar .filter-pill[for="filter-all"] span,
.page-news #filter-tutorial:checked ~ .filter-bar .filter-pill[for="filter-tutorial"] span,
.page-news #filter-update:checked ~ .filter-bar .filter-pill[for="filter-update"] span,
.page-news #filter-trouble:checked ~ .filter-bar .filter-pill[for="filter-trouble"] span,
.page-news #filter-activity:checked ~ .filter-bar .filter-pill[for="filter-activity"] span,
.page-news #filter-insight:checked ~ .filter-bar .filter-pill[for="filter-insight"] span {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.page-news .filter-input:focus-visible ~ .filter-bar .filter-pill {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.page-news #filter-tutorial:checked ~ .news-layout .article-card[data-kind]:not([data-kind="tutorial"]),
.page-news #filter-update:checked ~ .news-layout .article-card[data-kind]:not([data-kind="update"]),
.page-news #filter-trouble:checked ~ .news-layout .article-card[data-kind]:not([data-kind="trouble"]),
.page-news #filter-activity:checked ~ .news-layout .article-card[data-kind]:not([data-kind="activity"]),
.page-news #filter-insight:checked ~ .news-layout .article-card[data-kind]:not([data-kind="insight"]) {
  display: none;
}

.page-news .filter-note {
  flex-shrink: 0;
  font-size: 0.8125rem;
  color: var(--text-2);
}

.page-news .news-layout {
  display: grid;
  gap: 44px;
}

.page-news .news-main {
  min-width: 0;
  display: grid;
  gap: 44px;
}

.page-news .news-section {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.page-news .section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 26px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(245, 245, 247, 0.08);
}

.page-news .section-heading h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-news .section-heading h2::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 2px;
  transform: rotate(45deg);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.18), 0 0 14px rgba(230, 57, 70, 0.35);
}

.page-news .section-meta {
  font-size: 0.8125rem;
  color: var(--text-2);
  white-space: nowrap;
}

.page-news .article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(150deg, var(--bg-2), rgba(44, 44, 46, 0.9));
  border: 1px solid rgba(245, 245, 247, 0.08);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-news .article-card:hover {
  transform: translateY(-4px);
  border-left-color: var(--gold);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 175, 55, 0.28), 0 0 32px var(--news-gold-glow);
}

.page-news .article-card:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.page-news .article-card--text {
  padding: 0;
}

.page-news .article-card--accent {
  border-left-color: var(--gold);
}

.page-news .article-card--accent::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, transparent 50%, rgba(212, 175, 55, 0.1) 50%);
  border-radius: 0 0 0 16px;
  pointer-events: none;
}

.page-news .article-card--activity::after {
  content: "每周三";
  position: absolute;
  right: -8px;
  bottom: 8px;
  font-family: var(--font-head);
  font-size: 3.6rem;
  font-weight: 900;
  color: rgba(230, 57, 70, 0.07);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.page-news .article-card--activity .article-body {
  position: relative;
  z-index: 1;
}

.page-news .article-media {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}

.page-news .article-media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.page-news .article-card:hover .article-media img {
  transform: scale(1.045);
}

.page-news .article-media .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.page-news .article-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 24px 24px;
  flex: 1;
}

.page-news .article-body > .tag {
  align-self: flex-start;
}

.page-news .article-body h3 {
  font-family: var(--font-head);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.38;
  color: var(--text);
  margin: 0;
}

.page-news .article-desc {
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.68;
  margin: 0;
}

.page-news .article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(245, 245, 247, 0.08);
  font-size: 0.8125rem;
  color: var(--text-2);
}

.page-news .article-more {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-news .article-more:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.page-news .article-card--featured .article-body {
  padding: 30px 32px 32px;
}

.page-news .article-card--featured .article-body h3 {
  font-size: clamp(1.375rem, 3vw, 2rem);
  line-height: 1.25;
}

.page-news .article-card--featured .article-media img {
  aspect-ratio: 3 / 2;
}

.page-news .article-card--with-media .article-media img {
  aspect-ratio: 16 / 10;
}

.page-news .article-pair {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.page-news .tutorial-grid,
.page-news .announcement-grid,
.page-news .insight-grid {
  display: grid;
  gap: 24px;
}

.page-news .news-sidebar {
  display: grid;
  gap: 24px;
  align-content: start;
}

.page-news .sidebar-panel {
  padding: 24px;
}

.page-news .sidebar-panel h2 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 6px 0 18px;
}

.page-news .index-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 4px;
}

.page-news .index-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  border-left: 3px solid transparent;
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-news .index-list a::before {
  content: "↳";
  color: var(--red);
  font-size: 0.8125rem;
  opacity: 0.7;
}

.page-news .index-list a:hover {
  background: rgba(230, 57, 70, 0.1);
  color: var(--text);
  border-left-color: var(--red);
}

.page-news .index-current {
  margin: 0;
  padding: 12px 14px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 10px;
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.5;
}

.page-news .index-current [data-current-label] {
  color: var(--gold);
  font-weight: 700;
}

.page-news .sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .sidebar-tags .tag {
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.page-news .sidebar-tags .tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(212, 175, 55, 0.25);
}

.page-news .sidebar-contact {
  position: relative;
  background: linear-gradient(160deg, var(--red-deep), var(--red) 72%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.34);
  color: var(--text);
  overflow: hidden;
  padding: 28px 24px;
}

.page-news .sidebar-contact::before {
  content: "";
  position: absolute;
  top: -48px;
  right: -48px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.16);
  pointer-events: none;
}

.page-news .sidebar-contact::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.page-news .contact-kicker {
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.78);
  margin: 0 0 8px;
}

.page-news .sidebar-contact h2 {
  position: relative;
  z-index: 1;
  font-size: 1.375rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.page-news .sidebar-contact p {
  position: relative;
  z-index: 1;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(245, 245, 247, 0.88);
  margin: 0 0 18px;
}

.page-news .sidebar-contact .btn {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.page-news .sidebar-contact .sidebar-phone {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: 0.02em;
  margin: 0 0 4px;
}

.page-news .sidebar-contact .sidebar-mail {
  font-size: 0.8125rem;
  color: rgba(245, 245, 247, 0.75);
  margin: 0;
}

@media (min-width: 768px) {
  .page-news .hero-grid {
    grid-template-columns: 7fr 5fr;
    align-items: end;
  }

  .page-news .hero-stats {
    gap: 16px;
  }

  .page-news .article-pair {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-news .news-main {
    gap: 64px;
  }
}

@media (min-width: 900px) {
  .page-news .tutorial-grid,
  .page-news .announcement-grid,
  .page-news .insight-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: dense;
  }

  .page-news .article-card--announcement.article-card--with-media {
    display: grid;
    grid-template-columns: 40% 1fr;
  }

  .page-news .article-card--announcement.article-card--with-media .article-media {
    height: 100%;
  }

  .page-news .article-card--announcement.article-card--with-media .article-media img {
    height: 100%;
    object-fit: cover;
    aspect-ratio: auto;
  }
}

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

  .page-news .news-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
  }
}

@media (max-width: 767px) {
  .page-news .filter-note {
    display: none;
  }

  .page-news .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .page-news .filter-pills {
    padding-bottom: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .article-card,
  .page-news .article-card .article-media img,
  .page-news .article-more,
  .page-news .filter-pill {
    transition: none;
  }

  .page-news .article-card:hover {
    transform: none;
  }
}
