/* ============================================================
   行业观察页 /insights/ 页面专属样式
   ============================================================ */

.page-news {
  --news-sidebar-w: 340px;
  --news-timeline-bar: 2px;
  background: var(--c-ivory);
  color: var(--c-ink);
}

/* ---------- 面包屑 ---------- */
.page-news .news-breadcrumb {
  padding: 1.25rem 0 0;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.page-news .news-breadcrumb a {
  color: var(--c-sea-blue);
  text-decoration: none;
  font-weight: 600;
}

.page-news .news-breadcrumb a:hover {
  color: var(--c-red);
}

.page-news .news-breadcrumb__sep {
  margin: 0 0.5rem;
  color: var(--c-sand);
  font-weight: 700;
}

/* ---------- Hero ---------- */
.page-news .news-hero {
  position: relative;
  overflow: hidden;
  margin-top: 1.5rem;
  padding: 3rem 0 3.25rem;
  background: linear-gradient(135deg, var(--c-sea-blue) 0%, var(--c-deep-sea) 92%);
  color: var(--c-ivory);
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  right: -4rem;
  top: -4rem;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  border: 1px solid rgba(247, 244, 236, 0.14);
  box-shadow: 0 0 0 2.5rem rgba(247, 244, 236, 0.04), 0 0 0 5.5rem rgba(247, 244, 236, 0.03);
  pointer-events: none;
}

.page-news .news-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}

.page-news .news-hero .eyebrow {
  color: var(--c-sand);
}

.page-news .news-hero__title {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  font-weight: 900;
  color: var(--c-ivory);
  text-wrap: balance;
}

.page-news .news-hero__lead {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(247, 244, 236, 0.92);
  max-width: 36em;
}

.page-news .news-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(247, 244, 236, 0.25);
}

.page-news .news-hero__stats div {
  min-width: 6rem;
}

.page-news .news-hero__stats dt {
  font-size: 0.72rem;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(247, 244, 236, 0.72);
}

.page-news .news-hero__stats dd {
  margin: 0.2rem 0 0;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--c-sand);
}

.page-news .news-hero__media {
  margin: 0;
  border: 1px solid rgba(247, 244, 236, 0.15);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(14, 76, 100, 0.38);
}

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

/* ---------- 通用分区头部 ---------- */
.page-news .section-head {
  margin-bottom: 2rem;
}

.page-news .section-head h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--c-deep-sea);
}

.page-news .news-section-note {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(28, 43, 48, 0.68);
  max-width: 36em;
}

/* ---------- 最新发布 ---------- */
.page-news .news-latest {
  padding: 3.5rem 0 4rem;
}

.page-news .news-latest__grid {
  display: grid;
  gap: 2rem;
}

.page-news .news-timeline {
  position: relative;
  margin: 0;
  padding: 0.25rem 0 0;
  list-style: none;
}

.page-news .news-timeline::before {
  content: "";
  position: absolute;
  top: 0.25rem;
  bottom: 0.25rem;
  left: 2rem;
  width: var(--news-timeline-bar);
  background: linear-gradient(to bottom, var(--c-sand), var(--c-sea-blue));
  opacity: 0.35;
}

.page-news .news-timeline__item {
  position: relative;
  padding: 0 0 1.75rem 3.25rem;
}

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

.page-news .news-timeline__item::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  left: calc(2rem - 5px);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--c-sea-blue);
  background: var(--c-ivory);
  box-shadow: 0 0 0 4px rgba(28, 120, 154, 0.15);
}

.page-news .news-timeline__time {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--c-deep-sea);
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
}

.page-news .news-timeline__body {
  background: var(--c-ivory);
  border: 1px solid var(--c-fog);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.page-news .news-timeline__item:hover .news-timeline__body,
.page-news .news-timeline__item:focus-within .news-timeline__body {
  border-color: var(--c-sea-blue);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.page-news .news-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.page-news .news-item__cat {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--c-sea-blue);
  color: var(--c-ivory);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-news .news-item__tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-sand);
}

.page-news .news-timeline__body h3 {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.1rem;
  line-height: 1.45;
  font-weight: 800;
  color: var(--c-ink);
}

.page-news .news-item__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 0.75rem;
  font-size: 0.93rem;
  line-height: 1.65;
  color: rgba(28, 43, 48, 0.75);
}

.page-news .news-timeline__item:hover .news-item__excerpt,
.page-news .news-timeline__item:focus-within .news-item__excerpt {
  -webkit-line-clamp: 10;
}

.page-news .news-item__more {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-sea-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}

.page-news .news-item__more:hover {
  border-bottom-color: currentColor;
}

.page-news .news-more-btn {
  margin-top: 1.75rem;
}

/* ---------- 最新发布侧栏 ---------- */
.page-news .news-latest__side {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}

.page-news .news-pick {
  padding: 1.5rem;
  background: linear-gradient(165deg, var(--c-ivory) 0%, #FFFFFF 78%);
  border: 1px solid var(--c-fog);
  border-top: 4px solid var(--c-sand);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-news .news-pick h3 {
  margin: 0.75rem 0 0.75rem;
  font-size: 1.15rem;
  line-height: 1.45;
  font-weight: 800;
  color: var(--c-ink);
}

.page-news .news-pick p {
  margin: 0 0 1.25rem;
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(28, 43, 48, 0.75);
}

.page-news .news-topic-index {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--c-fog);
}

.page-news .news-topic-index ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.page-news .news-topic-index a {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--c-deep-sea);
  text-decoration: none;
  border-bottom: 1px solid rgba(14, 76, 100, 0.25);
}

.page-news .news-topic-index a:hover {
  color: var(--c-red);
  border-bottom-color: currentColor;
}

/* ---------- 赛季专题 ---------- */
.page-news .news-topics {
  padding: 4.5rem 0 5rem;
  background: linear-gradient(175deg, var(--c-deep-sea) 0%, #0A3A4D 100%);
  color: var(--c-ivory);
}

.page-news .news-topics .section-head h2 {
  color: var(--c-ivory);
}

.page-news .news-topics .news-section-note {
  color: rgba(247, 244, 236, 0.72);
}

.page-news .news-topics__media {
  margin: 0 0 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

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

.page-news .topic-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2.25rem;
}

.page-news .topic-list__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
}

.page-news .topic-list__num {
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--c-sand);
  font-variant-numeric: tabular-nums;
}

.page-news .topic-list__content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 800;
  color: var(--c-ivory);
}

.page-news .topic-list__content p {
  margin: 0 0 0.75rem;
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(247, 244, 236, 0.78);
}

.page-news .topic-list__content a {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-sand);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 164, 65, 0.45);
}

.page-news .topic-list__content a:hover {
  color: var(--c-coral);
  border-bottom-color: var(--c-coral);
}

/* ---------- 版本更新记录 ---------- */
.page-news .news-versions {
  padding: 4.5rem 0;
  background: var(--c-fog);
}

.page-news .news-versions__banner {
  margin: 0 0 2.25rem;
  border-radius: var(--radius);
  overflow: hidden;
}

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

.page-news .version-list {
  display: grid;
  gap: 1.5rem;
}

.page-news .version-list__item {
  padding: 1.5rem;
  background: var(--c-ivory);
  border: 1px solid rgba(225, 233, 236, 0.9);
  border-left: 4px solid var(--c-sea-blue);
  border-radius: var(--radius);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

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

.page-news .version-list__item h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  line-height: 1.4;
  font-weight: 800;
  color: var(--c-deep-sea);
}

.page-news .version-list__status {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-coconut);
}

.page-news .version-list__item ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.4rem;
}

.page-news .version-list__item li {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(28, 43, 48, 0.82);
}

.page-news .version-list__item a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-sea-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(28, 120, 154, 0.3);
}

.page-news .version-list__item a:hover {
  color: var(--c-red);
  border-bottom-color: currentColor;
}

/* ---------- 使用技巧 ---------- */
.page-news .news-tips {
  padding: 4.5rem 0;
  background: var(--c-ivory);
}

.page-news .tips-grid {
  display: grid;
  gap: 2rem;
}

.page-news .tips-grid__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.page-news .tips-grid__content {
  display: grid;
  gap: 1.25rem;
}

.page-news .tips-grid__item {
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  background: rgba(225, 233, 236, 0.62);
  border-left: 3px solid var(--c-coconut);
  border-radius: var(--radius);
}

.page-news .tips-grid__item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.03rem;
  line-height: 1.45;
  font-weight: 800;
  color: var(--c-ink);
}

.page-news .tips-grid__item p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.65;
  color: rgba(28, 43, 48, 0.76);
}

/* ---------- 关于本栏目 ---------- */
.page-news .news-about {
  padding: 4.5rem 0 5rem;
  background: var(--c-fog);
}

.page-news .about-grid {
  display: grid;
  gap: 1.25rem;
}

.page-news .about-grid__item {
  padding: 1.5rem;
  background: var(--c-ivory);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 3px solid var(--c-sand);
  border-radius: var(--radius);
}

.page-news .about-grid__item h3 {
  margin: 0 0 0.75rem;
  font-size: 1.08rem;
  line-height: 1.4;
  font-weight: 800;
  color: var(--c-deep-sea);
}

.page-news .about-grid__item p {
  margin: 0 0 1rem;
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(28, 43, 48, 0.8);
}

.page-news .about-grid__item a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-sea-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(28, 120, 154, 0.3);
}

.page-news .about-grid__item a:hover {
  color: var(--c-red);
  border-bottom-color: currentColor;
}

/* ---------- 桌面端布局增强 ---------- */
@media (min-width: 768px) {
  .page-news .news-hero {
    padding: 4.5rem 0;
  }

  .page-news .news-hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 3rem;
  }

  .page-news .section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
  }

  .page-news .news-section-note {
    margin-top: 0;
    text-align: right;
    flex-shrink: 0;
  }

  .page-news .news-latest__grid {
    grid-template-columns: minmax(0, 1fr) var(--news-sidebar-w);
    gap: 2.5rem;
  }

  .page-news .tips-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 2.5rem;
  }

  .page-news .version-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (min-width: 1024px) {
  .page-news .news-topics__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3.5rem;
    align-items: start;
  }

  .page-news .news-topics__media {
    position: sticky;
    top: 6rem;
    margin-bottom: 0;
  }

  .page-news .topic-list__item:nth-child(even) {
    margin-left: 10%;
  }

  .page-news .topic-list__item:nth-child(odd) {
    margin-right: 8%;
  }

  .page-news .news-timeline::before {
    left: 3.5rem;
  }

  .page-news .news-timeline__item {
    padding-left: 5rem;
  }

  .page-news .news-timeline__item::before {
    left: calc(3.5rem - 5px);
  }
}
