.page-news {
  --news-glow: rgba(57, 255, 20, 0.08);
  --news-line: rgba(57, 255, 20, 0.35);
  --news-accent-bg: rgba(255, 107, 0, 0.14);
  overflow-x: hidden;
}

.page-news .news-hero {
  position: relative;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--line);
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -4px;
  width: 2px;
  background: linear-gradient(180deg, var(--neon), var(--accent), transparent);
}

.page-news .news-hero__code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-mid);
}

.page-news .news-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--neon);
  letter-spacing: 0.05em;
}

.page-news .news-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
  animation: pageNewsPulse 1.6s ease-in-out infinite;
}

@keyframes pageNewsPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-live::before { animation: none; }
}

.page-news .news-hero__path {
  color: var(--text-low);
}

.page-news .news-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin: 0 0 14px;
  color: var(--text-hi);
}

.page-news .news-hero__lead {
  color: var(--text-mid);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 22px;
  max-width: 760px;
}

.page-news .news-hero__anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-news .pill-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--neon);
  border-radius: var(--radius-pill);
  color: var(--text-hi);
  background: rgba(22, 50, 91, 0.6);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.page-news .pill-tag:hover {
  background: var(--neon);
  color: var(--bg-night);
  border-color: var(--neon);
  transform: translateY(-2px);
}

.page-news .update-feed {
  padding: 0 0 4px;
}

.page-news .mega-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--neon), var(--accent), transparent 92%);
  opacity: 0.45;
}

.page-news .news-block {
  padding: 46px 0 16px;
}

.page-news .news-block--panel {
  margin-top: 12px;
  padding: 32px 20px 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  position: relative;
}

.page-news .news-block--panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-top: 20px solid var(--neon);
  border-left: 20px solid transparent;
  opacity: 0.28;
}

.page-news .term-bar {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 26px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--news-line);
}

.page-news .term-bar__num {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--neon);
  line-height: 1;
}

.page-news .term-bar h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
  margin: 0;
  letter-spacing: 0.02em;
  color: var(--text-hi);
}

.page-news .term-bar__file {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-low);
  margin-left: auto;
}

.page-news img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.page-news .feature-spot {
  margin-bottom: 26px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(57, 255, 20, 0.22);
}

.page-news .feature-spot img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.page-news .news-list {
  counter-reset: newsIdx;
  display: grid;
  gap: 12px;
}

.page-news .news-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(22, 50, 91, 0.55);
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
}

.page-news .news-item:hover,
.page-news .news-item[open] {
  border-color: var(--news-line);
  background: rgba(22, 50, 91, 0.95);
}

.page-news .news-item__summary {
  display: grid;
  grid-template-columns: 34px auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num tag . arrow"
    "num . title arrow";
  gap: 2px 10px;
  align-items: start;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

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

.page-news .news-item__summary::after {
  content: "+";
  grid-area: arrow;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--neon);
  justify-self: end;
}

.page-news .news-item[open] .news-item__summary::after {
  content: "−";
}

.page-news .news-item__idx {
  grid-area: num;
  font-size: 0;
}

.page-news .news-item__idx::before {
  counter-increment: newsIdx;
  content: "#" counter(newsIdx);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  transition: color 0.25s;
}

.page-news .news-item:hover .news-item__idx::before,
.page-news .news-item[open] .news-item__idx::before {
  color: var(--neon);
}

.page-news .news-item__tag {
  grid-area: tag;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid var(--neon);
  border-radius: var(--radius-pill);
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.2;
  background: rgba(57, 255, 20, 0.06);
}

.page-news .news-item h3 {
  grid-area: title;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  margin: 0;
  color: var(--text-hi);
}

.page-news .news-item__body {
  padding: 4px 18px 18px 44px;
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.7;
}

.page-news .news-item__body .btn {
  margin-top: 10px;
}

.page-news .news-item__body p {
  margin: 0 0 6px;
}

.page-news .log-end {
  margin: 26px 0 10px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-low);
  letter-spacing: 0.08em;
}

.page-news .column-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.page-news .column-grid__media {
  order: -1;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-news .column-grid__media img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.page-news .release-grid {
  display: grid;
  gap: 26px;
  align-items: start;
}

.page-news .release-list {
  display: grid;
}

.page-news .release-item {
  display: flex;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.page-news .release-item:first-child {
  border-top: 0;
}

.page-news .release-item__mark {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--news-accent-bg);
  color: var(--accent);
}

.page-news .release-item__content h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--text-hi);
}

.page-news .release-item__content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-mid);
}

.page-news .release-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-news .release-visual img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.page-news .news-block--history {
  background: linear-gradient(180deg, transparent, rgba(5, 16, 32, 0.45));
}

.page-news .history-hero {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
}

.page-news .history-hero img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.page-news .history-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.page-news .history-stat {
  border: 1px solid var(--news-line);
  background: rgba(22, 50, 91, 0.7);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-news .history-stat__value {
  font-family: var(--font-mono);
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1;
  color: var(--neon);
  font-weight: 600;
}

.page-news .history-stat__label {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.3;
}

.page-news .history-note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.page-news .history-note p {
  max-width: 720px;
  margin: 0;
  color: var(--text-mid);
  line-height: 1.7;
}

.page-news .news-subscribe {
  padding: 34px 0 70px;
}

.page-news .subscribe-panel {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--neon);
  border-radius: var(--radius-lg);
  padding: 26px 20px 30px;
  overflow: hidden;
}

.page-news .subscribe-panel::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(57, 255, 20, 0.18), transparent 70%);
  pointer-events: none;
}

.page-news .term-bar--inside {
  margin-bottom: 16px;
}

.page-news .subscribe-panel > p {
  max-width: 560px;
  margin: 0 0 20px;
  color: var(--text-mid);
  line-height: 1.7;
}

.page-news .subscribe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.page-news .subscribe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-low);
}

.page-news .subscribe-meta a {
  color: var(--accent-soft);
  text-decoration: none;
  transition: color 0.25s;
}

.page-news .subscribe-meta a:hover {
  color: var(--accent);
}

.page-news .subscribe-contact {
  margin: 0;
  font-size: 13px;
  color: var(--text-low);
  line-height: 1.6;
}

.page-news [data-reveal].is-visible {
  animation: pageNewsReveal 0.5s ease both;
}

@keyframes pageNewsReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 900px) {
  .page-news .news-hero {
    padding: 40px 0 46px;
  }

  .page-news .news-block {
    padding: 58px 0 20px;
  }

  .page-news .news-block--panel {
    padding: 40px 36px 30px;
  }

  .page-news .news-item__summary {
    grid-template-columns: 52px auto minmax(0, 1fr) auto;
    grid-template-areas: "num tag title arrow";
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
  }

  .page-news .news-item__body {
    padding-left: 86px;
    padding-right: 44px;
  }

  .page-news .column-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 34px;
  }

  .page-news .column-grid__media {
    order: 0;
  }

  .page-news .release-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 44px;
    align-items: center;
  }

  .page-news .history-stats {
    gap: 14px;
  }

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