/* ==========================================================================
   Flow-X 字体系统（独立版：仅字体规则，不含导航改造）
   适用于不引入 flowx-nav-i18n.js 的页面（about / solutions / client-support / process）
   --------------------------------------------------------------------------
   字体按字符走，不按 html[lang] 切换：
   - 拉丁字符 -> FlowXInter (Inter)
   - 简中字符 -> FlowXZhuoJian (卓越橄榄)
   - 繁中字符 -> SourceHanSansTC (思源黑体；2026-11-19 全站替换 AlibabaSansTC)
   ========================================================================== */

@font-face {
  font-family: 'FlowXInter';
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
  src: url('../../replace/font/Inter Thin%E5%AD%97%E4%BD%93.ttf') format('truetype');
}

@font-face {
  font-family: 'FlowXZhuoJian';
  font-weight: 400;
  font-style: normal;
  font-display: block;
  src: url('../../replace/font/%E5%8D%93%E5%81%A5%E6%A9%84%E6%A6%84%E7%AE%80%E4%BD%93%281%29.ttf') format('truetype');
  /* 渲染中日韩统一表意文字及中文标点 - 英文不使用此字体，保持 Inter */
  unicode-range: U+3000-303F, U+4E00-9FFF, U+3400-4DBF, U+20000-2A6DF, U+2A700-2B73F, U+2B740-2B81F, U+F900-FAFF, U+FF00-FFEF;
}

@font-face {
  font-family: 'SourceHanSansTC';
  font-weight: 300;
  font-display: block;
  src: url('../../replace/font/SourceHanSansTC/SourceHanSansTC-Light.woff2') format('woff2');
  /* 渲染中日韩统一表意文字及中文标点 - 英文不使用此字体，保持 Inter */
  unicode-range: U+3000-303F, U+4E00-9FFF, U+3400-4DBF, U+20000-2A6DF, U+2A700-2B73F, U+2B740-2B81F, U+F900-FAFF, U+FF00-FFEF;
}
@font-face {
  font-family: 'SourceHanSansTC';
  font-weight: 400;
  font-display: block;
  src: url('../../replace/font/SourceHanSansTC/SourceHanSansTC-Regular.woff2') format('woff2');
  unicode-range: U+3000-303F, U+4E00-9FFF, U+3400-4DBF, U+20000-2A6DF, U+2A700-2B73F, U+2B740-2B81F, U+F900-FAFF, U+FF00-FFEF;
}
@font-face {
  font-family: 'SourceHanSansTC';
  font-weight: 700;
  font-display: block;
  src: url('../../replace/font/SourceHanSansTC/SourceHanSansTC-Bold.woff2') format('woff2');
  unicode-range: U+3000-303F, U+4E00-9FFF, U+3400-4DBF, U+20000-2A6DF, U+2A700-2B73F, U+2B740-2B81F, U+F900-FAFF, U+FF00-FFEF;
}
@font-face {
  font-family: 'SourceHanSansTC';
  font-weight: 900;
  font-display: block;
  src: url('../../replace/font/SourceHanSansTC/SourceHanSansTC-Heavy.woff2') format('woff2');
  unicode-range: U+3000-303F, U+4E00-9FFF, U+3400-4DBF, U+20000-2A6DF, U+2A700-2B73F, U+2B740-2B81F, U+F900-FAFF, U+FF00-FFEF;
}

/* --------------------------------------------------------------------------
   统一字体列表：字体按字符走，不按 html[lang] 切换
   - 拉丁字符 -> FlowXInter (Inter, 无 unicode-range)
   - 简中字符 -> FlowXZhuoJian (卓越橄榄, unicode-range=CJK, 含简字形不含繁字形)
   - 繁中字符 -> SourceHanSansTC (思源黑体, 卓越橄榄不含繁字形时 fallback)
   -------------------------------------------------------------------------- */
html { font-family: 'FlowXInter', 'FlowXZhuoJian', 'SourceHanSansTC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; }

/* 让 Duda 未显式指定 font-family 的元素继承；Duda 的类选择器需用 !important 覆盖 */
body { font-family: inherit !important; }
body *:not(.no-i18n):not(.no-i18n *):not(.icon):not([class*="icon-"]):not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not(.fad):not(i[class^="icon"]):not(i[class*=" icon"]) {
  font-family: inherit !important;
}

/* 图标字体族（FontAwesome 等）不在此覆盖：
   body inherit 的 :not() 列表已排除 .icon / [class*="icon-"] / .fa 等图标元素，
   图标保留 Duda criticalCss 的 font-family:FontAwesome!important。
   切勿加 font-family:revert!important —— 会覆盖 FontAwesome 导致图标变方块。 */
