/* ================================================================
   news-detail.css — 新闻详情页专属样式
   ================================================================ */

/* ----- 页面整体背景白色 ----- */
.news-detail-page {
  background: #ffffff;
}

/* ----- 顶部Banner大图 (100%宽度) ----- */
.news-detail-banner {
  width: 100%;
  height: 390px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.news-detail-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}
.news-detail-banner .banner-text {
  position: relative;
  z-index: 1;
  color: #ffffff;
  text-align: center;
}
.news-detail-banner .banner-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 4px;
}
.news-detail-banner .banner-text p {
  font-size: 1rem;
  letter-spacing: 6px;
  opacity: 0.8;
  margin-top: 6px;
}

/* ============================================================
   标题 + 面包屑区域（2px底部边框）
   ============================================================ */
.news-detail-content-top {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 0rem 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px 30px;
  border-bottom: 2px solid #e8ecf0;
  box-sizing: border-box;
}

.news-detail-left-title {
  display: flex;
  flex-direction: column;
}
.news-detail-left-title .news-detail-title-en {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1a1a1a;
  line-height: 1.2;
}
.news-detail-left-title .news-detail-title-cn {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 2px;
  color: #999;
  margin-top: 2px;
}

.news-detail-breadcrumb {
  flex-shrink: 0;
  text-align: right;
  font-size: 0.9rem;
  color: #999;
  padding-bottom: 4px;
}
.news-detail-breadcrumb .label {
  color: #999;
}
.news-detail-breadcrumb a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}
.news-detail-breadcrumb a:hover {
  color: #e00505;
}
.news-detail-breadcrumb .separator {
  margin: 0 6px;
  color: #ccc;
}
.news-detail-breadcrumb .current {
  color: #e00505;
}

/* ============================================================
   新闻详情主体
   ============================================================ */
.news-detail-section {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 2rem 60px;
  box-sizing: border-box;
}

/* 新闻标题 */
.news-detail-section .detail-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 12px;
}

/* 新闻元信息（日期） */
.news-detail-section .detail-meta {
  font-size: 0.9rem;
  color: #999;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8ecf0;
  margin-bottom: 28px;
}
.news-detail-section .detail-meta span {
  margin-right: 20px;
}
.news-detail-section .detail-meta i {
  margin-right: 6px;
}

/* 新闻正文 */
.news-detail-section .detail-body {
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
}
.news-detail-section .detail-body p {
  margin-bottom: 18px;
  text-align: justify;
}
.news-detail-section .detail-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border: 1px solid #e8ecf0;
}
.news-detail-section .detail-body h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 28px 0 14px;
}
.news-detail-section .detail-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 22px 0 12px;
}
.news-detail-section .detail-body ul,
.news-detail-section .detail-body ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.news-detail-section .detail-body li {
  margin-bottom: 6px;
}
.news-detail-section .detail-body blockquote {
  border-left: 4px solid #e00505;
  padding: 12px 20px;
  margin: 16px 0;
  background: #f8f9fa;
  color: #555;
}

/* ============================================================
   上下篇导航
   ============================================================ */
.news-detail-nav {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem 60px;
  box-sizing: border-box;
}

.news-detail-nav .nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid #e8ecf0;
}

.news-detail-nav .nav-wrapper .prev-news a,
.news-detail-nav .nav-wrapper .next-news a {
  color: #555;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.news-detail-nav .nav-wrapper .prev-news a:hover,
.news-detail-nav .nav-wrapper .next-news a:hover {
  color: #e00505;
}
.news-detail-nav .nav-wrapper .prev-news a i {
  font-size: 0.8rem;
}
.news-detail-nav .nav-wrapper .next-news a i {
  font-size: 0.8rem;
}
.news-detail-nav .nav-wrapper .back-list a {
  color: #999;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 6px 18px;
  border: 1px solid #e0e4e8;
  border-radius: 4px;
  transition: all 0.2s;
}
.news-detail-nav .nav-wrapper .back-list a:hover {
  border-color: #e00505;
  color: #e00505;
}

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 1024px) {
  .news-detail-banner {
    height: 260px;
  }
  .news-detail-banner .banner-text h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 820px) {
  .news-detail-banner {
    height: 220px;
  }
  .news-detail-banner .banner-text h1 {
    font-size: 1.8rem;
  }
  .news-detail-banner .banner-text p {
    font-size: 0.85rem;
    letter-spacing: 4px;
  }

  .news-detail-content-top {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 1.5rem 12px;
    width: 100%;
  }
  .news-detail-left-title .news-detail-title-en {
    font-size: 1.5rem;
  }
  .news-detail-left-title .news-detail-title-cn {
    font-size: 0.85rem;
  }
  .news-detail-breadcrumb {
    text-align: left;
    font-size: 0.8rem;
  }

  .news-detail-section {
    padding: 30px 1.5rem 40px;
  }
  .news-detail-section .detail-title {
    font-size: 1.4rem;
  }
  .news-detail-section .detail-body {
    font-size: 0.95rem;
  }

  .news-detail-nav {
    padding: 0 1.5rem 40px;
  }
  .news-detail-nav .nav-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .news-detail-nav .nav-wrapper .prev-news,
  .news-detail-nav .nav-wrapper .next-news {
    text-align: center;
  }
  .news-detail-nav .nav-wrapper .back-list {
    text-align: center;
  }
}

@media (max-width: 520px) {
  .news-detail-banner {
    height: 160px;
  }
  .news-detail-banner .banner-text h1 {
    font-size: 1.4rem;
    letter-spacing: 2px;
  }
  .news-detail-banner .banner-text p {
    font-size: 0.7rem;
    letter-spacing: 3px;
  }

  .news-detail-content-top {
    padding: 20px 1rem 10px;
    width: 100%;
  }
  .news-detail-left-title .news-detail-title-en {
    font-size: 1.2rem;
  }
  .news-detail-left-title .news-detail-title-cn {
    font-size: 0.75rem;
  }
  .news-detail-breadcrumb {
    font-size: 0.7rem;
  }

  .news-detail-section {
    padding: 20px 1rem 30px;
  }
  .news-detail-section .detail-title {
    font-size: 1.1rem;
  }
  .news-detail-section .detail-meta {
    font-size: 0.78rem;
    padding-bottom: 14px;
    margin-bottom: 20px;
  }
  .news-detail-section .detail-meta span {
    margin-right: 12px;
  }
  .news-detail-section .detail-body {
    font-size: 0.88rem;
    line-height: 1.8;
  }
  .news-detail-section .detail-body h2 {
    font-size: 1.1rem;
  }
  .news-detail-section .detail-body h3 {
    font-size: 0.95rem;
  }
  .news-detail-section .detail-body blockquote {
    padding: 10px 14px;
  }

  .news-detail-nav {
    padding: 0 1rem 30px;
  }
  .news-detail-nav .nav-wrapper .prev-news a,
  .news-detail-nav .nav-wrapper .next-news a {
    font-size: 0.8rem;
  }
  .news-detail-nav .nav-wrapper .back-list a {
    font-size: 0.78rem;
    padding: 4px 14px;
  }
}