.page-news {
  --news-card-radius: 18px;
  --news-gold-dim: rgba(255, 215, 0, 0.12);
  --news-lime-dim: rgba(57, 255, 20, 0.1);
  background: var(--space-blue);
  color: var(--text);
}

.page-news .news-hero {
  position: relative;
  padding-block: 48px 40px;
}

.page-news .news-hero-grid {
  display: grid;
  gap: 32px;
  margin-top: 28px;
}

.page-news .news-hero-copy .page-title {
  margin: 12px 0 16px;
}

.page-news .news-hero-copy .page-desc {
  max-width: 700px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-news .trust-statement {
  margin-top: 24px;
  padding: 8px 16px;
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--news-gold-dim);
  color: var(--gold);
  font-size: 14px;
  line-height: 1.7;
}

.page-news .news-hero-aside {
  padding: 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(20, 51, 90, 0.75), rgba(11, 29, 58, 0.85));
}

.page-news .news-hero-aside .data-label {
  color: var(--rock-gray);
}

.page-news .news-stats-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.page-news .news-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-news .news-stat .data-score {
  font-family: var(--mono-font);
  font-size: 26px;
  line-height: 1.1;
  color: var(--lime);
}

.page-news .news-stat .data-score--gold {
  color: var(--gold);
}

.page-news .news-stat-label {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.page-news .news-latest,
.page-news .news-category,
.page-news .news-hot,
.page-news .news-subscribe {
  position: relative;
  padding-block: 60px;
}

.page-news .news-section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.page-news .section-note {
  max-width: 440px;
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
}

.page-news .news-timeline {
  display: grid;
  gap: 0;
}

.page-news .timeline-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 20px 0 20px 8px;
  border-left: 2px solid var(--hairline);
  transition: border-color var(--t-base) ease, background var(--t-base) ease;
}

.page-news .timeline-item:hover {
  border-left-color: var(--gold);
  background: linear-gradient(90deg, var(--news-gold-dim), transparent 60%);
}

.page-news .timeline-index {
  font-family: var(--mono-font);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--rock-gray);
  transition: color var(--t-base) ease;
}

.page-news .timeline-item:hover .timeline-index {
  color: var(--gold);
}

.page-news .timeline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.page-news .timeline-cat {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border: 1px solid rgba(57, 255, 20, 0.35);
  border-radius: 999px;
  background: var(--news-lime-dim);
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-news .timeline-date {
  font-family: var(--mono-font);
  font-size: 13px;
  color: var(--text-dim);
}

.page-news .timeline-content {
  min-width: 0;
}

.page-news .timeline-content h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.page-news .timeline-content p {
  max-width: 760px;
  margin: 0 0 14px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.8;
}

.page-news .text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.page-news .text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--t-base) ease;
}

.page-news .text-link:hover::after,
.page-news .text-link:focus-visible::after {
  width: 100%;
}

.page-news .news-category {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(30, 58, 110, 0.85), transparent 55%),
    linear-gradient(150deg, var(--space-lift), var(--space-blue));
}

.page-news .news-category::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(115deg, transparent 31%, rgba(255, 215, 0, 0.045) 31%, rgba(255, 215, 0, 0.045) 32.5%, transparent 32.5%),
    linear-gradient(115deg, transparent 61%, rgba(57, 255, 20, 0.03) 61%, rgba(57, 255, 20, 0.03) 62.5%, transparent 62.5%);
  background-size: 380px 380px;
  pointer-events: none;
}

.page-news .news-category .container {
  position: relative;
  z-index: 1;
}

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

.page-news .filter-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  opacity: 0;
  clip-path: inset(50%);
}

.page-news .filter-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  padding: 2px 2px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.page-news .filter-label {
  flex: 0 0 auto;
  padding: 8px 18px;
  border: 1px solid rgba(57, 255, 20, 0.35);
  border-radius: 999px;
  background: var(--news-lime-dim);
  color: var(--lime);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  user-select: none;
  transition: background var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}

.page-news .filter-label:hover {
  background: rgba(57, 255, 20, 0.12);
}

.page-news .filter-radio[id="cat-all"]:focus-visible ~ .filter-buttons label[for="cat-all"],
.page-news .filter-radio[id="cat-version"]:focus-visible ~ .filter-buttons label[for="cat-version"],
.page-news .filter-radio[id="cat-season"]:focus-visible ~ .filter-buttons label[for="cat-season"],
.page-news .filter-radio[id="cat-guide"]:focus-visible ~ .filter-buttons label[for="cat-guide"],
.page-news .filter-radio[id="cat-insight"]:focus-visible ~ .filter-buttons label[for="cat-insight"] {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.page-news .filter-radio[id="cat-all"]:checked ~ .filter-buttons label[for="cat-all"],
.page-news .filter-radio[id="cat-version"]:checked ~ .filter-buttons label[for="cat-version"],
.page-news .filter-radio[id="cat-season"]:checked ~ .filter-buttons label[for="cat-season"],
.page-news .filter-radio[id="cat-guide"]:checked ~ .filter-buttons label[for="cat-guide"],
.page-news .filter-radio[id="cat-insight"]:checked ~ .filter-buttons label[for="cat-insight"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.22);
}

.page-news .filter-radio[id="cat-version"]:checked ~ .filter-layout .news-card:not(.cat-version),
.page-news .filter-radio[id="cat-season"]:checked ~ .filter-layout .news-card:not(.cat-season),
.page-news .filter-radio[id="cat-guide"]:checked ~ .filter-layout .news-card:not(.cat-guide),
.page-news .filter-radio[id="cat-insight"]:checked ~ .filter-layout .news-card:not(.cat-insight) {
  display: none;
}

.page-news .filter-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-news .news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--news-card-radius);
  background: linear-gradient(145deg, rgba(30, 58, 110, 0.88), rgba(11, 29, 58, 0.78));
  transition: border-color var(--t-fast) ease, transform var(--t-base) ease, background var(--t-base) ease;
}

.page-news .news-card:hover {
  border-color: var(--hairline-gold);
  background: linear-gradient(145deg, rgba(36, 70, 126, 0.95), rgba(13, 35, 68, 0.9));
  transform: translateY(-3px);
}

.page-news .news-card-media {
  position: relative;
  order: -1;
  min-height: 170px;
  overflow: hidden;
  background: var(--nebula);
}

.page-news .news-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .news-card-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px;
}

.page-news .news-card-content h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.5;
}

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

.page-news .news-card-content .text-link {
  margin-top: 6px;
}

.page-news .news-card--flatbar {
  flex-direction: column;
  align-items: stretch;
  padding: 6px;
  background: linear-gradient(120deg, rgba(255, 215, 0, 0.08), rgba(57, 255, 20, 0.03) 40%, rgba(11, 29, 58, 0.75));
}

.page-news .news-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 12px;
  border-radius: calc(var(--news-card-radius) - 8px);
  background: rgba(11, 29, 58, 0.6);
  color: var(--gold);
  font-family: var(--mono-font);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

.page-news .news-hot {
  background: var(--cream);
  color: var(--ink);
}

.page-news .news-hot .section-label {
  color: var(--terra);
}

.page-news .news-hot .section-note {
  color: rgba(10, 14, 26, 0.72);
}

.page-news .news-hot h3 {
  color: var(--ink);
}

.page-news .hot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.page-news .hot-item {
  position: relative;
  padding: 28px 24px 24px;
  border: 1px solid rgba(11, 29, 58, 0.1);
  border-radius: var(--news-card-radius);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(11, 29, 58, 0.05);
  transition: box-shadow var(--t-base) ease, transform var(--t-base) ease;
}

.page-news .hot-item:hover {
  box-shadow: 0 18px 40px rgba(11, 29, 58, 0.16);
  transform: translateY(-4px);
}

.page-news .hot-num {
  display: block;
  margin-bottom: 28px;
  color: rgba(11, 29, 58, 0.09);
  font-family: var(--mono-font);
  font-size: 64px;
  font-weight: 800;
  line-height: 0.9;
  transition: color var(--t-base) ease;
}

.page-news .hot-item:hover .hot-num {
  color: var(--gold);
}

.page-news .hot-copy h3 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.5;
}

.page-news .hot-copy p {
  margin: 0 0 16px;
  color: rgba(10, 14, 26, 0.75);
  font-size: 14px;
  line-height: 1.75;
}

.page-news .hot-copy .text-link {
  color: var(--terra);
}

.page-news .news-subscribe {
  background:
    radial-gradient(ellipse at 85% 20%, rgba(255, 215, 0, 0.1), transparent 45%),
    linear-gradient(140deg, var(--space-blue), var(--space-lift));
}

.page-news .subscribe-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  padding: 28px;
  border: 1px solid var(--hairline-gold);
  border-radius: calc(var(--news-card-radius) + 4px);
  background: rgba(11, 29, 58, 0.55);
}

.page-news .subscribe-copy {
  max-width: 640px;
}

.page-news .subscribe-copy p {
  margin: 0 0 12px;
  color: var(--text-dim);
  line-height: 1.8;
}

.page-news .subscribe-note {
  margin-top: 14px;
  font-size: 13px;
}

.page-news .subscribe-note a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(57, 255, 20, 0.3);
}

.page-news .subscribe-panel .btn-gold {
  flex: 0 0 auto;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

@media (min-width: 680px) {
  .page-news .timeline-item {
    grid-template-columns: 70px minmax(0, 1fr) 90px;
  }

  .page-news .timeline-index {
    font-size: 34px;
  }

  .page-news .timeline-content h3 {
    font-size: 23px;
  }

  .page-news .news-card--flatbar {
    flex-direction: row;
    align-items: center;
  }

  .page-news .news-card-icon {
    flex: 0 0 150px;
    min-height: 88px;
  }
}

@media (min-width: 760px) {
  .page-news .subscribe-panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
  }

  .page-news .subscribe-panel .btn-gold {
    margin-left: 24px;
  }
}

@media (min-width: 768px) {
  .page-news .news-latest,
  .page-news .news-category,
  .page-news .news-hot,
  .page-news .news-subscribe {
    padding-block: 84px;
  }

  .page-news .news-section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
  }
}

@media (min-width: 820px) {
  .page-news .news-card {
    flex-direction: row;
  }

  .page-news .cat-guide,
  .page-news .cat-insight {
    flex-direction: row-reverse;
  }

  .page-news .news-card-media {
    order: 0;
    flex: 0 0 42%;
    min-height: 0;
  }

  .page-news .news-card-content {
    flex: 1 1 58%;
  }

  .page-news .cat-season .news-card-media {
    flex-basis: 48%;
  }

  .page-news .cat-guide .news-card-media {
    flex-basis: 44%;
  }
}

@media (min-width: 900px) {
  .page-news .news-hero {
    padding-block: 64px 56px;
  }

  .page-news .news-hero-grid {
    grid-template-columns: minmax(0, 2.3fr) minmax(260px, 1fr);
    align-items: end;
  }

  .page-news .news-stat .data-score {
    font-size: 32px;
  }

  .page-news .hot-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .page-news .hot-num {
    font-size: 76px;
  }
}

@media (min-width: 960px) {
  .page-news .filter-layout {
    grid-template-columns: 1.4fr 1fr;
    grid-template-areas:
      "season season"
      "guide guide"
      "ver3 insight"
      "ios ios";
  }

  .page-news .cat-season { grid-area: season; }
  .page-news .cat-guide { grid-area: guide; }
  .page-news .cat-version:not(.news-card--flatbar) { grid-area: ver3; }
  .page-news .cat-insight { grid-area: insight; }
  .page-news .news-card--flatbar { grid-area: ios; }

  .page-news .filter-radio[id="cat-season"]:checked ~ .filter-layout .cat-season,
  .page-news .filter-radio[id="cat-guide"]:checked ~ .filter-layout .cat-guide,
  .page-news .filter-radio[id="cat-insight"]:checked ~ .filter-layout .cat-insight,
  .page-news .filter-radio[id="cat-version"]:checked ~ .filter-layout .cat-version {
    grid-area: auto;
    grid-column: 1 / -1;
  }
}
