.page-news {
  color: var(--text-primary);
  background:
    linear-gradient(rgba(42, 59, 92, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 59, 92, 0.16) 1px, transparent 1px);
  background-size: 32px 32px;
}

.page-news h1,
.page-news h2,
.page-news h3,
.page-news p,
.page-news dl,
.page-news dd {
  margin: 0;
}

.page-news .section-header {
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-line);
}

.page-news .section-index {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-highlight);
}

.page-news .section-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-news .section-desc {
  margin-top: 8px;
  max-width: 32em;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.page-news .news-hero {
  position: relative;
  display: grid;
  gap: 28px;
  padding: 44px 0 44px;
  overflow: hidden;
}

.page-news .news-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-green) 0%, var(--neon-green) 58%, var(--gold-highlight) 58%, var(--gold-highlight) 68%, transparent 68%);
  transform: skewY(-1deg);
}

.page-news .news-breadcrumb {
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-news .news-title {
  max-width: 12em;
  font-family: var(--font-heading);
  font-size: clamp(32px, 7vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-news .news-lead {
  max-width: 38em;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
}

.page-news .news-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.page-news .stat-tile {
  position: relative;
  padding: 16px;
  background: linear-gradient(145deg, rgba(22, 35, 74, 0.9), rgba(17, 29, 58, 0.72));
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.page-news .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--neon-green);
}

.page-news .stat-label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.page-news .news-layout {
  display: grid;
  gap: 28px;
  padding: 40px 0 52px;
  align-items: start;
}

.page-news .news-filter-panel {
  padding: 20px;
  background: rgba(17, 29, 58, 0.72);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
}

.page-news .filter-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
}

.page-news .filter-fieldset {
  min-width: 0;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}

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

.page-news .filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.page-news .filter-tabs label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--border-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.page-news .filter-tabs input:focus-visible + label {
  outline: 2px solid var(--neon-green);
  outline-offset: 2px;
}

.page-news .filter-tabs input:checked + label {
  background: var(--neon-green);
  border-color: var(--neon-green);
  color: var(--primary-deep-blue);
  font-weight: 700;
}

.page-news .fl-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}

.page-news .fl-dot--guide {
  background: var(--gold-highlight);
}

.page-news .fl-dot--tutorial {
  background: #4FC3F7;
}

.page-news .fl-dot--league {
  background: #B388FF;
}

.page-news .fl-dot--release {
  background: #FFB74D;
}

.page-news .fl-dot--data {
  background: #4FC3F7;
}

.page-news .filter-helper {
  margin-top: 14px;
  padding-left: 12px;
  border-left: 2px solid var(--neon-green);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

.page-news .filter-facts {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--border-line);
}

.page-news .fact-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(42, 59, 92, 0.7);
}

.page-news .fact-row dt {
  font-size: 13px;
  color: var(--text-muted);
}

.page-news .fact-row dd {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
}

.page-news .archive-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.page-news .archive-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(22, 35, 74, 0.92), rgba(17, 29, 58, 0.96));
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.page-news .archive-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--neon-green));
  opacity: 0.85;
}

.page-news .archive-card:hover {
  transform: translateY(-3px);
  border-color: rgba(61, 255, 139, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.page-news .archive-card[data-category="guide"] {
  --card-accent: var(--gold-highlight);
}

.page-news .archive-card[data-category="tutorial"] {
  --card-accent: #4FC3F7;
}

.page-news .archive-card[data-category="league"] {
  --card-accent: #B388FF;
}

.page-news .archive-card[data-category="release"] {
  --card-accent: #FFB74D;
}

.page-news .archive-card[data-category="data"] {
  --card-accent: var(--neon-green);
}

.page-news .archive-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.page-news .archive-index {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-highlight);
}

.page-news .archive-badge {
  padding: 4px 10px;
  border: 1px solid rgba(61, 255, 139, 0.45);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--neon-green);
}

.page-news .archive-card[data-category="guide"] .archive-badge {
  border-color: rgba(255, 193, 7, 0.55);
  color: var(--gold-highlight);
}

.page-news .archive-card[data-category="tutorial"] .archive-badge {
  border-color: rgba(79, 195, 247, 0.55);
  color: #4FC3F7;
}

.page-news .archive-card[data-category="league"] .archive-badge {
  border-color: rgba(179, 136, 255, 0.55);
  color: #B388FF;
}

.page-news .archive-card[data-category="release"] .archive-badge {
  border-color: rgba(255, 183, 77, 0.55);
  color: #FFB74D;
}

.page-news .archive-card[data-category="data"] .archive-badge {
  border-color: rgba(61, 255, 139, 0.55);
  color: var(--neon-green);
}

.page-news .archive-media {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--secondary-blue);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
}

.page-news .archive-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-news .archive-heading {
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.page-news .archive-card p {
  flex-grow: 1;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

.page-news .archive-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.page-news .archive-time {
  display: inline-flex;
  align-items: center;
}

.page-news .time-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 10px rgba(61, 255, 139, 0.7);
}

.page-news .archive-read {
  color: var(--text-muted);
}

.page-news .archive-link {
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--neon-green);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.page-news .archive-link:hover {
  border-bottom-color: var(--neon-green);
  color: var(--neon-green);
}

.page-news .editor-picks {
  padding: 28px 0 52px;
}

.page-news .picks-layout {
  position: relative;
  display: grid;
  gap: 20px;
}

.page-news .pick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--secondary-blue), rgba(17, 29, 58, 0.9));
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
}

.page-news .pick-card::after {
  content: '';
  position: absolute;
  right: -52px;
  bottom: -52px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(61, 255, 139, 0.14);
  border-radius: 24px;
  transform: rotate(45deg);
  pointer-events: none;
}

.page-news .pick-card--lead {
  background: linear-gradient(135deg, rgba(22, 35, 74, 0.95), rgba(17, 29, 58, 0.82));
}

.page-news .pick-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 16px;
}

.page-news .pick-index {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-highlight);
}

.page-news .pick-tag {
  padding: 4px 10px;
  border: 1px solid rgba(61, 255, 139, 0.45);
  border-radius: 999px;
  font-size: 12px;
  color: var(--neon-green);
}

.page-news .pick-title {
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.page-news .pick-summary {
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}

.page-news .pick-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-primary);
}

.page-news .pick-steps i {
  display: inline-block;
  width: 8px;
  height: 1px;
  background: var(--border-line);
}

.page-news .pick-stack {
  display: grid;
  gap: 12px;
}

.page-news .pick-stack-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--card-blue);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.page-news .pick-stack-item:hover {
  border-color: rgba(61, 255, 139, 0.55);
  background: rgba(22, 35, 74, 0.82);
}

.page-news .stack-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-highlight);
}

.page-news .stack-text {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.page-news .stack-go {
  font-family: var(--font-mono);
  color: var(--neon-green);
}

.page-news .subscribe-teaser {
  padding: 0 0 56px;
}

.page-news .subscribe-box {
  position: relative;
  display: grid;
  gap: 24px;
  padding: 30px 24px;
  overflow: hidden;
  background: var(--neon-green);
  border-radius: var(--radius-md);
  color: var(--primary-deep-blue);
}

.page-news .subscribe-box::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(10, 17, 40, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.page-news .subscribe-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(10, 17, 40, 0.7);
}

.page-news .subscribe-box h2 {
  max-width: 12em;
  font-family: var(--font-heading);
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-news .subscribe-box p {
  max-width: 42em;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.85;
}

.page-news .subscribe-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.page-news .subscribe-box .btn-primary {
  background: var(--primary-deep-blue);
  border-color: var(--primary-deep-blue);
  color: var(--neon-green);
}

.page-news .subscribe-box .btn-ghost {
  border-color: rgba(10, 17, 40, 0.6);
  color: var(--primary-deep-blue);
}

.page-news .subscribe-box .btn-ghost:hover {
  background: rgba(10, 17, 40, 0.08);
  border-color: var(--primary-deep-blue);
}

.page-news .news-layout:has(#cf-guide:checked) .archive-card:not([data-category="guide"]) {
  display: none;
}

.page-news .news-layout:has(#cf-tutorial:checked) .archive-card:not([data-category="tutorial"]) {
  display: none;
}

.page-news .news-layout:has(#cf-league:checked) .archive-card:not([data-category="league"]) {
  display: none;
}

.page-news .news-layout:has(#cf-release:checked) .archive-card:not([data-category="release"]) {
  display: none;
}

.page-news .news-layout:has(#cf-data:checked) .archive-card:not([data-category="data"]) {
  display: none;
}

@media (min-width: 760px) {
  .page-news .news-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-news .news-archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-news .picks-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .page-news .pick-stack {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-news .subscribe-box {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 36px 32px;
  }

  .page-news .subscribe-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 980px) {
  .page-news .news-hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    padding-top: 56px;
  }

  .page-news .news-stats {
    margin-top: 0;
  }

  .page-news .news-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    padding-top: 48px;
  }

  .page-news .news-filter-panel {
    position: sticky;
    top: 88px;
  }

  .page-news .picks-layout {
    grid-template-columns: 1.15fr 0.85fr 1fr;
  }

  .page-news .pick-stack {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
  }
}
