.page-news {
  --news-line: rgba(143, 162, 192, 0.16);
  --news-line-strong: rgba(143, 162, 192, 0.28);
  --news-chip-bg: rgba(57, 255, 136, 0.08);
  background: var(--deep-tech-blue);
  color: var(--text-ice);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

.page-news__inner {
  max-width: calc(var(--container) + 64px);
  margin: 0 auto;
  padding: 0 20px 56px;
}

.page-news a:focus-visible,
.page-news summary:focus-visible {
  outline: 2px solid var(--neon-green);
  outline-offset: 3px;
}

.page-news__crumb {
  margin-top: 20px;
  font-size: 0.85rem;
}

.page-news__crumb a {
  color: var(--text-mist);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-news__crumb a:hover {
  color: var(--neon-green);
}

.page-news__masthead {
  position: relative;
  display: grid;
  gap: 28px;
  margin: 24px 0 12px;
  padding: 28px 0 24px;
  border-top: 1px solid var(--news-line);
  border-bottom: 1px solid var(--news-line);
}

.page-news__kicker {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--signal-orange);
}

.page-news__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 9vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.08em;
}

.page-news__lead {
  margin: 16px 0 0;
  max-width: 34em;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-mist);
}

.page-news__masthead-badge {
  position: relative;
  padding: 20px 22px 20px 28px;
  background: linear-gradient(135deg, rgba(17, 26, 46, 0.92), rgba(22, 35, 58, 0.6));
  border: 1px solid rgba(57, 255, 136, 0.25);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-news__masthead-badge::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--neon-green), var(--signal-orange));
}

.page-news__masthead-badge::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 54px 54px 0;
  border-color: transparent var(--signal-orange) transparent transparent;
  opacity: 0.8;
}

.page-news__batch-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--neon-green);
}

.page-news__batch-status {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-ice);
}

.page-news__batch-note {
  display: block;
  margin-top: 10px;
  max-width: 22em;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-mist);
}

.page-news__category {
  display: grid;
  gap: 24px;
  margin: 32px 0 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--news-line);
}

.page-news__category-kicker {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mist);
}

.page-news__category-title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-news__category-sub {
  margin: 0 0 22px;
  max-width: 38em;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-mist);
}

.page-news__chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news__chip {
  display: inline-block;
  padding: 9px 18px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-ice);
  text-decoration: none;
  border: 1px solid rgba(143, 162, 192, 0.35);
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.page-news__chip:hover,
.page-news__chip:focus-visible {
  border-color: var(--neon-green);
  color: var(--neon-green);
  background: var(--news-chip-bg);
  outline: none;
}

.page-news__category-figure {
  margin: 0;
}

.page-news__category-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(57, 255, 136, 0.2);
}

.page-news__updates {
  margin: 8px 0 16px;
}

.page-news__section-head,
.page-news__log-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 0 12px;
  border-bottom: 1px solid rgba(57, 255, 136, 0.3);
}

.page-news .section-number {
  flex-shrink: 0;
  font-size: 2.8rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.page-news__section-kicker {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal-orange);
}

.page-news__section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-news__hero-image {
  margin: 24px 0 12px;
}

.page-news__hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(143, 162, 192, 0.2);
}

.page-news__updates-layout {
  margin-top: 28px;
}

.page-news__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 0 16px;
}

.page-news__toc-heading {
  width: 100%;
  margin: 0 0 2px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mist);
}

.page-news__toc-item {
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--text-mist);
  text-decoration: none;
  border: 1px solid var(--news-line);
  border-radius: 6px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.page-news__toc-item:hover,
.page-news__toc-item:focus-visible {
  border-color: var(--neon-green);
  color: var(--neon-green);
  background: var(--news-chip-bg);
  outline: none;
}

.page-news__stream {
  min-width: 0;
}

.page-news__group {
  margin-bottom: 32px;
}

.page-news__group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  padding: 8px 0 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal-orange);
  border-left: 4px solid var(--signal-orange);
}

.page-news__entry {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--news-line);
}

.page-news__group .page-news__entry:first-of-type {
  border-top: 1px solid var(--news-line-strong);
}

.page-news__entry:last-child {
  border-bottom: 1px solid var(--news-line);
}

.page-news__entry-index {
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--neon-green);
  opacity: 0.75;
}

.page-news__entry-cat {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 10px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neon-green);
  border: 1px solid rgba(57, 255, 136, 0.3);
  border-radius: 4px;
}

.page-news__entry-title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.page-news__entry-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-mist);
}

.page-news__entry-text a {
  color: var(--neon-green);
  text-decoration: none;
  border-bottom: 1px solid rgba(57, 255, 136, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-news__entry-text a:hover {
  color: var(--text-ice);
  border-bottom-color: var(--text-ice);
}

.page-news__insight-figure {
  margin: 20px 0 0;
}

.page-news__insight-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(143, 162, 192, 0.2);
}

.page-news__log {
  margin: 48px 0 24px;
  padding: 32px 0;
  border-top: 1px solid var(--news-line);
  border-bottom: 1px solid var(--news-line);
}

.page-news__log-sub {
  margin: 16px 0 24px;
  max-width: 42em;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-mist);
}

.page-news__log-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

.page-news__log-copy {
  display: grid;
  gap: 16px;
}

.page-news__log-details {
  padding: 6px 16px;
  background: rgba(17, 26, 46, 0.6);
  border: 1px solid rgba(143, 162, 192, 0.22);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}

.page-news__log-details[open] {
  border-color: rgba(57, 255, 136, 0.4);
}

.page-news__log-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.page-news__log-details summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--neon-green);
  transition: transform 0.2s ease;
}

.page-news__log-details[open] summary::after {
  transform: rotate(45deg);
}

.page-news__log-list {
  margin: 0 0 12px;
  padding: 0 0 0 12px;
  list-style: none;
}

.page-news__log-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-mist);
}

.page-news__log-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  transform: rotate(45deg);
}

.page-news__log-link {
  display: inline-block;
  width: fit-content;
  font-size: 0.88rem;
  color: var(--neon-green);
  text-decoration: none;
  border-bottom: 1px solid rgba(57, 255, 136, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-news__log-link:hover {
  color: var(--text-ice);
  border-bottom-color: var(--text-ice);
}

.page-news__log-figure {
  margin: 0;
}

.page-news__log-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(143, 162, 192, 0.2);
}

.page-news__subscribe {
  margin: 32px 0 8px;
}

.page-news__subscribe-box {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 36px 24px;
  background:
    linear-gradient(135deg, rgba(17, 26, 46, 0.92), rgba(22, 35, 58, 0.55)),
    repeating-linear-gradient(45deg, rgba(57, 255, 136, 0.04) 0 8px, transparent 8px 16px);
  border: 1px solid rgba(57, 255, 136, 0.25);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-news__subscribe-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(57, 255, 136, 0.35);
  border-radius: 50%;
  background: rgba(57, 255, 136, 0.06);
}

.page-news__subscribe-icon svg {
  width: 28px;
  height: 28px;
}

.page-news__subscribe-kicker {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--signal-orange);
}

.page-news__subscribe-title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-news__subscribe-text {
  margin: 0;
  max-width: 38em;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-mist);
}

.page-news__subscribe-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.page-news__subscribe-btn {
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
}

.page-news__subscribe-alt {
  font-size: 0.85rem;
  color: var(--text-mist);
  text-decoration: none;
  border-bottom: 1px solid rgba(143, 162, 192, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-news__subscribe-alt:hover {
  color: var(--neon-green);
  border-bottom-color: var(--neon-green);
}

@media (min-width: 768px) {
  .page-news__masthead {
    grid-template-columns: 1fr 300px;
    align-items: end;
  }

  .page-news__category {
    grid-template-columns: 1fr 400px;
    align-items: center;
  }

  .page-news__category-figure img {
    max-width: 400px;
    margin-left: auto;
  }

  .page-news__insight-figure img {
    max-height: 320px;
  }

  .page-news__log-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .page-news__log-figure {
    order: 2;
  }

  .page-news__subscribe-box {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 40px 48px;
  }

  .page-news__subscribe-actions {
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .page-news__updates-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 48px;
    align-items: start;
  }

  .page-news__toc {
    position: sticky;
    top: 168px;
    flex-direction: column;
    gap: 4px;
    padding: 0 0 0 18px;
    border-left: 1px solid rgba(57, 255, 136, 0.4);
  }

  .page-news__toc-heading {
    margin-bottom: 10px;
  }

  .page-news__toc-item {
    padding: 8px 0;
    border: none;
    border-radius: 0;
  }

  .page-news__toc-item:hover,
  .page-news__toc-item:focus-visible {
    background: transparent;
  }

  .page-news__group {
    margin-bottom: 40px;
  }

  .page-news__entry {
    grid-template-columns: 64px 1fr;
    gap: 24px;
    padding: 24px 0;
  }

  .page-news__entry-title {
    font-size: 1.25rem;
  }

  .page-news__entry-text {
    max-width: 42em;
  }

  .page-news__insight-figure {
    margin: 24px 0 0;
  }

  .page-news__log {
    padding: 40px 0;
  }
}
