/* ==================== 公司要闻详情页 ==================== */
* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #2B303B;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  border: 0;
}

.nd-container {
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
}

/* ---------- 文章头部 ---------- */
.nd-hero {
  padding: 40px 0 38px;
  background: linear-gradient(180deg, #F4F6FB 0%, #FBFCFE 100%);
}

.nd-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #98A0AE;
}

.nd-breadcrumb a {
  color: #7B8496;
  transition: color 0.25s ease;
}

.nd-breadcrumb a:hover {
  color: #0A41FF;
}

.nd-breadcrumb em {
  font-style: normal;
  color: #5A6374;
}

.nd-meta-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.nd-cat {
  padding: 5px 12px;
  border-radius: 4px;
  background: #E9EFFF;
  color: #2743B0;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.5px;
}

.nd-meta-top time {
  font-size: 13px;
  color: #98A0AE;
  letter-spacing: 0.5px;
}

.nd-hero h1 {
  max-width: 1040px;
  margin: 20px 0 14px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.5px;
  color: #171C2C;
}

.nd-subtitle {
  max-width: 1000px;
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: #4B5567;
}

/* ---------- 正文 ---------- */
.nd-article {
  padding-top: 36px;
}

.nd-content {
  max-width: 880px;
  margin: 40px auto 0;
  font-size: 17px;
  line-height: 2.1;
  color: #2B303B;
}

.nd-content p {
  margin: 0 0 24px;
  text-indent: 2em;
}

.nd-content h2 {
  margin: 40px 0 18px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  color: #171C2C;
}

.nd-figure {
  margin: 34px 0;
  text-align: center;
}

.nd-figure img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 8px;
}

.nd-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: #9AA1AF;
}

.nd-source {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 880px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid #EDF0F7;
  font-size: 13px;
  line-height: 1.8;
  color: #98A0AE;
}

/* ---------- 上一篇 / 下一篇 ---------- */
.nd-pager {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: min(1200px, calc(100% - 64px));
  margin: 48px auto 72px;
}

.nd-pager-item {
  display: block;
  padding: 20px 24px;
  border: 1px solid #E6EAF3;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.nd-pager-item:hover {
  border-color: #B9C8FF;
  box-shadow: 0 10px 26px rgba(20, 51, 158, 0.08);
}

.nd-pager-item span {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  color: #98A0AE;
}

.nd-pager-item strong {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 7px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: #2B303B;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.nd-pager-item.next {
  text-align: right;
}

/* ---------- 响应式 ---------- */
@media screen and (max-width: 960px) {
  .nd-container,
  .nd-pager {
    width: calc(100% - 32px);
  }

  .nd-hero {
    padding: 24px 0 26px;
  }

  .nd-breadcrumb {
    font-size: 11.5px;
    gap: 6px;
  }

  .nd-meta-top {
    margin-top: 18px;
    gap: 10px;
  }

  .nd-cat {
    padding: 4px 10px;
    font-size: 11px;
  }

  .nd-meta-top time {
    font-size: 11.5px;
  }

  .nd-hero h1 {
    margin: 14px 0 10px;
    font-size: 23px;
    line-height: 1.5;
    letter-spacing: 0;
  }

  .nd-subtitle {
    font-size: 14.5px;
    line-height: 1.7;
  }

  .nd-article {
    padding-top: 20px;
  }

  .nd-content {
    margin-top: 24px;
    font-size: 15.5px;
    line-height: 2;
  }

  .nd-content p {
    margin-bottom: 18px;
  }

  .nd-content h2 {
    margin: 30px 0 14px;
    font-size: 18px;
  }

  .nd-figure {
    margin: 24px 0;
  }

  .nd-figure figcaption {
    font-size: 11.5px;
  }

  .nd-source {
    margin-top: 28px;
    padding-top: 16px;
    font-size: 11.5px;
  }

  .nd-pager {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 32px auto 44px;
  }

  .nd-pager-item {
    padding: 16px 18px;
  }

  .nd-pager-item.next {
    text-align: left;
  }
}
