.page-news {
  --news-grid-line: rgba(57, 255, 136, 0.06);
  --news-timeline-line: rgba(57, 255, 136, 0.22);
}

.page-news__hero {
  position: relative;
  padding: 104px 0 48px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.page-news__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--news-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--news-grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.page-news__hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.28), transparent 70%);
  pointer-events: none;
}

.page-news__hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
}

.page-news__hero-copy h1 {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  line-height: 1.2;
  color: var(--color-white);
  margin: 12px 0 16px;
  letter-spacing: 0.02em;
}

.page-news__hero-sub {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-text);
  max-width: 560px;
  margin: 0;
}

.page-news__hero-code {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px;
  border-left: 1px solid var(--border-light);
}

.page-news__hero-version {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  color: var(--color-neon);
  text-shadow: var(--shadow-neon);
}

.page-news__hero-line {
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-neon), var(--color-orange));
  border-radius: 4px;
}

.page-news__media-lead {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-white);
  margin: 32px 0 24px;
}

.page-news__media-lead img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.version-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 40px;
}

.version-filter__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  color: var(--color-neon);
  font-size: var(--text-small);
  background: rgba(57, 255, 136, 0.06);
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
}

.version-filter__link:hover,
.version-filter__link:focus-visible {
  background: rgba(57, 255, 136, 0.14);
  box-shadow: var(--shadow-neon);
}

.timeline {
  position: relative;
}

.timeline__item {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--news-timeline-line);
  margin-bottom: 40px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-neon);
  box-shadow: var(--shadow-neon);
}

.timeline__rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.timeline__version {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  color: var(--color-white);
  font-weight: 700;
}

.timeline__date {
  font-size: var(--text-small);
  color: var(--color-text);
  background: var(--color-ink);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
}

.timeline__card {
  margin-top: 4px;
}

.timeline__card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  margin: 0 0 12px;
  color: var(--color-white);
}

.timeline__card > p {
  color: var(--color-text);
  line-height: 1.7;
  margin: 0 0 12px;
}

.page-news__card-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 16px 0 8px;
  border: 1px solid var(--border-white);
}

.page-news__feature {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  background: linear-gradient(135deg, var(--color-deep-2), var(--color-ink));
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px;
  overflow: hidden;
}

.page-news__feature::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.3), transparent 70%);
  pointer-events: none;
}

.page-news__feature-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-white);
}

.page-news__feature-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.page-news__feature-body {
  position: relative;
  z-index: 1;
}

.page-news__feature-body h3 {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  margin: 12px 0 12px;
  color: var(--color-white);
}

.page-news__feature-body p {
  color: var(--color-text);
  line-height: 1.7;
}

.page-news__feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.page-news__feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--color-text);
  line-height: 1.6;
}

.page-news__feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--color-neon);
  border-radius: 2px;
}

.page-news__feature-list strong {
  color: var(--color-white);
}

.page-news__notice-list {
  display: grid;
  gap: 16px;
}

.page-news__notice-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--color-ink);
  border-radius: var(--radius-sm);
  padding: 24px;
  border: 1px solid var(--border-white);
}

.page-news__notice-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-orange), var(--color-rose));
  color: var(--color-white);
  font-family: var(--font-heading);
}

.page-news__notice-item h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: var(--color-white);
}

.page-news__notice-item p {
  margin: 0;
  color: var(--color-text);
  line-height: 1.6;
  font-size: var(--text-small);
}

.page-news__history {
  display: grid;
  gap: 12px;
}

.page-news__history-item {
  background: var(--color-ink);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-white);
}

.page-news__history-item .accordion__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
}

.page-news__history-version {
  font-family: var(--font-heading);
  color: var(--color-neon);
  font-size: 1.1rem;
  font-weight: 700;
}

.page-news__history-title {
  flex: 1;
  color: var(--color-white);
  font-weight: 500;
}

.page-news__history-item .accordion__content {
  padding: 0 24px 20px;
  color: var(--color-text);
  line-height: 1.7;
}

.page-news__cta-box {
  background: linear-gradient(135deg, var(--color-deep-2), var(--color-ink));
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-news__cta-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-neon), var(--color-orange), var(--color-rose));
}

.page-news__cta-box h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  color: var(--color-white);
  margin: 12px 0 12px;
}

.page-news__cta-box p {
  color: var(--color-text);
  max-width: 520px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.page-news__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.page-news .section__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.page-news .accordion__summary {
  list-style: none;
  cursor: pointer;
  position: relative;
}

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

.page-news .accordion__icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--color-neon);
  position: relative;
  transition: transform 0.3s;
}

.page-news .accordion__icon::before,
.page-news .accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--color-neon);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.page-news .accordion__icon::before {
  width: 10px;
  height: 2px;
}

.page-news .accordion__icon::after {
  width: 2px;
  height: 10px;
}

.page-news .accordion__item[open] .accordion__icon {
  transform: rotate(45deg);
}

.page-news .timeline__card .accordion__summary {
  padding: 12px 0;
  border-top: 1px solid var(--border-white);
  color: var(--color-neon);
  font-size: var(--text-small);
}

.page-news .timeline__card .accordion__content {
  padding: 4px 0 8px;
}

.page-news .timeline__card .accordion__content ul,
.page-news__history-item .accordion__content ul {
  margin: 0;
  padding-left: 18px;
  color: var(--color-text);
  line-height: 1.8;
}

.page-news .timeline__card .accordion__content li,
.page-news__history-item .accordion__content li {
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .page-news__hero {
    padding: 120px 0 64px;
  }

  .page-news__hero-grid {
    grid-template-columns: 1fr 240px;
  }

  .page-news__hero-code {
    align-items: flex-end;
    text-align: right;
    border-left: none;
    border-right: 1px solid var(--border-light);
  }

  .page-news__media-lead {
    margin: 40px 0 32px;
  }

  .timeline__item {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    border-left: none;
    padding-left: 0;
  }

  .timeline__rail {
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 8px;
    padding-right: 24px;
    margin-bottom: 0;
    position: relative;
    border-right: 2px solid var(--news-timeline-line);
  }

  .timeline__rail::after {
    content: "";
    position: absolute;
    right: -7px;
    top: 16px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-neon);
    box-shadow: var(--shadow-neon);
  }

  .timeline__item::before {
    display: none;
  }

  .timeline__card {
    border-left: 2px solid rgba(57, 255, 136, 0.12);
  }

  .page-news__feature {
    grid-template-columns: 420px 1fr;
    padding: 40px;
  }

  .page-news__notice-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-news__notice-item {
    flex-direction: column;
  }

  .page-news__cta-box {
    padding: 64px 40px;
  }
}

@media (min-width: 1024px) {
  .page-news__history {
    grid-template-columns: 1fr;
  }
}
