.page-news {
  --news-wrap: 1240px;
  --news-card-bg: rgba(17, 24, 39, .78);
  padding-bottom: 64px;
  position: relative;
  z-index: 0;
  background:
    radial-gradient(1200px 520px at 88% 4%, rgba(0, 200, 255, .10), transparent 65%),
    linear-gradient(180deg, #0A0E17 0%, #0D1522 100%);
}

.page-news .news-hero__inner,
.page-news .page-news__wrap {
  width: min(100% - 40px, var(--news-wrap));
  margin-inline: auto;
}

/* hero */
.page-news .news-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 104px 0 44px;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
  isolation: isolate;
}

.page-news .news-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-news .news-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 14, 23, .68), rgba(10, 14, 23, .28) 45%, rgba(10, 14, 23, .96)),
    linear-gradient(90deg, rgba(0, 200, 255, .16), transparent 48%, rgba(57, 255, 20, .08));
}

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

.page-news .news-hero__inner {
  position: relative;
  z-index: 2;
}

.page-news .news-hero .breadcrumb {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.page-news .news-hero .breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .news-hero .breadcrumb__item {
  font-size: 13px;
  color: var(--text-secondary);
}

.page-news .news-hero .breadcrumb__item + .breadcrumb__item::before {
  content: '·';
  margin-right: 8px;
  color: var(--text-secondary);
}

.page-news .news-hero .breadcrumb__link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color .25s;
}

.page-news .news-hero .breadcrumb__link:hover,
.page-news .news-hero .breadcrumb__link:focus {
  color: var(--blue);
}

.page-news .news-hero .breadcrumb__current {
  color: var(--blue);
  font-weight: 600;
}

.page-news .news-hero__kicker {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--green);
  text-transform: uppercase;
}

.page-news .news-hero__title {
  margin: 12px 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(42px, 7vw, 68px);
  line-height: .94;
  font-style: italic;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: .02em;
}

.page-news .news-hero__title span {
  display: block;
  color: var(--blue);
}

.page-news .news-hero__desc {
  max-width: 680px;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(241, 245, 249, .88);
}

.page-news .news-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 480px;
  margin-top: 28px;
}

.page-news .news-hero__stat {
  background: rgba(17, 24, 39, .66);
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 16px;
  padding: 14px 16px;
}

.page-news .news-hero__stat strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--green);
}

.page-news .news-hero__stat span {
  font-size: 12px;
  color: var(--text-secondary);
}

/* layout */
.page-news .updates-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 36px;
}

/* update index */
.page-news .update-index {
  padding: 20px;
  background: rgba(17, 24, 39, .72);
  border: 1px solid rgba(0, 200, 255, .14);
  border-radius: var(--radius-card);
}

.page-news .update-index__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--index-color);
  text-transform: uppercase;
}

.page-news .update-index__sub {
  margin: 4px 0 0;
  font-size: 18px;
  line-height: 1.4;
  color: var(--text-primary);
}

.page-news .update-index__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
}

.page-news .update-index__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(148, 163, 184, .16);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .3s, border-color .3s, color .3s, box-shadow .3s;
}

.page-news .update-index__link span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
}

.page-news .update-index__link:hover,
.page-news .update-index__link:focus {
  background: rgba(0, 200, 255, .12);
  border-color: rgba(0, 200, 255, .34);
  color: var(--text-primary);
  box-shadow: 0 0 18px rgba(0, 200, 255, .12);
}

.page-news .update-index__note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, .16);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* updates list */
.page-news .updates-list {
  min-width: 0;
}

.page-news .updates-list__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, .16);
}

.page-news .updates-heading {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  color: var(--text-primary);
}

.page-news .updates-heading__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* category */
.page-news .news-category {
  scroll-margin-top: 24px;
}

.page-news .news-category + .news-category {
  margin-top: 36px;
}

.page-news .news-category__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 32px 0 18px;
  font-size: 22px;
  line-height: 1.3;
  color: var(--text-primary);
}

.page-news .news-category__index {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(57, 255, 20, .34);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--green);
  background: rgba(57, 255, 20, .06);
}

/* card */
.page-news .news-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background: var(--news-card-bg);
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: var(--radius-card);
  transition: border-color .3s, box-shadow .3s, background .3s;
}

.page-news .news-card + .news-card {
  margin-top: 12px;
}

.page-news .news-card:hover {
  border-color: rgba(0, 200, 255, .36);
  box-shadow: 0 12px 34px rgba(0, 200, 255, .12);
}

.page-news .news-card__num {
  font-family: var(--font-mono);
  font-size: 36px;
  line-height: 1;
  font-weight: 500;
  color: var(--index-color);
  opacity: .52;
  padding-top: 2px;
}

.page-news .news-card__content {
  min-width: 0;
  flex: 1;
}

.page-news .news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.page-news .news-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(0, 200, 255, .10);
  border: 1px solid rgba(0, 200, 255, .22);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: var(--blue);
}

.page-news .news-card__meta time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.page-news .news-card__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.42;
  color: var(--text-primary);
}

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

.page-news .news-card__details summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  list-style: none;
  user-select: none;
}

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

.page-news .news-card__details summary::before {
  content: '+';
  font-size: 16px;
  line-height: 1;
  color: var(--green);
}

.page-news .news-card__details[open] summary::before {
  content: '−';
}

.page-news .news-card__details summary:hover,
.page-news .news-card__details summary:focus {
  text-decoration: underline;
}

.page-news .news-card__details p {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-left: 3px solid rgba(0, 200, 255, .55);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, .02);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.page-news .news-card__thumb {
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
}

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

/* feature */
.page-news .feature {
  margin-top: 72px;
  scroll-margin-top: 24px;
}

.page-news .feature__grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(0, 200, 255, .13), rgba(57, 255, 20, .04) 65%);
  border: 1px solid rgba(0, 200, 255, .22);
  border-radius: 28px;
}

.page-news .feature__kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
}

.page-news .feature__title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.08;
  font-style: italic;
  text-transform: uppercase;
  color: var(--text-primary);
}

.page-news .feature__desc {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.page-news .feature__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* help */
.page-news .news-help {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 56px;
  padding: 26px 20px;
  border: 1px dashed rgba(0, 200, 255, .28);
  border-radius: var(--radius-card);
  background: rgba(17, 24, 39, .58);
  text-align: center;
}

.page-news .news-help p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.page-news .news-help a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 200, 255, .4);
  transition: border-color .25s, color .25s;
}

.page-news .news-help a:hover,
.page-news .news-help a:focus {
  color: var(--green);
  border-bottom-color: rgba(57, 255, 20, .5);
}

/* desktop */
@media (min-width: 900px) {
  .page-news .news-hero {
    min-height: 440px;
    padding-top: 100px;
  }

  .page-news .news-hero__stats {
    display: flex;
    gap: 24px;
    max-width: none;
  }

  .page-news .news-hero__stat + .news-hero__stat {
    padding-left: 24px;
    border-left: 1px solid rgba(148, 163, 184, .18);
  }

  .page-news .updates-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    margin-top: 48px;
  }

  .page-news .update-index {
    position: sticky;
    top: 24px;
    width: 240px;
    flex-shrink: 0;
    padding: 24px;
  }

  .page-news .update-index__list {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .page-news .update-index__link {
    width: 100%;
    justify-content: flex-start;
  }

  .page-news .news-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 22px;
    padding: 24px;
  }

  .page-news .news-card__thumb {
    width: 180px;
  }

  .page-news .news-card__thumb--square {
    width: 140px;
  }

  .page-news .news-card__thumb img {
    height: 100%;
    min-height: 120px;
  }

  .page-news .feature__grid {
    flex-direction: row;
    align-items: center;
    gap: 48px;
    padding: 48px;
  }

  .page-news .feature__content {
    flex: 1 1 55%;
  }

  .page-news .feature__media {
    flex: 0 1 45%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-card,
  .page-news .feature__grid,
  .page-news .update-index__link {
    transition: none;
  }
}
