/* 后台富文本可选的思源字体（Source Han Sans / Serif，已裁剪到 CJK 基本区，体积约为原 OTF 的一半）。
   font-display: swap —— 字体没加载完时先用系统字显示，不会白屏。 */

@font-face {
  font-family: '思源黑体';
  src: url('../fonts/source-han-sans-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: '思源黑体';
  src: url('../fonts/source-han-sans-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: '思源宋体';
  src: url('../fonts/source-han-serif-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: '思源宋体';
  src: url('../fonts/source-han-serif-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 带系统兜底的两个组合族，选中后用它们，缺字时自动落到系统字体 */
.wxl-sans,
.wrt-body .wxl-sans {
  font-family: '思源黑体', 'Source Han Sans CN', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
}

.wxl-serif,
.wrt-body .wxl-serif {
  font-family: '思源宋体', 'Source Han Serif SC', 'Songti SC', 'SimSun', serif;
}
