/* ============ 面包屑 ============ */
.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; }

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

/* ============ 正文区 ============ */
.article-content {
  background: #fff;
  border-radius: 14px;
  padding: 42px 46px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.article-header {
  padding-bottom: 22px;
  border-bottom: 2px solid #f0f4f9;
  margin-bottom: 26px;
}
.article-category {
  display: inline-block;
  background: #e8f0fe;
  color: #1a73e8;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.article-header h1 {
  font-size: 26px;
  color: #1a3a5c;
  line-height: 1.4;
  margin-bottom: 16px;
}
.article-info {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13px;
  color: #a0b0c2;
}

.article-cover {
  margin-bottom: 26px;
  border-radius: 10px;
  overflow: hidden;
}
.article-cover img {
  width: 100%;
  display: block;
}

/* 正文排版 */
.article-text {
  font-size: 15px;
  line-height: 1.95;
  color: #33475b;
}
.article-text h2 {
  font-size: 20px;
  color: #1a3a5c;
  margin: 32px 0 16px;
  padding-left: 14px;
  border-left: 4px solid #ff6b35;
}
.article-text h3 {
  font-size: 17px;
  color: #1a3a5c;
  margin: 24px 0 12px;
}
.article-text p { margin-bottom: 16px; }
.article-text img {
  border-radius: 10px;
  margin: 18px 0;
  max-width: 100%;
}
.article-text ul, .article-text ol { margin: 16px 0 16px 24px; }
.article-text li { margin-bottom: 8px; }
.article-text blockquote {
  border-left: 4px solid #1a73e8;
  background: #f0f6ff;
  padding: 16px 20px;
  margin: 18px 0;
  border-radius: 0 8px 8px 0;
  color: #1a3a5c;
}
.article-text table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.article-text th, .article-text td {
  border: 1px solid #e8eef5;
  padding: 12px 14px;
  font-size: 14px;
}
.article-text th {
  background: #f7f9fc;
  color: #1a3a5c;
}

/* 标签 */
.article-tags {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px dashed #e8eef5;
  font-size: 13px;
  color: #7a8fa6;
}
.article-tags span:first-child { margin-right: 8px; }
.article-tags a {
  display: inline-block;
  padding: 4px 12px;
  margin: 4px 6px 4px 0;
  background: #f0f4f9;
  color: #5a6f85;
  border-radius: 4px;
  font-size: 12px;
}
.article-tags a:hover { background: #1a73e8; color: #fff; }

/* ============ 侧边栏 ============ */
.article-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;
  transition: color 0.2s;
}
.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) {
  .article-detail-wrap { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .article-content { padding: 26px 22px; }
  .article-header h1 { font-size: 20px; }
}
/* ============ 上下篇导航 ============ */
.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px dashed #e8eef5;
  font-size: 14px;
}
.article-nav a {
  color: #5a6f85;
  max-width: 38%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
}
.article-nav a:hover { color: #1a73e8; }
.article-nav .nav-back {
  color: #1a73e8;
  flex-shrink: 0;
  padding: 6px 16px;
  background: #f0f6ff;
  border-radius: 6px;
  max-width: none;
}
.article-nav .nav-back:hover { background: #e0efff; }
.article-nav .disabled {
  color: #c5d2e0;
  cursor: not-allowed;
  max-width: 38%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .article-nav {
    flex-direction: column;
    gap: 12px;
  }
  .article-nav a,
  .article-nav .disabled {
    max-width: 100%;
    text-align: center;
  }
  .article-nav .nav-back { width: 100%; }
}