.page-news {
  --news-ink: #0D0F1C;
  --news-navy: #1E2A5A;
  --news-purple: #7C3AED;
  --news-neon: #C8F068;
  --news-red: #FF5A5F;
  --news-bg: #F4F6FB;
  --news-muted: #64748B;
  --news-border: #E9EDF5;
  --news-line-on-dark: rgba(244, 246, 251, .1);
  --news-font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --news-mono: "SF Mono", "Consolas", "Roboto Mono", monospace;
  background: var(--news-bg);
  color: var(--news-ink);
  overflow-x: clip;
}

.page-news .breadcrumbs {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
  padding-top: 24px;
  font-size: 14px;
  color: var(--news-muted);
}

.page-news .breadcrumbs a {
  color: var(--news-purple);
  text-decoration: none;
}

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

.page-news .breadcrumbs__sep {
  margin: 0 8px;
  color: var(--news-border);
}

.page-news figure {
  margin: 0;
}

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

.page-news figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--news-muted);
}

/* ========== Hero ========== */
.page-news__hero {
  padding: 40px 0 36px;
}

.page-news__hero-container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
  display: grid;
  gap: 28px;
}

.page-news__eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--news-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--news-purple);
  margin-bottom: 18px;
}

.page-news__eyebrow-status {
  color: var(--news-muted);
  letter-spacing: .04em;
}

.page-news__title {
  font-family: var(--news-font);
  font-size: clamp(30px, 6vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 18px;
}

.page-news__lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--news-muted);
  max-width: 60em;
  margin: 0;
}

.page-news__hero-panel {
  background: var(--news-ink);
  color: var(--color-white);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.page-news__hero-panel::before {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--news-purple);
  opacity: .35;
  filter: blur(34px);
  pointer-events: none;
}

.page-news__hero-panel-label {
  font-family: var(--news-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(244, 246, 251, .7);
  position: relative;
}

.page-news__hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  position: relative;
  transition: transform .12s cubic-bezier(.2, 0, 0, 1), box-shadow .12s cubic-bezier(.2, 0, 0, 1);
}

.page-news__hero-btn--primary {
  background: var(--news-purple);
  color: var(--color-white);
  box-shadow: 0 10px 22px -14px rgba(124, 58, 237, .9);
}

.page-news__hero-btn--ghost {
  border: 1px solid rgba(244, 246, 251, .28);
  color: var(--color-white);
}

.page-news__hero-btn:hover {
  transform: translateY(-2px);
}

.page-news__hero-btn--primary:hover {
  box-shadow: 0 14px 26px -14px rgba(124, 58, 237, .9);
}

.page-news__hero-panel-url {
  margin-top: 6px;
  font-family: var(--news-mono);
  font-size: 13px;
  color: var(--news-neon);
}

/* ========== Section head ========== */
.page-news__section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.page-news__section-index {
  font-family: var(--news-mono);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--news-purple);
  text-transform: uppercase;
}

.page-news__section-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 8px;
}

.page-news__section-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--news-muted);
  margin: 0;
}

.page-news__section-head--light {
  color: var(--color-white);
}

.page-news__section-head--light .page-news__section-title {
  color: var(--color-white);
}

.page-news__section-head--light .page-news__section-desc {
  color: rgba(244, 246, 251, .75);
}

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

.page-news section .container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ========== 01 Feed ========== */
.page-news__feed {
  background: var(--color-white);
}

.page-news__list {
  border-top: 1px solid var(--news-border);
}

.page-news .filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 16px 0 20px;
}

.page-news .filterbar__label {
  font-family: var(--news-mono);
  font-size: 12px;
  color: var(--news-muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-right: 4px;
}

.page-news .filterbtn {
  font-family: var(--news-font);
  font-size: 14px;
  line-height: 1;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--news-border);
  background: var(--color-white);
  color: var(--news-ink);
  cursor: pointer;
  transition: background-color .12s cubic-bezier(.2, 0, 0, 1), color .12s cubic-bezier(.2, 0, 0, 1), border-color .12s cubic-bezier(.2, 0, 0, 1);
}

.page-news .filterbtn[aria-pressed="true"] {
  background: var(--news-purple);
  border-color: var(--news-purple);
  color: var(--color-white);
}

.page-news .filterbtn:hover {
  border-color: var(--news-purple);
}

.news-item {
  border-bottom: 1px solid var(--news-border);
  padding: 24px 0;
  transition: background-color .12s cubic-bezier(.2, 0, 0, 1), padding-left .12s cubic-bezier(.2, 0, 0, 1);
}

.news-item:hover {
  background: rgba(124, 58, 237, .04);
  padding-left: 14px;
}

.news-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.news-item__index {
  font-family: var(--news-mono);
  font-size: 12px;
  color: var(--news-muted);
}

.news-item__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.news-item__title a {
  color: var(--news-ink);
  text-decoration: none;
  transition: color .12s cubic-bezier(.2, 0, 0, 1);
}

.news-item__title a:hover {
  color: var(--news-purple);
}

.news-item__summary {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--news-muted);
}

.news-item__foot {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--news-muted);
}

.news-item__cat {
  color: var(--news-purple);
  font-weight: 600;
}

.news-item__date {
  font-family: var(--news-mono);
}

/* ========== 02 Tactics ========== */
.page-news__tactics {
  background: var(--news-navy);
  color: var(--color-white);
}

.page-news__tactics-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

.page-news__tactic-steps {
  display: flex;
  flex-direction: column;
}

.tactic-step {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--news-line-on-dark);
  transition: padding-left .12s cubic-bezier(.2, 0, 0, 1);
}

.tactic-step:hover {
  padding-left: 8px;
}

.tactic-step__num {
  flex-shrink: 0;
  font-family: var(--news-mono);
  font-size: 14px;
  color: var(--news-neon);
  line-height: 1.4;
  letter-spacing: .06em;
  padding-top: 4px;
}

.tactic-step__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.tactic-step__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(244, 246, 251, .78);
}

.page-news__tactics-figure {
  margin: 0;
}

.page-news__tactics-figure figcaption {
  color: rgba(244, 246, 251, .6);
}

/* ========== 03 Renewal ========== */
.page-news__renewal {
  background: var(--news-bg);
}

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

.renewal-card {
  background: var(--color-white);
  border: 1px solid var(--news-border);
  border-radius: 14px;
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform .12s cubic-bezier(.2, 0, 0, 1), box-shadow .12s cubic-bezier(.2, 0, 0, 1);
}

.renewal-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-lg);
}

.renewal-card__num {
  font-family: var(--news-mono);
  font-size: 14px;
  color: var(--news-purple);
  display: inline-flex;
  margin-bottom: 22px;
  letter-spacing: .08em;
}

.renewal-card__title {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
}

.renewal-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--news-muted);
}

.renewal-card--primary {
  background: var(--news-purple);
  color: var(--color-white);
  border-color: var(--news-purple);
}

.renewal-card--primary .renewal-card__num {
  color: var(--news-neon);
}

.renewal-card--primary .renewal-card__text {
  color: rgba(255, 255, 255, .88);
}

.renewal-card--accent {
  background: var(--news-ink);
  border-color: var(--news-ink);
  color: var(--color-white);
}

.renewal-card--accent .renewal-card__num {
  color: var(--news-neon);
}

.renewal-card--accent .renewal-card__text {
  color: rgba(244, 246, 251, .78);
}

/* ========== 04 Data band ========== */
.page-news__data {
  background: var(--news-ink);
  color: var(--color-white);
}

.page-news__data-inner {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-news__data-copy .page-news__section-index {
  color: var(--news-neon);
}

.page-news__data-title {
  margin: 10px 0 14px;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  line-height: 1.2;
}

.page-news__data-text {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(244, 246, 251, .8);
  max-width: 56em;
}

.page-news__data-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.page-news__data-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(244, 246, 251, .05);
  border: 1px solid var(--news-line-on-dark);
  border-radius: 10px;
  padding: 16px 20px;
  min-width: 120px;
}

.page-news__data-num {
  font-family: var(--news-mono);
  font-size: 28px;
  font-weight: 800;
  color: var(--news-neon);
}

.page-news__data-label {
  font-size: 13px;
  color: rgba(244, 246, 251, .65);
}

/* ========== 05 Version ========== */
.page-news__version {
  background: var(--news-bg);
}

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

.version-card {
  background: var(--news-ink);
  color: var(--color-white);
  border-radius: 14px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.version-card::before {
  content: "";
  position: absolute;
  left: -36px;
  bottom: -44px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--news-purple);
  opacity: .3;
  filter: blur(30px);
  pointer-events: none;
}

.version-card__no {
  font-family: var(--news-mono);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--news-neon);
}

.version-card__build {
  font-family: var(--news-mono);
  font-size: 13px;
  color: rgba(244, 246, 251, .6);
  margin-bottom: 22px;
}

.version-card__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.version-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(244, 246, 251, .88);
}

.version-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--news-neon);
  box-shadow: 0 0 0 3px rgba(200, 240, 104, .18);
}

.version-card__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(244, 246, 251, .55);
  position: relative;
}

.page-news__version-figure figcaption {
  color: var(--news-muted);
}

.page-news__version-history {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--news-border);
  overflow-x: auto;
}

.page-news__version-history-item {
  font-family: var(--news-mono);
  font-size: 13px;
  color: var(--news-muted);
  background: var(--color-white);
  border: 1px solid var(--news-border);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.page-news__version-history-item--current {
  border-color: var(--news-purple);
  color: var(--news-purple);
  background: rgba(124, 58, 237, .06);
}

.page-news__version-history-arrow {
  font-family: var(--news-mono);
  color: var(--news-purple);
}

/* ========== 06 Subscribe ========== */
.page-news__subscribe {
  background: var(--color-white);
}

.page-news__subscribe-grid {
  display: grid;
  gap: 32px;
}

.subscribe-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.subscribe-step {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--news-border);
}

.subscribe-step__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--news-purple);
  color: var(--color-white);
  font-family: var(--news-mono);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.subscribe-step__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.subscribe-step__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--news-muted);
}

.subscribe-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--news-muted);
  background: rgba(200, 240, 104, .1);
  border: 1px solid rgba(200, 240, 104, .3);
  border-radius: 10px;
  padding: 14px 18px;
}

/* ========== Calendar box ========== */
.calendar-box {
  background: var(--news-navy);
  color: var(--color-white);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-card-lg);
}

.calendar-box__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.calendar-box__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.calendar-box__hint {
  font-size: 12px;
  color: rgba(244, 246, 251, .55);
  font-family: var(--news-mono);
}

.calendar-box__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}

.calendar-box__weekdays span {
  text-align: center;
  font-size: 12px;
  line-height: 2;
  color: rgba(244, 246, 251, .45);
  font-family: var(--news-mono);
}

.calendar-box__dots {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 46px;
  gap: 4px;
  background-image:
    linear-gradient(to right, rgba(244, 246, 251, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 246, 251, .07) 1px, transparent 1px);
  background-size: calc(100% / 7) 100%, 100% calc(100% / 5);
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 14px;
}

.calendar-dot-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.is-r1 { grid-row: 1; }
.is-r2 { grid-row: 2; }
.is-r3 { grid-row: 3; }
.is-r4 { grid-row: 4; }
.is-r5 { grid-row: 5; }
.is-c1 { grid-column: 1; }
.is-c2 { grid-column: 2; }
.is-c3 { grid-column: 3; }
.is-c4 { grid-column: 4; }
.is-c5 { grid-column: 5; }
.is-c6 { grid-column: 6; }
.is-c7 { grid-column: 7; }

.calendar-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--news-neon);
  border: none;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 0 0 4px rgba(200, 240, 104, .18), 0 4px 12px -6px rgba(200, 240, 104, .5);
  transition: transform .12s cubic-bezier(.2, 0, 0, 1), box-shadow .12s cubic-bezier(.2, 0, 0, 1);
}

.calendar-dot:hover {
  transform: scale(1.14);
  box-shadow: 0 0 0 6px rgba(200, 240, 104, .24), 0 6px 16px -6px rgba(200, 240, 104, .6);
}

.calendar-dot__dot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.calendar-dot-wrap__panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--news-ink);
  color: var(--color-white);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-family: var(--news-mono);
  white-space: nowrap;
  z-index: 30;
  box-shadow: 0 14px 34px -18px rgba(13, 15, 28, .6);
}

.calendar-dot-wrap:hover .calendar-dot-wrap__panel,
.calendar-dot-wrap:focus-within .calendar-dot-wrap__panel {
  display: block;
}

.calendar-legend {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(244, 246, 251, .7);
}

.calendar-box__figure {
  margin: 0;
}

.calendar-box__figure figcaption {
  color: rgba(244, 246, 251, .55);
}

/* ========== Responsive ========== */
@media (min-width: 768px) {
  .page-news__section-head {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
  }

  .page-news__section-index {
    flex-shrink: 0;
    padding-top: 6px;
  }

  .page-news__section-head-copy {
    max-width: 720px;
    text-align: right;
  }

  .page-news__section-head--light .page-news__section-head-copy {
    text-align: right;
  }

  .news-item__summary {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 3.5em;
  }

  .news-item:hover .news-item__summary,
  .news-item:focus-within .news-item__summary {
    -webkit-line-clamp: unset;
    max-height: none;
  }

  .page-news__renewal-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .renewal-card:last-child {
    grid-column: 1 / -1;
  }

  .page-news__version-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }

  .page-news__subscribe-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .page-news__hero {
    padding: 64px 0 56px;
  }

  .page-news__hero-container {
    grid-template-columns: 7fr 5fr;
    gap: 64px;
    align-items: center;
  }

  .page-news__title {
    font-size: 52px;
  }

  .page-news__lead {
    font-size: 18px;
  }

  .page-news__tactics-grid {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: center;
  }

  .page-news__data-inner {
    grid-template-columns: 6fr 5fr;
    gap: 56px;
  }

  .page-news__renewal-grid {
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
  }

  .renewal-card:last-child {
    grid-column: auto;
  }

  .page-news__subscribe-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .calendar-box {
    padding: 28px;
  }
}
