.page-news {
  background: #0B0C10;
  color: #C5C6C7;
  padding: 0 0 72px;
  overflow-x: clip;
}

.page-news .breadcrumb {
  padding: 22px 0 6px;
}

/* ========== Hero ========== */
.page-news .news-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 28px 0 44px;
}

.page-news .news-hero__deco {
  position: absolute;
  top: -8px;
  right: 8px;
  width: 180px;
  height: 6px;
  background: linear-gradient(90deg, transparent 0%, #00E5FF 55%, #E63946 100%);
  border-radius: 99px;
  transform: rotate(-6deg);
  opacity: 0.6;
  pointer-events: none;
}

.page-news .news-hero__idx {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00E5FF;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 999px;
  padding: 5px 12px;
}

.page-news .news-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #F5F5F5;
  margin: 16px 0 12px;
}

.page-news .news-hero__desc {
  font-size: 15px;
  line-height: 1.75;
  color: #C5C6C7;
  max-width: 620px;
  margin: 0;
}

.page-news .news-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-news .news-hero__stats .stat {
  display: grid;
  gap: 2px;
}

.page-news .news-hero__stats .stat__value {
  font-family: var(--font-data);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  color: #F5F5F5;
}

.page-news .news-hero__stats .stat__value--red {
  color: #E63946;
}

.page-news .news-hero__stats .stat__value--blue {
  color: #00E5FF;
}

.page-news .news-hero__stats .stat__label {
  font-size: 12px;
  color: #C5C6C7;
}

.page-news .news-hero__img {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
}

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

/* ========== 更新摘要栏 ========== */
.page-news .news-summary {
  position: relative;
  display: grid;
  grid-template-columns: 6px 1fr;
  gap: 20px;
  background: var(--g-red);
  border-radius: 14px;
  padding: 26px 24px;
  margin: 8px 0 48px;
  overflow: hidden;
}

.page-news .news-summary::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(18deg);
  pointer-events: none;
}

.page-news .news-summary__rail {
  background: #0B0C10;
  border-radius: 4px;
  align-self: stretch;
}

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

.page-news .news-summary__key {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
}

.page-news .news-summary h2 {
  margin: 6px 0 10px;
  font-size: 24px;
  font-weight: 900;
  color: #F5F5F5;
  line-height: 1.3;
}

.page-news .news-summary p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 860px;
}

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

.page-news .news-summary .btn--primary,
.page-news .news-summary .btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.page-news .news-summary .btn--primary {
  background: #0B0C10;
  color: #F5F5F5;
  border: 1px solid #0B0C10;
}

.page-news .news-summary .btn--primary:hover {
  background: transparent;
  color: #0B0C10;
}

.page-news .news-summary .btn--ghost {
  background: transparent;
  color: #0B0C10;
  border: 1px solid #0B0C10;
}

.page-news .news-summary .btn--ghost:hover {
  background: #0B0C10;
  color: #F5F5F5;
}

/* ========== 主布局 ========== */
.page-news .news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
}

/* ========== 动态列表 ========== */
.page-news .news-feed__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-news .news-feed__head h2 {
  margin: 6px 0 0;
  font-size: 28px;
  font-weight: 900;
  color: #F5F5F5;
}

.page-news .news-feed__head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #C5C6C7;
}

.page-news .news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .news-filter__link {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid #2a3440;
  border-radius: 999px;
  color: #C5C6C7;
  font-size: 13px;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.page-news .news-filter__link:hover,
.page-news .news-filter__link:focus {
  border-color: var(--blue);
  color: #F5F5F5;
}

.page-news .news-filter__link.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #F5F5F5;
  font-weight: 700;
}

.page-news .news-feed__list {
  display: grid;
  gap: 16px;
  counter-reset: news;
}

.page-news .news-item {
  position: relative;
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr);
  background: #1F2833;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: transform 0.25s ease, background 0.25s ease;
  counter-increment: news;
}

.page-news .news-item:nth-child(even) {
  background: #141a24;
}

.page-news .news-item:hover {
  background: #243040;
  transform: translateX(4px);
}

.page-news .news-item__bar {
  width: 4px;
  align-self: stretch;
}

.page-news .news-item__bar--red {
  background: var(--g-red);
}

.page-news .news-item__bar--blue {
  background: var(--g-blue);
}

.page-news .news-item__body {
  padding: 22px 20px 18px;
}

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

.page-news .news-item__meta time {
  font-family: var(--font-data);
  font-size: 12px;
  color: #00E5FF;
  letter-spacing: 0.04em;
}

.page-news .news-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
  color: #F5F5F5;
}

.page-news .news-item h3::before {
  content: "0" counter(news) " / 06 — ";
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  margin-right: 6px;
  letter-spacing: 0.02em;
}

.page-news .news-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #C5C6C7;
}

.page-news .news-item__fig {
  margin: 16px 0 6px;
  max-width: 400px;
  border-radius: 10px;
  overflow: hidden;
}

.page-news .news-item__fig img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .news-item__more {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
}

.page-news .news-item__more summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-data);
  font-size: 13px;
  color: #00E5FF;
  letter-spacing: 0.02em;
}

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

.page-news .news-item__more summary::before {
  content: "\2295";
  margin-right: 6px;
  color: #E63946;
  font-weight: 700;
}

.page-news .news-item__more[open] summary::before {
  content: "\2296";
}

.page-news .news-item__more div {
  padding: 10px 0 2px;
  font-size: 14px;
  line-height: 1.7;
  color: #C5C6C7;
}

.page-news .news-item__more div p {
  margin: 0 0 6px;
}

.page-news .text-link {
  color: #00E5FF;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}

.page-news .text-link:hover {
  color: #FF6B6B;
}

/* ========== 侧栏 ========== */
.page-news .news-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-content: start;
}

.page-news .side-panel {
  position: relative;
  background: #1F2833;
  border-radius: 14px;
  padding: 24px;
  overflow: hidden;
}

.page-news .archive-panel h2,
.page-news .calendar-panel h2 {
  margin: 6px 0 10px;
  font-size: 22px;
  font-weight: 900;
  color: #F5F5F5;
}

.page-news .archive-panel p,
.page-news .calendar-panel p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #C5C6C7;
}

.page-news .archive-panel .section-index,
.page-news .calendar-panel .section-index {
  color: #00E5FF;
}

.page-news .archive-panel__img {
  margin: 16px 0 12px;
  border-radius: 10px;
  overflow: hidden;
  max-width: 260px;
}

.page-news .archive-panel__img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .archive-panel__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 12px 0 16px;
}

.page-news .archive-panel .btn--data {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: transparent;
  color: var(--blue);
  font-family: var(--font-data);
  font-size: 13px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.page-news .archive-panel .btn--data:hover {
  background: var(--blue);
  color: #0B0C10;
}

/* ========== 迷你日历 ========== */
.page-news .calendar-panel__bg {
  position: absolute;
  right: -70px;
  top: -70px;
  width: 260px;
  height: 260px;
  object-fit: cover;
  opacity: 0.07;
  border-radius: 28px;
  transform: rotate(8deg);
  pointer-events: none;
  z-index: 0;
}

.page-news .calendar-panel > * {
  position: relative;
  z-index: 1;
}

.page-news .mini-cal {
  margin-top: 14px;
  background: #0B0C10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
}

.page-news .mini-cal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-data);
  font-size: 12px;
  color: #00E5FF;
  letter-spacing: 0.06em;
}

.page-news .mini-cal__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.page-news .mini-cal__cell {
  min-height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  font-size: 12px;
  color: #C5C6C7;
}

.page-news .mini-cal__cell--event {
  background: rgba(230, 57, 70, 0.12);
  border-left-color: #E63946;
}

.page-news .mini-cal__cell--blue {
  background: rgba(0, 229, 255, 0.1);
  border-left-color: #00E5FF;
}

.page-news .mini-cal__week {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 12px;
  color: #F5F5F5;
}

.page-news .mini-cal__legend {
  display: flex;
  gap: 16px;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #C5C6C7;
}

.page-news .mini-cal__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
}

.page-news .mini-cal__dot--red {
  background: #E63946;
}

.page-news .mini-cal__dot--blue {
  background: #00E5FF;
}

/* ========== 响应式 ========== */
@media (min-width: 600px) {
  .page-news .news-side {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .page-news .news-hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    padding: 48px 0 64px;
  }

  .page-news .news-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 40px;
  }

  .page-news .news-feed__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .page-news .news-filter {
    justify-content: flex-end;
  }

  .page-news .news-side {
    grid-template-columns: 1fr;
  }

  .page-news .news-item__body {
    padding: 26px 26px 22px;
  }

  .page-news .news-summary {
    padding: 32px 36px;
  }
}
