.page-news {
  --article-time-accent: var(--data-cyan);
  --topic-card-h: 380px;
}

.page-news .container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.page-news .breadcrumb {
  padding-top: 28px;
  padding-bottom: 6px;
}

.page-news .news-hero {
  border-bottom: 1px solid var(--line-blue);
}

.page-news .news-hero-inner {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 30px;
  padding: 40px 0 48px;
  overflow: hidden;
}

.page-news .news-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  max-width: none;
}

.page-news .news-hero-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 22, 51, 0.94) 0%, rgba(10, 22, 51, 0.76) 46%, rgba(10, 22, 51, 0.42) 100%);
  z-index: 1;
}

.page-news .news-hero-content,
.page-news .news-hero-stats {
  position: relative;
  z-index: 2;
}

.page-news .news-hero-content {
  max-width: 680px;
}

.page-news .news-hero-content .eyebrow {
  color: var(--data-cyan);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  margin: 0 0 14px;
}

.page-news .news-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.12;
  color: var(--paper-white);
  margin: 0 0 16px;
}

.page-news .news-hero-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ice-blue-100);
  margin: 0;
  max-width: 60ch;
}

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

.page-news .stat-block {
  min-width: 136px;
  padding: 14px 18px;
  background: rgba(16, 32, 74, 0.72);
  border-left: 3px solid var(--fluorescent-green);
  backdrop-filter: blur(4px);
}

.page-news .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1.2;
  color: var(--fluorescent-green);
  white-space: nowrap;
}

.page-news .stat-label {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--ice-blue-100);
  letter-spacing: 0.04em;
}

.page-news .cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px 0 14px;
  border-bottom: 1px solid var(--line-blue);
  margin-bottom: 2px;
}

.page-news .cat-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 1px solid var(--line-blue);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ice-blue-100);
  background: transparent;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.page-news .cat-tab:hover {
  border-color: var(--signal-orange);
  color: var(--signal-orange);
}

.page-news .cat-tab.is-active,
.page-news .cat-tab:target {
  background: var(--fluorescent-green);
  border-color: var(--fluorescent-green);
  color: var(--ink-black);
  font-weight: 600;
}

.page-news .cat-tabs:has(:target) .cat-tab.is-active {
  background: transparent;
  border-color: var(--line-blue);
  color: var(--ice-blue-100);
  font-weight: 400;
}

.page-news .cat-tabs:has(:target) .cat-tab:target {
  background: var(--fluorescent-green);
  border-color: var(--fluorescent-green);
  color: var(--ink-black);
  font-weight: 600;
}

.page-news .cat-tabs:has(#cat-season:target) ~ .article-list-wrap .article-item:not(.cat-season),
.page-news .cat-tabs:has(#cat-version:target) ~ .article-list-wrap .article-item:not(.cat-version),
.page-news .cat-tabs:has(#cat-fee:target) ~ .article-list-wrap .article-item:not(.cat-fee),
.page-news .cat-tabs:has(#cat-tutorial:target) ~ .article-list-wrap .article-item:not(.cat-tutorial),
.page-news .cat-tabs:has(#cat-insight:target) ~ .article-list-wrap .article-item:not(.cat-insight) {
  display: none;
}

.page-news .article-list-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 30px 0 56px;
  align-items: start;
}

.page-news .list-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-blue);
  margin-bottom: 4px;
}

.page-news .section-index {
  font-family: var(--font-mono);
  font-size: 28px;
  line-height: 1;
  color: var(--fluorescent-green);
}

.page-news .list-head h2,
.page-news .topic-head h2,
.page-news .subscribe-content h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--paper-white);
  margin: 0;
}

.page-news .list-head-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--data-cyan);
  letter-spacing: 0.08em;
}

.page-news .article-list {
  position: relative;
}

.page-news .article-item {
  display: block;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-blue);
}

.page-news .article-time {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--article-time-accent);
  text-transform: uppercase;
  line-height: 1.4;
}

.page-news .article-thumb {
  margin-bottom: 14px;
}

.page-news .article-thumb-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line-blue);
}

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

.page-news .article-tag {
  display: inline-block;
  padding: 3px 12px;
  border: 1px solid var(--signal-orange);
  border-radius: 999px;
  color: var(--signal-orange);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.page-news .article-cat {
  font-size: 13px;
  color: var(--data-cyan);
  opacity: 0.9;
}

.page-news .article-detail summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--paper-white);
  padding: 2px 0;
  transition: color 0.2s var(--ease);
}

.page-news .article-detail summary::-webkit-details-marker {
  display: none;
}

.page-news .article-detail summary::before {
  content: "+";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 1px solid var(--signal-orange);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  line-height: 22px;
  color: var(--signal-orange);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.page-news .article-detail[open] summary::before {
  content: "–";
  background: var(--signal-orange);
  color: var(--deep-space-900);
  transform: rotate(180deg);
}

.page-news .article-detail p {
  margin: 14px 0 0;
  padding: 14px 18px;
  background: rgba(16, 32, 74, 0.6);
  border-left: 2px solid var(--fluorescent-green);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ice-blue-100);
  font-size: 15px;
  line-height: 1.7;
}

.page-news .article-foot {
  margin-top: 12px;
}

.page-news .article-link {
  position: relative;
  display: inline-block;
  padding: 4px 0;
  color: var(--data-cyan);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.page-news .article-link::after {
  content: "";
  position: absolute;
  left: -100%;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--fluorescent-green);
  transition: left 0.35s var(--ease);
}

.page-news .article-link:hover::after {
  left: 0;
}

.page-news .topic-panel {
  padding: 24px 20px;
  background: rgba(16, 32, 74, 0.48);
  border: 1px solid var(--line-blue);
  border-radius: var(--radius);
}

.page-news .topic-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-blue);
  margin-bottom: 18px;
}

.page-news .topic-card {
  position: relative;
  height: var(--topic-card-h);
  margin-bottom: 18px;
  perspective: 1200px;
}

.page-news .topic-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
}

.page-news .topic-card:hover .topic-card-inner,
.page-news .topic-card:focus-within .topic-card-inner {
  transform: rotateY(180deg);
}

.page-news .topic-card-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.page-news .topic-card-front {
  background: var(--deep-space-800);
}

.page-news .topic-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .topic-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 16px;
  background: linear-gradient(0deg, rgba(10, 22, 51, 0.9) 0%, rgba(10, 22, 51, 0.1) 72%, transparent 100%);
}

.page-news .topic-label,
.page-news .topic-back-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--fluorescent-green);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.page-news .topic-card-overlay h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--paper-white);
  margin: 0 0 4px;
}

.page-news .topic-card-overlay p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ice-blue-100);
  opacity: 0.9;
}

.page-news .topic-card-back {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px;
  background: var(--fluorescent-green);
  color: var(--ink-black);
  transform: rotateY(180deg);
}

.page-news .topic-card-back .topic-back-label {
  color: var(--ink-black);
  opacity: 0.65;
}

.page-news .topic-card-back h3 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.25;
}

.page-news .topic-card-back p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.6;
}

.page-news .topic-back-link {
  display: inline-block;
  align-self: flex-start;
  padding: 10px 16px;
  background: var(--ink-black);
  color: var(--fluorescent-green);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.page-news .topic-back-link:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.page-news .topic-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-news .topic-stack-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line-blue);
  border-radius: var(--radius);
  color: var(--ice-blue-100);
  text-decoration: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-news .topic-stack-item:hover {
  border-color: var(--signal-orange);
  background: rgba(16, 32, 74, 0.7);
  transform: translateX(4px);
}

.page-news .topic-stack-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}

.page-news .topic-stack-arrow {
  color: var(--fluorescent-green);
  font-family: var(--font-mono);
  font-size: 18px;
}

.page-news .news-band {
  border-top: 1px solid var(--fluorescent-green);
  border-bottom: 1px solid var(--fluorescent-green);
  background:
    linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, transparent 42%),
    var(--fluorescent-green);
  padding: 56px 0;
}

.page-news .news-band-inner {
  max-width: 860px;
}

.page-news .news-band .eyebrow {
  margin: 0 0 12px;
  color: var(--ink-black);
  opacity: 0.72;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
}

.page-news .news-band h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  color: var(--ink-black);
}

.page-news .news-band p {
  margin: 0 0 28px;
  max-width: 56ch;
  color: rgba(11, 18, 32, 0.84);
  font-size: 16px;
  line-height: 1.7;
}

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

.page-news .news-band .btn-outline {
  border-color: var(--ink-black);
  color: var(--ink-black);
}

.page-news .news-band .btn-outline:hover {
  background: var(--ink-black);
  color: var(--fluorescent-green);
}

.page-news .news-band .btn-ghost {
  color: var(--ink-black);
}

.page-news .news-band .btn-ghost:hover {
  background: var(--ink-black);
  color: var(--fluorescent-green);
}

.page-news .subscribe-section {
  padding: 72px 0 80px;
}

.page-news .subscribe-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.page-news .subscribe-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line-blue);
}

.page-news .subscribe-content {
  position: relative;
  padding: 32px 0;
}

.page-news .subscribe-content .section-index {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 28px;
  line-height: 1;
  color: var(--fluorescent-green);
}

.page-news .subscribe-content h2 {
  margin-bottom: 16px;
  font-size: 32px;
}

.page-news .subscribe-content p {
  margin-bottom: 20px;
  color: var(--ice-blue-100);
  font-size: 15px;
  line-height: 1.7;
}

.page-news .subscribe-static {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding: 16px 18px;
  background: rgba(16, 32, 74, 0.6);
  border-left: 2px solid var(--data-cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.page-news .subscribe-email {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--data-cyan);
  word-break: break-all;
}

.page-news .subscribe-note {
  font-size: 13px;
  color: var(--ice-blue-100);
  opacity: 0.75;
}

.page-news .subscribe-rss {
  font-size: 14px;
}

.page-news .subscribe-rss .mono {
  color: var(--fluorescent-green);
  font-family: var(--font-mono);
}

.page-news .subscribe-content .btn {
  margin-top: 8px;
}

@media (min-width: 768px) {
  .page-news .container {
    padding-left: 32px;
    padding-right: 32px;
  }

  .page-news .news-hero-inner {
    min-height: 460px;
  }

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

  .page-news .stat-block {
    min-width: 150px;
    padding: 16px 20px;
  }

  .page-news .stat-num {
    font-size: 28px;
  }

  .page-news .article-list {
    padding-top: 12px;
  }

  .page-news .article-list::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 26px;
    width: 1px;
    background: linear-gradient(to bottom, var(--data-cyan), rgba(0, 224, 255, 0.08) 82%);
    opacity: 0.42;
  }

  .page-news .article-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 20px;
    padding: 30px 0;
  }

  .page-news .article-item.has-thumb {
    grid-template-columns: 56px minmax(0, 1fr) 140px;
    grid-template-areas:
      "time main thumb";
  }

  .page-news .article-item.has-thumb .article-time {
    grid-area: time;
  }

  .page-news .article-item.has-thumb .article-main {
    grid-area: main;
  }

  .page-news .article-item.has-thumb .article-thumb {
    grid-area: thumb;
    margin-bottom: 0;
  }

  .page-news .article-item:not(.has-thumb) .article-time {
    grid-column: 1;
  }

  .page-news .article-item:not(.has-thumb) .article-main {
    grid-column: 2;
  }

  .page-news .article-time {
    display: block;
    margin-bottom: 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    height: 100%;
    min-height: 100px;
    border-left: 2px solid var(--line-blue);
    padding-left: 10px;
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  .page-news .article-detail summary {
    font-size: 22px;
  }

  .page-news .article-thumb-img {
    height: 100%;
    object-fit: cover;
  }

  .page-news .topic-panel {
    top: 96px;
  }
}

@media (min-width: 900px) {
  .page-news .article-list-wrap {
    grid-template-columns: minmax(0, 3fr) minmax(290px, 2fr);
    gap: 48px;
  }

  .page-news .topic-panel {
    position: sticky;
    top: 96px;
    padding: 28px 24px;
  }

  .page-news .subscribe-inner {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 56px;
  }

  .page-news .subscribe-content {
    padding: 24px 0;
  }
}

@media (min-width: 1200px) {
  .page-news .news-hero-inner {
    min-height: 500px;
  }

  .page-news .news-hero-content h1 {
    font-size: 56px;
  }

  .page-news .news-band {
    padding: 72px 0;
  }
}
