.page-news {
  --news-blue: #0A5CFE;
  --news-blue-light: #3A82FF;
  --news-orange: #FF7A00;
  --news-green: #39FF14;
  --news-gold: #FFC700;
  --news-deep: #0D1B2A;
  --news-deep-2: #081120;
  --news-paper: #F4F0E8;
  --news-gray: #E6E8EC;
  --news-mid: #8D99AE;
  --news-white: #FFFFFF;
  --news-gradient-sea: linear-gradient(135deg, #00C9FF 0%, #92FE9D 100%);
  --news-font-head: "Exo 2", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --news-font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --news-font-mono: "Roboto Mono", "SF Mono", Consolas, monospace;
  --news-radius: 14px;
  --news-radius-sm: 10px;
  --news-transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: var(--news-deep);
  color: var(--news-white);
  font-family: var(--news-font-body);
  overflow-x: hidden;
}

.page-news .breadcrumb {
  padding-top: calc(var(--header-offset, 108px) + 16px);
  padding-bottom: 8px;
  max-width: var(--container-w, 1240px);
  margin: 0 auto;
  padding-left: var(--container-pad, 24px);
  padding-right: var(--container-pad, 24px);
  font-size: 14px;
  color: var(--news-mid);
}

.page-news .breadcrumb a {
  color: var(--news-mid);
  text-decoration: none;
  transition: color var(--news-transition);
}

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

.page-news .breadcrumb__sep {
  margin: 0 8px;
  color: var(--news-mid);
  opacity: 0.7;
}

.page-news .container {
  max-width: var(--container-w, 1240px);
  margin: 0 auto;
  padding-left: var(--container-pad, 24px);
  padding-right: var(--container-pad, 24px);
}

.page-news .section__label {
  font-family: var(--news-font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--news-blue-light);
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-news .section__label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--news-gradient-sea);
  border-radius: 2px;
}

.page-news .section__title {
  font-family: var(--news-font-head);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--news-white);
  letter-spacing: -0.01em;
}

.page-news .section__desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--news-gray);
  margin: 0;
  max-width: 560px;
}

.page-news .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--news-font-head);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--news-transition), box-shadow var(--news-transition), background-color var(--news-transition), border-color var(--news-transition);
}

.page-news .btn--primary {
  background: var(--news-blue);
  color: var(--news-white);
  box-shadow: 0 4px 20px rgba(10, 92, 254, 0.3);
}

.page-news .btn--primary:hover {
  background: var(--news-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(10, 92, 254, 0.4);
}

.page-news .btn--orange {
  background: var(--news-orange);
  color: var(--news-white);
  box-shadow: 0 4px 20px rgba(255, 122, 0, 0.3);
}

.page-news .btn--orange:hover {
  background: #ff8d26;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 122, 0, 0.4);
}

.page-news .btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--news-white);
}

.page-news .btn--ghost:hover {
  border-color: var(--news-white);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.page-news .tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--news-gray);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 1;
  white-space: nowrap;
}

/* news hero */
.page-news .news-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-top: clamp(30px, 5vw, 60px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.page-news .news-hero__title {
  font-family: var(--news-font-head);
  font-weight: 800;
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--news-white);
  letter-spacing: -0.02em;
  max-width: 680px;
}

.page-news .news-hero__desc {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.75;
  color: var(--news-gray);
  margin: 0 0 32px;
  max-width: 520px;
}

.page-news .news-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-news .news-hero__visual {
  position: relative;
  min-height: 260px;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-news .news-hero__window {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 28px;
  border-radius: var(--news-radius);
  background: rgba(13, 27, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), inset 0 0 80px rgba(10, 92, 254, 0.08);
  overflow: hidden;
  z-index: 1;
}

.page-news .news-hero__window::before {
  content: "";
  position: absolute;
  inset: -2% -5% auto auto;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle at top right, rgba(57, 255, 20, 0.12), transparent 60%);
  pointer-events: none;
}

.page-news .news-hero__window-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--news-orange);
  margin-right: 8px;
  margin-bottom: 28px;
}

.page-news .news-hero__window-dot:last-of-type {
  background: var(--news-green);
}

.page-news .news-hero__window-label {
  font-family: var(--news-font-mono);
  font-size: 13px;
  color: var(--news-mid);
  margin: 0 0 16px;
  letter-spacing: 0.04em;
}

.page-news .news-hero__window-num {
  font-family: var(--news-font-mono);
  font-weight: 700;
  font-size: clamp(44px, 8vw, 72px);
  line-height: 1;
  color: var(--news-white);
  margin: 0 0 8px;
}

.page-news .news-hero__window-sub {
  font-size: 14px;
  color: var(--news-gray);
  margin: 0;
}

.page-news .news-hero__corner {
  position: absolute;
  width: 56px;
  height: 56px;
  border-color: var(--news-blue);
  pointer-events: none;
}

.page-news .news-hero__corner--tl {
  top: -8px;
  left: -8px;
  border-left: 2px solid var(--news-blue);
  border-top: 2px solid var(--news-blue);
}

.page-news .news-hero__corner--br {
  bottom: -8px;
  right: -8px;
  border-right: 2px solid var(--news-orange);
  border-bottom: 2px solid var(--news-orange);
}

/* news categories */
.page-news .news-cats-wrap {
  position: relative;
  padding: clamp(40px, 6vw, 72px) 0;
  background: linear-gradient(180deg, var(--news-deep) 0%, var(--news-deep-2) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-news .news-cats__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.page-news .news-cats__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-news .news-cats__track::-webkit-scrollbar {
  height: 4px;
}

.page-news .news-cats__track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.page-news .news-cats__track::-webkit-scrollbar-thumb {
  background: var(--news-blue);
  border-radius: 999px;
}

.page-news .news-cat {
  flex: 0 0 auto;
  width: 168px;
  padding: 20px 16px;
  border-radius: var(--news-radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--news-white);
  text-decoration: none;
  scroll-snap-align: start;
  transition: all var(--news-transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  cursor: pointer;
}

.page-news .news-cat:hover,
.page-news .news-cat:focus-visible {
  background: rgba(10, 92, 254, 0.15);
  border-color: var(--news-blue);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(10, 92, 254, 0.2);
}

.page-news .news-cat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(10, 92, 254, 0.2);
  color: var(--news-blue-light);
  transition: all var(--news-transition);
}

.page-news .news-cat:hover .news-cat__icon {
  background: var(--news-blue);
  color: var(--news-white);
}

.page-news .news-cat strong {
  font-family: var(--news-font-head);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
}

.page-news .news-cat small {
  font-size: 12px;
  color: var(--news-mid);
  line-height: 1.4;
}

.page-news .news-cat--accent {
  border-color: rgba(255, 122, 0, 0.4);
  background: rgba(255, 122, 0, 0.08);
}

.page-news .news-cat--accent:hover,
.page-news .news-cat--accent:focus-visible {
  background: rgba(255, 122, 0, 0.16);
  border-color: var(--news-orange);
  box-shadow: 0 12px 30px rgba(255, 122, 0, 0.2);
}

.page-news .news-cat--accent .news-cat__icon {
  background: rgba(255, 122, 0, 0.2);
  color: var(--news-orange);
}

.page-news .news-cat--accent:hover .news-cat__icon {
  background: var(--news-orange);
  color: var(--news-white);
}

/* articles */
.page-news .news-articles {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

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

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

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

.page-news .article-card {
  border-radius: var(--news-radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: all var(--news-transition);
}

.page-news .article-card:hover {
  border-color: rgba(10, 92, 254, 0.5);
  background: rgba(10, 92, 254, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.page-news .article-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.page-news .article-card__img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--news-deep-2);
}

.page-news .article-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.page-news .article-card:hover .article-card__img img {
  transform: scale(1.03);
}

.page-news .article-card__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  background: rgba(13, 27, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--news-white);
  backdrop-filter: blur(8px);
  line-height: 1;
}

.page-news .article-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 3vw, 24px);
  flex: 1;
}

.page-news .article-card__title {
  font-family: var(--news-font-head);
  font-weight: 700;
  font-size: clamp(18px, 3vw, 22px);
  line-height: 1.35;
  margin: 0;
  color: var(--news-white);
}

.page-news .article-card__excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: var(--news-gray);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-news .article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
  padding-top: 4px;
  font-family: var(--news-font-mono);
  font-size: 12px;
  color: var(--news-mid);
}

.page-news .article-card--lg {
  grid-column: 1 / -1;
}

.page-news .article-card--lg .article-card__link {
  display: grid;
  grid-template-columns: 1fr;
}

.page-news .article-card--lg .article-card__img {
  aspect-ratio: 16 / 8;
}

.page-news .news-articles__more {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* featured */
.page-news .news-featured {
  position: relative;
  background: var(--news-gradient-sea);
  padding: clamp(40px, 6vw, 80px) 0;
  overflow: hidden;
}

.page-news .news-featured::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 300px;
  height: 300px;
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.page-news .news-featured__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.page-news .news-featured__text {
  color: var(--news-deep);
}

.page-news .news-featured__text .section__label {
  color: var(--news-deep);
}

.page-news .news-featured__text .section__label::before {
  background: var(--news-deep);
}

.page-news .news-featured__title {
  font-family: var(--news-font-head);
  font-weight: 800;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.2;
  margin: 0 0 18px;
  color: var(--news-deep);
}

.page-news .news-featured__desc {
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.8;
  margin: 0 0 26px;
  color: rgba(13, 27, 42, 0.8);
  max-width: 560px;
}

.page-news .news-featured__stats {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 480px;
}

.page-news .news-featured__stats li {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(13, 27, 42, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--news-deep);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-news .news-featured__stats span {
  font-family: var(--news-font-mono);
  font-weight: 700;
  font-size: clamp(22px, 4vw, 30px);
  color: var(--news-deep);
}

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

.page-news .news-featured__action .tag {
  background: rgba(13, 27, 42, 0.8);
  border-color: transparent;
  color: var(--news-paper);
}

.page-news .news-featured__media {
  margin: 0;
  position: relative;
  border-radius: var(--news-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 24px 50px rgba(13, 27, 42, 0.18);
}

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

.page-news .news-featured__media figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 16px;
  background: linear-gradient(transparent, rgba(13, 27, 42, 0.85));
  font-size: 13px;
  color: var(--news-white);
}

/* cta */
.page-news .news-cta {
  padding-top: clamp(40px, 6vw, 64px);
  padding-bottom: clamp(40px, 6vw, 64px);
}

.page-news .news-cta__inner {
  border-radius: var(--news-radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.page-news .news-cta__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 15%, rgba(10, 92, 254, 0.15), transparent 50%), radial-gradient(circle at 85% 85%, rgba(57, 255, 20, 0.1), transparent 40%);
  pointer-events: none;
}

.page-news .news-cta__title {
  position: relative;
  font-family: var(--news-font-head);
  font-weight: 700;
  font-size: clamp(20px, 3vw, 28px);
  margin: 0;
  max-width: 620px;
}

.page-news .news-cta__desc {
  position: relative;
  font-size: 15px;
  line-height: 1.7;
  color: var(--news-gray);
  margin: 0;
  max-width: 520px;
}

.page-news .news-cta .btn {
  position: relative;
  margin-top: 8px;
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .page-news * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .page-news .article-card:hover,
  .page-news .news-cat:hover,
  .page-news .btn:hover {
    transform: none;
  }
  .page-news .article-card:hover .article-card__img img {
    transform: none;
  }
}

/* tablet */
@media (min-width: 600px) {
  .page-news .news-hero {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .page-news .news-articles__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-news .article-card--lg {
    grid-column: 1 / -1;
  }

  .page-news .article-card--lg .article-card__link {
    grid-template-columns: 1.1fr 1fr;
  }

  .page-news .article-card--lg .article-card__img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 220px;
  }

  .page-news .news-featured__stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* desktop */
@media (min-width: 960px) {
  .page-news .news-articles__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-news .news-articles .article-card:nth-child(odd):not(.article-card--lg) {
    transform: translateY(16px);
  }

  .page-news .news-articles .article-card:nth-child(odd):not(.article-card--lg):hover {
    transform: translateY(12px);
  }

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

  .page-news .news-cats__track {
    overflow-x: visible;
    flex-wrap: wrap;
  }

  .page-news .news-cat {
    width: calc((100% - 6 * 14px) / 7);
    min-width: 130px;
  }

  .page-news .news-cat:nth-child(4n) {
    margin-right: 0;
  }

  .page-news .news-hero__visual {
    min-height: 320px;
  }
}

@media (min-width: 1240px) {
  .page-news .news-hero__title {
    font-size: 64px;
  }
}
