.page-news {
  --news-text: #F7F1E5;
  --news-muted: rgba(247, 241, 229, 0.72);
  --news-line: rgba(255, 255, 255, 0.15);
  --news-gold: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  position: relative;
  overflow-x: hidden;
  background: var(--primary-bg);
  color: var(--news-text);
}
.page-news a {
  color: inherit;
}
.page-news .container {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--page-pad);
}
.page-news .section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-start);
  margin-bottom: 10px;
}
.page-news .section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.25;
  margin: 8px 0 12px;
}
.page-news .section-subtitle {
  color: var(--news-muted);
  max-width: 62ch;
  line-height: 1.75;
  margin: 0;
}
.page-news .breadcrumb {
  padding: 0 0 22px;
  font-size: 0.875rem;
  color: var(--news-muted);
}
.page-news .breadcrumb a {
  color: var(--news-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.page-news .breadcrumb a:hover {
  color: var(--gold-start);
}
.page-news .breadcrumb-separator {
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.3);
}
.page-news .breadcrumb [aria-current="page"] {
  color: var(--gold-start);
}
.page-news .btn {
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  padding: 10px 22px;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.page-news .btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--news-text);
}
.page-news .btn-outline:hover {
  border-color: var(--gold-start);
  color: var(--gold-start);
}
.page-news .btn-primary {
  background: var(--news-gold);
  color: var(--ink-text);
}

.page-news__hero {
  padding: 24px 0 72px;
  position: relative;
}
.page-news__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 20%, rgba(245, 194, 66, 0.16), transparent 46%),
    radial-gradient(circle at 85% 80%, rgba(0, 229, 255, 0.08), transparent 38%);
  pointer-events: none;
}
.page-news__hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
}
.page-news__hero-copy {
  max-width: 660px;
}
.page-news__hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}
.page-news__hero-lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--news-muted);
  max-width: 56ch;
  margin-bottom: 28px;
}
.page-news__hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.page-news__hero-icon {
  display: block;
  width: min(200px, 62vw);
  height: auto;
  margin-top: 8px;
  border-radius: var(--radius-lg);
}
.page-news__hero-track {
  display: none;
}

.page-news__weekly {
  padding-top: 24px;
}
.page-news__weekly .section-header {
  margin-bottom: 32px;
}
.page-news__weekly-card {
  background: var(--cream-surface);
  color: var(--ink-text);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: grid;
}
.page-news__weekly-media img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.page-news__weekly-body {
  padding: 32px;
}
.page-news__weekly-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 4px 0 12px;
}
.page-news__weekly-body p {
  line-height: 1.75;
}
.page-news__weekly-points {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.page-news__weekly-points li {
  position: relative;
  padding-left: 24px;
}
.page-news__weekly-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--news-gold);
}

.page-news__rules {
  position: relative;
}
.page-news__rules-grid {
  display: grid;
  gap: 44px;
}
.page-news__rules-intro .section-header {
  margin-bottom: 24px;
}
.page-news__rules-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  margin-bottom: 16px;
  object-fit: cover;
}
.page-news__rules-note {
  color: var(--news-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.7;
}
.page-news__rules-list {
  display: grid;
  gap: 16px;
  align-content: start;
}
.page-news__rules-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--news-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.page-news__rules-item:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 194, 66, 0.5);
}
.page-news__rules-item .chip {
  margin-bottom: 10px;
}
.page-news__rules-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 8px 0;
}
.page-news__rules-item p {
  color: var(--news-muted);
  line-height: 1.7;
  margin: 0;
}

.page-news__timeline {
  position: relative;
  padding: 72px 0;
}
.page-news__timeline-bg {
  position: absolute;
  top: 80px;
  right: 0;
  width: 170px;
  height: auto;
  object-fit: contain;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
  border-radius: var(--radius-xl);
}
.page-news__timeline .container {
  position: relative;
  z-index: 1;
}
.page-news .legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 28px 0 0;
}
.page-news .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--news-muted);
}
.page-news .legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.page-news .legend-dot--gold {
  background: var(--gold-start);
}
.page-news .legend-dot--purple {
  background: var(--purple-highlight);
}
.page-news .legend-dot--cyan {
  background: var(--cyan-accent);
}
.page-news .legend-dot--security {
  background: var(--red-orange);
}
.page-news__timeline-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 12px;
}
.page-news__tool-filter {
  display: inline-block;
  color: var(--news-text);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--news-line);
  font-size: 0.875rem;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.page-news__tool-filter:hover,
.page-news__tool-filter:focus-visible {
  border-color: var(--gold-start);
  color: var(--gold-start);
  background: rgba(245, 194, 66, 0.08);
}
.page-news__filter-anchor {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.page-news .timeline {
  position: relative;
  margin: 24px 0 0;
  padding-left: 24px;
  border-left: 2px solid rgba(245, 194, 66, 0.25);
}
.page-news .timeline-item {
  position: relative;
  margin-bottom: 28px;
  display: block;
}
.page-news .timeline-item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 26px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-start);
  box-shadow: 0 0 0 5px rgba(245, 194, 66, 0.12);
}
.page-news .timeline-item.tag-security::before {
  background: var(--red-orange);
  box-shadow: 0 0 0 5px rgba(232, 93, 47, 0.14);
}
.page-news .timeline-item.tag-rule::before {
  background: var(--cyan-accent);
  box-shadow: 0 0 0 5px rgba(0, 229, 255, 0.12);
}
.page-news .timeline-item.tag-feature::before {
  background: var(--purple-highlight);
  box-shadow: 0 0 0 5px rgba(155, 89, 182, 0.14);
}
.page-news .timeline-date {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--news-muted);
  margin-bottom: 8px;
}
.page-news .timeline-content {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--news-line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.page-news .timeline-content .chip {
  margin-bottom: 10px;
}
.page-news .timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.4;
  margin: 8px 0 8px;
}
.page-news .timeline-summary {
  color: var(--news-muted);
  line-height: 1.7;
  margin: 0;
}
.page-news .chip--security {
  background: rgba(232, 93, 47, 0.18);
  color: #FF9D70;
  border-color: rgba(232, 93, 47, 0.3);
}
.page-news__expand {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold-start);
  text-decoration: none;
  font-size: 0.875rem;
}
.page-news__expand::after {
  content: "→";
  margin-left: 6px;
  transition: transform 0.25s ease;
}
.page-news__expand:hover::after {
  transform: translateX(4px);
}
.page-news__detail {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--news-line);
  color: var(--news-text);
  line-height: 1.75;
}
.page-news .timeline-item:target .page-news__detail {
  display: block;
}
.page-news .timeline-item:target .page-news__expand {
  display: none;
}
.page-news #filter-version:target ~ .timeline .timeline-item:not(.tag-version),
.page-news #filter-feature:target ~ .timeline .timeline-item:not(.tag-feature),
.page-news #filter-rule:target ~ .timeline .timeline-item:not(.tag-rule),
.page-news #filter-security:target ~ .timeline .timeline-item:not(.tag-security) {
  display: none;
}

.page-news__subscribe {
  padding: 72px 0 96px;
}
.page-news__subscribe-inner {
  background: linear-gradient(135deg, rgba(28, 44, 84, 0.96), rgba(11, 27, 61, 0.98));
  border: 1px solid var(--news-line);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: grid;
  gap: 40px;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}
.page-news__subscribe-inner::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 194, 66, 0.18), transparent 70%);
  pointer-events: none;
}
.page-news__subscribe-text {
  position: relative;
  z-index: 1;
}
.page-news__subscribe-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.page-news__subscribe-list li {
  position: relative;
  padding-left: 28px;
  color: var(--news-text);
  line-height: 1.6;
}
.page-news__subscribe-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--news-gold);
}
.page-news__subscribe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-news__subscribe-note {
  color: var(--news-muted);
  font-size: 0.85rem;
  margin-top: 20px;
}
.page-news__subscribe-rhythm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.page-news__rhythm-card {
  width: 68px;
  height: 92px;
  background: var(--cream-surface);
  color: var(--ink-text);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.25s ease;
}
.page-news__rhythm-card--1 {
  --tilt: -5deg;
}
.page-news__rhythm-card--2 {
  --tilt: 3deg;
}
.page-news__rhythm-card--3 {
  --tilt: -2deg;
}
.page-news__rhythm-card--4 {
  --tilt: 5deg;
}
.page-news__rhythm-card--5 {
  --tilt: -3deg;
}
.page-news__rhythm-card:hover {
  transform: rotate(0deg) translateY(-6px);
}

@media (min-width: 640px) {
  .page-news__rhythm-card {
    width: 84px;
    height: 112px;
  }
  .page-news__timeline-bg {
    width: 240px;
  }
}

@media (min-width: 720px) {
  .page-news__weekly-card {
    grid-template-columns: 300px 1fr;
  }
  .page-news__weekly-media img {
    height: 100%;
    min-height: 260px;
  }
}

@media (min-width: 800px) {
  .page-news__hero-inner {
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
  }
  .page-news__hero-track {
    display: block;
    position: relative;
    height: 420px;
    width: 100%;
    max-width: 420px;
    justify-self: end;
  }
  .page-news__hero-track-line {
    position: absolute;
    left: 36px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--cyan-accent), var(--gold-start) 55%, var(--gold-end));
    border-radius: 999px;
    opacity: 0.55;
  }
  .page-news__hero-point {
    position: absolute;
    left: 30px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold-start);
    box-shadow: 0 0 0 6px rgba(245, 194, 66, 0.12), 0 0 24px rgba(245, 194, 66, 0.6);
    transform: translateX(-50%);
  }
  .page-news__hero-label {
    position: absolute;
    left: 66px;
    font-size: 1rem;
    color: var(--news-text);
    letter-spacing: 0.14em;
    white-space: nowrap;
  }
  .page-news__hero-point--1 {
    top: 12%;
  }
  .page-news__hero-point--2 {
    top: 38%;
  }
  .page-news__hero-point--3 {
    top: 64%;
  }
  .page-news__hero-point--4 {
    top: 90%;
  }
  .page-news__hero-label--1 {
    top: 8%;
  }
  .page-news__hero-label--2 {
    top: 34%;
  }
  .page-news__hero-label--3 {
    top: 60%;
  }
  .page-news__hero-label--4 {
    top: 86%;
  }
  .page-news__timeline-bg {
    width: 320px;
    opacity: 0.26;
  }
}

@media (min-width: 880px) {
  .page-news__rules-grid {
    grid-template-columns: 1fr 1.2fr;
  }
  .page-news__rules-intro {
    padding-right: 12px;
  }
  .page-news__subscribe-inner {
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    padding: 56px 48px;
  }
}
