.page-news {
  --news-text-dim: #BCC7DB;
  --news-text-mute: #8A94A6;
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 24px 16px 0;
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(255, 107, 53, 0.10), transparent 60%),
    linear-gradient(170deg, var(--color-navy-deep) 0%, var(--color-navy) 55%, var(--color-navy-deep) 100%);
  color: var(--color-white);
}

.page-news .breadcrumbs-link {
  color: var(--color-silver);
}

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

.page-news .news-masthead {
  margin: 0 0 22px;
  padding: calc(16px + 1.2vw) 0 18px;
  border-bottom: 1px solid rgba(30, 58, 110, 0.8);
}

.page-news .news-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange);
  border: 1px solid rgba(255, 107, 53, 0.4);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  margin-bottom: 14px;
}

.page-news .news-masthead h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
  max-width: 11em;
}

.page-news .news-lead {
  font-size: clamp(0.98rem, 1.4vw, 1.2rem);
  color: var(--news-text-dim);
  margin: 0 0 16px;
  line-height: 1.7;
  max-width: 46em;
}

.page-news .news-version-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.35);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.page-news .news-version-label {
  font-size: 0.78rem;
  color: var(--color-silver);
}

.page-news .news-version-value {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-orange);
  font-size: 0.95rem;
}

.page-news .news-version-name {
  font-size: 0.85rem;
  color: var(--color-white);
}

.page-news .news-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 4px;
}

.page-news .news-sidebar {
  order: 1;
}

.page-news .news-sidebar-inner {
  background:
    linear-gradient(135deg, rgba(19, 43, 90, 0.88), rgba(10, 31, 68, 0.94)),
    var(--color-navy-offset);
  border: 1px solid var(--color-navy-line);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.page-news .news-sidebar-heading {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--color-silver);
  margin-bottom: 14px;
}

.page-news .news-sidebar-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .news-sidebar-link {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  color: var(--color-white);
  text-decoration: none;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.28s ease, border-color 0.28s ease, color 0.28s ease;
}

.page-news .news-sidebar-link:hover {
  border-color: var(--color-navy-line);
  background: rgba(255, 255, 255, 0.07);
}

.page-news .news-sidebar-link.is-active {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-navy);
  font-weight: 600;
}

.page-news .news-sidebar-note {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--color-slate);
  border-top: 1px solid rgba(192, 192, 192, 0.15);
  padding-top: 14px;
}

.page-news .news-main {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-news .news-rail {
  order: 3;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-news .news-section,
.page-news .news-rail-card {
  background: linear-gradient(135deg, rgba(19, 43, 90, 0.88) 0%, rgba(10, 31, 68, 0.94) 100%);
  border: 1px solid var(--color-navy-line);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: 0 18px 38px rgba(4, 10, 28, 0.25);
  scroll-margin-top: 20px;
}

.page-news .news-post {
  scroll-margin-top: 20px;
}

.page-news .news-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.page-news .news-section-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.page-news .news-section-code {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-orange);
}

.page-news .news-section-title h2,
.page-news .news-rail-card h2,
.page-news .news-subscribe h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin: 0;
}

.page-news .news-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-silver);
  border: 1px solid var(--color-navy-line);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  white-space: nowrap;
}

.page-news .news-hotmark {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-orange);
  border: 1px solid rgba(255, 107, 53, 0.4);
  background: rgba(255, 107, 53, 0.1);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  white-space: nowrap;
}

.page-news .news-section-media {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 0 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-news .news-section-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--news-text-dim);
  margin: -4px 0 18px;
  max-width: 46em;
}

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

.page-news .news-post {
  position: relative;
  padding: 12px 0 12px 20px;
  border-left: 2px solid var(--color-navy-line);
  margin-left: 6px;
}

.page-news .news-post::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

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

.page-news .news-post-cat {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.page-news .cat-review {
  color: #FFC09E;
  background: rgba(255, 107, 53, 0.16);
  border: 1px solid rgba(255, 107, 53, 0.28);
}

.page-news .cat-schedule {
  color: #9CE0D6;
  background: rgba(42, 157, 143, 0.14);
  border: 1px solid rgba(42, 157, 143, 0.25);
}

.page-news .cat-version {
  color: #F1D38A;
  background: rgba(233, 196, 106, 0.14);
  border: 1px solid rgba(233, 196, 106, 0.25);
}

.page-news .cat-feature {
  color: #D4DDF0;
  background: rgba(30, 58, 110, 0.5);
  border: 1px solid rgba(192, 192, 192, 0.22);
}

.page-news .cat-league {
  color: #C7D6F2;
  background: rgba(30, 58, 110, 0.4);
  border: 1px solid rgba(192, 192, 192, 0.16);
}

.page-news .news-post-time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-slate);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-news .news-post-title {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  margin: 0 0 8px;
}

.page-news .news-post-details {
  margin: 0;
}

.page-news .news-post-details summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-silver);
  cursor: pointer;
  list-style: none;
  padding: 6px 12px;
  border: 1px solid var(--color-navy-line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.28s, color 0.28s;
  max-width: max-content;
}

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

.page-news .news-post-details summary::before {
  content: "+";
  color: var(--color-orange);
  font-weight: 700;
}

.page-news .news-post-details[open] summary::before {
  content: "–";
}

.page-news .news-post-details[open] summary {
  color: var(--color-white);
  border-color: rgba(255, 107, 53, 0.5);
}

.page-news .news-post-details p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--news-text-dim);
  margin: 12px 0 0;
  max-width: 56em;
}

.page-news .replay-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 4px;
}

.page-news .replay-card {
  background: rgba(7, 23, 49, 0.55);
  border: 1px solid var(--color-navy-line);
  border-radius: var(--radius-md);
  padding: 18px;
  position: relative;
}

.page-news .replay-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.page-news .replay-rank {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--color-orange);
  border: 1px solid rgba(255, 107, 53, 0.35);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
}

.page-news .replay-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #F1D38A;
  background: rgba(233, 196, 106, 0.12);
  border-radius: var(--radius-pill);
  padding: 3px 8px;
}

.page-news .replay-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.4;
  margin: 0 0 8px;
}

.page-news .replay-card p {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--news-text-dim);
  margin: 0;
}

.page-news .version-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.page-news .version-timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--color-navy-line);
}

.page-news .version-item {
  position: relative;
  padding: 0 0 18px 26px;
}

.page-news .version-item:last-child {
  padding-bottom: 0;
}

.page-news .version-marker {
  position: absolute;
  left: 0;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-navy);
  border: 3px solid var(--color-orange);
}

.page-news .version-item.current .version-marker {
  background: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.25);
}

.page-news .version-block {
  background: rgba(7, 23, 49, 0.45);
  border: 1px solid rgba(30, 58, 110, 0.7);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.page-news .version-no {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-orange);
  letter-spacing: 0.05em;
  margin-right: 8px;
}

.page-news .version-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--color-white);
  letter-spacing: 0.04em;
}

.page-news .version-block p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--news-text-dim);
  margin: 6px 0 0;
}

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

.page-news .league-card {
  background: rgba(7, 23, 49, 0.55);
  border: 1px solid var(--color-navy-line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.page-news .league-card h3 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--color-white);
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-news .league-card h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-orange);
  flex: none;
}

.page-news .league-card p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--news-text-dim);
  margin: 0;
}

.page-news .news-more-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.page-news .news-subscribe {
  background: linear-gradient(135deg, var(--color-orange) 0%, #E85B27 100%);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.4vw, 28px);
  color: var(--color-navy);
  border: none;
  position: relative;
  overflow: hidden;
}

.page-news .news-subscribe::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -36px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.page-news .news-subscribe .news-section-code {
  color: var(--color-navy);
  opacity: 0.65;
}

.page-news .news-subscribe h2 {
  font-size: 1.3rem;
  margin: 0 0 10px;
}

.page-news .news-subscribe p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(10, 31, 68, 0.85);
  margin: 0 0 18px;
}

.page-news .news-subscribe .button {
  background: var(--color-navy);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 1;
}

.page-news .news-subscribe .button:hover {
  background: var(--color-navy-deep);
  color: var(--color-orange);
  box-shadow: none;
  transform: translateY(-1px);
}

@media (min-width: 700px) {
  .page-news .league-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-news .replay-stack {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .page-news .news-layout {
    grid-template-columns: 190px minmax(0, 1fr) 300px;
    gap: 24px;
  }

  .page-news .news-sidebar-list {
    flex-direction: column;
  }

  .page-news .news-main {
    gap: 24px;
  }

  .page-news .news-rail {
    gap: 24px;
  }
}

@media (min-width: 1200px) {
  .page-news .news-sidebar-inner {
    position: sticky;
    top: 20px;
  }
}
