/* ============================================================
   新闻中心 / 内容详情
   仅用于 /news 与 /news/detail，避免影响官网其它区块
   ============================================================ */

.news-hub,
.news-detail-page {
  background: #f4f7fb;
}

/* ---------- 列表头图 ---------- */
.nw-hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 58px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(42, 157, 255, .28), transparent 30%),
    radial-gradient(circle at 12% 90%, rgba(0, 190, 190, .12), transparent 32%),
    linear-gradient(120deg, #071e3d 0%, #0b3769 56%, #1259a6 100%);
}
.nw-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.75), transparent 92%);
  pointer-events: none;
}
.nw-hero::after {
  content: '';
  position: absolute;
  right: -90px;
  bottom: -170px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(255,255,255,.025), 0 0 0 92px rgba(255,255,255,.018);
  pointer-events: none;
}
.nw-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
}
.nw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #9ec9f5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.2px;
}
.nw-eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: #58b4ff;
  border-radius: 2px;
}
.nw-hero h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: 1px;
}
.nw-hero p {
  max-width: 660px;
  margin: 0;
  color: #c9dcf2;
  font-size: 15px;
  line-height: 1.9;
}
.nw-hero-stats {
  display: flex;
  flex-shrink: 0;
  gap: 28px;
  padding-bottom: 4px;
}
.nw-hero-stat {
  min-width: 92px;
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,.2);
}
.nw-hero-stat:nth-child(2) {
  min-width: 122px;
}
.nw-hero-stat:nth-child(2) b {
  font-size: 19px;
  letter-spacing: .4px;
  white-space: nowrap;
}
.nw-hero-stat b {
  display: block;
  color: #fff;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 700;
}
.nw-hero-stat span {
  display: block;
  margin-top: 6px;
  color: #a9c5e3;
  font-size: 12px;
}

/* ---------- 内容区 ---------- */
.nw-wrap {
  padding: 42px 0 84px;
}
.nw-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 20px;
}
.nw-section-head h2 {
  margin: 0;
  color: #102a4d;
  font-size: 22px;
  letter-spacing: .5px;
}
.nw-section-head h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  margin-right: 10px;
  border-radius: 2px;
  background: linear-gradient(180deg, #1e90ff, #0a5bb5);
  vertical-align: -2px;
}
.nw-section-head span {
  color: #8b9bb0;
  font-size: 13px;
}

/* 头条 */
.nw-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  overflow: hidden;
  margin-bottom: 42px;
  border: 1px solid #e6edf6;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 46px rgba(16, 48, 87, .07);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.nw-feature:hover {
  transform: translateY(-4px);
  border-color: #cbe2fb;
  box-shadow: 0 24px 58px rgba(16, 48, 87, .13);
}
.nw-feature-cover {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  background: linear-gradient(135deg, #0c3767, #0a6bb8);
}
.nw-feature-cover img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.nw-feature:hover .nw-feature-cover img {
  transform: scale(1.035);
}
.nw-feature-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 24, 49, .02), rgba(4, 24, 49, .32));
  pointer-events: none;
}
.nw-feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px 44px;
}
.nw-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: #8a9bb0;
  font-size: 12.5px;
}
.nw-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b7c6d8;
}
.nw-chip {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 10px;
  border-radius: 7px;
  background: #eaf4ff;
  color: #1465bd;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}
.nw-feature-body .nw-read {
  align-self: flex-start;
  padding: 8px 13px;
  border: 1px solid #cfe4fa;
  border-radius: 7px;
  background: #f5faff;
}
.nw-feature-body h2 {
  margin: 17px 0 13px;
  color: #102a4d;
  font-size: 29px;
  line-height: 1.45;
  letter-spacing: .2px;
}
.nw-feature-body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #60748b;
  font-size: 14px;
  line-height: 1.85;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.nw-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: #1465bd;
  font-size: 13.5px;
  font-weight: 700;
}
.nw-read b {
  font-size: 17px;
  line-height: 1;
  transition: transform .2s ease;
}
.nw-feature:hover .nw-read b,
.nw-card:hover .nw-read b {
  transform: translateX(4px);
}

/* 图文占位，不依赖外部图片 */
.nw-cover-art {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  background:
    radial-gradient(circle at 82% 18%, rgba(113, 203, 255, .28), transparent 28%),
    linear-gradient(135deg, #0b396b, #1479c9);
}
.nw-cover-art::after {
  content: '';
  position: absolute;
  right: -34px;
  bottom: -64px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255,255,255,.035), 0 0 0 56px rgba(255,255,255,.02);
}
.nw-cover-art span {
  position: relative;
  z-index: 1;
  color: #b8dcff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
}
.nw-cover-art b {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,.9);
  font-size: 54px;
  line-height: .9;
  font-weight: 700;
  letter-spacing: -2px;
}
.nw-cover-chip {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 7px;
  background: rgba(5, 28, 57, .38);
  color: #fff;
  font-size: 11px;
  backdrop-filter: blur(8px);
}

/* 卡片网格 */
.nw-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.nw-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e6edf6;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(16, 48, 87, .035);
  text-decoration: none;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.nw-card:hover {
  transform: translateY(-4px);
  border-color: #cbe2fb;
  box-shadow: 0 18px 38px rgba(16, 48, 87, .1);
}
.nw-card-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d4f91;
}
.nw-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.nw-card:hover .nw-card-cover img {
  transform: scale(1.04);
}
.nw-card-cover .nw-cover-art {
  padding: 20px;
}
.nw-card-cover .nw-cover-art b {
  font-size: 36px;
}
.nw-card:nth-child(3n+2) .nw-cover-art {
  background:
    radial-gradient(circle at 82% 18%, rgba(68, 222, 198, .22), transparent 28%),
    linear-gradient(135deg, #0a3c5e, #0b7786);
}
.nw-card:nth-child(3n+3) .nw-cover-art {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 197, 110, .25), transparent 28%),
    linear-gradient(135deg, #193862, #365f9e);
}
.nw-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 22px;
}
.nw-card-body h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 11px 0 9px;
  color: #122f54;
  font-size: 17px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.nw-card-body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #718399;
  font-size: 13px;
  line-height: 1.75;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.nw-card-body .nw-read {
  margin-top: auto;
  padding-top: 18px;
  font-size: 12.5px;
}

/* 空状态 */
.nw-empty {
  padding: 72px 24px;
  border: 1px solid #e6edf6;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  color: #899bb1;
}
.nw-empty strong {
  display: block;
  margin-bottom: 8px;
  color: #173b65;
  font-size: 18px;
}

/* 分页 */
.nw-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 42px;
}
.nw-page-btn {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border: 1px solid #d8e4f1;
  border-radius: 8px;
  background: #fff;
  color: #2367b5;
  font-size: 13px;
  text-decoration: none;
  transition: .2s ease;
}
.nw-page-btn:hover {
  border-color: #9dc9f5;
  background: #eef7ff;
}
.nw-page-btn.is-disabled {
  color: #b9c6d5;
  border-color: #e7eef6;
  background: #f8fafc;
  pointer-events: none;
}
.nw-page-info {
  color: #8b9bb0;
  font-size: 13px;
}

/* ---------- 详情页 ---------- */
.nw-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 52px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 10%, rgba(53, 166, 255, .25), transparent 30%),
    linear-gradient(120deg, #071e3d, #0c3b70 62%, #1264b6);
}
.nw-detail-hero::after {
  content: '';
  position: absolute;
  right: 4%;
  bottom: -210px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(255,255,255,.025), 0 0 0 100px rgba(255,255,255,.017);
}
.nw-crumb {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: #9fc4e9;
  font-size: 12.5px;
}
.nw-crumb a {
  color: #c4dcf3;
  text-decoration: none;
}
.nw-crumb a:hover {
  color: #fff;
}
.nw-detail-title {
  position: relative;
  z-index: 1;
  max-width: 930px;
  margin: 0 0 18px;
  color: #fff;
  font-size: 38px;
  line-height: 1.45;
  letter-spacing: .2px;
}
.nw-detail-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  color: #a9c5e3;
  font-size: 13px;
}
.nw-detail-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #7ca4cb;
}
.nw-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 30px;
  padding: 38px 0 82px;
}
.nw-article {
  min-width: 0;
  padding: 46px 54px;
  border: 1px solid #e6edf6;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(16, 48, 87, .055);
}
.nw-article-cover {
  overflow: hidden;
  margin: -10px 0 32px;
  border-radius: 14px;
  background: #0d4f91;
}
.nw-article-cover img {
  display: block;
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}
.nw-article-summary {
  margin: 0 0 30px;
  padding: 18px 20px;
  border-left: 3px solid #3d9bff;
  border-radius: 0 10px 10px 0;
  background: #f4f9ff;
  color: #41617f;
  font-size: 14.5px;
  line-height: 1.9;
}
.nw-article-content {
  color: #34495f;
  font-size: 15.5px;
  line-height: 2.02;
}
.nw-article-content p {
  margin: 0 0 20px;
}
.nw-article-content h2 {
  margin: 36px 0 14px;
  padding-left: 13px;
  border-left: 4px solid #2386e8;
  color: #122f54;
  font-size: 22px;
  line-height: 1.5;
}
.nw-article-content h3 {
  margin: 28px 0 12px;
  color: #173b65;
  font-size: 18px;
}
.nw-article-content ul,
.nw-article-content ol {
  margin: 0 0 22px;
  padding-left: 24px;
}
.nw-article-content li {
  margin: 8px 0;
}
.nw-article-content strong {
  color: #173b65;
}
.nw-article-content blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 3px solid #a9cdf2;
  background: #f7fafd;
  color: #56708a;
}
.nw-article-content img {
  max-width: 100%;
  height: auto;
}
.nw-article-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid #edf2f8;
}
.nw-article-tags {
  color: #8a9bb0;
  font-size: 12.5px;
}
.nw-share-btn {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border: 1px solid #d9e6f3;
  border-radius: 8px;
  background: #fff;
  color: #2367b5;
  font-size: 12.5px;
  cursor: pointer;
  transition: .2s ease;
}
.nw-share-btn:hover {
  border-color: #9dc9f5;
  background: #f1f8ff;
}
.nw-prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 34px;
}
.nw-prevnext a {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 15px 18px;
  border: 1px solid #e6edf6;
  border-radius: 12px;
  background: #f8fbfe;
  text-decoration: none;
  transition: .2s ease;
}
.nw-prevnext a:hover {
  border-color: #b9d8f6;
  background: #f0f8ff;
}
.nw-prevnext a.is-next {
  text-align: right;
}
.nw-prevnext span {
  color: #8b9bb0;
  font-size: 11.5px;
}
.nw-prevnext b {
  display: -webkit-box;
  overflow: hidden;
  color: #234668;
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 500;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.nw-prevnext .is-empty {
  visibility: hidden;
}

/* 侧栏 */
.nw-side {
  position: sticky;
  top: 84px;
}
.nw-side-card {
  padding: 22px;
  border: 1px solid #e6edf6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(16, 48, 87, .035);
}
.nw-side-card + .nw-side-card {
  margin-top: 18px;
}
.nw-side-title {
  margin: 0 0 16px;
  color: #173b65;
  font-size: 15px;
  font-weight: 700;
}
.nw-related {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nw-related a {
  display: block;
  text-decoration: none;
}
.nw-related a + a {
  padding-top: 15px;
  border-top: 1px solid #eef3f9;
}
.nw-related-date {
  display: block;
  margin-bottom: 5px;
  color: #98a9bb;
  font-size: 11.5px;
}
.nw-related b {
  display: -webkit-box;
  overflow: hidden;
  color: #284a6d;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.nw-related a:hover b {
  color: #1465bd;
}
.nw-side-cta {
  background: linear-gradient(145deg, #0d3b6c, #1166b4);
  border-color: transparent;
}
.nw-side-cta .nw-side-title {
  color: #fff;
}
.nw-side-cta p {
  margin: 0 0 16px;
  color: #c3ddf5;
  font-size: 12.5px;
  line-height: 1.8;
}
.nw-side-cta a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 7px;
  background: #fff;
  color: #1465bd;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .nw-feature {
    grid-template-columns: 1fr;
  }
  .nw-feature-cover,
  .nw-feature-cover img {
    min-height: 280px;
  }
  .nw-feature-body {
    padding: 30px 32px 34px;
  }
  .nw-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nw-detail-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
  .nw-article {
    padding: 38px 38px;
  }
}
@media (max-width: 820px) {
  .nw-hero {
    padding: 48px 0 40px;
  }
  .nw-hero-inner {
    display: block;
  }
  .nw-hero h1 {
    font-size: 34px;
  }
  .nw-hero-stats {
    margin-top: 26px;
    padding-bottom: 0;
  }
  .nw-hero-stat {
    min-width: 78px;
    padding-left: 14px;
  }
  .nw-hero-stat b {
    font-size: 22px;
  }
  .nw-detail-hero {
    padding: 36px 0 38px;
  }
  .nw-detail-title {
    font-size: 28px;
  }
  .nw-detail-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 26px;
  }
  .nw-side {
    position: static;
  }
  .nw-article {
    padding: 30px 24px;
  }
  .nw-article-content {
    font-size: 15px;
    line-height: 1.92;
  }
  .nw-article-content h2 {
    font-size: 20px;
  }
}
@media (max-width: 600px) {
  .nw-wrap {
    padding: 28px 0 58px;
  }
  .nw-hero h1 {
    font-size: 30px;
  }
  .nw-hero p {
    font-size: 13.5px;
  }
  .nw-hero-stats {
    gap: 0;
  }
  .nw-hero-stat {
    flex: 1;
  }
  .nw-feature-cover,
  .nw-feature-cover img {
    min-height: 220px;
  }
  .nw-feature-body {
    padding: 24px 22px 28px;
  }
  .nw-feature-body h2 {
    font-size: 22px;
  }
  .nw-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .nw-section-head {
    margin-bottom: 16px;
  }
  .nw-section-head h2 {
    font-size: 19px;
  }
  .nw-detail-title {
    font-size: 24px;
    line-height: 1.55;
  }
  .nw-detail-meta {
    font-size: 12px;
  }
  .nw-article {
    padding: 24px 18px;
    border-radius: 14px;
  }
  .nw-article-summary {
    padding: 14px 15px;
    font-size: 13.5px;
  }
  .nw-prevnext {
    grid-template-columns: 1fr;
  }
  .nw-prevnext a.is-next {
    text-align: left;
  }
  .nw-prevnext .is-empty {
    display: none;
  }
  .nw-article-foot {
    align-items: flex-start;
    flex-direction: column;
  }
}
