.page-news {
  --news-orange: #ff6b1a;
  --news-deep: #0a1a30;
  --news-panel: #1b3a5c;
  --news-cream: #f5efe6;
  --news-green: #6b8e6b;
  --news-red: #c47c6f;
  --news-gray-blue: #8ba8c6;
  --news-mono: "Roboto Mono", "Courier New", monospace;
  --news-anim: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--news-deep);
  color: var(--news-cream);
  overflow-x: hidden;
}

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

.page-news .news-section__kicker {
  font-family: var(--news-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--news-gray-blue);
  margin-bottom: 8px;
}

.page-news h1, .page-news h2, .page-news h3 {
  font-family: "PingFang SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-weight: 900;
  line-height: 1.2;
  margin: 0;
  letter-spacing: 0.02em;
}

.page-news h2 {
  font-size: clamp(26px, 4vw, 38px);
}

.page-news h3 {
  font-size: clamp(17px, 2vw, 22px);
}

.page-news a {
  color: var(--news-orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 26, 0.4);
  transition: border-color var(--news-anim), color var(--news-anim);
}

.page-news a:hover {
  border-color: var(--news-orange);
}

.page-news .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  padding: 12px 20px;
  font-family: "PingFang SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-news .btn-primary {
  background: var(--news-orange);
  color: var(--news-deep);
}

.page-news .btn-primary:hover {
  background: #ff8a3d;
  transform: translateY(-2px);
}

.page-news .btn-outline {
  background: transparent;
  border-color: var(--news-gray-blue);
  color: var(--news-cream);
}

.page-news .btn-outline:hover {
  background: rgba(139, 168, 198, 0.12);
  transform: translateY(-2px);
}

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

.page-news .breadcrumb .breadcrumb-link {
  color: var(--news-gray-blue);
  border-bottom: none;
  font-family: "PingFang SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-news .breadcrumb .breadcrumb-link:hover {
  color: var(--news-orange);
}

.page-news .breadcrumb .breadcrumb-link[aria-current="page"] {
  color: var(--news-cream);
  font-weight: 700;
}

.page-news .breadcrumb .breadcrumb-sep {
  color: var(--news-gray-blue);
  opacity: 0.5;
}

.page-news .panel {
  background: var(--news-panel);
  position: relative;
}

.page-news .panel.clip-right {
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}

.page-news .panel.clip-left {
  clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%, 0 28px);
}

.page-news .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(107, 142, 107, 0.18);
  border: 1px solid var(--news-green);
  color: var(--news-green);
  font-family: var(--news-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
}

.page-news .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--news-green);
  box-shadow: 0 0 8px rgba(107, 142, 107, 0.6);
}

/* hero */
.page-news .news-hero {
  position: relative;
  padding: 30px 0 50px;
  overflow: hidden;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 56%;
  height: 100%;
  background: linear-gradient(135deg, transparent 55%, rgba(255, 107, 26, 0.08) 55%);
  pointer-events: none;
}

.page-news .news-hero__inner {
  display: grid;
  gap: 28px;
}

.page-news .news-hero__tagline {
  font-family: var(--news-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--news-orange);
  margin: 0 0 12px;
}

.page-news .news-hero__copy h1 {
  font-size: clamp(32px, 6vw, 54px);
  max-width: 720px;
}

.page-news .news-hero__lead {
  font-family: "PingFang SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--news-gray-blue);
  margin: 14px 0 0;
  max-width: 570px;
  border-left: 3px solid var(--news-orange);
  padding-left: 16px;
}

.page-news .news-hero__board {
  background: rgba(27, 58, 92, 0.7);
  border: 1px solid rgba(139, 168, 198, 0.18);
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px);
  padding: 18px 22px 14px;
}

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

.page-news .news-hero__list li {
  display: grid;
  grid-template-columns: 44px 76px 1fr;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(139, 168, 198, 0.16);
}

.page-news .news-hero__list li:last-child {
  border-bottom: none;
}

.page-news .news-hero__index {
  font-family: var(--news-mono);
  font-size: 13px;
  color: var(--news-orange);
}

.page-news .news-hero__label {
  font-family: "PingFang SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--news-cream);
}

.page-news .news-hero__count {
  font-size: 13px;
  color: var(--news-gray-blue);
}

.page-news .news-hero__line {
  margin-top: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--news-orange) 0%, var(--news-orange) 18%, transparent 18%, transparent 20%, var(--news-gray-blue) 20%, var(--news-gray-blue) 40%, transparent 40%, transparent 42%, var(--news-green) 42%, var(--news-green) 62%, transparent 62%, transparent 64%, var(--news-red) 64%, var(--news-red) 84%, transparent 84%);
  opacity: 0.5;
}

/* latest */
.page-news .news-latest {
  padding: 36px 0;
}

.page-news .news-latest__grid {
  display: grid;
  gap: 28px;
}

.page-news .news-latest__head h2 {
  position: relative;
  padding-bottom: 12px;
}

.page-news .news-latest__head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  background: var(--news-orange);
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.page-news .news-feature {
  background: var(--news-deep);
  border: 1px solid rgba(139, 168, 198, 0.14);
  padding: 22px 20px;
  position: relative;
}

.page-news .news-feature::after {
  content: "LATEST";
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--news-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: rgba(139, 168, 198, 0.3);
}

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

.page-news .news-feature__type {
  font-size: 13px;
  font-weight: 700;
  color: var(--news-red);
  letter-spacing: 0.03em;
}

.page-news .news-feature h3 {
  font-size: clamp(19px, 2.6vw, 26px);
  margin-bottom: 10px;
}

.page-news .news-feature__summary {
  font-size: 14px;
  line-height: 1.7;
  color: var(--news-gray-blue);
  margin: 0 0 16px;
}

.page-news .news-feature__toggle,
.page-news .news-timeline__expand {
  background: transparent;
  border: none;
  color: var(--news-orange);
  font-family: "PingFang SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 0;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 107, 26, 0.4);
  transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-news .news-feature__toggle:hover,
.page-news .news-timeline__expand:hover {
  border-color: var(--news-orange);
}

.page-news .news-feature__list {
  margin: 16px 0 14px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--news-cream);
}

.page-news .news-feature__list li::marker {
  color: var(--news-orange);
  font-family: var(--news-mono);
}

.page-news .news-feature__detail,
.page-news .news-timeline__detail {
  display: none;
}

.page-news .news-feature__detail[data-open="true"],
.page-news .news-timeline__detail[data-open="true"] {
  display: block;
  animation: newsFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes newsFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-news .news-latest__aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-news .news-latest__aside-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(196, 124, 111, 0.1);
  border-left: 3px solid var(--news-red);
  padding: 12px 14px;
}

.page-news .news-latest__aside-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--news-cream);
}

.page-news .news-latest__aside-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* stream */
.page-news .news-stream {
  padding: 44px 0 50px;
}

.page-news .news-stream__head {
  display: grid;
  gap: 16px;
  margin-bottom: 26px;
}

.page-news .news-stream__head h2 {
  position: relative;
  display: inline-block;
}

.page-news .news-stream__head h2::after {
  content: "";
  position: absolute;
  right: -26px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--news-orange);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

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

.page-news .news-filter {
  background: rgba(27, 58, 92, 0.5);
  border: 1px solid rgba(139, 168, 198, 0.2);
  color: var(--news-gray-blue);
  font-family: "PingFang SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-news .news-filter:hover {
  color: var(--news-cream);
  border-color: var(--news-cream);
}

.page-news .news-filter.is-active {
  background: var(--news-orange);
  border-color: var(--news-orange);
  color: var(--news-deep);
}

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

.page-news .news-timeline__item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
}

.page-news .news-timeline__rail {
  display: flex;
  justify-content: center;
}

.page-news .news-timeline__rail::before {
  content: "";
  width: 2px;
  background: linear-gradient(180deg, var(--news-orange), var(--news-orange) 40%, rgba(139, 168, 198, 0.2) 40%, rgba(139, 168, 198, 0.2) 100%);
  height: auto;
  transform: translateY(4px);
}

.page-news .news-timeline__dot {
  width: 12px;
  height: 12px;
  border-radius: 0;
  background: var(--news-deep);
  border: 3px solid var(--news-orange);
  margin-top: 8px;
  margin-left: -7 px;
  position: relative;
}

.page-news .news-timeline__card {
  padding: 18px 18px 16px;
}

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

.page-news .news-timeline__index {
  font-family: var(--news-mono);
  font-size: 13px;
  color: var(--news-orange);
}

.page-news .news-timeline__time {
  font-size: 13px;
  color: var(--news-gray-blue);
}

.page-news .news-timeline__tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  letter-spacing: 0.03em;
  font-family: var(--news-mono);
  text-transform: uppercase;
}

.page-news .news-timeline__tag--notice {
  background: rgba(196, 124, 111, 0.16);
  color: var(--news-red);
  border: 1px solid rgba(196, 124, 111, 0.35);
}

.page-news .news-timeline__tag--version {
  background: rgba(139, 168, 198, 0.14);
  color: var(--news-gray-blue);
  border: 1px solid rgba(139, 168, 198, 0.3);
}

.page-news .news-timeline__tag--event {
  background: rgba(255, 107, 26, 0.14);
  color: var(--news-orange);
  border: 1px solid rgba(255, 107, 26, 0.32);
}

.page-news .news-timeline__tag--highlight {
  background: rgba(107, 142, 107, 0.14);
  color: var(--news-green);
  border: 1px solid rgba(107, 142, 107, 0.32);
}

.page-news .news-timeline__card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.page-news .news-timeline__summary {
  font-size: 14px;
  line-height: 1.7;
  color: var(--news-gray-blue);
  margin: 0 0 10px;
}

.page-news .news-timeline__detail p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--news-cream);
  background: rgba(10, 26, 48, 0.5);
  border-left: 2px solid var(--news-orange);
  padding: 12px 14px;
  margin: 10px 0 0;
}

/* news-match */
.page-news .news-match {
  padding: 42px 0;
  background:
    linear-gradient(135deg, rgba(255, 107, 26, 0.08) 0%, transparent 36%),
    repeating-linear-gradient(135deg, rgba(139, 168, 198, 0.08) 0, rgba(139, 168, 198, 0.08) 1px, transparent 1px, transparent 12px),
    var(--news-panel);
}

.page-news .news-match__inner {
  display: grid;
  gap: 28px;
}

.page-news .news-match__intro h2 {
  margin-bottom: 12px;
}

.page-news .news-match__description {
  font-size: 14px;
  line-height: 1.7;
  color: var(--news-gray-blue);
  margin: 0 0 18px;
  max-width: 640px;
}

.page-news .news-match__image {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  margin-bottom: 10px;
}

.page-news .news-match__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-news .news-match__card {
  background: rgba(10, 26, 48, 0.62);
  border-left: 3px solid var(--news-orange);
  padding: 18px 18px 16px;
  transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-news .news-match__card:hover {
  background: rgba(10, 26, 48, 0.85);
  transform: translateX(4px);
}

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

.page-news .news-match__num {
  font-family: var(--news-mono);
  font-size: 14px;
  color: var(--news-orange);
}

.page-news .news-match__label {
  font-size: 18px;
  font-weight: 900;
  font-family: "PingFang SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  color: var(--news-cream);
}

.page-news .news-match__card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--news-gray-blue);
  margin: 0 0 10px;
}

.page-news .news-match__link {
  font-family: "PingFang SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-weight: 700;
  font-size: 13px;
}

/* extra */
.page-news .news-extra {
  padding: 40px 0 20px;
}

.page-news .news-extra__row {
  display: grid;
  gap: 20px;
}

.page-news .news-extra__block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
  background: rgba(27, 58, 92, 0.35);
  border-top: 2px solid var(--news-orange);
  padding: 20px 18px;
}

.page-news .news-extra__icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  grid-row: 1 / 3;
  align-self: center;
}

.page-news .news-extra__block h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.page-news .news-extra__block p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--news-gray-blue);
  margin: 0 0 10px;
}

.page-news .news-extra__block .btn {
  grid-column: 1 / -1;
  width: fit-content;
}

/* aside note */
.page-news .news-note {
  padding: 24px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-news .news-note p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--news-gray-blue);
  margin: 0;
  max-width: 720px;
}

.page-news .news-note__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-news .news-note__links a {
  font-size: 13px;
}

@media (min-width: 640px) {
  .page-news .news-timeline__item {
    grid-template-columns: 28px 1fr;
  }

  .page-news .news-latest__grid {
    grid-template-columns: auto 1fr;
    align-items: start;
  }

  .page-news .news-latest__head {
    position: sticky;
    top: 20px;
    width: 180px;
  }

  .page-news .news-stream__head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

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

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

  .page-news .news-extra__block {
    grid-template-columns: 90px 1fr;
  }

  .page-news .news-extra__icon {
    width: 84px;
    height: 84px;
  }

  .page-news .news-extra__block .btn {
    grid-column: 2;
  }

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

  .page-news .news-match__card:last-child {
    grid-column: span 2;
  }
}

@media (min-width: 900px) {
  .page-news .news-hero {
    padding: 40px 0 70px;
  }

  .page-news .news-hero__inner {
    grid-template-columns: 1fr 340px;
    align-items: end;
  }

  .page-news .news-hero__copy h1 {
    font-size: 54px;
  }

  .page-news .news-hero__lead {
    font-size: 16px;
  }

  .page-news .news-latest {
    padding: 46px 0;
  }

  .page-news .news-latest__grid {
    grid-template-columns: 240px 1fr 240px;
    gap: 24px;
  }

  .page-news .news-latest__head {
    width: auto;
    position: static;
  }

  .page-news .news-feature {
    padding: 28px 32px;
  }

  .page-news .news-latest__aside {
    gap: 12px;
  }

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

  .page-news .news-timeline__item {
    grid-template-columns: 60px 1fr;
    gap: 0;
    position: relative;
  }

  .page-news .news-timeline__item::before {
    content: "";
    position: absolute;
    left: 29px;
    top: 28px;
    bottom: -4px;
    width: 2px;
    background: repeating-linear-gradient(180deg, rgba(139, 168, 198, 0.35) 0, rgba(139, 168, 198, 0.35) 6px, transparent 6px, transparent 12px);
  }

  .page-news .news-timeline__item:last-child::before {
    display: none;
  }

  .page-news .news-timeline__rail {
    position: relative;
    z-index: 2;
  }

  .page-news .news-timeline__rail::before {
    display: none;
  }

  .page-news .news-timeline__dot {
    width: 14px;
    height: 14px;
    background: var(--news-deep);
    border: 3px solid var(--news-orange);
    margin-top: 12px;
  }

  .page-news .news-timeline__card {
    margin: 0 0 18px 0;
  }

  .page-news .news-stream__head h2::after {
    right: -32px;
  }

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

  .page-news .news-match__image {
    margin-top: 6px;
  }

  .page-news .news-match__card:last-child {
    grid-column: auto;
  }

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

@media (min-width: 1100px) {
  .page-news .news-hero__inner {
    grid-template-columns: 1fr 420px;
  }

  .page-news .news-hero__copy h1 {
    font-size: 60px;
  }

  .page-news .news-latest__grid {
    grid-template-columns: 260px 1fr 260px;
    gap: 30px;
  }

  .page-news .news-stream__filters {
    gap: 10px;
  }

  .page-news .news-extra__block {
    grid-template-columns: 90px 1fr;
    padding: 24px 22px;
  }
}
