/* 博客 hub 的「深度指南」区块标题（卡片本身复用 blog.css 的 .blog-row）。 */
.wy-guides { margin: 0 auto; }
.wy-guides-title {
  font-size: 1.5rem;
  color: #14323b;
  margin: 8px 0 16px;
  padding-top: 20px;
  border-top: 2px solid #e6eef0;
}

/* 原创长文博客样式（作用域 .wy-article），与旧 blog.css/event.css 互不干扰。 */
.wy-article {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 20px 64px;
  color: #2a2a2a;
  font-size: 17px;
  line-height: 1.75;
}
.wy-article h1 {
  font-size: 2rem;
  line-height: 1.25;
  color: #14323b;
  margin: 8px 0 12px;
}
.wy-article h2 {
  font-size: 1.5rem;
  color: #14323b;
  margin: 40px 0 12px;
  padding-top: 8px;
  border-top: 2px solid #e6eef0;
  scroll-margin-top: 90px; /* 锚点跳转避开吸顶导航 */
}
.wy-article h3 {
  font-size: 1.18rem;
  color: #196a83;
  margin: 24px 0 8px;
  scroll-margin-top: 90px;
}
.wy-article p { margin: 0 0 16px; }
.wy-article a { color: #196a83; text-decoration: underline; }
.wy-article ul, .wy-article ol { margin: 0 0 16px; padding-left: 1.4em; }
.wy-article li { margin: 6px 0; }
.wy-article img { max-width: 100%; height: auto; border-radius: 8px; display: block; }
.wy-article figure { margin: 0 0 20px; }
.wy-article figcaption {
  font-size: 0.9rem;
  color: #6a6a6a;
  text-align: center;
  margin-top: 6px;
}

/* 文章头部：分类标签 + 标题 + 元信息 */
.wy-meta { color: #6a6a6a; font-size: 0.92rem; margin: 0 0 20px; }
.wy-meta .tag {
  display: inline-block;
  background: #196a83;
  color: #fff;
  border-radius: 4px;
  padding: 2px 10px;
  font-size: 0.8rem;
  margin-right: 8px;
}

/* 专家署名栏 */
.wy-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f5f9fa;
  border: 1px solid #e0eaed;
  border-left: 4px solid #196a83;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 0 0 28px;
}
.wy-byline .avatar {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #196a83;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
}
.wy-byline .who { font-size: 0.95rem; }
.wy-byline .who b { color: #14323b; }
.wy-byline .who span { color: #6a6a6a; display: block; font-size: 0.86rem; }

/* 目录锚点导航 */
.wy-toc {
  background: #f5f9fa;
  border: 1px solid #e0eaed;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 0 0 32px;
}
.wy-toc .toc-head {
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; color: #14323b; margin-bottom: 8px;
}
.wy-toc ol { margin: 0; padding-left: 1.3em; columns: 2; }
.wy-toc li { margin: 4px 0; }
.wy-toc a { text-decoration: none; }
.wy-toc a:hover { text-decoration: underline; }
@media (max-width: 640px) { .wy-toc ol { columns: 1; } }

/* 打印/PDF 按钮 */
.wy-print {
  border: 1px solid #196a83;
  background: #fff;
  color: #196a83;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.85rem;
  cursor: pointer;
}
.wy-print:hover { background: #196a83; color: #fff; }

/* 对比/数据表格 */
.wy-table-wrap { overflow-x: auto; margin: 0 0 24px; }
.wy-article table.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 560px;
}
.wy-article table.cmp th,
.wy-article table.cmp td {
  border: 1px solid #dce6e9;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.wy-article table.cmp thead th {
  background: #196a83;
  color: #fff;
  font-weight: 600;
}
.wy-article table.cmp tbody tr:nth-child(even) { background: #f6fafb; }
.wy-article table.cmp td:first-child,
.wy-article table.cmp th:first-child { font-weight: 600; color: #14323b; }

/* 流程图（内联 SVG）容器 */
.wy-flow { margin: 8px 0 28px; }
.wy-flow svg { width: 100%; height: auto; }

/* 图片网格 / 对比图 */
.wy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 0 0 12px;
}
.wy-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 16px;
}
@media (max-width: 560px) { .wy-compare { grid-template-columns: 1fr; } }

/* 视频 */
.wy-video { margin: 0 0 24px; }
.wy-video video { width: 100%; border-radius: 8px; display: block; }

/* 关键提示 / callout */
.wy-callout {
  background: #fff7e6;
  border: 1px solid #f0d999;
  border-left: 4px solid #e0a82e;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 0 0 22px;
  font-size: 0.96rem;
}

/* FAQ（原生 details，无需 JS，打印时展开） */
.wy-faq details {
  border: 1px solid #e0eaed;
  border-radius: 8px;
  margin: 0 0 10px;
  background: #fafcfc;
}
.wy-faq summary {
  cursor: pointer;
  padding: 12px 16px;
  font-weight: 600;
  color: #14323b;
  list-style: none;
}
.wy-faq summary::-webkit-details-marker { display: none; }
.wy-faq summary::after { content: "+"; float: right; color: #196a83; font-weight: 700; }
.wy-faq details[open] summary::after { content: "−"; }
.wy-faq details > div { padding: 0 16px 14px; }

/* CTA */
.wy-cta {
  background: #196a83;
  color: #fff;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 36px 0 0;
  text-align: center;
}
.wy-cta h2 { color: #fff; border: 0; margin: 0 0 8px; }
.wy-cta p { color: #d8eef3; }
.wy-cta a.btn {
  display: inline-block;
  background: #fff;
  color: #196a83;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 26px;
  border-radius: 6px;
  margin-top: 6px;
}

/* 打印样式：隐藏按钮/导航，展开 FAQ，去背景省墨 */
@media print {
  .wy-print, .wy-toc { display: none !important; }
  .wy-faq details { border: 0; }
  .wy-faq details > div { display: block !important; }
  .wy-article { max-width: none; font-size: 12pt; }
  .wy-cta { background: #fff; color: #000; border: 1px solid #ccc; }
  .wy-cta h2, .wy-cta p { color: #000; }
  .wy-article a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #555; }
}
