.page-news {
  --news-rail: 6px;
  --news-gap: 24px;
  overflow-x: clip;
  color: var(--c-text);
  font-family: var(--font-body);
  background:
    linear-gradient(120deg, rgba(0, 230, 118, 0.06) 0%, rgba(10, 25, 47, 0) 38%),
    var(--c-deep);
  font-size: var(--size-body);
  line-height: 1.6;
}

.page-news .news-wrap {
  width: min(var(--content-w), 100% - 32px);
  margin-inline: auto;
  padding-block: 40px 72px;
}

.page-news .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: var(--size-meta);
  color: var(--c-dim);
}

.page-news .breadcrumb a {
  color: var(--c-dim);
  text-decoration: none;
  transition: color var(--speed) ease;
}

.page-news .breadcrumb a:hover {
  color: var(--c-green);
}

.page-news .breadcrumb__sep {
  color: var(--c-indigo);
}

.page-news .breadcrumb__current {
  color: var(--c-text);
  font-weight: 700;
}

.page-news .news-hero {
  position: relative;
  display: grid;
  gap: 24px;
  padding: 28px 22px 26px;
  margin-bottom: 40px;
  border: 2px solid rgba(0, 230, 118, 0.55);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(92, 107, 192, 0.16) 0%, rgba(10, 25, 47, 0) 46%),
    var(--c-deep-2);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--news-rail);
  background: linear-gradient(180deg, var(--c-green) 0%, var(--c-teal) 100%);
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  right: -64px;
  top: -10px;
  width: 200px;
  height: 200px;
  background: repeating-linear-gradient(
    135deg,
    rgba(0, 230, 118, 0.18) 0 2px,
    rgba(10, 25, 47, 0) 2px 14px
  );
  pointer-events: none;
}

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

.page-news .news-hero h1 {
  margin: 10px 0 12px;
  color: var(--c-white);
  font-family: var(--font-display);
  font-size: var(--size-h1);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.page-news .news-hero__lead {
  max-width: 740px;
  margin: 0;
  color: var(--c-dim);
  font-size: var(--size-body);
}

.page-news .news-hero__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
}

.page-news .news-hero__stat {
  padding: 14px 16px;
  border: 1px solid rgba(136, 146, 176, 0.36);
  border-radius: var(--radius);
  background: rgba(10, 25, 47, 0.66);
  box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.28);
}

.page-news .news-hero__stat dt {
  margin-bottom: 4px;
  color: var(--c-dim);
  font-size: var(--size-meta);
}

.page-news .news-hero__stat dd {
  margin: 0;
  color: var(--c-green);
  font-family: var(--font-num);
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  line-height: 1.1;
}

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

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

.page-news .section-head {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(0, 230, 118, 0.4);
}

.page-news .section-label {
  color: var(--c-orange);
  font-family: var(--font-num);
  font-size: var(--size-meta);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-news .section-head h2,
.page-news .topics h2,
.page-news .changelog h2,
.page-news .subscribe-card h2 {
  margin: 0;
  color: var(--c-white);
  font-family: var(--font-display);
  font-size: var(--size-h2);
  font-weight: 700;
  line-height: 1.2;
}

.page-news .section-sub {
  margin: 0;
  color: var(--c-dim);
  font-size: var(--size-body);
  max-width: 620px;
}

.page-news .news-item {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(136, 146, 176, 0.28);
  border-radius: var(--radius);
  background: var(--c-deep-2);
  padding: 14px;
  transition: border-color var(--speed) ease, transform var(--speed) ease;
}

.page-news .news-item:hover {
  border-color: rgba(0, 230, 118, 0.7);
  transform: translateY(-2px);
}

.page-news .news-item--featured {
  border-left: var(--news-rail) solid var(--c-orange);
}

.page-news .news-item__media {
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  background: var(--c-deep);
}

.page-news .news-item__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.page-news .news-item:hover .news-item__media img {
  transform: scale(1.03);
}

.page-news .news-item__body {
  display: grid;
  gap: 10px;
}

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

.page-news .news-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: var(--size-meta);
  font-weight: 700;
  line-height: 1.4;
  border: 1px solid transparent;
}

.page-news .news-tag--stats {
  color: var(--c-orange);
  border-color: rgba(255, 109, 0, 0.5);
  background: rgba(255, 109, 0, 0.12);
}

.page-news .news-tag--screen {
  color: var(--c-teal);
  border-color: rgba(0, 191, 165, 0.5);
  background: rgba(0, 191, 165, 0.12);
}

.page-news .news-tag--season {
  color: var(--c-indigo);
  border-color: rgba(92, 107, 192, 0.5);
  background: rgba(92, 107, 192, 0.16);
}

.page-news .news-tag--feature {
  color: var(--c-green);
  border-color: rgba(0, 230, 118, 0.5);
  background: rgba(0, 230, 118, 0.1);
}

.page-news .news-tag--guide {
  color: var(--c-yellow);
  border-color: rgba(255, 195, 18, 0.5);
  background: rgba(255, 195, 18, 0.1);
}

.page-news .news-tag--data {
  color: var(--c-red);
  border-color: rgba(255, 71, 87, 0.5);
  background: rgba(255, 71, 87, 0.1);
}

.page-news .news-item__time {
  color: var(--c-dim);
  font-family: var(--font-num);
  font-size: var(--size-meta);
}

.page-news .news-item h3 {
  margin: 0;
  color: var(--c-white);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.page-news .news-item p {
  margin: 0;
  color: var(--c-dim);
  font-size: var(--size-body);
}

.page-news .news-item--compact {
  border-left: var(--news-rail) solid var(--c-green);
  background: rgba(17, 34, 64, 0.7);
}

.page-news .btn--ghost {
  justify-self: start;
  color: var(--c-green);
  border: 1px solid rgba(0, 230, 118, 0.5);
  background: transparent;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: var(--size-meta);
  font-weight: 700;
  text-decoration: none;
  transition: background var(--speed) ease, color var(--speed) ease;
}

.page-news .btn--ghost:hover {
  background: rgba(0, 230, 118, 0.12);
  color: var(--c-white);
}

.page-news .btn--small {
  margin-top: 2px;
}

.page-news .topics,
.page-news .changelog,
.page-news .subscribe-card {
  display: grid;
  gap: 18px;
  padding: 20px 18px;
  border-radius: var(--radius);
  background: var(--c-deep-2);
}

.page-news .topics {
  border-top: 3px solid var(--c-orange);
  box-shadow: var(--shadow-hard);
}

.page-news .topics__grid {
  display: grid;
  gap: 14px;
}

.page-news .topic-card {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 16px 16px 14px 18px;
  border: 1px solid rgba(136, 146, 176, 0.3);
  border-radius: var(--radius);
  background: rgba(10, 25, 47, 0.6);
  text-decoration: none;
  transition: border-color var(--speed) ease, transform var(--speed) ease, box-shadow var(--speed) ease;
}

.page-news .topic-card:hover {
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.3);
}

.page-news .topic-card--orange {
  border-left: 5px solid var(--c-orange);
}

.page-news .topic-card--teal {
  border-left: 5px solid var(--c-teal);
}

.page-news .topic-card--green {
  border-left: 5px solid var(--c-green);
}

.page-news .topic-card--indigo {
  border-left: 5px solid var(--c-indigo);
}

.page-news .topic-card__num {
  position: absolute;
  right: 14px;
  top: 12px;
  color: rgba(230, 241, 255, 0.14);
  font-family: var(--font-num);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

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

.page-news .topic-card p {
  margin: 0;
  color: var(--c-dim);
  font-size: 14px;
  line-height: 1.55;
}

.page-news .topic-card__link {
  margin-top: 4px;
  color: var(--c-green);
  font-size: var(--size-meta);
  font-weight: 700;
  text-decoration: none;
}

.page-news .topic-card--orange .topic-card__link {
  color: var(--c-orange);
}

.page-news .topic-card--teal .topic-card__link {
  color: var(--c-teal);
}

.page-news .topic-card--indigo .topic-card__link {
  color: var(--c-indigo);
}

.page-news .changelog {
  border-top: 3px solid var(--c-teal);
  box-shadow: var(--shadow-hard);
}

.page-news .changelog__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-news .changelog__item {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 14px 0 14px 22px;
  border-bottom: 1px dashed rgba(136, 146, 176, 0.24);
}

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

.page-news .changelog__item::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 20px;
  bottom: -6px;
  width: 2px;
  background: rgba(0, 191, 165, 0.4);
}

.page-news .changelog__item:last-child::before {
  display: none;
}

.page-news .changelog__item::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-teal);
  box-shadow: 0 0 0 3px rgba(0, 191, 165, 0.2);
}

.page-news .changelog__version {
  color: var(--c-green);
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
}

.page-news .changelog__item p {
  margin: 0;
  color: var(--c-dim);
  font-size: 14px;
  line-height: 1.6;
}

.page-news .subscribe-card {
  border-top: 3px solid var(--c-yellow);
  box-shadow: var(--shadow-hard);
}

.page-news .subscribe-card__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 195, 18, 0.5);
  border-radius: var(--radius);
  color: var(--c-yellow);
  background: rgba(255, 195, 18, 0.08);
  font-size: 22px;
}

.page-news .subscribe-card p {
  margin: 0;
  color: var(--c-dim);
  font-size: var(--size-body);
}

.page-news .subscribe-card__mail {
  color: var(--c-white);
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 15px;
  padding: 8px 12px;
  border: 1px solid rgba(230, 241, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(10, 25, 47, 0.5);
}

.page-news .subscribe-card .btn--ghost {
  justify-self: start;
}

.page-news .news-cta {
  position: relative;
  margin-top: 48px;
  display: grid;
  gap: 20px;
  padding: 28px 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 109, 0, 0.16) 0%, rgba(0, 191, 165, 0.1) 100%),
    var(--c-deep-2);
  border: 1px solid rgba(255, 109, 0, 0.3);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}

.page-news .news-cta::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-green) 0%, var(--c-orange) 55%, var(--c-teal) 100%);
}

.page-news .news-cta__copy {
  display: grid;
  gap: 8px;
}

.page-news .news-cta__copy h2 {
  margin: 0;
  color: var(--c-white);
  font-family: var(--font-display);
  font-size: var(--size-h2);
  font-weight: 700;
}

.page-news .news-cta__copy p {
  margin: 0;
  color: var(--c-dim);
  max-width: 660px;
}

.page-news .news-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-news .btn--screen {
  display: inline-block;
  padding: 10px 18px;
  border-radius: var(--radius);
  background: var(--c-orange);
  border: 1px solid var(--c-orange);
  color: var(--c-white);
  font-weight: 700;
  font-size: var(--size-meta);
  text-decoration: none;
  transition: background var(--speed) ease, box-shadow var(--speed) ease;
}

.page-news .btn--screen:hover {
  background: #ff8533;
  box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.3);
}

@media (min-width: 1000px) {
  .page-news .news-wrap {
    padding-block: 56px 96px;
  }

  .page-news .news-hero {
    grid-template-columns: 1fr 420px;
    align-items: end;
    gap: 32px;
    padding: 36px 40px 34px 46px;
  }

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

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

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

  .page-news .news-item {
    grid-template-columns: 300px 1fr;
    gap: 20px;
    padding: 16px;
  }

  .page-news .news-item__media img {
    aspect-ratio: 3 / 2;
  }

  .page-news .news-item--compact {
    grid-template-columns: 1fr;
    padding-left: 22px;
  }

  .page-news .topics {
    padding: 24px 22px;
  }

  .page-news .changelog,
  .page-news .subscribe-card {
    padding: 24px 22px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-news .news-item,
  .page-news .topic-card,
  .page-news .news-item__media img {
    transition: none;
  }
}
