/* DDKK 字体样式 - 基于 Ant Design 5.x 设计规范 */
/* 所有选择器均使用完整前缀，避免样式冲突 */

/* 引入高质量 Web 字体：Inter（英文标题）和 Noto Sans SC（中文正文） */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

/* 全局字体族与尺寸定义 */
:root {
  --ddkk-font-family-heading: 'Inter', 'Segoe UI', 'SF Pro Display', 'Helvetica Neue', 'Arial', sans-serif;
  --ddkk-font-family-body: 'Noto Sans SC', 'HarmonyOS Sans SC', 'PingFang SC', 'Inter', 'Microsoft YaHei', sans-serif;
  --ddkk-font-size-base: 15px;
  --ddkk-font-size-sm: 13px;
  --ddkk-font-size-lg: 17px;
  --ddkk-line-height-base: 1.65;
}

/* 重置 HTML 和 Body 的默认间距，确保导航栏紧贴页面顶部 */
/* 使用 !important 覆盖浏览器默认样式（用户代理样式表） */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
}

/* Body 全局字体样式设置 */
body {
  font-family: var(--ddkk-font-family-body);
  font-size: var(--ddkk-font-size-base);
  line-height: var(--ddkk-line-height-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 所有元素默认继承 body 字体，局部可单独覆盖 */
* {
  font-family: inherit;
}

/* 标题字体使用 Inter，提供更好的设计感 */
h1,
h2,
h3,
h4,
h5,
h6,
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  font-family: var(--ddkk-font-family-heading);
  font-weight: 600;
  letter-spacing: 0.01em;
}

