.page-news {
  --news-line: rgba(30, 58, 95, 0.48);
  --news-orange: rgba(255, 107, 0, 0.10);
  --index-w: 270px;
  background:
    radial-gradient(900px 320px at 90% 0%, rgba(57, 255, 20, 0.06), transparent 70%),
    radial-gradient(760px 260px at -5% 38%, rgba(255, 107, 0, 0.05), transparent 60%);
  padding-bottom: 72px;
}

.page-news .container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 20px;
}

.page-news .breadcrumb {
  margin-block: 22px 10px;
}

.page-news .news-hero {
  position: relative;
  display: grid;
  gap: 26px;
  margin-block: 18px 30px;
  padding: 30px 22px 24px;
  background: linear-gradient(135deg, rgba(19, 28, 46, 0.92), rgba(11, 18, 32, 0.72));
  border: 1px solid var(--line-glow);
  border-radius: 12px;
}

.page-news .news-hero::before,
.page-news .news-hero::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  pointer-events: none;
  z-index: 2;
}

.page-news .news-hero::before {
  top: 9px;
  left: 9px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  border-top-left-radius: 6px;
}

.page-news .news-hero::after {
  right: 9px;
  bottom: 9px;
  border-right: 2px solid var(--accent-orange);
  border-bottom: 2px solid var(--accent-orange);
  border-bottom-right-radius: 6px;
}

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

.page-news .news-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.page-news .news-hero h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 36px);
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: var(--data-white);
}

.page-news .news-hero h1 .keyword {
  color: var(--accent-orange);
}

.page-news .news-lead {
  margin: 0;
  max-width: 56ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-aux);
}

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

.page-news .stat-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 12px 10px;
  background: rgba(57, 255, 20, 0.04);
  border: 1px solid rgba(57, 255, 20, 0.16);
  border-radius: 8px;
}

.page-news .mini-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-aux);
  white-space: nowrap;
}

.page-news .mini-val {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}

.page-news .hero-frame {
  position: relative;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line-glow);
  background: var(--bg-card);
}

.page-news .hero-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 3;
  object-fit: cover;
}

.page-news .hero-frame figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 6px 12px;
  background: rgba(11, 18, 32, 0.85);
  border-left: 3px solid var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-main);
}

.page-news .news-filter-wrap {
  position: relative;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  margin: 0 0 28px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page-news .news-filter-wrap::-webkit-scrollbar {
  display: none;
}

.page-news .filter-pill {
  position: relative;
  flex-shrink: 0;
  padding: 9px 18px;
  border: 1px solid var(--line-glow);
  border-radius: 999px;
  background: var(--bg-card);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-main);
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.page-news .filter-pill:hover,
.page-news .filter-pill.is-active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: var(--bg-deep);
  box-shadow: 0 0 18px rgba(255, 107, 0, 0.32);
}

.page-news .news-layout {
  display: grid;
  gap: 24px;
}

.page-news .news-index {
  align-self: start;
  padding: 20px 18px;
  background: linear-gradient(180deg, rgba(19, 28, 46, 0.90), rgba(19, 28, 46, 0.42));
  border: 1px solid var(--line-glow);
  border-radius: 10px;
}

.page-news .index-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--news-line);
}

.page-news .index-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent-orange);
  text-transform: uppercase;
}

.page-news .index-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-aux);
}

.page-news .index-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .index-list li + li {
  border-top: 1px solid rgba(30, 58, 95, 0.30);
}

.page-news .index-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 2px;
  color: var(--text-main);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.20s ease;
}

.page-news .index-list a:hover {
  color: var(--accent);
}

.page-news .idx-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-aux);
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(57, 255, 20, 0.08);
}

.page-news .index-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--news-line);
}

.page-news .index-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.page-news .news-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.page-news .news-entry {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-areas:
    "num main"
    ".   thumb";
  gap: 14px;
  padding: 22px 6px 22px 10px;
  border-bottom: 1px solid var(--news-line);
  transition: background 0.30s ease, box-shadow 0.30s ease;
}

.page-news .news-entry:first-child {
  border-top: 1px solid var(--news-line);
}

.page-news .news-entry:hover {
  background: linear-gradient(90deg, rgba(57, 255, 20, 0.035), transparent 74%);
}

.page-news .news-entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--text-aux);
  opacity: 0.45;
  transition: background 0.20s ease, opacity 0.20s ease, box-shadow 0.20s ease;
}

.page-news .news-entry:hover::before {
  background: var(--accent-orange);
  opacity: 1;
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.55);
}

.page-news .entry-index {
  grid-area: num;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1;
  color: var(--text-aux);
  padding-top: 4px;
  transition: color 0.20s ease;
}

.page-news .news-entry:hover .entry-index {
  color: var(--accent);
}

.page-news .entry-main {
  grid-area: main;
  min-width: 0;
}

.page-news .entry-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.page-news .entry-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 107, 0, 0.45);
  border-radius: 999px;
  background: var(--news-orange);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-orange);
  white-space: nowrap;
}

.page-news .entry-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow: 0 0 8px rgba(255, 107, 0, 0.55);
}

.page-news .entry-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-aux);
}

.page-news .entry-main h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.40;
  letter-spacing: 0.01em;
  color: var(--text-main);
  transition: color 0.20s ease;
}

.page-news .news-entry:hover .entry-main h3 {
  color: var(--accent);
}

.page-news .entry-summary {
  margin: 10px 0 0;
  max-height: 3.2em;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.60;
  color: var(--text-aux);
  transition: max-height 0.35s ease;
}

.page-news .news-entry:hover .entry-summary,
.page-news .news-entry:focus-within .entry-summary {
  max-height: 12em;
}

.page-news .entry-thumb {
  grid-area: thumb;
  position: relative;
  align-self: start;
  width: 200px;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line-glow);
}

.page-news .entry-thumb img {
  display: block;
  width: 200px;
  height: 150px;
  max-width: none;
  object-fit: cover;
  transition: transform 0.40s ease;
}

.page-news .news-entry:hover .entry-thumb img {
  transform: scale(1.04);
}

@media (min-width: 960px) {
  .page-news .news-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 34px;
    align-items: center;
    padding: 36px 32px 32px;
  }

  .page-news .news-layout {
    grid-template-columns: var(--index-w) minmax(0, 1fr);
    gap: 40px;
  }

  .page-news .news-index {
    position: sticky;
    top: calc(var(--header-h) + var(--ticker-h) + 20px);
  }

  .page-news .news-entry {
    grid-template-columns: 64px minmax(0, 1fr) 210px;
    grid-template-areas: "num main thumb";
    gap: 22px;
    padding: 26px 8px 26px 14px;
  }

  .page-news .entry-thumb img {
    width: 210px;
    height: 158px;
  }
}
