/* ========== 文章详情页样式 ========== */
.article-detail-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 60px;
  background: #f9faff;
}

/* 面包屑 */
.breadcrumb-modern {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  padding: 14px 20px; margin-bottom: 30px;
  background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
  border-radius: 14px; box-shadow: 0 2px 12px rgba(0,0,0,0.02);
  font-size: 14px; color: #666;
}
.breadcrumb-prefix { font-weight: 500; color: #4a5568; margin-right: 6px; }
.breadcrumb-modern a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; background: #fff; border-radius: 20px;
  color: #4a5568; font-weight: 500; text-decoration: none; transition: 0.2s;
}
.breadcrumb-modern a:hover { background: #e0e8ff; }
.breadcrumb-modern a:first-of-type { color: #2d7dfc; font-weight: 600; }

/* 布局 */
.article-detail-layout {
  display: grid; grid-template-columns: 1fr 320px; gap: 30px;
}

/* 标题区 */
.detail-hero {
  margin-bottom: 25px;
}
.detail-badge {
  display: inline-block; padding: 4px 14px;
  background: rgba(45,125,252,0.08); color: #2d7dfc;
  border-radius: 20px; font-size: 12px; font-weight: 600;
  letter-spacing: 1px; margin-bottom: 12px;
}
.detail-hero h1 {
  font-size: 28px; font-weight: 700; color: #1a1f2e; margin-bottom: 12px; line-height: 1.4;
}
.detail-meta {
  display: flex; flex-wrap: wrap; gap: 20px;
  font-size: 13px; color: #888;
}
.detail-meta span {
  display: flex; align-items: center; gap: 4px;
}
.detail-meta svg { stroke: #2d7dfc; }

/* 正文 */
.detail-content {
  background: #fff; border-radius: 20px; padding: 30px;
  margin-bottom: 25px; box-shadow: 0 10px 25px rgba(0,0,0,0.03);
  font-size: 15px; line-height: 1.8; color: #4a5568;
}
.detail-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 16px 0; }

/* 预约引导 */
.detail-cta {
  background: linear-gradient(135deg, #2d7dfc 0%, #1a5bbf 100%);
  border-radius: 20px; padding: 30px; text-align: center;
  color: #fff; margin-bottom: 25px;
}
.detail-cta p { font-size: 15px; margin-bottom: 8px; opacity: 0.95; }
.cta-btn-detail {
  display: inline-block; margin-top: 14px; margin-right: 10px;
  padding: 12px 28px; background: #fff; color: #2d7dfc;
  border-radius: 30px; font-weight: 700; font-size: 15px;
  text-decoration: none; transition: 0.3s;
}
.cta-btn-detail:hover { background: #e0e8ff; transform: translateY(-2px); }
.cta-btn-phone {
  display: inline-block; margin-top: 14px;
  padding: 12px 28px; background: rgba(255,255,255,0.2); color: #fff;
  border-radius: 30px; font-weight: 600; font-size: 15px;
  text-decoration: none; transition: 0.3s;
}
.cta-btn-phone:hover { background: rgba(255,255,255,0.3); }

/* 上下篇 */
.detail-pager {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.pager-item {
  background: #fff; border-radius: 14px; padding: 20px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.02);
}
.pager-label {
  display: block; font-size: 12px; color: #888; margin-bottom: 6px;
}
.pager-item a {
  font-size: 15px; font-weight: 600; color: #1a1f2e; text-decoration: none;
  transition: 0.2s;
}
.pager-item a:hover { color: #2d7dfc; }

/* 侧边栏 */
.article-detail-sidebar {
  display: flex; flex-direction: column; gap: 25px;
}
.sidebar-card {
  background: #fff; border-radius: 16px;
  padding: 24px; box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}
.sidebar-card h3 {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 700; color: #1a1f2e;
  margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid #eef2f8;
}
.sidebar-card h3 svg { stroke: #2d7dfc; }
.sidebar-card h3 i { color: #c8551f; }
.sidebar-card ul { list-style: none; padding: 0; margin: 0; }
.sidebar-card li { margin-bottom: 10px; }
.sidebar-card li:last-child { margin-bottom: 0; }
.sidebar-card li a {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 14px; color: #555; text-decoration: none; transition: 0.2s;
}
.sidebar-card li a:hover { color: #2d7dfc; }
.hot-num { color: #c8551f; font-size: 9px; flex-shrink: 0; }
.hot-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 100px; }
.hot-date { font-size: 12px; color: #999; flex-shrink: 0; }

/* 最热文章列表 */
.hot-list .hot-rank{
  display:inline-flex; align-items:center; justify-content:center;
  width:20px; height:20px; border-radius:4px;
  background:#eef2f8; color:#2d7dfc; font-size:12px; font-weight:700; flex-shrink:0;
}
.hot-list li:nth-child(1) .hot-rank{ background:#c8551f; color:#fff; }
.hot-list li:nth-child(2) .hot-rank{ background:#e89530; color:#fff; }
.hot-list li:nth-child(3) .hot-rank{ background:#c9a063; color:#fff; }
.hot-views{ display:flex; align-items:center; gap:3px; font-size:12px; color:#999; flex-shrink:0; }

/* 服务保障卡片 */
.sidebar-guarantee {
  background: linear-gradient(135deg, #2d7dfc 0%, #1a5bbf 100%);
  color: #fff;
}
.sidebar-guarantee h3 { color: #fff; border-bottom-color: rgba(255,255,255,0.2); }
.sidebar-guarantee-list {
  display: flex; flex-direction: column; gap: 12px;
}
.sidebar-guarantee-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: rgba(255,255,255,0.12);
  border-radius: 12px; color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 500; transition: 0.3s;
}
.sidebar-guarantee-item:hover {
  background: rgba(255,255,255,0.22); transform: translateX(4px);
}
.sidebar-guarantee-item i { color: #fff; flex-shrink: 0; }

/* 正文下方信任条 */
.detail-trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 25px; padding: 24px; background: #fff;
  border-radius: 16px; box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}
.detail-trust-item {
  display: flex; align-items: center; gap: 12px;
}
.detail-trust-item i {
  width: 44px; height: 44px; background: rgba(45,125,252,0.08);
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; color: #2d7dfc; flex-shrink: 0;
}
.detail-trust-item b {
  display: block; font-size: 14px; color: #1a1f2e; margin-bottom: 2px;
}
.detail-trust-item span {
  font-size: 12px; color: #888;
}

/* 服务承诺 */
.sidebar-trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 15px;
  padding: 16px; background: #fff; border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  font-size: 13px; color: #888;
}
.sidebar-trust span {
  display: flex; align-items: center; gap: 4px;
}
.sidebar-trust svg { stroke: #2d7dfc; }

/* 响应式 */
@media (max-width: 992px) {
  .article-detail-layout { grid-template-columns: 1fr; }
  .detail-trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .detail-hero h1 { font-size: 22px; }
  .detail-pager { grid-template-columns: 1fr; }
  .detail-content { padding: 20px; }
  .detail-trust { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
}
