.page-news {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: clamp(18px, 4vw, 48px);
  padding-bottom: 96px;
  background:
    radial-gradient(1100px 560px at 88% -4%, rgba(201, 164, 76, 0.12), transparent 60%),
    radial-gradient(760px 420px at -6% 30%, rgba(13, 10, 31, 0.7), transparent 55%),
    var(--bg-primary);
  color: var(--cream);
  overflow-x: clip;
}

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

.page-news .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 28px;
  font-size: 13px;
  color: var(--gray-light);
}

.page-news .breadcrumb__sep {
  color: rgba(201, 164, 76, 0.5);
}

.page-news .breadcrumb__current {
  color: var(--gold);
}

.page-news .breadcrumb a {
  color: var(--gray-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-news .breadcrumb a:hover {
  color: var(--gold);
}

.page-news .news-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-top: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(201, 164, 76, 0.18);
  margin-bottom: 56px;
}

@media (min-width: 880px) {
  .page-news .news-hero {
    grid-template-columns: minmax(0, 7fr) minmax(200px, 3fr);
    gap: 40px;
    align-items: end;
  }
}

.page-news .news-hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.page-news .news-hero h1 {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(44px, 9vw, 84px);
  line-height: 0.98;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  max-width: 880px;
}

.page-news .news-hero__dot {
  color: var(--gold);
}

.page-news .news-hero__lead {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(245, 240, 230, 0.86);
  max-width: 640px;
  margin: 0;
}

.page-news .news-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-news .news-hero__aside {
  display: none;
  position: relative;
  min-height: 220px;
}

@media (min-width: 880px) {
  .page-news .news-hero__aside {
    display: block;
  }
}

.page-news .news-hero__diamond {
  position: absolute;
  right: 36px;
  top: 10px;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(201, 164, 76, 0.45);
  background: linear-gradient(135deg, rgba(201, 164, 76, 0.22), rgba(201, 164, 76, 0.02));
  transform: rotate(45deg);
  animation: pageNewsSpin 24s linear infinite;
}

.page-news .news-hero__ring {
  position: absolute;
  right: 12px;
  top: 60px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px dashed rgba(201, 164, 76, 0.4);
}

.page-news .news-hero__bar {
  position: absolute;
  left: 10px;
  bottom: 0;
  width: 3px;
  height: 110px;
  background: linear-gradient(to bottom, var(--orange), transparent 85%);
}

@keyframes pageNewsSpin {
  to {
    transform: rotate(405deg);
  }
}

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

.page-news .news-section__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px 24px;
  margin-bottom: 28px;
}

.page-news .news-section__kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin: 0 0 6px;
  text-transform: uppercase;
}

.page-news .news-section h2 {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
}

.page-news .news-section__hint {
  color: var(--gray-light);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  max-width: 360px;
}

.page-news .filter-input {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.page-news .filter-input:focus-visible ~ .news-layout .news-sidebar label[for="filter-all"],
.page-news .filter-input:focus-visible ~ .news-layout .news-sidebar label[for="filter-season"],
.page-news .filter-input:focus-visible ~ .news-layout .news-sidebar label[for="filter-version"],
.page-news .filter-input:focus-visible ~ .news-layout .news-sidebar label[for="filter-topic"],
.page-news .filter-input:focus-visible ~ .news-layout .news-sidebar label[for="filter-log"] {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.page-news .news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

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

.page-news .news-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0;
  margin: 0;
}

.page-news .news-sidebar h2 {
  width: 100%;
  margin-bottom: 4px;
  font-size: 18px;
}

.page-news .sidebar-label {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
  color: var(--gray-light);
  background: rgba(255, 255, 255, 0.03);
  user-select: none;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.page-news .sidebar-label span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(245, 240, 230, 0.5);
}

.page-news .sidebar-label:hover {
  color: var(--cream);
  border-color: rgba(201, 164, 76, 0.45);
}

@media (min-width: 992px) {
  .page-news .news-sidebar {
    display: block;
    position: sticky;
    top: 32px;
  }

  .page-news .news-sidebar h2 {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .page-news .sidebar-label {
    display: flex;
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 4px;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    font-size: 14px;
  }
}

.page-news #filter-all:checked ~ .news-layout .news-sidebar label[for="filter-all"],
.page-news #filter-season:checked ~ .news-layout .news-sidebar label[for="filter-season"],
.page-news #filter-version:checked ~ .news-layout .news-sidebar label[for="filter-version"],
.page-news #filter-topic:checked ~ .news-layout .news-sidebar label[for="filter-topic"],
.page-news #filter-log:checked ~ .news-layout .news-sidebar label[for="filter-log"] {
  color: var(--gold);
  border-color: rgba(201, 164, 76, 0.7);
  background: rgba(201, 164, 76, 0.07);
}

@media (min-width: 992px) {
  .page-news #filter-all:checked ~ .news-layout .news-sidebar label[for="filter-all"],
  .page-news #filter-season:checked ~ .news-layout .news-sidebar label[for="filter-season"],
  .page-news #filter-version:checked ~ .news-layout .news-sidebar label[for="filter-version"],
  .page-news #filter-topic:checked ~ .news-layout .news-sidebar label[for="filter-topic"],
  .page-news #filter-log:checked ~ .news-layout .news-sidebar label[for="filter-log"] {
    background: transparent;
    border-left-color: var(--gold);
  }
}

.page-news .sidebar-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  line-height: 1.6;
  color: var(--gray-light);
}

@media (max-width: 991px) {
  .page-news .sidebar-note {
    display: none;
  }
}

.page-news .news-feed {
  position: relative;
  display: grid;
  gap: 24px;
  padding-left: 30px;
  min-width: 0;
}

.page-news .news-feed::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 34px;
  bottom: 34px;
  width: 2px;
  border-radius: 1px;
  background: linear-gradient(to bottom, rgba(201, 164, 76, 0.7) 0%, rgba(201, 164, 76, 0.08) 100%);
}

.page-news .news-item {
  position: relative;
  padding: 22px 22px 24px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  animation: pageNewsFadeUp 0.55s ease both;
}

.page-news .news-item:hover {
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(201, 164, 76, 0.28);
}

.page-news .news-item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 34px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 164, 76, 0.12);
}

.page-news .news-item:nth-child(2) {
  animation-delay: 0.07s;
}

.page-news .news-item:nth-child(3) {
  animation-delay: 0.14s;
}

.page-news .news-item:nth-child(4) {
  animation-delay: 0.21s;
}

.page-news .news-item:nth-child(5) {
  animation-delay: 0.28s;
}

@keyframes pageNewsFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-news #filter-season:checked ~ .news-layout .news-item:not([data-category="season"]),
.page-news #filter-version:checked ~ .news-layout .news-item:not([data-category="version"]),
.page-news #filter-topic:checked ~ .news-layout .news-item:not([data-category="topic"]),
.page-news #filter-log:checked ~ .news-layout .news-item:not([data-category="log"]) {
  display: none;
}

.page-news .news-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.page-news .news-item__cat {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(201, 164, 76, 0.08);
  border: 1px solid rgba(201, 164, 76, 0.24);
  padding: 5px 12px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.25s ease;
}

.page-news .news-item__cat:hover {
  background: rgba(201, 164, 76, 0.16);
}

.page-news .news-item__time {
  font-size: 12px;
  color: var(--gray-light);
}

.page-news .news-item h3 {
  font-family: var(--font-title);
  font-size: 19px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.page-news .news-item__summary {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: rgba(245, 240, 230, 0.86);
  margin-bottom: 16px;
}

.page-news .news-item__cover {
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
  width: 100%;
}

.page-news .archive-section {
  padding-top: 52px;
  border-top: 1px solid rgba(201, 164, 76, 0.2);
  margin-bottom: 86px;
}

.page-news .archive-section__head {
  max-width: 560px;
  margin-bottom: 28px;
}

.page-news .archive-section__head h2 {
  font-family: var(--font-title);
  font-size: 28px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.page-news .archive-section__head p {
  color: var(--gray-light);
  line-height: 1.6;
  margin: 0;
}

.page-news .archive-grid {
  columns: 1;
  column-gap: 22px;
}

@media (min-width: 700px) {
  .page-news .archive-grid {
    columns: 2;
  }
}

@media (min-width: 1080px) {
  .page-news .archive-grid {
    columns: 3;
  }
}

.page-news .archive-card {
  display: inline-block;
  width: 100%;
  vertical-align: top;
  margin-bottom: 22px;
  break-inside: avoid;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.page-news .archive-card:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(201, 164, 76, 0.3);
}

.page-news .archive-card__img {
  width: 100%;
  border-radius: 3px;
  margin-bottom: 14px;
  object-fit: cover;
}

.page-news .archive-card__cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.page-news .archive-card h3 {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
}

.page-news .archive-card__summary {
  font-size: 13px;
  line-height: 1.65;
  color: var(--gray-light);
  margin: 0;
}

.page-news .archive-card__time {
  display: block;
  margin-top: 10px;
  color: rgba(245, 240, 230, 0.55);
  font-size: 11px;
}

.page-news .subscribe-section {
  padding-top: 8px;
}

.page-news .subscribe-box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  background:
    linear-gradient(135deg, rgba(26, 22, 56, 0.92), rgba(13, 10, 31, 0.96)),
    radial-gradient(360px 260px at 88% 20%, rgba(201, 164, 76, 0.3), transparent 60%);
  border: 1px solid rgba(201, 164, 76, 0.22);
  border-radius: 6px;
  padding: 36px 30px 34px;
  overflow: hidden;
}

.page-news .subscribe-box::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(201, 164, 76, 0.3);
  transform: rotate(45deg);
  pointer-events: none;
}

.page-news .subscribe-box__text {
  position: relative;
  z-index: 1;
}

.page-news .subscribe-box h2 {
  font-family: var(--font-title);
  font-size: 26px;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.page-news .subscribe-box__desc {
  max-width: 440px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(245, 240, 230, 0.86);
  margin-bottom: 20px;
}

.page-news .subscribe-box__fine {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-light);
}

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

.page-news .subscribe-box__fine a:hover {
  text-decoration: underline;
}

.page-news .subscribe-box__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  position: relative;
}

.page-news .subscribe-box__icon {
  border-radius: 50%;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 1px solid rgba(201, 164, 76, 0.3);
}

@media (min-width: 800px) {
  .page-news .subscribe-box {
    grid-template-columns: minmax(0, 1.4fr) minmax(200px, 1fr);
    align-items: center;
    gap: 40px;
    padding: 40px 46px;
  }
}

.page-news .subscribe-toast {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 4px;
  background: rgba(201, 164, 76, 0.12);
  border: 1px solid rgba(201, 164, 76, 0.4);
  color: var(--gold);
  font-size: 14px;
  line-height: 1.5;
}

.page-news .subscribe-toast:target {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-item,
  .page-news .news-hero__diamond,
  .page-news .subscribe-toast {
    animation: none !important;
    transition: none !important;
  }
}
