.page-news {
  --news-border: rgba(255, 159, 28, 0.22);
  --news-text-dim: rgba(248, 249, 250, 0.72);
  --news-text-faint: rgba(248, 249, 250, 0.5);
  --news-panel-soft: rgba(28, 37, 65, 0.7);
  position: relative;
  background: var(--sx-bg-deep);
  color: var(--sx-light);
  font-family: var(--sx-font-body);
  overflow-x: clip;
  min-width: 0;
}

.page-news::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 220px;
  background-image:
    linear-gradient(135deg, rgba(138, 43, 226, 0.25), transparent 65%),
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(157, 78, 221, 0.08) 10px, rgba(157, 78, 221, 0.08) 12px);
  pointer-events: none;
  z-index: 0;
}

.news-breadcrumb {
  padding-top: 24px;
  position: relative;
  z-index: 1;
}

.news-hero {
  position: relative;
  z-index: 1;
  padding: 40px 0 36px;
}

.news-hero__inner {
  display: grid;
  gap: 28px;
  align-items: center;
}

.news-page-title {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  line-height: 1.15;
  margin: 0 0 16px;
}

.news-hero__desc {
  color: var(--news-text-dim);
  line-height: 1.8;
  max-width: 46em;
  margin: 0 0 20px;
  font-size: 1.02rem;
}

.news-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-hero__visual {
  display: none;
  position: relative;
  min-height: 250px;
  align-items: center;
  justify-content: center;
}

.hero-radar {
  position: relative;
  width: 220px;
  height: 220px;
}

.hero-radar__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(157, 78, 221, 0.45);
  border-radius: 50%;
}

.hero-radar__ring:nth-child(2) {
  inset: 34px;
}

.hero-radar__ring:nth-child(3) {
  inset: 68px;
  border-color: rgba(255, 159, 28, 0.5);
}

.hero-radar__cross {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sx-accent), transparent);
  transform-origin: center;
  animation: radar-scan 4s linear infinite;
}

@keyframes radar-scan {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hero-radar__cross::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, transparent, var(--sx-gold), transparent);
  transform: rotate(90deg);
}

.hero-radar__core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sx-gold);
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.8);
  transform: translate(-50%, -50%);
}

.news-hero__note {
  position: absolute;
  right: -14px;
  bottom: 0;
}

.news-dock {
  position: relative;
  z-index: 1;
}

.news-dock__heading {
  padding: 24px 0 4px;
}

.news-dock__title {
  margin: 0;
  font-size: 1.9rem;
  line-height: 1.25;
}

.news-filter__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid var(--news-border);
  border-bottom: 1px solid var(--news-border);
}

.news-filter__btn {
  font-family: var(--sx-font-body);
  font-size: 0.9rem;
  line-height: 1;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid rgba(255, 159, 28, 0.4);
  color: var(--sx-light);
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.news-filter__btn:hover,
.news-filter__btn.is-active {
  background: var(--sx-accent);
  border-color: var(--sx-accent);
  color: var(--sx-bg-deep);
  font-weight: 700;
}

.news-filter__btn:focus-visible {
  outline: 2px solid var(--sx-gold);
  outline-offset: 2px;
}

.news-layout {
  display: grid;
  gap: 32px;
  padding: 28px 0 60px;
}

.news-stream {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.news-card {
  position: relative;
  background: var(--sx-bg-panel);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  min-width: 0;
}

.news-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--sx-accent), var(--sx-purple));
  z-index: 2;
}

.news-card--feature {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.news-card__media {
  position: relative;
  overflow: hidden;
  background: var(--sx-bg-panel);
}

.news-card__media--ratio-wide {
  aspect-ratio: 16 / 9;
}

.news-card__media--ratio-4-3 {
  aspect-ratio: 4 / 3;
}

.news-card__media--ratio-square {
  aspect-ratio: 1 / 1;
}

.news-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11, 19, 43, 0.55));
  pointer-events: none;
}

.news-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card__media-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 5px 10px;
  background: var(--sx-gold);
  color: var(--sx-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.news-card__body {
  padding: 20px 22px 26px;
}

.news-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.news-card__time {
  color: var(--news-text-faint);
  font-size: 0.8rem;
}

.news-card__seq {
  margin-left: auto;
  font-family: var(--sx-font-head);
  color: var(--sx-acid);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.news-card__title {
  font-family: var(--sx-font-head);
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--sx-light);
}

.news-card--feature .news-card__title {
  font-size: 1.9rem;
  line-height: 1.2;
}

.news-card__text {
  color: var(--news-text-dim);
  line-height: 1.75;
  margin-bottom: 18px;
  max-width: 52em;
}

.news-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.news-version-track {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 30px 26px 6px;
  background: linear-gradient(180deg, rgba(138, 43, 226, 0.18), transparent);
}

.news-version-track__item {
  font-family: var(--sx-font-head);
  font-size: 1.3rem;
  color: var(--news-text-faint);
  border: 1px solid rgba(157, 78, 221, 0.3);
  padding: 6px 10px;
  line-height: 1;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.news-version-track__item.is-now {
  color: var(--sx-gold);
  border-color: var(--sx-gold);
}

.news-version-track__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--sx-acid), var(--sx-gold));
}

.news-sidebar {
  min-width: 0;
}

.news-sidebar__title {
  font-size: 1.4rem;
  margin: 0 0 14px;
  padding-left: 10px;
  border-left: 3px solid var(--sx-gold);
}

.news-sidebar__inner {
  display: grid;
  gap: 20px;
}

.news-widget {
  padding: 18px 18px 20px;
}

.news-widget__title {
  font-size: 1.3rem;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.news-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-tag-cloud__btn {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-family: var(--sx-font-body);
  background: rgba(11, 19, 43, 0.5);
  border: 1px solid rgba(255, 159, 28, 0.3);
  color: var(--sx-light);
  cursor: pointer;
  text-decoration: none;
  line-height: 1.4;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.news-tag-cloud__btn:hover,
.news-tag-cloud__btn.is-active {
  background: var(--sx-accent);
  border-color: var(--sx-accent);
  color: var(--sx-bg-deep);
}

.news-tag-cloud__btn:focus-visible {
  outline: 2px solid var(--sx-gold);
  outline-offset: 2px;
}

.news-widget__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.news-widget__links a {
  display: block;
  padding: 9px 2px;
  color: var(--news-text-dim);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 159, 28, 0.22);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.news-widget__links a:hover {
  color: var(--sx-accent);
  padding-left: 10px;
}

.news-widget__links li:last-child a {
  border-bottom: 0;
}

.news-widget__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0;
}

.news-widget__stat {
  background: rgba(11, 19, 43, 0.35);
  padding: 12px;
  border-left: 2px solid var(--sx-gold);
}

.news-widget__stat dt {
  font-size: 0.76rem;
  color: var(--news-text-faint);
  margin-bottom: 4px;
}

.news-widget__stat dd {
  font-family: var(--sx-font-head);
  font-size: 1.4rem;
  color: var(--sx-light);
  margin: 0;
  letter-spacing: 0.02em;
}

.news-topic {
  background:
    radial-gradient(circle at 80% 0%, rgba(138, 43, 226, 0.22), transparent 40%),
    var(--sx-bg-deep);
  border-top: 1px solid var(--news-border);
  border-bottom: 1px solid var(--news-border);
}

.news-topic__title {
  margin: 0 0 8px;
}

.topic-layout {
  display: grid;
  gap: 28px;
  margin-top: 24px;
}

.topic-lead__text {
  color: var(--news-text-dim);
  line-height: 1.8;
  max-width: 48em;
  margin: 0;
}

.topic-lead__score {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.topic-lead__stat {
  background: var(--news-panel-soft);
  border-top: 2px solid var(--sx-accent);
  padding: 12px 10px;
  display: grid;
  gap: 4px;
}

.topic-lead__stat strong {
  font-family: var(--sx-font-head);
  font-size: 1.6rem;
  color: var(--sx-gold);
  line-height: 1.1;
}

.topic-lead__stat span {
  font-size: 0.76rem;
  color: var(--news-text-faint);
}

.topic-points {
  display: grid;
  gap: 12px;
}

.topic-point {
  position: relative;
  background: var(--news-panel-soft);
  padding: 18px 20px 18px 76px;
  border-left: 3px solid var(--sx-accent);
}

.topic-point__num {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--sx-font-head);
  font-size: 2.3rem;
  line-height: 1;
  color: var(--sx-gold);
  opacity: 0.75;
}

.topic-point__title {
  font-family: var(--sx-font-head);
  font-size: 1.15rem;
  margin: 0 0 6px;
  color: var(--sx-light);
}

.topic-point__text {
  color: var(--news-text-dim);
  line-height: 1.65;
  font-size: 0.95rem;
  margin: 0;
}

.news-guides {
  padding-top: 56px;
  padding-bottom: 56px;
}

.news-guides__lead {
  color: var(--news-text-dim);
  line-height: 1.7;
  max-width: 52em;
  margin: 4px 0 24px;
}

.guides-list {
  display: grid;
  gap: 12px;
}

.guide-entry {
  background: var(--sx-bg-panel);
  border-left: 3px solid var(--sx-acid);
  min-width: 0;
}

.guide-entry__summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  font-family: var(--sx-font-head);
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--sx-light);
}

.guide-entry__summary::-webkit-details-marker {
  display: none;
}

.guide-entry__summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--sx-accent);
  transition: transform 0.2s ease;
}

.guide-entry[open] .guide-entry__summary::after {
  transform: rotate(45deg);
}

.guide-entry__num {
  font-family: var(--sx-font-head);
  color: var(--sx-gold);
  font-size: 1.1rem;
}

.guide-entry__heading {
  flex: 1;
  min-width: 0;
}

.guide-entry__content {
  padding: 0 20px 20px 76px;
  color: var(--news-text-dim);
  line-height: 1.7;
  font-size: 0.95rem;
}

.news-guides__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (min-width: 992px) {
  .news-hero {
    padding: 56px 0 48px;
  }

  .news-hero__inner {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr);
    gap: 40px;
  }

  .news-hero__visual {
    display: flex;
  }

  .news-layout {
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 0.9fr);
    gap: 40px;
    padding: 40px 0 72px;
    align-items: start;
  }

  .news-stream {
    gap: 32px;
  }

  .news-card--offset-right {
    transform: translateX(28px);
  }

  .news-card--offset-left {
    transform: translateX(-10px);
  }

  .news-card--feature .news-card__title {
    font-size: 2.1rem;
  }

  .news-card__body {
    padding: 22px 26px 30px;
  }

  .news-sidebar {
    position: sticky;
    top: 96px;
  }

  .topic-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 36px;
    align-items: start;
  }

  .news-guides__lead {
    margin-bottom: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-radar__cross {
    animation: none;
  }

  .news-card,
  .topic-point,
  .guide-entry {
    transition: none;
  }
}
