/* ===== 博客页样式 — 全文统一 14px / #666 / line-height 1.7 ===== */

/* Hero */
.blog-hero {
  position: relative;
  background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
  padding: 3.5rem 0 3rem;
  color: #fff;
  overflow: hidden;
}
.blog-hero .container { position: relative; z-index: 1; }
.blog-hero-content { text-align: center; }
.blog-hero-content h1 {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.6rem;
  color: #fff;
}
.blog-hero-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.95);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* 博客容器 */
.blog-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2rem 3rem;
}

/* ===== 文章内容区 — 统一正文 14px / #666 / 行高1.7 ===== */
.blog-content {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}
.blog-content h2 {
  font-size: 15px;
  color: #1A3A6B;
  margin: 1.5rem 0 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #E67E22;
  line-height: 1.5;
  font-weight: 600;
}
.blog-content h3 {
  font-size: 14px;
  color: #1A3A6B;
  margin: 1rem 0 0.5rem;
  font-weight: 600;
  line-height: 1.5;
}
.blog-content p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 0.6rem;
  font-size: 14px;
}
.blog-content ul, .blog-content ol {
  color: #666;
  line-height: 1.7;
  margin: 0.4rem 0 0.6rem 1.3rem;
  font-size: 14px;
}
.blog-content li {
  margin-bottom: 0.25rem;
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}
.blog-content strong { color: #E67E22; font-weight: 600; }
.blog-content a { color: #E67E22; text-decoration: none; }
.blog-content a:hover { text-decoration: underline; }

/* 博客卡片网格 - 2列 */
.blog-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid #eee;
  transition: all 0.25s;
}
.blog-card:hover {
  border-color: #E67E22;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.blog-card-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  background: #FFF3E0;
  color: #E67E22;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.blog-card h2 {
  font-size: 15px;
  color: #1A3A6B;
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.5;
  border: none;
  padding: 0;
}
.blog-card p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 0.75rem;
  font-size: 14px;
  flex: 1;
}
.blog-card-meta {
  color: #999;
  font-size: 13px;
  padding-top: 0.6rem;
  border-top: 1px solid #f0f0f0;
  line-height: 1.7;
}

/* 列表底部 */
.blog-list-footer {
  text-align: center;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 10px;
}
.blog-list-footer p {
  color: #666;
  margin-bottom: 0.75rem;
  font-size: 14px;
  line-height: 1.7;
}
.blog-list-footer .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 10px 28px;
  background: #E67E22;
  color: #fff;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.blog-list-footer .btn:hover { background: #D35400; }

/* ===== 博客文章详情页 ===== */
.blog-breadcrumb { font-size: 14px; opacity: 0.9; margin-bottom: 0.5rem; line-height: 1.7; }
.blog-breadcrumb a { color: rgba(255,255,255,0.9); text-decoration: none; }
.blog-breadcrumb a:hover { text-decoration: underline; }
.blog-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.blog-tag {
  padding: 0.2rem 0.6rem;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50px;
  font-size: 12px;
  color: #fff;
}
.blog-meta { font-size: 14px; opacity: 0.9; line-height: 1.7; }

/* 文章内容卡片 */
.blog-lead {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  padding: 1rem;
  background: #FFF9F3;
  border-left: 3px solid #E67E22;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.25rem;
}
.blog-lead p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 0;
}

/* 博客内表格 */
.blog-table-wrap { overflow-x: auto; margin: 1rem 0; border-radius: 8px; border: 1px solid #e0e0e0; }
.blog-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.blog-table thead { background: #1A3A6B; color: #fff; }
.blog-table th { padding: 0.6rem 0.9rem; text-align: left; font-weight: 600; white-space: nowrap; font-size: 14px; }
.blog-table td { padding: 0.5rem 0.9rem; border-bottom: 1px solid #f0f0f0; color: #666; font-size: 14px; line-height: 1.7; }

/* 提示框 */
.blog-callout {
  background: #f0f4ff;
  border-left: 3px solid #1A3A6B;
  padding: 0.75rem 1rem;
  border-radius: 0 8px 8px 0;
  margin: 1rem 0;
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}
.blog-callout-orange { background: #FFF3E0; border-left-color: #E67E22; }

/* 流程步骤 */
.process-steps { display: flex; flex-direction: column; gap: 1rem; margin: 1.25rem 0; }
.process-step { display: flex; gap: 1rem; background: #f8f9fa; border-radius: 10px; padding: 1rem; border: 1px solid #e8e8e8; }
.step-num { flex-shrink: 0; width: 36px; height: 36px; background: #E67E22; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.step-content { flex: 1; }
.step-content h3 { margin-top: 0; color: #1A3A6B; font-size: 14px; font-weight: 600; margin-bottom: 0.4rem; }
.step-content p { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 0.3rem; }
.step-content ul { margin: 0.4rem 0 0 1.3rem; font-size: 14px; line-height: 1.7; color: #666; }
.step-content li { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 0.2rem; }
.step-time { margin-top: 0.5rem; padding: 0.15rem 0.6rem; background: #E67E22; color: #fff; border-radius: 50px; font-size: 12px; display: inline-block; }

/* 博客 FAQ */
.blog-faq { margin: 1rem 0; }
.blog-faq-item { border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; margin-bottom: 0.4rem; }
.blog-faq-q {
  width: 100%; padding: 0.75rem 1rem; background: #f8f9fa; border: none;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  text-align: left; font-size: 14px; font-weight: 500; color: #1A3A6B; font-family: inherit;
  line-height: 1.7;
}
.blog-faq-q:hover { background: #eee; }
.faq-icon { color: #E67E22; font-size: 1rem; font-weight: 700; }
.blog-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 1rem; color: #666; line-height: 1.7; font-size: 14px; }
.blog-faq-a.open { max-height: 400px; padding: 0.5rem 1rem 0.75rem; }

/* CTA */
.blog-cta { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 1.25rem 0 0; }
.blog-cta .btn-primary {
  display: inline-block; padding: 0.55rem 1.25rem;
  background: #E67E22; color: #fff; border-radius: 50px;
  text-decoration: none; font-weight: 600; font-size: 14px;
}
.blog-cta .btn-primary:hover { background: #D35400; }
.blog-cta .btn-outline {
  display: inline-block; padding: 0.55rem 1.25rem; border: 1.5px solid #E67E22;
  color: #E67E22; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 14px;
}
.blog-cta .btn-outline:hover { background: #E67E22; color: #fff; }

/* 移动端 */
@media (max-width: 768px) {
  .blog-hero { padding: 2rem 0 1.75rem; }
  .blog-hero-content h1 { font-size: 1.3rem; }
  .blog-hero-content p { font-size: 13px; }
  .blog-container { padding: 1.5rem 1rem 2rem; }
  .blog-list { grid-template-columns: 1fr; gap: 1rem; }
  .blog-card { padding: 1.25rem; }
  .blog-card h2 { font-size: 14px; }
  .blog-card p { font-size: 13px; }
  .blog-content h2 { font-size: 14px; }
  .blog-table { font-size: 13px; }
  .blog-cta { flex-direction: column; }
}

/* 相关文章区块 */
.blog-related {
  margin-top: 2.5rem;
  padding: 1.5rem 1.5rem 1.5rem;
  background: #FAFAFA;
  border-left: 4px solid var(--color-primary, #E67E22);
  border-radius: 0 8px 8px 0;
}
.blog-related-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-accent, #1A3A6B);
  margin: 0 0 1rem;
}
.blog-related-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.blog-related-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  color: var(--color-text-secondary, #666);
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.blog-related-card:hover {
  border-color: var(--color-primary, #E67E22);
  box-shadow: 0 2px 8px rgba(230, 126, 34, 0.15);
  color: var(--color-primary, #E67E22);
}
.related-arrow {
  color: var(--color-primary, #E67E22);
  font-weight: 700;
  flex-shrink: 0;
}
