.news-detail-hero__backdrop {
  background: #05162d url("assets/news-detail-hero.png?v=20260915-news-detail-hero-1") center / cover no-repeat;
}

.news-detail-work {
  position: relative;
  z-index: 2;
  padding: 96px 24px 120px;
  border-radius: 0 0 80px 80px;
  background: #fbfcff url("assets/case-bg.png") center top / 100% 100% no-repeat;
}

.news-detail-work::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, .65);
  pointer-events: none;
}

.news-detail-canvas {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

.news-detail-canvas > h2 {
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.4;
  font-weight: 700;
  white-space: normal;
}

.news-detail-date {
  position: relative;
  left: auto;
  top: auto;
  width: max-content;
  height: 64px;
  margin: 0 0 26px;
  display: block;
  color: var(--ink);
  outline: none;
}

.news-detail-date .consultation-row__date {
  position: relative;
  left: auto;
  top: auto;
  width: max-content;
  height: 64px;
}

.news-detail-date .consultation-row__date time {
  font-size: 24px;
  line-height: 38px;
}

.news-detail-date .consultation-row__date > span {
  left: 0;
  top: 62px;
  bottom: auto;
  width: 100%;
}

.news-detail-content {
  position: relative;
  width: 100%;
}

.news-detail-lead {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  margin: 0 0 34px;
  padding: 24px 20px;
  border-left: 4px solid var(--blue);
  background: #fff;
  color: #777;
  font-size: 18px;
  line-height: 36px;
  font-weight: 400;
  text-align: justify;
}

.news-detail-image {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  aspect-ratio: 1000 / 636;
}

.news-detail-image--first {
  margin: 0 0 34px;
}

.news-detail-image--second {
  margin: 34px 0;
}

.news-detail-copy {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  margin: 0 0 26px;
  color: #777;
  font-size: 18px;
  line-height: 36px;
  font-weight: 400;
  text-align: justify;
  white-space: pre-line;
}

.news-detail-copy--first,
.news-detail-copy--second {
  height: auto;
}

/* 动态正文：后台富文本内容流式展示 */
.news-detail-body {
  position: relative;
  width: 100%;
  margin-top: 30px;
  color: #4a5568;
  font-size: 18px;
  line-height: 36px;
  font-weight: 400;
  text-align: justify;
  word-break: break-word;
}
.news-detail-body p { margin: 0 0 22px; }
.news-detail-body img { display: block; max-width: 100%; height: auto; margin: 26px auto; border-radius: 10px; }
.news-detail-body h2,
.news-detail-body h3,
.news-detail-body h4 { color: var(--ink); font-weight: 700; line-height: 1.4; margin: 34px 0 16px; }
.news-detail-body h2 { font-size: 26px; }
.news-detail-body h3 { font-size: 22px; }
.news-detail-body h4 { font-size: 19px; }
.news-detail-body ul,
.news-detail-body ol { margin: 0 0 22px; padding-left: 24px; }
.news-detail-body li { margin-bottom: 8px; }
.news-detail-body a { color: var(--blue); text-decoration: underline; }
.news-detail-body strong { color: var(--ink); }
.news-detail-body blockquote { margin: 0 0 22px; padding: 14px 18px; border-left: 4px solid var(--blue); background: rgba(239, 243, 251, .5); color: #777; }
.news-detail-body iframe,
.news-detail-body video { display: block; max-width: 100%; margin: 26px auto; }

.news-detail-nav {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.news-detail-nav__link {
  position: relative;
  height: 120px;
  display: block;
  padding: 26px 28px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.news-detail-nav__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 120px;
  background: var(--blue);
  opacity: 0;
  transform: scaleY(0);
  transform-origin: center;
  transition: opacity .25s ease, transform .36s cubic-bezier(.22, 1, .36, 1);
}

.news-detail-nav__link > span,
.news-detail-nav__link > strong {
  display: block;
  font-size: 18px;
  line-height: 29px;
}

.news-detail-nav__link > span {
  color: #777;
  font-weight: 400;
}

.news-detail-nav__link > strong {
  margin-top: 10px;
  color: var(--ink);
  font-weight: 700;
  transition: color .3s ease;
}

.news-detail-nav__link:hover > strong,
.news-detail-nav__link:focus-visible > strong,
.news-detail-nav__link:active > strong {
  color: var(--blue);
}

.news-detail-nav__link:hover::before,
.news-detail-nav__link:focus-visible::before,
.news-detail-nav__link:active::before {
  opacity: 1;
  transform: scaleY(1);
}

@media (max-width: 900px) {
  .news-detail-page .case-banner {
    background: #030916 url("assets/news-detail-banner-mobile-bg.png?v=20261003-news-detail-banner-mobile-bg-1") center / cover no-repeat;
  }

  .news-detail-page .case-banner__video {
    display: none;
  }

  .news-detail-work {
    height: auto;
    padding: 72px 24px 100px;
    border-radius: 0 0 40px 40px;
    background-size: cover;
  }

  .news-detail-canvas {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
  }

  .news-detail-canvas > h2,
  .news-detail-date,
  .news-detail-content,
  .news-detail-lead,
  .news-detail-image,
  .news-detail-copy,
  .news-detail-nav {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
  }

  .news-detail-canvas > h2 {
    font-size: clamp(26px, 7vw, 32px);
    line-height: 1.45;
    white-space: normal;
  }

  .news-detail-date {
    width: max-content;
    height: 64px;
    margin-top: 34px;
  }

  .news-detail-content {
    margin-top: 30px;
  }

  .news-detail-lead {
    padding: 20px 20px;
    font-size: 16px;
    line-height: 30px;
    text-align: left;
  }

  .news-detail-image {
    aspect-ratio: 1000 / 636;
    margin-top: 50px;
  }

  .news-detail-copy {
    margin-top: 42px;
    font-size: 16px;
    line-height: 30px;
    text-align: left;
    white-space: pre-line;
  }

  .news-detail-nav {
    margin-top: 64px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .news-detail-nav__link {
    height: auto;
    min-height: 112px;
    padding: 23px 22px;
  }

  .news-detail-nav__link::before {
    height: 100%;
  }

  .news-detail-nav__link > span,
  .news-detail-nav__link > strong {
    font-size: 16px;
    line-height: 26px;
  }

  .news-detail-nav__link > strong {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-detail-nav__link::before,
  .news-detail-nav__link > strong {
    transition-duration: .01ms;
  }
}
