/* ============ 面包屑 ============ */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid #eef2f7;
  padding: 12px 0;
  font-size: 13px;
  color: #7a8fa6;
}
.breadcrumb a { color: #5a6f85; }
.breadcrumb a:hover { color: #1a73e8; }
.breadcrumb span { margin: 0 8px; color: #c5d2e0; }

/* ============ 详情主体 ============ */
.news-detail { padding: 40px 0 60px; background: #f7f9fc; }
.news-detail-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  align-items: start;
}

/* ============ 正文 ============ */
.news-content {
  background: #fff;
  border-radius: 14px;
  padding: 42px 46px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.news-header {
  padding-bottom: 22px;
  border-bottom: 2px solid #f0f4f9;
  margin-bottom: 26px;
}
.news-header h1 {
  font-size: 26px;
  color: #1a3a5c;
  line-height: 1.4;
  margin-bottom: 16px;
}
.news-info {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13px;
  color: #a0b0c2;
}
.news-cover {
  margin-bottom: 26px;
  border-radius: 10px;
  overflow: hidden;
}
.news-cover img { width: 100%; display: block; }

.news-text {
  font-size: 15px;
  line-height: 1.95;
  color: #33475b;
}
.news-text h2 {
  font-size: 20px;
  color: #1a3a5c;
  margin: 32px 0 16px;
  padding-left: 14px;
  border-left: 4px solid #ff6b35;
}
.news-text h3 {
  font-size: 17px;
  color: #1a3a5c;
  margin: 24px 0 12px;
}
.news-text p { margin-bottom: 16px; }
.news-text img { border-radius: 10px; margin: 18px 0; max-width: 100%; }
.news-text ul, .news-text ol { margin: 16px 0 16px 24px; }
.news-text li { margin-bottom: 8px; }

/* 上下篇导航 */
.news-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px dashed #e8eef5;
  font-size: 14px;
}
.news-nav a {
  color: #5a6f85;
  max-width: 45%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
}
.news-nav a:hover { color: #1a73e8; }

/* ============ 侧边栏 ============ */
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}
.sidebar-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.sidebar-card h3 {
  font-size: 16px;
  color: #1a3a5c;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f4f9;
}
.related-list { list-style: none; }
.related-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #eef2f7;
  font-size: 14px;
}
.related-list li:last-child { border-bottom: none; }
.related-list a {
  color: #33475b;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.related-list a:hover { color: #1a73e8; }

.contact-card {
  background: linear-gradient(135deg, #1a3a5c, #2c5f8d);
  color: #fff;
}
.contact-card h3 { color: #fff; border-bottom-color: rgba(255,255,255,0.15); }
.contact-card p {
  font-size: 13px;
  color: #d0e0f0;
  margin-bottom: 16px;
  line-height: 1.7;
}
.sidebar-phone {
  display: block;
  font-size: 20px;
  color: #ffd166;
  font-weight: 700;
  text-align: center;
  padding: 12px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,0.15);
}
.sidebar-btn {
  display: block;
  text-align: center;
  padding: 11px;
  background: #ff6b35;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}
.sidebar-btn:hover { background: #e85a2a; }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .news-detail-wrap { grid-template-columns: 1fr; }
  .news-sidebar { position: static; }
  .news-content { padding: 26px 22px; }
  .news-header h1 { font-size: 20px; }
  .news-nav { flex-direction: column; }
  .news-nav a { max-width: 100%; }
}
/* ============ 上下篇导航（修复版） ============ */
.news-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px dashed #e8eef5;
  font-size: 14px;
}
.news-nav a {
  color: #5a6f85;
  max-width: 38%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
}
.news-nav a:hover { color: #1a73e8; }
.news-nav .nav-back {
  color: #1a73e8;
  flex-shrink: 0;
  padding: 6px 16px;
  background: #f0f6ff;
  border-radius: 6px;
  max-width: none;
}
.news-nav .nav-back:hover {
  background: #e0efff;
}
.news-nav .disabled {
  color: #c5d2e0;
  cursor: not-allowed;
  max-width: 38%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .news-nav { flex-direction: column; gap: 12px; }
  .news-nav a,
  .news-nav .disabled { max-width: 100%; text-align: center; }
  .news-nav .nav-back { width: 100%; }
}