/* ========== 新闻详情页样式 ========== */

/* ========== 内页 Banner ========== */
.ny-banner {
  position: relative;
  width: 100%;
  height: 380px;
  background: url('../images/news.jpg') no-repeat center center;
  background-size: cover;
}
.ny-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}
.ny-banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 1;
  text-align: center;
  color: #fff;
}
.ny-banner-text h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 4px;
}
.ny-banner-text p {
  font-size: 16px;
  opacity: .85;
  letter-spacing: 2px;
}

/* ========== 面包屑 ========== */
.breadcrumb-bar {
  padding: 10px 0;
  font-size: 13px;
  color: #999;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 15px;
}
.breadcrumb-bar a {
  color: #999;
  transition: color .2s;
}
.breadcrumb-bar a:hover {
  color: #003B90;
}
.breadcrumb-bar span.sep {
  margin: 0 6px;
}

/* ========== 内容区域 ========== */
.detail-main {
  padding: 50px 0 80px;
  background: #f7f8fa;
}
.detail-container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 文章卡片 */
.detail-card {
  background: #fff;
  border-radius: 8px;
  padding: 50px 60px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

/* 文章头部 */
.detail-header {
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 30px;
  margin-bottom: 30px;
}
.detail-title {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
  margin-bottom: 20px;
}
.detail-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  color: #999;
}
.detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.detail-meta i {
  font-size: 15px;
}

/* 文章正文 */
.detail-body {
  font-size: 16px;
  color: #444;
  line-height: 2;
}
.detail-body p {
  text-indent: 2em;
  margin-bottom: 20px;
}
.detail-body p.no-indent {
  text-indent: 0;
}
.detail-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  border-radius: 6px;
}
.detail-body blockquote {
  border-left: 4px solid #003B90;
  background: #f7f8fa;
  padding: 20px 24px;
  margin: 24px 0;
  color: #666;
  font-size: 15px;
}

/* 文章底部：上一页/下一页 */
.detail-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #f0f0f0;
  gap: 20px;
}
.detail-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  background: #f7f8fa;
  border-radius: 8px;
  color: #555;
  transition: all .3s ease;
  text-decoration: none;
}
.detail-nav a:hover {
  background: #eef2f8;
  color: #003B90;
}
.detail-nav a .nav-label {
  font-size: 12px;
  color: #999;
  margin-bottom: 6px;
}
.detail-nav a .nav-title {
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.detail-nav .nav-disabled {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  background: #f7f8fa;
  border-radius: 8px;
  color: #ccc;
}
.detail-nav .nav-disabled .nav-label {
  font-size: 12px;
  color: #ccc;
  margin-bottom: 6px;
}
.detail-nav .nav-disabled .nav-title {
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #ccc;
}

/* 返回按钮 */
.detail-back {
  text-align: center;
  margin-top: 30px;
}
.detail-back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 30px;
  background: #003B90;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  transition: all .3s ease;
}
.detail-back a:hover {
  background: #002b6e;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .ny-banner { height: 260px; }
  .ny-banner-text h2 { font-size: 28px; }
  .detail-card { padding: 30px 24px; }
  .detail-title { font-size: 24px; }
  .detail-body { font-size: 15px; }
}
@media (max-width: 768px) {
  .ny-banner { height: 200px; }
  .ny-banner-text h2 { font-size: 24px; }
  .detail-card { padding: 24px 18px; border-radius: 0; }
  .detail-title { font-size: 20px; }
  .detail-meta { gap: 16px; font-size: 12px; flex-wrap: wrap; }
  .detail-body { font-size: 15px; }
  .detail-body p { text-indent: 1.5em; }
  .detail-nav { flex-direction: column; }
}

.detail-body div,.detail-body p{
  line-height: 2;
}