/**
 * Chinese Typography - Global Font Settings
 * 中文排版 - 全局字体设置
 * 
 * 确保所有中文页面使用统一的中文字体系列
 * 
 * @package Corporate_Theme
 * @version 1.0.1
 */

/* ============================================================================
   全局中文字体 - 应用于所有中文页面
   ============================================================================ */

/* 中文站点全局字体 - 排除图标字体 */
body.lang-zh,
body:not([class*="lang-"]) {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif !important;
}

/* 文本元素使用中文字体 - 排除图标 */
body.lang-zh p,
body.lang-zh span:not(.dashicons):not([class*="icon"]),
body.lang-zh div:not(.dashicons):not([class*="icon"]),
body.lang-zh a:not(.dashicons):not([class*="icon"]),
body.lang-zh li,
body:not([class*="lang-"]) p,
body:not([class*="lang-"]) span:not(.dashicons):not([class*="icon"]),
body:not([class*="lang-"]) div:not(.dashicons):not([class*="icon"]),
body:not([class*="lang-"]) a:not(.dashicons):not([class*="icon"]),
body:not([class*="lang-"]) li {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif !important;
}

/* 确保标题也使用中文字体 */
body.lang-zh h1,
body.lang-zh h2,
body.lang-zh h3,
body.lang-zh h4,
body.lang-zh h5,
body.lang-zh h6,
body:not([class*="lang-"]) h1,
body:not([class*="lang-"]) h2,
body:not([class*="lang-"]) h3,
body:not([class*="lang-"]) h4,
body:not([class*="lang-"]) h5,
body:not([class*="lang-"]) h6 {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif !important;
}

/* Hero 和 Page 标题统一字体 */
body.lang-zh .hero-title,
body.lang-zh .page-title,
body:not([class*="lang-"]) .hero-title,
body:not([class*="lang-"]) .page-title {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif !important;
}

/* 保护图标字体 - 确保 dashicons 和其他图标字体不被覆盖 */
.dashicons,
[class*="dashicons-"],
[class*="icon-"],
.contact-icon,
.social-icon,
i[class*="fa-"],
i[class*="icon-"] {
    font-family: dashicons !important;
}

