.page-news {
  --news-gold: #D9A441;
  --news-gold-light: #F0D58C;
  --news-gold-soft: rgba(217, 164, 65, 0.16);
  --news-line: rgba(244, 237, 228, 0.12);
  --news-body: rgba(244, 237, 228, 0.82);
  background: linear-gradient(180deg, #121820 0%, #121820 30%, #161e27 100%);
  color: #F4EDE4;
  font-family: var(--sans);
  line-height: 1.75;
  overflow-x: clip;
}

.page-news *,
.page-news *::before,
.page-news *::after {
  box-sizing: border-box;
}

.page-news .news-container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.page-news .news-container a {
  color: var(--news-gold-light);
  text-decoration: none;
}

.page-news img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-news figure {
  margin: 0;
}

.page-news figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 13px;
  color: #6E7B8A;
}

.page-news .text-link {
  color: var(--news-gold-light);
  border-bottom: 1px solid rgba(217, 164, 65, 0.42);
  transition: border-color 0.2s;
}

.page-news .text-link:hover {
  border-bottom-color: var(--news-gold-light);
}

.page-news .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 13px;
  color: #6E7B8A;
}

.page-news .breadcrumbs a {
  color: #F0D58C;
}

.page-news .hero-grid {
  display: grid;
  gap: 30px;
}

.page-news .hero-copy {
  position: relative;
}

.page-news .page-kicker {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 3px;
  color: #B03A2E;
  text-transform: uppercase;
}

.page-news h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(32px, 5.4vw, 54px);
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #F4EDE4;
  text-shadow: 0 2px 24px rgba(217, 164, 65, 0.08);
}

.page-news .hero-lede {
  margin: 18px 0 0;
  max-width: 68ch;
  font-size: 16px;
  color: var(--news-body);
}

.page-news .hero-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px;
  margin-top: 26px;
  padding: 14px 16px;
  background: rgba(26, 39, 51, 0.78);
  border-left: 3px solid var(--news-gold);
  border-radius: 0 14px 14px 0;
  font-size: 14px;
  color: rgba(244, 237, 228, 0.86);
}

.page-news .hero-keyword {
  color: var(--news-gold-light);
  font-weight: 600;
}

.page-news .hero-figure {
  min-width: 0;
}

.page-news .hero-figure img {
  width: 100%;
  border-radius: 18px 18px 0 0;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

.page-news .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0 0;
}

.page-news .stat-card {
  margin: 0;
  padding: 16px;
  background: rgba(26, 39, 51, 0.86);
  border: 1px solid rgba(244, 237, 228, 0.08);
  border-radius: 14px;
}

.page-news .stat-card dt {
  font-size: 13px;
  color: #6E7B8A;
  margin-bottom: 8px;
}

.page-news .stat-card dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 26px;
  color: var(--news-gold-light);
}

.page-news .news-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 48px 0 20px;
}

.page-news .aside-rail {
  padding: 18px 20px;
  background: rgba(26, 39, 51, 0.72);
  border: 1px solid rgba(217, 164, 65, 0.18);
  border-radius: 16px;
}

.page-news .rail-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.page-news .rail-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: #6E7B8A;
}

.page-news .rail-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: var(--news-gold);
  letter-spacing: 2px;
}

.page-news .rail-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.page-news .rail-link {
  font-size: 14px;
  color: rgba(244, 237, 228, 0.86);
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.page-news .rail-link:hover {
  color: var(--news-gold-light);
  border-bottom-color: var(--news-gold);
}

.page-news .rail-note {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: #6E7B8A;
}

.page-news .content-col {
  min-width: 0;
  display: grid;
  gap: 56px;
}

.page-news .section-head {
  margin-bottom: 30px;
}

.page-news .section-kicker {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 3px;
  color: #B03A2E;
  text-transform: uppercase;
}

.page-news .section-head h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 900;
  color: #F4EDE4;
  line-height: 1.3;
}

.page-news .section-intro {
  max-width: 72ch;
  margin: 0;
  font-size: 16px;
  color: var(--news-body);
}

.page-news .news-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 164, 65, 0.55), transparent);
}

.page-news .index-grid {
  display: grid;
  gap: 28px;
  align-items: stretch;
}

.page-news .index-main {
  background: rgba(26, 39, 51, 0.42);
  border: 1px solid rgba(244, 237, 228, 0.08);
  border-radius: 18px;
  padding: 26px 22px;
  min-width: 0;
}

.page-news .timeline {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  list-style: none;
  margin: 12px 0 0;
  padding: 0 0 22px;
}

.page-news .timeline-year {
  position: relative;
  flex: 0 0 72px;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 13px;
  color: #6E7B8A;
  text-align: center;
  border-top: 2px solid rgba(244, 237, 228, 0.16);
}

.page-news .timeline-year::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #121820;
  border: 2px solid var(--news-gold);
}

.page-news .timeline-year--current {
  color: var(--news-gold-light);
  border-top-color: var(--news-gold);
}

.page-news .timeline-year--current::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(217, 164, 65, 0.5);
  animation: newsPulse 2.6s ease-in-out infinite;
}

.page-news .timeline-now {
  display: block;
  font-size: 11px;
  color: #B03A2E;
  letter-spacing: 1px;
}

.page-news .index-notice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(217, 164, 65, 0.18);
  border-radius: 999px;
  background: rgba(217, 164, 65, 0.08);
  font-size: 14px;
  color: rgba(244, 237, 228, 0.84);
}

.page-news .index-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--news-gold);
  box-shadow: 0 0 12px rgba(217, 164, 65, 0.8);
}

@keyframes newsPulse {
  0%, 100% {
    box-shadow: 0 0 4px rgba(217, 164, 65, 0.2);
  }
  50% {
    box-shadow: 0 0 18px rgba(217, 164, 65, 0.85);
  }
}

.page-news .index-aside {
  background: linear-gradient(160deg, rgba(26, 39, 51, 0.9), rgba(18, 24, 32, 0.96));
  border: 1px solid rgba(217, 164, 65, 0.22);
  border-radius: 18px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  padding: 26px;
}

.page-news .index-aside-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.page-news .index-stamp {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--news-gold);
  border-right: 1px solid rgba(217, 164, 65, 0.35);
  padding-right: 12px;
}

.page-news .index-aside p {
  margin: 0 0 10px;
  font-size: 15px;
  color: rgba(244, 237, 228, 0.84);
}

.page-news .tags-section {
  padding: 20px 0 0;
}

.page-news .tags-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

.page-news .tag-filter-box {
  background: rgba(18, 24, 32, 0.7);
  border: 1px solid rgba(244, 237, 228, 0.09);
  border-radius: 18px;
  padding: 24px 20px;
}

.page-news .filter-label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(244, 237, 228, 0.86);
}

.page-news .filter-input {
  width: 100%;
  padding: 12px 14px;
  background: #121820;
  border: 1px solid rgba(217, 164, 65, 0.32);
  border-radius: 12px;
  color: #F4EDE4;
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.page-news .filter-input:focus {
  outline: none;
  border-color: var(--news-gold);
  box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.12);
}

.page-news .tag-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.page-news .news-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border: 1px solid rgba(244, 237, 228, 0.18);
  background: rgba(26, 39, 51, 0.82);
  border-radius: 999px;
  font-size: 14px;
  color: #F4EDE4;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.page-news .news-tag:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 164, 65, 0.55);
  background: rgba(26, 39, 51, 0.96);
}

.page-news .tag-count {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--news-gold-light);
  background: rgba(217, 164, 65, 0.14);
  border-radius: 999px;
  padding: 2px 8px;
}

.page-news .news-tag--gold {
  border-color: rgba(217, 164, 65, 0.5);
  background: rgba(217, 164, 65, 0.16);
}

.page-news .news-tag--moss {
  border-color: rgba(94, 107, 90, 0.56);
  background: rgba(94, 107, 90, 0.15);
}

.page-news .news-tag--red {
  border-color: rgba(176, 58, 46, 0.46);
  background: rgba(176, 58, 46, 0.14);
}

.page-news .news-tag--clay {
  border-color: rgba(165, 103, 63, 0.5);
  background: rgba(165, 103, 63, 0.14);
}

.page-news .news-tag:nth-child(1),
.page-news .news-tag:nth-child(4),
.page-news .news-tag:nth-child(12) {
  font-size: 17px;
  padding: 11px 18px;
}

.page-news .news-tag:nth-child(5) {
  font-size: 18px;
  padding: 12px 20px;
}

.page-news .tags-figure img,
.page-news .quarters-figure img,
.page-news .guides-figure img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.page-news .quarters-section {
  padding: 20px 0 0;
}

.page-news .quarters-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-news .quarter-list {
  display: grid;
}

.page-news .quarter-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  padding: 18px 6px;
  border-bottom: 1px solid rgba(244, 237, 228, 0.09);
  transition: border-color 0.2s;
}

.page-news .quarter-item:hover {
  border-bottom-color: rgba(217, 164, 65, 0.45);
}

.page-news .quarter-time {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--news-gold-light);
  padding-top: 4px;
}

.page-news .quarter-body h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: #F4EDE4;
}

.page-news .quarter-body p {
  margin: 0;
  font-size: 15px;
  color: var(--news-body);
}

.page-news .quarter-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--news-gold-light);
  border-bottom: 1px solid rgba(217, 164, 65, 0.4);
  transition: border-color 0.2s;
}

.page-news .quarter-link:hover {
  border-bottom-color: var(--news-gold-light);
}

.page-news .version-list {
  margin-top: 8px;
}

.page-news .version-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(244, 237, 228, 0.09);
}

.page-news .version-row--current {
  background: rgba(217, 164, 65, 0.07);
  border: 1px solid rgba(217, 164, 65, 0.22);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 8px;
}

.page-news .version-code {
  align-self: start;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--news-gold-light);
  background: rgba(217, 164, 65, 0.13);
  border: 1px solid rgba(217, 164, 65, 0.32);
  border-radius: 10px;
  padding: 8px 6px;
  text-align: center;
  line-height: 1.4;
}

.page-news .version-flag {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2px;
  color: #B03A2E;
}

.page-news .version-body h3 {
  margin: 2px 0 8px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: #F4EDE4;
}

.page-news .version-body p {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--news-body);
}

.page-news .guides-section {
  padding: 20px 0 40px;
}

.page-news .guides-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

.page-news .guides-figure img {
  aspect-ratio: 12 / 7;
}

.page-news .guide-list {
  display: grid;
}

.page-news .guide-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 22px 4px;
  border-bottom: 1px dashed rgba(244, 237, 228, 0.14);
}

.page-news .guide-num {
  font-family: var(--mono);
  font-size: 34px;
  line-height: 1;
  color: rgba(217, 164, 65, 0.46);
}

.page-news .guide-main {
  min-width: 0;
}

.page-news .guide-cat {
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  color: #F4EDE4;
  background: #A5673F;
  border-radius: 999px;
  padding: 5px 10px;
  letter-spacing: 1px;
}

.page-news .guide-main h3 {
  margin: 10px 0 6px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: #F4EDE4;
}

.page-news .guide-main p {
  margin: 0;
  font-size: 15px;
  color: var(--news-body);
}

.page-news .guide-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 22px 4px 6px;
}

.page-news .btn-news {
  display: inline-block;
  padding: 10px 20px;
  background: var(--news-gold);
  color: #121820;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  transition: background 0.2s, transform 0.2s;
}

.page-news .btn-news:hover {
  background: var(--news-gold-light);
  transform: translateY(-2px);
}

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

  .page-news .rail-nav {
    gap: 16px 22px;
  }
}

@media (min-width: 960px) {
  .page-news .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 42px;
  }

  .page-news .hero-lede {
    font-size: 17px;
  }

  .page-news .index-grid {
    grid-template-columns: 1.25fr 0.75fr;
  }

  .page-news .tags-grid {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: start;
  }

  .page-news .quarters-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }

  .page-news .guides-grid {
    grid-template-columns: 0.88fr 1.12fr;
    align-items: start;
  }

  .page-news .guide-row {
    grid-template-columns: 80px 1fr;
  }
}

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

  .page-news .aside-rail {
    position: sticky;
    top: 118px;
    align-self: start;
    display: block;
    padding: 24px 18px;
  }

  .page-news .rail-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
  }

  .page-news .rail-kicker {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 4px;
    font-size: 12px;
  }

  .page-news .rail-title {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 30px;
    letter-spacing: 8px;
  }

  .page-news .rail-nav {
    display: grid;
    gap: 6px;
    margin-top: 4px;
  }

  .page-news .rail-link {
    font-size: 15px;
    color: rgba(244, 237, 228, 0.88);
  }

  .page-news .rail-note {
    margin-top: 16px;
    font-size: 13px;
  }

  .page-news .news-divider {
    margin: 8px 0;
  }
}
