.page-news {
  --timeline-line: rgba(57, 255, 136, 0.16);
  --card-bg: rgba(15, 42, 74, 0.55);
  --hero-shadow: rgba(26, 11, 46, 0.8);
  --topic-border: rgba(123, 47, 255, 0.3);
}

.page-news .breadcrumbs {
  max-width: var(--max-w);
  margin: 24px auto 0;
  padding: 0 var(--gutter);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-news .breadcrumbs a {
  color: var(--paper);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-news .breadcrumbs a:hover {
  color: var(--neon);
}

.page-news .breadcrumbs-sep {
  color: rgba(224, 230, 240, 0.4);
}

.page-news .breadcrumbs span[aria-current="page"] {
  color: var(--neon);
}

.page-news .news-hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) var(--gutter) 24px;
  position: relative;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: clamp(120px, 22vw, 280px);
  height: clamp(90px, 14vw, 180px);
  background: linear-gradient(135deg, transparent 48%, rgba(123, 47, 255, 0.18) 50%, transparent 52%);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  left: var(--gutter);
  bottom: 10px;
  width: clamp(60px, 10vw, 140px);
  height: 3px;
  background: linear-gradient(90deg, var(--neon), var(--volt));
  border-radius: 2px;
}

.page-news .news-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
}

.page-news .news-hero-copy {
  max-width: 820px;
}

.page-news .news-hero-kicker {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--volt);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-news .news-hero-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--neon);
  display: inline-block;
}

.page-news .news-hero h1 {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(32px, 5.6vw, 56px);
  line-height: 1.12;
  color: var(--white);
  letter-spacing: 0.01em;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px var(--hero-shadow);
}

.page-news .news-hero .hl {
  color: var(--neon);
}

.page-news .news-hero .lead {
  font-size: 17px;
  line-height: 1.72;
  color: var(--paper);
  max-width: 640px;
  margin-bottom: 0;
}

.page-news .news-hero-meta {
  background: linear-gradient(135deg, var(--ink-2), var(--ink-3));
  border: 1px solid var(--topic-border);
  border-radius: 6px;
  padding: clamp(20px, 3.5vw, 34px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  box-shadow: 0 10px 40px rgba(26, 11, 46, 0.4);
  max-width: 560px;
}

.page-news .news-hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 12px;
  border-left: 1px solid rgba(123, 47, 255, 0.25);
}

.page-news .news-hero-meta-item:first-child {
  border-left: none;
  padding-left: 0;
}

.page-news .news-hero-num {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--neon);
}

.page-news .news-hero-num em {
  font-style: normal;
  font-size: 0.5em;
  color: var(--paper);
  margin-left: 3px;
}

.page-news .news-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding-top: 28px;
  padding-bottom: 20px;
}

.page-news .news-index {
  display: block;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(123, 47, 255, 0.2);
  padding-bottom: 20px;
}

.page-news .news-index-title {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--volt);
  margin-bottom: 14px;
  text-transform: uppercase;
}

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

.page-news .news-index-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 16px;
  color: var(--paper);
  padding: 8px 16px;
  border: 1px solid rgba(123, 47, 255, 0.3);
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.22s ease;
  background: rgba(15, 42, 74, 0.35);
}

.page-news .news-index-link:hover,
.page-news .news-index-link.is-active {
  color: var(--neon);
  border-color: var(--neon);
  transform: translateY(-1px);
}

.page-news .news-index-num {
  font-style: normal;
  font-size: 13px;
  color: var(--volt);
}

.page-news .news-index-foot {
  margin-top: 18px;
  padding: 14px 16px;
  background: rgba(26, 11, 46, 0.5);
  border-left: 2px solid var(--neon);
}

.page-news .news-index-foot .mono {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  display: block;
}

.page-news .news-index-foot p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(224, 230, 240, 0.8);
}

.page-news .news-index-cta {
  margin-top: 18px;
  width: 100%;
  justify-content: center;
}

.page-news .news-content {
  min-width: 0;
}

.page-news .news-section {
  margin-bottom: 52px;
}

.page-news .news-section .section-head {
  margin-bottom: 26px;
}

.page-news .news-section .section-title {
  font-size: clamp(24px, 4vw, 32px);
}

.page-news .news-timeline {
  position: relative;
  padding-left: 26px;
}

.page-news .news-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--neon), var(--volt), rgba(123, 47, 255, 0.1));
  opacity: 0.35;
  border-radius: 2px;
}

.page-news .timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.page-news .timeline-marker {
  position: absolute;
  left: -26px;
  top: 28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 14px rgba(57, 255, 136, 0.55);
  z-index: 1;
}

.page-news .timeline-marker::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(57, 255, 136, 0.3);
}

.page-news .timeline-card {
  background: var(--card-bg);
  border: 1px solid var(--topic-border);
  border-radius: 6px;
  padding: clamp(18px, 3vw, 26px);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-news .timeline-card:hover {
  border-color: rgba(57, 255, 136, 0.5);
  box-shadow: 0 6px 30px rgba(57, 255, 136, 0.06);
}

.page-news .timeline-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-news .timeline-thumb {
  overflow: hidden;
  border-radius: 4px;
  background: var(--ink-3);
}

.page-news .timeline-thumb img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.page-news .timeline-card:hover .timeline-thumb img {
  transform: scale(1.02);
}

.page-news .timeline-copy {
  min-width: 0;
}

.page-news .timeline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--gold);
}

.page-news .timeline-copy h3 {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(18px, 3vw, 22px);
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 10px;
}

.page-news .timeline-copy > p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--paper);
  margin: 0 0 12px;
}

.page-news .timeline-detail {
  margin-top: 4px;
}

.page-news .timeline-detail summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--neon);
  transition: color 0.2s ease;
  padding: 4px 0;
}

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

.page-news .timeline-detail summary:hover {
  color: var(--gold);
}

.page-news .timeline-detail summary::before {
  content: "+";
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1;
  color: var(--volt);
  display: inline-block;
  transition: transform 0.22s ease;
}

.page-news .timeline-detail[open] summary::before {
  content: "−";
  color: var(--neon);
}

.page-news .timeline-detail p {
  margin-top: 12px;
  padding-left: 14px;
  border-left: 2px solid var(--neon);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(224, 230, 240, 0.85);
}

.page-news .news-topics {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(123, 47, 255, 0.18);
}

.page-news .topic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-news .topic-card {
  background: var(--card-bg);
  border: 1px solid var(--topic-border);
  border-radius: 6px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.page-news .topic-card:hover {
  transform: translateY(-3px);
  border-color: rgba(57, 255, 136, 0.45);
}

.page-news .topic-cover {
  overflow: hidden;
  background: var(--ink-3);
  border-bottom: 1px solid rgba(123, 47, 255, 0.15);
}

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

.page-news .topic-body {
  padding: clamp(18px, 3vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.page-news .topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .topic-body h3 {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(18px, 3vw, 21px);
  line-height: 1.32;
  color: var(--white);
  margin: 0;
}

.page-news .topic-body p {
  font-size: 15px;
  line-height: 1.68;
  color: var(--paper);
  margin: 0;
}

.page-news .topic-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
  margin-top: auto;
  padding-top: 4px;
}

.page-news .topic-link:hover {
  color: var(--gold);
  border-bottom-color: var(--neon);
}

.page-news .news-versions {
  background: linear-gradient(135deg, var(--ink-3), var(--ink-2));
  padding: clamp(48px, 8vw, 84px) 0;
  border-top: 1px solid rgba(123, 47, 255, 0.25);
  border-bottom: 1px solid rgba(123, 47, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.page-news .news-versions::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(-45deg, transparent 0, transparent 18px, rgba(123, 47, 255, 0.03) 18px, rgba(123, 47, 255, 0.03) 19px);
  pointer-events: none;
}

.page-news .news-versions .container {
  position: relative;
  z-index: 1;
}

.page-news .news-versions .section-title {
  color: var(--white);
}

.page-news .versions-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 32px;
}

.page-news .versions-visual {
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink-3);
  border: 1px solid rgba(123, 47, 255, 0.2);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

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

.page-news .version-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-news .version-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(11, 27, 61, 0.65);
  border: 1px solid rgba(123, 47, 255, 0.22);
  border-radius: 5px;
  padding: clamp(16px, 3vw, 22px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.page-news .version-item:hover {
  border-color: rgba(57, 255, 136, 0.4);
  transform: translateX(4px);
}

.page-news .version-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--neon), var(--volt));
  opacity: 0.7;
}

.page-news .version-tag {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
}

.page-news .version-main h3 {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(17px, 2.6vw, 20px);
  color: var(--white);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page-news .version-num {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 15px;
  color: var(--neon);
  background: rgba(57, 255, 136, 0.1);
  padding: 2px 10px;
  border-radius: 3px;
  border: 1px solid rgba(57, 255, 136, 0.25);
}

.page-news .version-main ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-news .version-main li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--paper);
  padding-left: 16px;
  position: relative;
}

.page-news .version-main li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--volt);
  font-size: 13px;
}

.page-news .news-closing {
  padding-top: 56px;
  padding-bottom: 64px;
}

.page-news .news-closing-inner {
  background: linear-gradient(135deg, var(--ink-2), var(--ink-3));
  border: 1px solid var(--topic-border);
  border-radius: 6px;
  padding: clamp(26px, 5vw, 44px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.page-news .news-closing-inner .mono {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--volt);
  text-transform: uppercase;
}

.page-news .news-closing-inner h2 {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(22px, 3.6vw, 30px);
  color: var(--white);
  margin: 0;
}

.page-news .news-closing-inner p:not(.mono) {
  font-size: 16px;
  line-height: 1.6;
  color: var(--paper);
  max-width: 480px;
  margin: 0;
}

.page-news .news-closing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 6px;
}

@media screen and (min-width: 480px) {
  .page-news .timeline-card-grid {
    grid-template-columns: 1fr;
  }

  .page-news .timeline-thumb img {
    max-height: 260px;
  }
}

@media screen and (min-width: 992px) {
  .page-news .news-hero-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: end;
  }

  .page-news .news-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: clamp(32px, 5vw, 64px);
    padding-top: 40px;
  }

  .page-news .news-index {
    position: sticky;
    top: 24px;
    align-self: start;
    border: 1px solid rgba(123, 47, 255, 0.18);
    background: rgba(11, 27, 61, 0.72);
    border-radius: 6px;
    padding: 24px 20px;
    margin-bottom: 0;
  }

  .page-news .news-index-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .page-news .news-index-link {
    border: none;
    background: transparent;
    border-radius: 3px;
    padding: 10px 14px;
    width: 100%;
    font-size: 17px;
    border-left: 2px solid transparent;
  }

  .page-news .news-index-link:hover,
  .page-news .news-index-link.is-active {
    background: rgba(57, 255, 136, 0.06);
    border-left-color: var(--neon);
    transform: none;
  }

  .page-news .news-index-cta {
    margin-top: 22px;
  }

  .page-news .timeline-card-grid {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 22px;
  }

  .page-news .timeline-thumb img {
    max-height: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 200px;
  }

  .page-news .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-news .topic-card-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .page-news .topic-card-featured .topic-cover {
    border-right: 1px solid rgba(123, 47, 255, 0.15);
    border-bottom: none;
    height: 100%;
  }

  .page-news .topic-card-featured .topic-cover img {
    height: 100%;
    min-height: 260px;
  }

  .page-news .versions-layout {
    grid-template-columns: 360px minmax(0, 1fr);
    gap: clamp(28px, 5vw, 60px);
    align-items: start;
  }

  .page-news .versions-visual {
    position: sticky;
    top: 24px;
  }

  .page-news .news-closing-inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: clamp(24px, 4vw, 40px);
  }

  .page-news .news-closing-inner p:not(.mono) {
    margin: 0;
    max-width: 420px;
  }

  .page-news .news-closing-links {
    margin-top: 0;
    flex-shrink: 0;
  }
}
