.page-news {
  --news-green: #00FF88;
  --news-card-bg: rgba(255, 255, 255, 0.03);
  --news-line: rgba(255, 255, 255, 0.08);
}

.page-news .image-frame {
  width: 100%;
  overflow: hidden;
}

.page-news .image-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .breadcrumb {
  margin-top: 24px;
}

.page-news__hero {
  position: relative;
  padding: 28px 0 0;
  overflow: hidden;
}

.page-news__hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -120px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.12) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
}

.page-news__hero .layout-container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
}

.page-news__hero-grid {
  display: grid;
  gap: 28px;
}

.page-news__hero-copy {
  position: relative;
}

.page-news__hero-copy h1 {
  font-family: var(--f-headline);
  font-size: clamp(32px, 8vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 14px 0 18px;
  max-width: 12em;
  color: var(--c-white);
}

.page-news__hero-desc {
  color: var(--c-text-secondary);
  font-size: 17px;
  line-height: 1.75;
  max-width: 46em;
  margin-bottom: 28px;
}

.page-news__hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.page-news__stat {
  background: var(--c-surface);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  padding: 12px 16px;
  color: var(--c-text-secondary);
  font-size: 13px;
  line-height: 1.4;
}

.page-news__stat span {
  display: block;
  font-family: var(--f-data);
  font-size: 24px;
  font-weight: 600;
  color: var(--c-green);
  line-height: 1.1;
  margin-bottom: 4px;
}

.page-news__hero-image {
  aspect-ratio: 2 / 1;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.page-news__updates {
  padding-top: 56px;
  position: relative;
}

.page-news__updates::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 255, 136, 0.035) 100%);
  pointer-events: none;
}

.page-news__updates .layout-container {
  position: relative;
  z-index: 1;
}

.page-news__updates-head {
  position: static;
  margin-bottom: 32px;
}

.page-news__timeline {
  position: relative;
  padding-left: 24px;
  display: grid;
  gap: 16px;
}

.page-news__timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-green) 0%, rgba(0, 255, 136, 0.25) 100%);
}

.page-news__timeline-item {
  position: relative;
  background: var(--news-card-bg);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  padding: 18px 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.page-news__timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 26px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 0 4px rgba(0, 255, 136, 0.12);
}

.page-news__timeline-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.page-news__time {
  font-family: var(--f-data);
  font-size: 13px;
  color: var(--c-green);
  letter-spacing: 0.04em;
}

.page-news__timeline-body h3 {
  font-family: var(--f-headline);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--c-white);
}

.page-news__timeline-body > p {
  color: var(--c-text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.page-news__tag {
  font-family: var(--f-data);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
  padding: 4px 10px;
  background: var(--c-secondary);
  border-left: 3px solid var(--c-orange);
  color: var(--c-white);
  white-space: nowrap;
}

.page-news__tag--green {
  border-left-color: var(--c-green);
  background: rgba(0, 255, 136, 0.12);
  color: var(--c-green);
}

.page-news__series {
  padding-top: 56px;
}

.page-news__series-grid {
  display: grid;
  gap: 18px;
}

.page-news__series-card {
  background: var(--c-surface);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.page-news__series-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.page-news__series-card .image-frame {
  border-radius: 0;
}

.page-news__series-feature-image {
  aspect-ratio: 8 / 5;
}

.page-news__series-body {
  padding: 20px 20px 22px;
}

.page-news__series-body h3 {
  font-family: var(--f-headline);
  font-size: 21px;
  font-weight: 800;
  margin: 14px 0 10px;
  color: var(--c-white);
  line-height: 1.3;
}

.page-news__series-body p {
  color: var(--c-text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.page-news__versions {
  padding-top: 56px;
  position: relative;
}

.page-news__versions::before {
  content: '';
  position: absolute;
  right: 0;
  top: 60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-news__versions .layout-container {
  position: relative;
  z-index: 1;
}

.page-news__version-image {
  aspect-ratio: 2 / 1;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  margin-bottom: 28px;
}

.page-news__version-list {
  display: grid;
  gap: 14px;
}

.page-news__version-item {
  background: var(--news-card-bg);
  border: 1px solid var(--news-line);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.page-news__version-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-family: var(--f-headline);
  font-weight: 800;
  font-size: 17px;
  color: var(--c-white);
  gap: 12px;
  position: relative;
}

.page-news__version-item summary::-webkit-details-marker {
  display: none;
}

.page-news__version-item summary::marker {
  content: '';
}

.page-news__version-item summary::after {
  content: '+';
  font-family: var(--f-data);
  font-size: 22px;
  color: var(--c-green);
  line-height: 1;
  transition: transform 0.2s ease;
}

.page-news__version-item[open] summary::after {
  content: '−';
}

.page-news__version-content {
  padding: 14px 20px 22px;
  border-top: 1px solid var(--news-line);
}

.page-news__version-content p {
  color: var(--c-text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.page-news__version-content ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.page-news__version-content li {
  position: relative;
  padding-left: 16px;
  color: var(--c-text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.page-news__version-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--c-green);
  transform: rotate(45deg);
}

.page-news__credit {
  margin-top: 28px;
  padding: 20px;
  background: rgba(255, 107, 53, 0.06);
  border-left: 3px solid var(--c-orange);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.page-news__credit p {
  flex: 1 1 280px;
  color: var(--c-text-secondary);
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

.page-news__credit-strong {
  color: var(--c-white);
  font-family: var(--f-headline);
  font-weight: 800;
}

@media (max-width: 419px) {
  .page-news__timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .page-news__timeline-item::before {
    top: 22px;
  }

  .page-news__hero-copy h1 {
    font-size: 30px;
  }
}

@media (min-width: 768px) {
  .page-news__hero {
    padding-top: 40px;
  }

  .page-news__hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px;
    align-items: center;
  }

  .page-news__hero-copy h1 {
    font-size: clamp(44px, 6vw, 72px);
  }

  .page-news__updates-head {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    z-index: 5;
    margin-bottom: 40px;
  }

  .page-news__timeline {
    gap: 20px;
    padding-left: 32px;
  }

  .page-news__timeline::before {
    left: 5px;
  }

  .page-news__timeline-item {
    padding: 20px 24px;
    grid-template-columns: 130px 1fr;
    gap: 20px;
  }

  .page-news__timeline-item::before {
    left: -32px;
  }

  .page-news__series-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .page-news__series-card--feature {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
  }

  .page-news__series-card--feature .image-frame {
    height: 100%;
    aspect-ratio: auto;
  }

  .page-news__series-card--feature .page-news__series-body {
    padding: 28px;
  }

  .page-news__series-body h3 {
    font-size: 24px;
  }

  .page-news__version-image {
    margin-bottom: 36px;
  }

  .page-news__version-item summary {
    font-size: 19px;
    padding: 20px 24px;
  }

  .page-news__version-content {
    padding: 16px 24px 24px;
  }
}
