.page-news {
  --news-hero-deco: rgba(255, 90, 31, 0.10);
  --news-card-shadow: 0 8px 32px rgba(10, 17, 40, 0.18);
  --news-line-cream: rgba(245, 239, 224, 0.16);
}

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

/* ===== 页头 ===== */
.page-news .news-hero {
  position: relative;
  padding: 2rem 0 0;
  background:
    radial-gradient(ellipse at 85% 15%, var(--news-hero-deco), transparent 50%),
    linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-secondary) 68%, var(--color-bg-blue) 100%);
  overflow: hidden;
  border-bottom: 3px solid var(--color-accent);
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  right: -12%;
  top: 4%;
  width: 46%;
  height: 140%;
  background: rgba(38, 198, 163, 0.05);
  transform: rotate(22deg);
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  width: 38%;
  height: 8px;
  background: var(--color-accent);
  transform: skewX(-32deg);
  transform-origin: right bottom;
}

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

.page-news .news-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-top: 1.5rem;
}

.page-news .news-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 0.5rem;
}

.page-news .news-hero-title {
  font-family: var(--font-headline);
  font-size: clamp(1.65rem, 4vw, 2.75rem);
  line-height: 1.18;
  color: var(--color-cream);
  margin: 0.75rem 0 1rem;
  letter-spacing: -0.01em;
  max-width: 20ch;
}

.page-news .news-hero-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-gray-white);
  max-width: 46ch;
  margin: 0 0 1.25rem;
}

.page-news .news-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-news .news-hero-visual {
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.page-news .news-hero-visual img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* ===== 展区索引 ===== */
.page-news .news-index {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--news-line-cream);
  border-bottom: 1px solid var(--news-line-cream);
  padding: 0.875rem 0;
}

.page-news .news-index-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .news-index-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: var(--color-gray-white);
  text-decoration: none;
  letter-spacing: 0.05em;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.page-news .news-index-link:hover {
  color: var(--color-cream);
  border-bottom-color: var(--color-accent);
}

.page-news .news-index-num {
  color: var(--color-accent);
  font-weight: 700;
}

/* ===== 最新动态 ===== */
.page-news .news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-news .news-item {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border-left: 4px solid var(--color-accent);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.page-news .news-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--news-card-shadow);
}

.page-news .news-item[open] {
  border-left-color: var(--color-teal);
}

.page-news .news-item summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  padding: 1.25rem 3rem 1.25rem 1.25rem;
  position: relative;
  list-style: none;
  cursor: pointer;
}

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

.page-news .news-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 1.2rem;
  font-family: var(--font-data);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 400;
  color: var(--color-accent);
  opacity: 0.7;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.page-news .news-item[open] summary::after {
  content: "−";
  opacity: 1;
}

.page-news .news-item-date {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-data);
}

.page-news .news-date-d {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-accent);
}

.page-news .news-date-m {
  font-size: 0.78rem;
  color: rgba(26, 24, 20, 0.55);
  letter-spacing: 0.08em;
}

.page-news .news-item-head {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.page-news .news-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.page-news .news-item-title {
  font-family: var(--font-headline);
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--color-ink);
  margin: 0.1rem 0 0;
}

.page-news .news-item-summary {
  font-size: 0.88rem;
  line-height: 1.68;
  color: rgba(26, 24, 20, 0.72);
  margin: 0;
}

.page-news .news-item-body {
  padding: 1.1rem 1.25rem 1.35rem;
  border-top: 1px dashed rgba(26, 24, 20, 0.18);
}

.page-news .news-item-body p {
  font-size: 0.88rem;
  line-height: 1.72;
  color: var(--color-ink);
  margin: 0 0 0.7rem;
}

.page-news .news-item-body p:last-child {
  margin-bottom: 0;
}

.page-news .news-item-body a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.page-news .news-item-body a:hover {
  color: var(--color-accent-soft);
}

/* ===== 数据更新日志 ===== */
.page-news .updates-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.page-news .updates-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-news .updates-visual::after {
  content: "DATA FEED / LIVE";
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-family: var(--font-data);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--color-cream);
  background: rgba(10, 17, 40, 0.74);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
}

.page-news .updates-visual img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.page-news .updates-timeline {
  position: relative;
  padding-left: 1.5rem;
}

.page-news .updates-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent) 0%, var(--color-teal) 100%);
  border-radius: 2px;
}

.page-news .timeline-item {
  position: relative;
  padding-bottom: 1.25rem;
}

.page-news .timeline-item:last-child {
  padding-bottom: 0;
}

.page-news .timeline-dot {
  position: absolute;
  left: -1.5rem;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-pill);
  background: var(--color-teal);
  border: 2px solid var(--color-bg-dark);
  box-shadow: 0 0 0 2px rgba(38, 198, 163, 0.35);
}

.page-news .timeline-item:nth-child(even) .timeline-dot {
  background: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(255, 90, 31, 0.3);
}

.page-news .timeline-content {
  background: rgba(245, 239, 224, 0.06);
  border: 1px solid rgba(245, 239, 224, 0.1);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
}

.page-news .timeline-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-cream);
  margin: 0 0 0.35rem;
}

.page-news .timeline-content p {
  font-size: 0.84rem;
  line-height: 1.68;
  color: var(--color-gray-white);
  margin: 0;
  opacity: 0.84;
}

/* ===== 版本迭代 ===== */
.page-news .versions-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.page-news .versions-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.page-news .version-card {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  border-top: 3px solid var(--color-teal);
  box-shadow: inset 0 0 0 1px rgba(26, 24, 20, 0.06);
}

.page-news .version-card:nth-child(2) {
  border-top-color: var(--color-purple);
}

.page-news .version-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.page-news .version-num {
  font-family: var(--font-data);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: -0.03em;
}

.page-news .version-title {
  font-family: var(--font-headline);
  font-size: 1.08rem;
  line-height: 1.4;
  color: var(--color-ink);
  margin: 0 0 0.8rem;
}

.page-news .version-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.page-news .version-list li {
  font-size: 0.86rem;
  line-height: 1.65;
  color: rgba(26, 24, 20, 0.78);
  padding-left: 1.25rem;
  position: relative;
}

.page-news .version-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--color-teal);
}

.page-news .version-card:nth-child(2) .version-list li::before {
  background: var(--color-purple);
}

.page-news .version-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-news .version-visual::after {
  content: "BUILD 4.2 / iOS";
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  font-family: var(--font-data);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--color-cream);
  background: rgba(10, 17, 40, 0.78);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
}

.page-news .version-visual img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

/* ===== 专题洞察 ===== */
.page-news .insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.page-news .insight-card {
  background: var(--color-bg-secondary);
  border: 1px solid rgba(245, 239, 224, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.page-news .insight-card:hover {
  border-color: rgba(255, 90, 31, 0.45);
  box-shadow: 0 12px 36px rgba(10, 17, 40, 0.3);
}

.page-news .insight-card-image img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.page-news .insight-card-content {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.page-news .insight-title {
  font-family: var(--font-headline);
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--color-cream);
  margin: 0;
}

.page-news .insight-summary {
  font-size: 0.88rem;
  line-height: 1.72;
  color: var(--color-gray-white);
  margin: 0;
  opacity: 0.86;
}

.page-news .insight-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ===== 信任声明 ===== */
.page-news .news-trust {
  background: var(--color-bg-dark);
  border-top: 1px solid rgba(245, 239, 224, 0.1);
  padding: 3.5rem 0;
}

.page-news .trust-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.page-news .trust-text {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--color-gray-white);
  max-width: 52ch;
  margin: 0;
}

/* ===== 桌面端 ===== */
@media (min-width: 768px) {
  .page-news .news-hero {
    padding-top: 2.5rem;
  }

  .page-news .news-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: end;
    padding-top: 2rem;
  }

  .page-news .news-hero-copy {
    padding-bottom: 2.5rem;
  }

  .page-news .news-hero-title {
    font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  }

  .page-news .news-hero-subtitle {
    font-size: 1.05rem;
  }

  .page-news .news-hero-visual {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .page-news .news-hero-visual img {
    height: 300px;
  }

  .page-news .news-item summary {
    grid-template-columns: 88px 1fr;
    gap: 1.25rem;
    padding: 1.5rem 3.5rem 1.5rem 1.5rem;
  }

  .page-news .news-date-d {
    font-size: 1.95rem;
  }

  .page-news .news-item-title {
    font-size: 1.06rem;
  }

  .page-news .updates-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
  }

  .page-news .updates-visual img {
    height: 300px;
  }

  .page-news .versions-layout {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2rem;
    align-items: stretch;
  }

  .page-news .versions-cards {
    gap: 1.5rem;
  }

  .page-news .version-visual img {
    height: 100%;
    min-height: 280px;
  }

  .page-news .insights-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }

  .page-news .insight-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .page-news .insight-card:first-child .insight-card-image {
    height: 100%;
  }

  .page-news .insight-card:first-child .insight-card-image img {
    height: 100%;
    min-height: 280px;
  }

  .page-news .insight-card:first-child .insight-card-content {
    justify-content: center;
    padding: 2rem 2.25rem;
  }

  .page-news .trust-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 2rem;
  }

  .page-news .trust-text {
    max-width: 60ch;
  }
}

@media (min-width: 1200px) {
  .page-news .news-hero-visual img {
    height: 340px;
  }

  .page-news .updates-visual img {
    height: 330px;
  }

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

  .page-news .insight-card:first-child {
    grid-column: 1 / -1;
  }
}
