.page-news {
  --news-card-bg: #0B1530;
  --news-border: 2px solid rgba(192, 192, 192, 0.4);
  --news-border-soft: 2px solid rgba(192, 192, 192, 0.22);
  --news-radius: 6px;
  position: relative;
  background:
    radial-gradient(1100px 420px at 88% -8%, rgba(255, 77, 0, 0.14), transparent 60%),
    radial-gradient(900px 520px at -12% 24%, rgba(43, 58, 103, 0.65), transparent 65%),
    var(--deep-space-blue);
  color: var(--plasma-white);
  overflow-x: clip;
}

.page-news::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(125deg, transparent 32%, rgba(192, 192, 192, 0.05) 32.2%, transparent 32.5%),
    linear-gradient(125deg, transparent 72%, rgba(255, 77, 0, 0.04) 72.2%, transparent 72.6%);
}

.page-news .news-hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5.5rem) 0 1.5rem;
  border-top: 4px solid var(--cosmic-orange-red);
}

.page-news .news-hero::after {
  content: "UPDATES";
  position: absolute;
  right: 0;
  bottom: -0.12em;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-data);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(4rem, 13vw, 11rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(192, 192, 192, 0.16);
}

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

.page-news .news-hero-title {
  margin: 0.6rem 0 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 10em;
}

.page-news .news-hero-lead {
  max-width: 38em;
  margin: 0;
  color: var(--muted-blue);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.85;
}

.page-news .news-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.75rem;
}

.page-news .news-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(192, 192, 192, 0.35);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-family: var(--font-data);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--metallic-silver);
  background: rgba(11, 21, 48, 0.55);
}

.page-news a.news-chip {
  text-decoration: none;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.page-news a.news-chip:hover {
  color: var(--cosmic-orange-red);
  border-color: var(--cosmic-orange-red);
  transform: translateY(-2px);
}

.page-news .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
}

.page-news .section-kicker::before {
  content: "";
  width: 26px;
  height: 4px;
  flex: none;
  background: var(--cosmic-orange-red);
  transform: skewX(-20deg);
}

.page-news .section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  margin-top: 0.35rem;
}

.page-news .section-sub {
  color: var(--muted-blue);
  max-width: 34em;
  line-height: 1.7;
}

.page-news .latest-grid {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

.page-news .latest-feature {
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, rgba(43, 58, 103, 0.25), rgba(11, 21, 48, 0.92) 45%);
  border: var(--news-border);
  border-radius: var(--news-radius);
  box-shadow: var(--shadow-lg);
  padding: 0.4rem;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.page-news .latest-feature:hover {
  border-color: var(--cosmic-orange-red);
  transform: translateY(-5px);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.5);
}

.page-news .latest-feature-media {
  overflow: hidden;
  border-radius: 4px;
}

.page-news .latest-feature-media img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.45s ease;
}

.page-news .latest-feature:hover .latest-feature-media img {
  transform: scale(1.03);
}

.page-news .latest-feature-body {
  flex: 1;
  padding: 1.65rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.page-news .latest-feature-title {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  font-weight: 800;
  font-family: var(--font-body);
}

.page-news .latest-feature-excerpt {
  margin: 0;
  color: var(--muted-blue);
  font-size: 1rem;
  line-height: 1.85;
}

.page-news .latest-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

.page-news .latest-side {
  display: grid;
  gap: 1rem;
}

.page-news .latest-side-item {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem 1.45rem;
  background: rgba(11, 21, 48, 0.85);
  border: var(--news-border-soft);
  border-left: 5px solid var(--cosmic-orange-red);
  border-radius: 0 4px 4px 0;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.page-news .latest-side-item:hover {
  background: var(--news-card-bg);
  border-color: rgba(192, 192, 192, 0.55);
  border-left-color: var(--cosmic-orange-red);
  transform: translateX(6px);
}

.page-news .latest-side-item h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-news .latest-side-item h3 a {
  color: var(--plasma-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news .latest-side-item h3 a:hover {
  color: var(--cosmic-orange-red);
}

.page-news .latest-side-item p {
  margin: 0;
  color: var(--muted-blue);
  font-size: 0.94rem;
  line-height: 1.75;
}

.page-news .news-category {
  position: relative;
  border-top: 2px solid rgba(192, 192, 192, 0.15);
  border-bottom: 2px solid rgba(192, 192, 192, 0.15);
  background: linear-gradient(180deg, rgba(13, 25, 55, 0.55), rgba(10, 17, 40, 0.2));
}

.page-news .filter-board {
  position: relative;
}

.page-news .filter-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-news .filter-radio + .filter-label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding: 0.55rem 1.15rem;
  border: 2px solid rgba(192, 192, 192, 0.38);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--metallic-silver);
  background: rgba(10, 17, 40, 0.6);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  user-select: none;
}

.page-news .filter-radio + .filter-label:hover {
  border-color: var(--cosmic-orange-red);
  color: var(--plasma-white);
  transform: translateY(-2px);
}

.page-news .filter-radio:checked + .filter-label {
  background: var(--gradient-sport);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(255, 77, 0, 0.28);
}

.page-news .article-board {
  border-top: 2px solid rgba(192, 192, 192, 0.18);
}

.page-news .filter-board > .article-board {
  display: flex;
  flex-direction: column;
}

.page-news .article-row {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.6rem 0.25rem;
  border-bottom: 2px solid rgba(192, 192, 192, 0.18);
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.page-news .article-row:hover {
  background: rgba(13, 25, 55, 0.55);
  border-color: rgba(192, 192, 192, 0.35);
  transform: translateX(6px);
}

.page-news .article-row-index {
  min-width: 3rem;
  font-family: var(--font-data);
  font-weight: 900;
  font-size: 1.9rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--muted-blue);
  transition: -webkit-text-stroke-color 0.3s ease;
}

.page-news .article-row:hover .article-row-index {
  -webkit-text-stroke-color: var(--cosmic-orange-red);
}

.page-news .article-row-body {
  flex: 1;
  min-width: 0;
}

.page-news .article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.page-news .article-cat {
  display: inline-block;
  background: rgba(255, 77, 0, 0.14);
  color: var(--cosmic-orange-red);
  border: 1px solid rgba(255, 77, 0, 0.45);
  padding: 0.16rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.04em;
  border-radius: 3px;
}

.page-news .article-cat-sub {
  background: rgba(192, 192, 192, 0.12);
  color: var(--metallic-silver);
  border-color: rgba(192, 192, 192, 0.35);
}

.page-news .article-date {
  color: var(--muted-blue);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.page-news .article-row-body h3 {
  margin: 0.4rem 0 0.35rem;
  font-size: 1.22rem;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-news .article-row-body p {
  margin: 0;
  color: var(--muted-blue);
  font-size: 0.95rem;
  line-height: 1.75;
}

.page-news .article-row-body p a {
  color: var(--cosmic-orange-red);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 77, 0, 0.4);
  transition: border-color 0.3s ease;
}

.page-news .article-row-body p a:hover {
  border-bottom-color: var(--cosmic-orange-red);
}

.page-news .article-row-media {
  flex-direction: column;
}

.page-news .article-row-media .article-row-index {
  order: 1;
  margin-bottom: 0.5rem;
}

.page-news .article-row-media .article-row-media-frame {
  order: 2;
  width: 100%;
  flex: none;
  margin-bottom: 0.75rem;
}

.page-news .article-row-media .article-row-body {
  order: 3;
  width: 100%;
  flex: none;
}

.page-news .article-row-media-frame {
  overflow: hidden;
  border: 2px solid rgba(192, 192, 192, 0.3);
  border-radius: 4px;
  background: var(--news-card-bg);
}

.page-news .article-row-media-frame img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.45s ease;
}

.page-news .article-row-media:hover .article-row-media-frame img {
  transform: scale(1.04);
}

.page-news .filter-radio:checked ~ .article-board .article-row {
  display: none;
}

.page-news #filter-all:checked ~ .article-board .article-row {
  display: flex;
}

.page-news #filter-calendar:checked ~ .article-board .article-row[data-category="calendar"] {
  display: flex;
}

.page-news #filter-version:checked ~ .article-board .article-row[data-category="version"] {
  display: flex;
}

.page-news #filter-rule:checked ~ .article-board .article-row[data-category="rule"] {
  display: flex;
}

.page-news #filter-data:checked ~ .article-board .article-row[data-category="data"] {
  display: flex;
}

.page-news .timeline-banner-frame {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(192, 192, 192, 0.32);
  border-radius: var(--news-radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
}

.page-news .timeline-banner-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .timeline-board {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

.page-news .timeline-rail {
  display: none;
}

.page-news .timeline-item {
  position: relative;
  background: linear-gradient(160deg, rgba(43, 58, 103, 0.18), rgba(11, 21, 48, 0.92) 65%);
  border: var(--news-border);
  border-radius: var(--news-radius);
  padding: 1.6rem 1.5rem 1.4rem;
  box-shadow: var(--shadow-lg);
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.page-news .timeline-item:hover {
  border-color: var(--cosmic-orange-red);
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.5);
}

.page-news .timeline-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.9rem;
  border-bottom: 2px dashed rgba(192, 192, 192, 0.28);
}

.page-news .timeline-version {
  font-family: var(--font-data);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--cosmic-orange-red);
  letter-spacing: -0.02em;
}

.page-news .timeline-status {
  display: inline-block;
  padding: 0.22rem 0.7rem;
  border: 1px solid rgba(192, 192, 192, 0.35);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--metallic-silver);
  white-space: nowrap;
}

.page-news .timeline-item-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 800;
}

.page-news .timeline-item-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .timeline-item-body li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--muted-blue);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0.35rem;
}

.page-news .timeline-item-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background: var(--cosmic-orange-red);
  border-radius: 1px;
  transform: rotate(45deg);
}

@media (min-width: 768px) {
  .page-news .latest-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  }

  .page-news .article-row {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .page-news .article-row-media {
    flex-direction: row;
    align-items: flex-start;
  }

  .page-news .article-row-media .article-row-index {
    order: 1;
    margin-bottom: 0;
  }

  .page-news .article-row-media .article-row-media-frame {
    order: 2;
    width: 230px;
    flex: 0 0 230px;
    margin-bottom: 0;
  }

  .page-news .article-row-media .article-row-body {
    order: 3;
    width: auto;
    flex: 1;
  }

  .page-news .timeline-banner-frame {
    aspect-ratio: 21 / 9;
  }
}

@media (min-width: 1024px) {
  .page-news .timeline-board {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .page-news .timeline-rail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column: 1 / -1;
    position: relative;
    height: 36px;
    margin-bottom: -0.25rem;
  }

  .page-news .timeline-rail-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
  }

  .page-news .timeline-rail-dot {
    position: relative;
    z-index: 1;
    width: 16px;
    height: 16px;
    background: var(--deep-space-blue);
    border: 4px solid var(--cosmic-orange-red);
    border-radius: 50%;
    justify-self: center;
    align-self: center;
    box-shadow: 0 0 0 4px rgba(255, 77, 0, 0.14);
    transition: border-color 0.3s ease, background 0.3s ease;
  }

  .page-news .timeline-rail-dot:nth-of-type(2),
  .page-news .timeline-rail-dot:nth-of-type(3) {
    border-color: var(--metallic-silver);
  }
}
