.page-news {
  --news-purple: #7B2FFF;
  --news-green: #00FF87;
  --news-orange: #FF6B1A;
  --news-bg: #0A0E17;
  --news-bg-deep: #131B2A;
  --news-text: #FFFFFF;
  --news-dim: #A0A8B8;
  --news-line: rgba(123, 47, 255, 0.25);
  --news-gradient: linear-gradient(90deg, var(--news-purple), var(--news-green));
  --news-font-sans: system-ui, -apple-system, "Segoe UI", "Noto Sans SC", sans-serif;
  --news-font-mono: "JetBrains Mono", "SF Mono", "Cascadia Code", monospace;
  background-color: var(--news-bg);
  color: var(--news-text);
  font-family: var(--news-font-sans);
  overflow-x: hidden;
}

.page-news .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.page-news .news-hero {
  position: relative;
  padding: 64px 0 48px;
  background:
    radial-gradient(circle at 85% 20%, rgba(123, 47, 255, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 15% 90%, rgba(0, 255, 135, 0.1) 0%, transparent 45%),
    var(--news-bg);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 42px), 0 100%);
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(160, 168, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 168, 184, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 42px), 0 100%);
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 42px;
  height: 4px;
  background: var(--news-gradient);
  opacity: 0.8;
}

.page-news .news-hero-inner {
  position: relative;
  display: grid;
  gap: 28px;
}

.page-news .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--news-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--news-dim);
  text-transform: uppercase;
}

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

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

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

.page-news .hero-kicker {
  margin: 0;
  font-family: var(--news-font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--news-green);
}

.page-news .news-hero h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 68px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 800px;
}

.page-news .hero-lead {
  margin: 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--news-dim);
}

.page-news .news-hero-status {
  position: absolute;
  top: 0;
  right: 20px;
  display: none;
}

.page-news .status-panel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(19, 27, 42, 0.9);
  border: 1px solid rgba(123, 47, 255, 0.4);
  border-radius: 999px;
  font-family: var(--news-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
}

.page-news .status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--news-green);
  box-shadow: 0 0 12px var(--news-green);
}

.page-news .status-label {
  color: var(--news-dim);
}

.page-news .status-value {
  color: var(--news-text);
  font-weight: 600;
}

.page-news .news-index {
  display: grid;
  gap: 64px;
  padding-top: 48px;
  padding-bottom: 56px;
}

.page-news .section-topline {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(160, 168, 184, 0.16);
  padding-bottom: 16px;
}

.page-news .section-topline > div {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.page-news .section-index {
  margin: 0;
  font-family: var(--news-font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--news-purple);
  letter-spacing: 0.1em;
}

.page-news .section-topline h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-news .section-summary {
  margin: 0;
  font-size: 14px;
  color: var(--news-dim);
}

.page-news .article-card {
  display: grid;
  gap: 0;
  width: 100%;
  background: linear-gradient(135deg, rgba(123, 47, 255, 0.08), rgba(19, 27, 42, 0.7) 60%);
  border: 1px solid rgba(123, 47, 255, 0.18);
  border-radius: 24px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.page-news .article-card:hover {
  border-color: rgba(0, 255, 135, 0.45);
  transform: translateY(-4px);
}

.page-news .article-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--news-bg-deep);
  overflow: hidden;
}

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

.page-news .article-card:hover .article-thumb img,
.page-news .article-row:hover .article-thumb img {
  transform: scale(1.03);
}

.page-news .article-body {
  padding: 24px;
  display: grid;
  gap: 14px;
}

.page-news .article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--news-font-sans);
}

.page-news .tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.page-news .tag-green {
  background: rgba(0, 255, 135, 0.12);
  color: var(--news-green);
  border: 1px solid rgba(0, 255, 135, 0.35);
}

.page-news .tag-purple {
  background: rgba(123, 47, 255, 0.14);
  color: #B9A5FF;
  border: 1px solid rgba(123, 47, 255, 0.4);
}

.page-news .tag-orange {
  background: rgba(255, 107, 26, 0.14);
  color: #FFA375;
  border: 1px solid rgba(255, 107, 26, 0.4);
}

.page-news .meta-time {
  font-family: var(--news-font-mono);
  font-size: 12px;
  color: var(--news-dim);
  margin-left: auto;
}

.page-news .article-body h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.page-news .article-body p,
.page-news .article-row-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--news-dim);
}

.page-news .article-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-top: 4px;
}

.page-news .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--news-font-sans);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.page-news .btn-primary {
  background: var(--news-orange);
  color: #0A0E17;
}

.page-news .btn-primary:hover {
  background: #FF8A47;
  transform: translateY(-2px);
}

.page-news .btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.page-news .meta-views {
  font-family: var(--news-font-mono);
  font-size: 12px;
  color: var(--news-dim);
}

.page-news .text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--news-brand);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--news-green);
  transition: color 0.2s ease;
}

.page-news .text-link:hover {
  color: var(--news-orange);
}

.page-news .article-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.page-news .article-row {
  display: grid;
  gap: 0;
  width: 100%;
  background: linear-gradient(120deg, rgba(19, 27, 42, 0.9), rgba(123, 47, 255, 0.06));
  border: 1px solid rgba(160, 168, 184, 0.14);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.page-news .article-row:hover {
  border-color: rgba(0, 255, 135, 0.35);
  transform: translateY(-2px);
}

.page-news .article-row .article-thumb {
  aspect-ratio: 16 / 9;
}

.page-news .article-row-body {
  padding: 20px 24px;
  display: grid;
  gap: 10px;
}

.page-news .article-row-body h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.35;
}

.page-news .article-row .article-meta {
  gap: 8px;
}

.page-news .meta-label {
  font-family: var(--news-font-mono);
  font-size: 12px;
  color: var(--news-dim);
}

.page-news .index-pager {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(160, 168, 184, 0.12);
  font-family: var(--news-font-mono);
  font-size: 13px;
  color: var(--news-dim);
}

.page-news .pager-current {
  color: var(--news-text);
  font-weight: 700;
}

.page-news .pager-total {
  color: var(--news-green);
}

.page-news .pager-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(123, 47, 255, 0.5), rgba(0, 255, 135, 0.2), transparent);
}

.page-news .news-home-edition {
  position: relative;
  padding: 40px 0 48px;
  background:
    radial-gradient(circle at 90% 40%, rgba(123, 47, 255, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(19, 27, 42, 0.5), transparent);
}

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

.page-news .edition-track {
  position: relative;
  display: grid;
  gap: 20px;
  padding-left: 24px;
  border-left: 2px solid rgba(123, 47, 255, 0.3);
}

.page-news .edition-track::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--news-purple);
  box-shadow: 0 0 16px var(--news-purple);
}

.page-news .edition-track::after {
  content: "";
  position: absolute;
  left: -3px;
  bottom: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--news-green);
  box-shadow: 0 0 16px var(--news-green);
}

.page-news .edition-item {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 16px 20px;
  background: rgba(19, 27, 42, 0.55);
  border: 1px solid rgba(160, 168, 184, 0.1);
  border-radius: 16px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.page-news .edition-item:hover {
  border-color: rgba(0, 255, 135, 0.3);
  background: rgba(19, 27, 42, 0.8);
}

.page-news .edition-version {
  font-family: var(--news-font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--news-purple);
  letter-spacing: 0.08em;
}

.page-news .edition-item h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
}

.page-news .edition-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--news-dim);
}

.page-news .edition-label {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0, 255, 135, 0.12);
  color: var(--news-green);
  font-family: var(--news-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.page-news .edition-side {
  display: grid;
  gap: 20px;
  align-content: start;
  padding: 28px 24px;
  background: linear-gradient(150deg, rgba(123, 47, 255, 0.1), rgba(19, 27, 42, 0.7));
  border: 1px solid rgba(123, 47, 255, 0.2);
  border-radius: 20px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.page-news .side-count {
  display: block;
}

.page-news .side-num {
  display: block;
  font-family: var(--news-font-mono);
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  background: var(--news-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.page-news .side-label {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--news-dim);
  line-height: 1.5;
}

.page-news .side-note {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--news-dim);
  border-left: 2px solid var(--news-purple);
  padding-left: 12px;
}

.page-news .edition-side .btn {
  margin-top: 8px;
}

.page-news .feedback-grid {
  display: grid;
  gap: 16px;
}

.page-news .feedback-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: rgba(19, 27, 42, 0.6);
  border: 1px solid rgba(160, 168, 184, 0.12);
  border-radius: 18px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-news .feedback-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 26, 0.45);
}

.page-news .feedback-label {
  display: inline-flex;
  width: fit-content;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 107, 26, 0.12);
  color: #FFA375;
  font-family: var(--news-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.page-news .feedback-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.35;
}

.page-news .feedback-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--news-dim);
}

.page-news .feedback-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  margin-top: 32px;
  padding: 28px 24px;
  background: linear-gradient(100deg, rgba(123, 47, 255, 0.18), rgba(255, 107, 26, 0.08), rgba(0, 255, 135, 0.08));
  border-left: 4px solid var(--news-orange);
  border-radius: 18px;
}

.page-news .feedback-cta p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--news-text);
  max-width: 500px;
}

.page-news [data-reveal] {
  opacity: 1;
  transform: none;
}

@media (min-width: 640px) {
  .page-news .article-card {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .page-news .article-card .article-thumb {
    height: 100%;
    aspect-ratio: auto;
    min-height: 280px;
  }

  .page-news .article-row {
    grid-template-columns: 220px 1fr;
    align-items: stretch;
  }

  .page-news .article-row .article-thumb {
    aspect-ratio: auto;
    height: 100%;
    min-height: 160px;
  }

  .page-news .section-topline {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .page-news .section-summary {
    text-align: right;
  }

  .page-news .feedback-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-news .feedback-cta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .page-news .edition-side {
    grid-template-columns: 1fr 1fr;
  }

  .page-news .edition-side .btn {
    grid-column: span 2;
    justify-self: center;
  }
}

@media (min-width: 1024px) {
  .page-news .container {
    padding-left: 32px;
    padding-right: 32px;
  }

  .page-news .news-hero {
    padding: 96px 0 72px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 64px), 0 100%);
  }

  .page-news .news-hero::after {
    bottom: 64px;
  }

  .page-news .news-hero-status {
    display: block;
  }

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

  .page-news .news-index {
    gap: 88px;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .page-news .article-card {
    grid-template-columns: 5fr 6fr;
  }

  .page-news .article-card .article-body {
    padding: 40px;
  }

  .page-news .article-card h3 {
    font-size: 32px;
  }

  .page-news .article-list {
    gap: 20px;
    margin-top: 32px;
  }

  .page-news .article-row {
    grid-template-columns: 260px 1fr;
  }

  .page-news .article-row-body {
    padding: 26px 32px;
  }

  .page-news .edition-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
  }

  .page-news .edition-track {
    gap: 24px;
  }

  .page-news .feedback-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news *,
  .page-news *::before,
  .page-news *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.page-news {
  --news-brand: currentColor;
}
