.page-news {
  --news-time-axis-w: 88px;
  background: var(--cream);
  color: var(--charcoal);
}

.page-news .section {
  scroll-margin-top: calc(var(--header-h) + 88px);
}

.page-news .section--dark {
  background: var(--prairie-green);
  color: var(--light-mint);
}

.page-news .section--deep {
  background: var(--deep-bluegreen);
  color: var(--light-mint);
}

.page-news .section--light {
  background: var(--light-mint);
  color: var(--charcoal);
}

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

/* ---------- Hero ---------- */
.page-news .news-hero {
  position: relative;
  background: var(--deep-bluegreen);
  color: var(--cream);
}

.page-news .news-hero__visual {
  position: relative;
  min-height: 230px;
  overflow: hidden;
}

.page-news .news-hero__img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.page-news .news-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(10, 35, 66, 0.22) 0%, rgba(10, 35, 66, 0.5) 42%, rgba(11, 61, 46, 0.96) 100%);
}

.page-news .news-hero__inner {
  position: relative;
  z-index: 2;
  margin-top: -128px;
  padding-bottom: 38px;
}

.page-news .news-hero .breadcrumb__link {
  color: var(--light-mint);
  text-decoration: none;
}

.page-news .news-hero .breadcrumb__link:hover {
  color: var(--fluoro-yellow);
}

.page-news .news-hero .breadcrumb__sep {
  color: var(--fluoro-yellow);
}

.page-news .news-hero .breadcrumb__current {
  color: var(--fluoro-yellow);
}

.page-news .news-hero__kicker {
  color: var(--fluoro-yellow);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  margin: 14px 0 4px;
}

.page-news .news-hero h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 760px;
  margin: 0 0 14px;
}

.page-news .news-hero__lead {
  max-width: 640px;
  color: var(--light-mint);
  font-size: 0.98rem;
  line-height: 1.75;
  margin: 0 0 18px;
}

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

/* ---------- Ruler ---------- */
.page-news .news-ruler {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: var(--fluoro-yellow);
  color: var(--charcoal);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  overflow: hidden;
  white-space: nowrap;
}

.page-news .news-ruler__tick {
  width: 8px;
  height: 8px;
  background: var(--charcoal);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.page-news .news-ruler__line {
  height: 2px;
  background: rgba(26, 26, 26, 0.42);
  flex: 1 1 auto;
  min-width: 20px;
}

/* ---------- Sticky jump nav ---------- */
.page-news .news-jump {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: var(--prairie-green);
  box-shadow: 0 10px 28px rgba(5, 25, 20, 0.24);
}

.page-news .news-jump__inner {
  display: flex;
  gap: 6px;
  padding-block: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.page-news .news-jump__link {
  color: var(--light-mint);
  text-decoration: none;
  padding: 8px 14px;
  font-size: 0.82rem;
  border-left: 2px solid var(--lime);
  flex: 0 0 auto;
  transition: color 0.24s, background 0.24s;
}

.page-news .news-jump__link:hover {
  background: rgba(167, 209, 41, 0.14);
  color: var(--fluoro-yellow);
}

/* ---------- Section head ---------- */
.page-news .news-head {
  display: grid;
  gap: 4px;
  margin-bottom: 30px;
}

.page-news .section--dark .section-title__meta,
.page-news .section--deep .section-title__meta {
  color: var(--fluoro-yellow);
}

.page-news .section--light .section-title__meta {
  color: var(--prairie-green);
  font-weight: 700;
}

.page-news .news-head .section-title {
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  font-weight: 900;
  line-height: 1.16;
}

.page-news .section-head__desc {
  max-width: 640px;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-top: 8px;
}

/* ---------- Latest updates / time axis ---------- */
.page-news .news-feed {
  position: relative;
  padding-left: 26px;
}

.page-news .news-feed::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 20px;
  bottom: 32px;
  width: 3px;
  background: var(--lime);
  transform: skewX(-14deg);
}

.page-news .news-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 20px 0 28px;
}

.page-news .news-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 42px;
  width: 11px;
  height: 11px;
  background: var(--fluoro-yellow);
  transform: rotate(45deg);
  border: 2px solid var(--prairie-green);
}

.page-news .news-item__rail {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-news .news-item__index {
  color: var(--fluoro-yellow);
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--lime);
}

.page-news .news-item__body {
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--lime);
  clip-path: var(--clip-corner-sm);
}

.page-news .news-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.page-news .news-item__title {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--cream);
  margin-bottom: 8px;
}

.page-news .news-item__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--light-mint);
}

.page-news .news-item__detail {
  margin-top: 10px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--light-mint);
}

.page-news .news-item__detail summary {
  list-style: none;
  cursor: pointer;
  color: var(--fluoro-yellow);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

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

.page-news .news-item__detail summary::before {
  content: "+";
  margin-right: 6px;
  color: var(--fluoro-yellow);
}

.page-news .news-item__detail[open] summary::before {
  content: "−";
}

.page-news .news-item__detail p {
  margin-top: 8px;
}

.page-news .news-item__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.page-news .news-item__permalink {
  color: var(--fluoro-yellow);
  font-size: 0.78rem;
  text-decoration: none;
}

.page-news .news-item__permalink:hover {
  text-decoration: underline;
}

/* ---------- Replays ---------- */
.page-news .news-replays__grid {
  display: grid;
  gap: 32px;
}

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

.page-news .news-replays__card {
  padding: 20px;
}

.page-news .news-replays__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-news .news-replays__card-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--charcoal);
  margin: 14px 0 6px;
}

.page-news .news-replays__card-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 16px;
}

/* ---------- Tabs ---------- */
.page-news .news-tabs__list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

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

.page-news .news-tabs__btn {
  flex: 0 0 auto;
  appearance: none;
  border: 0;
  background: rgba(214, 240, 226, 0.14);
  color: var(--light-mint);
  padding: 10px 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  clip-path: var(--clip-corner-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-news .news-tabs__btn .mono-text {
  font-size: 0.74rem;
  color: var(--fluoro-yellow);
}

.page-news .news-tabs__btn.is-active {
  background: var(--fluoro-yellow);
  color: var(--charcoal);
}

.page-news .news-tabs__btn.is-active .mono-text {
  color: var(--charcoal);
}

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

.page-news .news-tabs__panel + .news-tabs__panel {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(214, 240, 226, 0.22);
}

/* ---------- Replay list ---------- */
.page-news .replay-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-news .replay-list__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.06);
  clip-path: var(--clip-corner-sm);
  border-top: 2px solid var(--lime);
}

.page-news .replay-list__num {
  color: var(--fluoro-yellow);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.page-news .replay-list__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.page-news .replay-list__title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--cream);
  margin: 0 0 6px;
}

.page-news .replay-list__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--light-mint);
  margin: 0;
}

.page-news .replay-list__meta {
  color: var(--fluoro-yellow);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  margin-top: 8px;
}

/* ---------- Feedback ---------- */
.page-news .news-feedback__grid {
  display: grid;
  gap: 28px;
}

.page-news .feedback-wrap {
  padding: 20px;
  overflow-x: auto;
}

.page-news .feedback-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.page-news .feedback-table th,
.page-news .feedback-table td {
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(214, 240, 226, 0.16);
}

.page-news .feedback-table th {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--fluoro-yellow);
}

.page-news .feedback-table td {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--light-mint);
}

.page-news .news-feedback__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.page-news .news-feedback__art {
  align-self: start;
}

.page-news .news-feedback__art .clip-panel {
  padding: 16px;
}

.page-news .news-feedback__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page-news .news-feedback__caption {
  margin-top: 10px;
  color: var(--charcoal);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
}

/* ---------- Subscribe & export ---------- */
.page-news .news-subscribe__grid {
  display: grid;
  gap: 24px;
  margin-bottom: 28px;
}

.page-news .subscribe-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-news .subscribe-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.page-news .subscribe-card__icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  color: var(--fluoro-yellow);
  font-weight: 900;
  clip-path: var(--clip-corner-sm);
}

.page-news .subscribe-card h3 {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--charcoal);
  margin: 0;
}

.page-news .subscribe-card__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 14px;
}

.page-news .subscribe-card__list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-news .subscribe-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--charcoal);
}

.page-news .subscribe-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  background: var(--hot-red);
  transform: rotate(45deg);
}

.page-news .subscribe-card .btn {
  margin-top: auto;
}

.page-news .news-subscribe__visual .image-frame__img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- Desktop ---------- */
@media (min-width: 720px) {
  .page-news .news-hero {
    min-height: 520px;
    display: flex;
    align-items: flex-end;
  }

  .page-news .news-hero__visual {
    position: absolute;
    inset: 0;
    min-height: 0;
  }

  .page-news .news-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .page-news .news-hero__shade {
    background: linear-gradient(100deg, rgba(10, 35, 66, 0.94) 0%, rgba(10, 35, 66, 0.62) 40%, rgba(11, 61, 46, 0.14) 100%);
  }

  .page-news .news-hero__inner {
    margin-top: 0;
    width: 100%;
    padding-bottom: 54px;
  }

  .page-news .news-ruler {
    padding-inline: 32px;
  }

  .page-news .news-feed {
    padding-left: 0;
  }

  .page-news .news-feed::before {
    left: var(--news-time-axis-w);
  }

  .page-news .news-item {
    grid-template-columns: 120px 1fr;
    gap: 32px;
    padding: 28px 0 36px;
  }

  .page-news .news-item::before {
    left: calc(var(--news-time-axis-w) - 5px);
    top: 60px;
  }

  .page-news .news-item__rail {
    justify-content: flex-start;
  }

  .page-news .news-replays__grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }

  .page-news .news-replays__aside {
    order: 2;
  }

  .page-news .replay-list__item {
    grid-template-columns: 72px 1fr auto;
    align-items: start;
    gap: 18px;
  }

  .page-news .replay-list__meta {
    text-align: right;
    margin-top: 0;
  }

  .page-news .news-feedback__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    align-items: start;
  }

  .page-news .news-subscribe__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (min-width: 960px) {
  .page-news .news-replays__main .news-tabs__list {
    flex-wrap: wrap;
  }
}
