.page-news {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 78% 2%, rgba(0, 194, 209, 0.16), transparent 34%),
    radial-gradient(circle at 6% 38%, rgba(255, 106, 0, 0.14), transparent 38%),
    var(--primary-space-blue);
  color: var(--pure-white);
  overflow-x: clip;
}

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

.page-news .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  font-size: 0.85rem;
  color: var(--galaxy-mist);
}

.page-news .breadcrumb a {
  color: var(--signal-cyan);
  text-decoration: none;
}

.page-news .eyebrow {
  color: var(--signal-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.page-news h1,
.page-news h2,
.page-news h3 {
  font-family: var(--font-headline);
}

.page-news h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.page-news h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  line-height: 1.1;
  color: var(--pure-white);
  margin: 0 0 14px;
}

.page-news h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 12px 0 8px;
  color: var(--pure-white);
  line-height: 1.2;
}

.page-news p {
  margin: 0;
}

.page-news a {
  color: var(--signal-cyan);
}

.page-news-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 32px;
}

.page-news-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -10%;
  right: -20%;
  height: 150%;
  width: 140%;
  background-image:
    linear-gradient(rgba(232, 236, 248, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 236, 248, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  transform: skewY(-12deg);
  pointer-events: none;
}

.page-news-hero-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--volt-yellow);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-left: 4px solid var(--accent-orange);
  padding-left: 12px;
}

.page-news-hero-lead {
  color: var(--galaxy-mist);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 62ch;
}

.page-news-hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.page-news-hero-meta-text {
  margin: 0;
  color: var(--galaxy-mist);
  line-height: 1.55;
  font-size: 0.95rem;
}

.page-news-version-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  background: var(--volt-yellow);
  color: var(--primary-space-blue);
  font-family: var(--font-headline);
  font-size: 1.45rem;
  font-weight: 900;
  transform: rotate(-10deg);
  box-shadow: var(--shadow);
  clip-path: polygon(12% 0, 100% 0, 100% 68%, 88% 100%, 0 100%, 0 28%);
}

.page-news-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}

.page-news-hero-links a {
  color: var(--pure-white);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid var(--signal-cyan);
  padding-bottom: 2px;
}

.page-news-hero-figure {
  margin: 24px 0 0;
}

.page-news-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-news-current {
  background: var(--galaxy-mist);
  color: var(--charcoal);
  padding: 32px 24px;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  margin-bottom: 48px;
}

.page-news-current h2 {
  color: var(--primary-space-blue);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

.page-news-current-abstract {
  line-height: 1.75;
  font-size: 1rem;
  color: var(--charcoal);
  max-width: 68ch;
}

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

.page-news-listing {
  position: relative;
  padding-top: 12px;
}

.page-news-list-header {
  max-width: 720px;
  border-left: 4px solid var(--volt-yellow);
  padding-left: 16px;
  margin-bottom: 24px;
}

.page-news-list-intro {
  color: var(--galaxy-mist);
  line-height: 1.6;
}

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

.page-news-filter {
  position: relative;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scrollbar-width: thin;
}

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

.page-news-filter-label {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border: 1px solid rgba(232, 236, 248, 0.28);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.9rem;
  color: var(--galaxy-mist);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-news-filter-input:focus-visible + .page-news-filter-label,
.page-news-filter-input:focus + .page-news-filter-label {
  outline: 2px solid var(--volt-yellow);
  outline-offset: 2px;
}

.page-news-timeline {
  position: relative;
  margin-top: 28px;
}

.page-news-timeline::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-orange), var(--signal-cyan));
  opacity: 0.55;
}

.page-news-item {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px 18px;
  padding-bottom: 34px;
}

.page-news-item:last-child {
  padding-bottom: 0;
}

.page-news-item-index {
  color: var(--volt-yellow);
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  text-align: center;
  padding-top: 8px;
}

.page-news-item-body {
  background: var(--ink-blue);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--accent-orange);
  padding: 22px 20px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.page-news-item-body:hover {
  transform: translateX(4px);
  border-left-color: var(--volt-yellow);
}

.page-news-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-news .tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.76rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.page-news-item-body p {
  color: var(--galaxy-mist);
  line-height: 1.7;
  font-size: 0.95rem;
}

.page-news-item-body figure {
  margin: 18px 0 0;
}

.page-news-item-body figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.page-news-list-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--galaxy-mist);
  line-height: 1.7;
}

.page-news-list-footer a {
  color: var(--signal-cyan);
  text-decoration: none;
}

.page-news-filter-zone:has(#page-news-filter-review:checked) .page-news-item:not([data-topic~="review"]) {
  display: none;
}

.page-news-filter-zone:has(#page-news-filter-rule:checked) .page-news-item:not([data-topic~="rule"]) {
  display: none;
}

.page-news-filter-zone:has(#page-news-filter-feature:checked) .page-news-item:not([data-topic~="feature"]) {
  display: none;
}

.page-news-filter-zone:has(#page-news-filter-help:checked) .page-news-item:not([data-topic~="help"]) {
  display: none;
}

.page-news-filter-zone:has(#page-news-filter-all:checked) label[for="page-news-filter-all"],
.page-news-filter-zone:has(#page-news-filter-review:checked) label[for="page-news-filter-review"],
.page-news-filter-zone:has(#page-news-filter-rule:checked) label[for="page-news-filter-rule"],
.page-news-filter-zone:has(#page-news-filter-feature:checked) label[for="page-news-filter-feature"],
.page-news-filter-zone:has(#page-news-filter-help:checked) label[for="page-news-filter-help"] {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: var(--pure-white);
}

.page-news-subscribe {
  position: relative;
  overflow: hidden;
  background: var(--ink-blue);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 56px;
  margin-bottom: 8px;
  padding: 40px 24px;
}

.page-news-subscribe::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 106, 0, 0.35);
  filter: blur(56px);
  pointer-events: none;
}

.page-news-subscribe p {
  position: relative;
  z-index: 1;
  color: var(--galaxy-mist);
  line-height: 1.7;
}

.page-news-subscribe-contact {
  font-family: var(--font-headline);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--volt-yellow);
  margin: 16px 0 0;
}

.page-news-subscribe-actions {
  position: relative;
  z-index: 1;
  margin-top: 20px;
}

.page-news .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-news .btn-outline {
  border: 1px solid var(--primary-space-blue);
  color: var(--primary-space-blue);
  background: transparent;
}

.page-news .btn-outline:hover,
.page-news .btn-outline:focus-visible {
  background: var(--primary-space-blue);
  color: var(--pure-white);
}

.page-news .btn-primary {
  border: 1px solid var(--accent-orange);
  background: var(--accent-orange);
  color: var(--pure-white);
}

.page-news .btn-primary:hover,
.page-news .btn-primary:focus-visible {
  background: var(--volt-yellow);
  border-color: var(--volt-yellow);
  color: var(--primary-space-blue);
}

@media (prefers-reduced-motion: reduce) {
  .page-news-item-body,
  .page-news-version-badge,
  .page-news .btn,
  .page-news-filter-label {
    transition: none;
    transform: none;
  }

  .page-news-item-body:hover,
  .page-news-item-body:focus-within {
    transform: none;
  }
}

@media (min-width: 768px) {
  .page-news > .container {
    padding-inline: 36px;
    padding-block: 40px 80px;
  }

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

  .page-news-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 56px;
  }

  .page-news-hero-figure {
    margin: 0;
  }

  .page-news-hero::before {
    top: -20%;
    right: -10%;
    width: 130%;
  }

  .page-news-current {
    padding: 44px 40px;
  }

  .page-news-filter {
    overflow-x: visible;
    flex-wrap: wrap;
  }

  .page-news-timeline::before {
    left: 43px;
  }

  .page-news-item {
    grid-template-columns: 88px 1fr;
    gap: 16px 28px;
    padding-bottom: 44px;
  }

  .page-news-item-index {
    font-size: 1.6rem;
  }

  .page-news-subscribe {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px 40px;
    align-items: center;
    padding: 48px 40px;
  }

  .page-news-subscribe-actions {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .page-news > .container {
    padding-block: 52px 96px;
  }

  .page-news-hero {
    gap: 64px;
    margin-bottom: 72px;
  }

  .page-news-hero-lead {
    font-size: 1.08rem;
  }

  .page-news-current {
    margin-bottom: 64px;
  }

  .page-news-item {
    grid-template-columns: 104px 1fr;
    column-gap: 32px;
  }

  .page-news-item-index {
    font-size: 1.8rem;
  }

  .page-news-timeline::before {
    left: 51px;
  }
}
