/* CMS 生成页面（help/news/kb） */
.cms-page { padding-top: 100px; padding-bottom: 60px; min-height: 60vh; }
.cms-article, .cms-list { max-width: 900px; margin: 0 auto; }
.breadcrumb { font-size: 14px; color: #666; margin-bottom: 24px; }
.breadcrumb a { color: #4c6aff; text-decoration: none; }
.cms-article-header h1 { font-size: 32px; line-height: 1.3; margin: 0 0 12px; color: #222; }
.cms-article-header time { color: #999; font-size: 14px; }
.cms-article-summary { color: #666; font-size: 16px; margin-top: 12px; }
.cms-article-body { margin-top: 32px; font-size: 16px; line-height: 1.8; color: #333; }
.cms-article-body h2 { font-size: 22px; margin: 28px 0 12px; color: #222; }
.cms-article-body h3 { font-size: 18px; margin: 20px 0 10px; }
.cms-article-body p { margin: 0 0 16px; }
.cms-article-body ul, .cms-article-body ol { margin: 0 0 16px 24px; }
.cms-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 15px;
}
.cms-article-body th,
.cms-article-body td {
  border: 1px solid #e2e8f0;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.cms-article-body th {
  background: #f8fafc;
  font-weight: 600;
  color: #1e293b;
}
.cms-article-body a { color: #4c6aff; }
.cms-list h1 { font-size: 28px; margin-bottom: 24px; }
.cms-list-items { list-style: none; padding: 0; margin: 0; }
.cms-list-items li { padding: 16px 0; border-bottom: 1px solid #eee; }
.cms-list-items a { font-size: 18px; color: #222; text-decoration: none; font-weight: 600; }
.cms-list-items a:hover { color: var(--primary, #C41230); }
.cms-list-items time { display: block; font-size: 13px; color: #999; margin-top: 4px; }
.cms-list-items p { margin: 8px 0 0; color: #666; font-size: 14px; }

/* mailblog / help / kb 列表扩展 */
.cms-intro {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin: -8px 0 24px;
  padding: 16px 18px;
  background: #f8fafc;
  border-left: 3px solid var(--primary, #C41230);
  border-radius: 0 6px 6px 0;
}
.cms-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.cms-cat {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  color: #475569;
  background: #f1f5f9;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
a.cms-cat:hover {
  background: #e2e8f0;
  color: #1e293b;
}
.cms-cat.is-active {
  color: #fff;
  background: var(--primary, #C41230);
}
.cms-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  font-size: 14px;
}
.cms-pagination a,
.cms-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #475569;
  text-decoration: none;
}
.cms-pagination a:hover { border-color: var(--primary, #C41230); color: var(--primary, #C41230); }
.cms-pagination .is-current {
  color: #fff;
  background: var(--primary, #C41230);
  border-color: var(--primary, #C41230);
}
.cms-pagination span[aria-hidden="true"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  color: #94a3b8;
}
.cms-related-links {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}
.cms-related-links h2 {
  font-size: 18px;
  margin: 0 0 12px;
  color: #222;
}
.cms-related-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cms-related-links li { padding: 6px 0; }
.cms-related-links a { color: #4c6aff; text-decoration: none; font-size: 15px; }
.cms-related-links a:hover { text-decoration: underline; }

/* 详情页 GEO / FAQ / CTA */
.cms-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 14px;
  color: #64748b;
  margin-top: 8px;
}
.cms-geo-answer {
  margin: 20px 0 0;
  padding: 16px 18px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.75;
  color: #334155;
}
.cms-faq {
  margin-top: 36px;
  padding: 24px;
  background: #fafafa;
  border-radius: 8px;
}
.cms-faq h2 { font-size: 20px; margin: 0 0 16px; color: #222; }
.cms-faq-item + .cms-faq-item { margin-top: 16px; padding-top: 16px; border-top: 1px dashed #ddd; }
.cms-faq-item h3 { font-size: 16px; margin: 0 0 8px; color: #1e293b; }
.cms-faq-item p { margin: 0; font-size: 15px; line-height: 1.7; color: #475569; }
.cms-cta {
  margin-top: 40px;
  padding: 28px 24px;
  text-align: center;
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  border: 1px solid #fecaca;
  border-radius: 10px;
}
.cms-cta h2 { font-size: 20px; margin: 0 0 8px; color: #222; }
.cms-cta p { margin: 0 0 16px; color: #64748b; font-size: 15px; }
.cms-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cms-cta-btn {
  display: inline-block;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--primary, #C41230);
  border-radius: 6px;
  text-decoration: none;
}
.cms-cta-btn--outline {
  color: var(--primary, #C41230);
  background: #fff;
  border: 1px solid var(--primary, #C41230);
}
.cms-cta-btn:hover { opacity: 0.92; }

/* mailblog 一级 hub：分栏 + 推荐 + 更多 */
.cms-hub { max-width: 960px; }
.cms-hub .cms-geo-answer { margin-top: 12px; margin-bottom: 0; }
.cms-hub .cms-intro { margin-top: 16px; }
.cms-hub .cms-categories a.cms-cat { scroll-margin-top: 120px; }
.cms-hub-section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #e2e8f0;
}
.cms-hub-section:first-of-type { border-top: 0; padding-top: 0; }
.cms-hub-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-bottom: 16px;
}
.cms-hub-section-head h2 {
  font-size: 22px;
  margin: 0;
  color: #1e293b;
  flex: 1 1 auto;
}
.cms-hub-section-head h2 a {
  color: inherit;
  text-decoration: none;
}
.cms-hub-section-head h2 a:hover { color: var(--primary, #C41230); }
.cms-hub-section-desc {
  flex: 1 1 100%;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
}
.cms-hub-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary, #C41230);
  text-decoration: none;
  white-space: nowrap;
}
.cms-hub-more:hover { text-decoration: underline; }
.cms-hub-featured {
  margin-top: 28px;
  padding: 24px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 10px;
}
.cms-hub-featured .cms-hub-section-head { margin-bottom: 20px; }
.cms-hub-featured-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.cms-hub-featured-card {
  padding: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.cms-hub-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 10px;
  font-size: 12px;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 999px;
}
.cms-hub-featured-card a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  line-height: 1.45;
}
.cms-hub-featured-card a:hover { color: var(--primary, #C41230); }
.cms-hub-featured-card p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
}
.cms-list-items--compact li { padding: 12px 0; }
.cms-list-items--compact p { display: none; }
.cms-list-items--compact time { margin-top: 2px; }
@media (max-width: 640px) {
  .cms-hub-featured { padding: 16px; }
  .cms-hub-section-head h2 { font-size: 20px; }
}
