.news-detail-body {
  margin: 0;
  min-width: 320px;
  background: rgba(245, 246, 247, 1);
  color: rgba(51, 51, 51, 1);
  font-family: "SourceHanSansCN-Regular", "Microsoft YaHei", sans-serif;
}

.news-detail-body *,
.news-detail-body *::before,
.news-detail-body *::after {
  box-sizing: border-box;
}

.news-detail-page {
  --news-detail-page-bg: rgba(245, 246, 247, 1);
  --news-detail-surface: rgba(255, 255, 255, 1);
  --news-detail-surface-muted: rgba(242, 242, 242, 1);
  --news-detail-text-main: rgba(0, 0, 0, 1);
  --news-detail-text-body: rgba(51, 51, 51, 1);
  --news-detail-text-meta: rgba(163, 163, 163, 1);
  --news-detail-text-light: rgba(153, 153, 153, 1);
  --news-detail-text-current: rgba(95, 95, 95, 1);
  --news-detail-accent: rgba(218, 36, 29, 1);
  --news-detail-shell-width: 1200px;
  --news-detail-shell-gutter: 24px;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--news-detail-page-bg);
}

.news-detail-page a {
  color: inherit;
  text-decoration: none;
}

.news-detail-shell {
  width: min(calc(100% - (var(--news-detail-shell-gutter) * 2)), var(--news-detail-shell-width));
}

.news-detail-breadcrumb-bar,
.news-detail-hero,
.news-detail-category-bar,
.news-detail-main {
  display: flex;
  justify-content: center;
}

.news-detail-breadcrumb-bar {
  background: var(--news-detail-surface-muted);
}

.news-detail-breadcrumb-shell {
  min-width: 0;
}

.news-detail-breadcrumb {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--news-detail-text-light);
  font-size: 14px;
  line-height: 16px;
}

.news-detail-breadcrumb-link {
  color: var(--news-detail-text-light);
  text-decoration: none;
}

.news-detail-breadcrumb-slash {
  color: var(--news-detail-text-light);
}

.news-detail-breadcrumb-current {
  color: var(--news-detail-text-current);
  text-decoration: none;
}

.news-detail-hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.17), rgba(0, 0, 0, 0.17)),
    center / cover no-repeat url(https://img.js.design/assets/img/69b90a3fb5e8b987e54aa420.png#c8539af5dad79292cb169df937e7a3c1);
}

.news-detail-hero-shell {
  display: flex;
  align-items: flex-start;
  min-height: 240px;
  padding-block: 91px 48px;
}

.news-detail-hero-title {
  color: rgba(255, 255, 255, 1);
  font-family: "SourceHanSansCN-Bold", "Microsoft YaHei", sans-serif;
  font-size: 40px;
  line-height: 48px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.news-detail-category-bar {
  margin-bottom: 6px;
  background: var(--news-detail-surface);
}

.news-detail-category-shell {
  width: min(1920px, 100%);
  padding: 0 24px;
  display: flex;
  justify-content: center;
}

.news-detail-category-row {
  width: min(1200px, 100%);
  display: flex;
  align-items: end;
  padding: 11px 0;
  overflow-x: auto;
  overflow-y: hidden;
}

.news-detail-category-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  min-width: 153px;
  padding: 0 14px;
  border-bottom: 1px solid var(--news-detail-accent);
  background: var(--news-detail-surface);
  color: rgba(0, 0, 0, 1);
  font-family: "SourceHanSansCN-Regular", "Source Han Sans CN", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  white-space: nowrap;
  flex: 0 0 auto;
}

.news-detail-category-tab-active {
  border-top: 1px solid var(--news-detail-accent);
  border-right: 1px solid var(--news-detail-accent);
  border-left: 1px solid var(--news-detail-accent);
  border-bottom: 0;
  color: var(--news-detail-accent);
}

.news-detail-category-fill {
  min-width: 120px;
  flex: 1 0 120px;
  height: 34px;
  border-bottom: 1px solid var(--news-detail-accent);
  background: var(--news-detail-surface);
}

.news-detail-main {
  padding-top: 8px;
  background: var(--news-detail-surface);
}

.news-detail-article-shell {
  display: flex;
}

.news-detail-article {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0;
  padding-block: 30px 110px;
}

.news-detail-article-title {
  color: var(--news-detail-text-main);
  font-family: "SourceHanSansCN-Medium", "Microsoft YaHei", sans-serif;
  font-size: 20px;
  line-height: 29px;
  font-weight: 500;
}

.news-detail-article-meta {
  padding-top: 14px;
  color: var(--news-detail-text-meta);
  font-family: "SourceHanSansCN-Medium", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  line-height: 27px;
}

.news-detail-article-summary,
.news-detail-article-content {
  color: var(--news-detail-text-body);
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 0;
}

.news-detail-article-summary {
  display: flex;
  padding-top: 23px;
  padding-bottom: 26px;
}

.news-detail-article-figure {
  align-self: center;
  width: min(804px, 100%);
  aspect-ratio: 804 / 364;
  background: center / cover no-repeat url(https://img.js.design/assets/img/69b92793bd7f77749a6713be.png#c065c46de2f6e883b06065d25764ed78);
}

.news-detail-article-content {
  display: flex;
  flex-direction: column;
  padding-top: 50px;
  gap: 18px;
}

@media (max-width: 991px) {
  .news-detail-hero-shell {
    min-height: 220px;
    padding-block: 84px 40px;
  }

  .news-detail-hero-title {
    font-size: 34px;
    line-height: 42px;
  }

  .news-detail-article {
    padding-block: 28px 72px;
  }

  .news-detail-article-meta {
    font-size: 16px;
    line-height: 24px;
  }

  .news-detail-article-summary,
  .news-detail-article-content {
    line-height: 30px;
  }

  .news-detail-category-fill {
    min-width: 220px;
    flex-basis: 220px;
  }
}

@media (max-width: 767px) {
  .news-detail-page {
    --news-detail-shell-gutter: 16px;
  }

  .news-detail-breadcrumb {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
  }

  .news-detail-hero-shell {
    min-height: 180px;
    padding-block: 62px 28px;
  }

  .news-detail-hero-title {
    font-size: 28px;
    line-height: 34px;
  }

  .news-detail-article {
    padding-block: 24px 56px;
  }

  .news-detail-article-title {
    font-size: 18px;
    line-height: 27px;
  }

  .news-detail-article-meta {
    font-size: 14px;
    line-height: 22px;
  }

  .news-detail-article-summary,
  .news-detail-article-content {
    font-size: 15px;
    line-height: 28px;
  }

  .news-detail-article-content {
    gap: 14px;
  }
}
