.page-news {
  --news-side: 248px;
  --news-gap: 48px;
  --news-ruler: 1px solid rgba(168, 178, 195, 0.16);
  position: relative;
  background: var(--deep);
  color: var(--white);
  overflow-x: hidden;
}

.page-news .breadcrumbs {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px var(--page-gutter) 0;
  font-size: 14px;
  color: var(--gray);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.page-news .breadcrumbs a {
  color: var(--blue);
  text-decoration: none;
}

.page-news .breadcrumbs-sep {
  color: rgba(168, 178, 195, 0.4);
}

.page-news .news-hero {
  position: relative;
  display: grid;
  gap: 40px;
  padding: 48px var(--page-gutter) 64px;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--blue) 60%, rgba(0, 212, 255, 0));
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -20px;
  width: 46%;
  height: 60%;
  background:
    radial-gradient(circle, rgba(0, 255, 136, 0.10), transparent 62%),
    radial-gradient(circle at 70% 80%, rgba(0, 212, 255, 0.12), transparent 50%);
  pointer-events: none;
}

.page-news .news-hero-copy,
.page-news .news-hero-feature {
  position: relative;
  z-index: 1;
}

.page-news .news-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green);
  margin-bottom: 20px;
}

.page-news .news-hero-kicker::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--green);
}

.page-news .news-hero-copy h1 {
  font-family: var(--font-head);
  font-size: clamp(44px, 8vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.page-news .news-hero-lede {
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 28px;
}

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

.page-news .news-hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gray);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(18, 24, 38, 0.8);
}

.page-news .news-hero-note-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 255, 136, 0.15);
  animation: news-pulse 2s infinite;
}

@keyframes news-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.page-news .news-hero-media {
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.page-news .news-hero-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.page-news .news-hero-caption {
  margin-top: 14px;
  padding-left: 16px;
  border-left: 3px solid var(--blue);
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray);
}

.page-news .news-stats {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--page-gutter) 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.page-news .news-stat {
  background: var(--bg-elev);
  border: 1px solid rgba(0, 255, 136, 0.18);
  border-radius: var(--radius-md);
  padding: 18px;
}

.page-news .news-stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  color: var(--green);
  margin-bottom: 8px;
}

.page-news .news-stat-label {
  font-size: 13px;
  color: var(--gray);
}

.page-news .news-magazine {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--page-gutter) 72px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.page-news .news-index {
  display: grid;
  gap: 20px;
  padding: 24px 0 8px;
}

.page-news .news-index-head {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

.page-news .news-index-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .news-index-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(168, 178, 195, 0.25);
  color: var(--gray);
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.page-news .news-index-link[data-active],
.page-news .news-index-link:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--brown);
}

.page-news .news-index-aside {
  background: var(--bg-elev);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 18px;
}

.page-news .news-index-aside-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-news .news-index-aside-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 12px;
}

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

.page-news .news-section {
  margin-bottom: 64px;
  scroll-margin-top: 96px;
}

.page-news .news-section-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: var(--news-ruler);
}

.page-news .news-section-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  color: var(--blue);
  min-width: 56px;
  text-align: right;
}

.page-news .news-section-title h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.1;
}

.page-news .news-section-title p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray);
}

.page-news .news-log {
  list-style: none;
  counter-reset: news-log;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-news .news-log-item {
  counter-increment: news-log;
  position: relative;
  display: grid;
  gap: 12px;
  padding: 22px;
  background: var(--bg-elev);
  border: 1px solid rgba(168, 178, 195, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.page-news .news-log-item::before {
  content: "0" counter(news-log);
  position: absolute;
  right: 8px;
  top: -16px;
  z-index: 0;
  font-family: var(--font-head);
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.page-news .news-log-item:hover {
  border-color: rgba(0, 255, 136, 0.4);
  transform: translateY(-2px);
}

.page-news .news-log-meta,
.page-news .news-log-body {
  position: relative;
  z-index: 1;
}

.page-news .news-log-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.page-news .news-log-time {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--gray);
}

.page-news .news-log-body h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
}

.page-news .news-log-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray);
}

.page-news .news-log-body a {
  color: var(--blue);
}

.page-news .news-log-media {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-top: 14px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.page-news .news-log-link {
  margin-top: 12px;
  font-size: 14px;
}

.page-news .news-log-link a {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.page-news .news-log-anchor {
  display: inline-flex;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 2px solid rgba(0, 212, 255, 0.35);
}

.page-news .news-feature-list {
  display: grid;
  gap: 28px;
}

.page-news .news-feature-card {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 24px;
  background: var(--cream);
  color: var(--brown);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.page-news .news-feature-card::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: linear-gradient(180deg, var(--green), var(--blue));
}

.page-news .news-feature-tag {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.page-news .news-feature-copy h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.35;
}

.page-news .news-feature-copy p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(26, 26, 26, 0.82);
}

.page-news .news-feature-copy a {
  color: var(--brown);
}

.page-news .news-feature-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-news .news-feature-media {
  align-self: stretch;
  display: flex;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.12), rgba(0, 212, 255, 0.12));
}

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

.page-news .news-feature-img-inline {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 16px 0 6px;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(26, 26, 26, 0.18);
}

.page-news .news-feature-details {
  margin: 10px 0;
  padding: 4px 16px;
  border: 1px solid rgba(26, 26, 26, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.35);
}

.page-news .news-feature-details summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  list-style: none;
  font-size: 14px;
  font-weight: 800;
}

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

.page-news .news-feature-details summary::before {
  content: "▶";
  font-size: 10px;
  transition: transform 0.2s;
}

.page-news .news-feature-details[open] summary::before {
  transform: rotate(90deg);
}

.page-news .news-feature-details[open] summary {
  margin-bottom: 8px;
}

.page-news .news-feature-details p {
  margin-bottom: 14px;
}

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

.page-news .news-cat-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: var(--bg-elev-2);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.page-news .news-cat-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}

.page-news .news-cat-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  color: var(--white);
}

.page-news .news-cat-count {
  flex-shrink: 0;
  padding: 3px 10px;
  border: 1px solid rgba(0, 255, 136, 0.35);
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--green);
  white-space: nowrap;
}

.page-news .news-cat-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray);
}

@media (min-width: 640px) {
  .page-news .news-category-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 720px) {
  .page-news .news-log-item {
    grid-template-columns: 180px 1fr;
  }

  .page-news .news-log-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-news .news-log-body {
    border-left: 1px solid rgba(168, 178, 195, 0.15);
    padding-left: 22px;
  }
}

@media (min-width: 760px) {
  .page-news .news-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 860px) {
  .page-news .news-hero {
    max-width: var(--container);
    margin: 0 auto;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
    padding: 64px var(--page-gutter) 72px;
  }

  .page-news .news-magazine {
    grid-template-columns: var(--news-side) minmax(0, 1fr);
    gap: var(--news-gap);
    align-items: start;
  }

  .page-news .news-index {
    position: sticky;
    top: 24px;
    padding: 8px 0 0;
  }

  .page-news .news-index-nav {
    display: grid;
    gap: 8px;
  }

  .page-news .news-index-link {
    justify-content: space-between;
    padding: 12px 18px;
    border-radius: var(--radius-md);
  }

  .page-news .news-index-link::after {
    content: "→";
    opacity: 0;
    transition: opacity 0.2s;
  }

  .page-news .news-index-link:hover::after {
    opacity: 1;
  }
}

@media (min-width: 720px) {
  .page-news .news-feature-card {
    grid-template-columns: 1fr 220px;
    padding: 30px;
  }

  .page-news .news-feature-card-reverse {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1000px) {
  .page-news .news-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
