@font-face {
  font-family: "DUNBEN Libertinus Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/standard/LibertinusSans-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "DUNBEN Libertinus Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/standard/LibertinusSans-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "DUNBEN Libertinus Sans";
  font-style: normal;
  font-weight: 450;
  font-display: swap;
  src: url("../fonts/standard/LibertinusSans-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "DUNBEN Libertinus Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/standard/LibertinusSans-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "DUNBEN Libertinus Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/standard/LibertinusSans-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "DUNBEN Libertinus Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/standard/LibertinusSans-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "DUNBEN Libertinus Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/standard/LibertinusSans-Italic.ttf") format("truetype");
}

@font-face {
  font-family: "DUNBEN Libertinus Sans";
  font-style: italic;
  font-weight: 450;
  font-display: swap;
  src: url("../fonts/standard/LibertinusSans-Italic.ttf") format("truetype");
}

@font-face {
  font-family: "DUNBEN Libertinus Sans";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/standard/LibertinusSans-Italic.ttf") format("truetype");
}

@font-face {
  font-family: "DUNBEN DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/standard/DMSans-VariableFont_opsz,wght.ttf") format("truetype");
}

@font-face {
  font-family: "DUNBEN DM Sans";
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/standard/DMSans-Italic-VariableFont_opsz,wght.ttf") format("truetype");
}

:root {
  --font-primary: "DUNBEN Libertinus Sans", "Libertinus Sans", Georgia, serif;
  --font-secondary: "DUNBEN DM Sans", "DM Sans", Helvetica, Arial, sans-serif;
  --font-cn: "Noto Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html,
body {
  font-family: var(--font-secondary);
}

.title,
h1,
h2,
h3,
h4,
h5,
h6,
.dv-pf-menu__link,
.dv-case-title,
.dv-case-h1,
.dv-case-h2,
.dv-case-h3,
.dv-case-h4,
.dv-case-hero__title,
.dv-case-list__title,
.dv-case-quotes__title,
.dv-case-quote__title,
.dv-case-ending__subtitle,
.dv-case-section__title,
.dv-case-next__title,
.ic-title {
  font-family: var(--font-primary) !important;
}

.wysiwyg,
.label,
.button,
.dv-pf-nav,
.dv-pf-menu,
.rw-module,
.image-card,
.ic-subtitle,
body.dv-case-body,
.dv-case-body,
.dv-case-body button,
.dv-case-body input,
.dv-case-body textarea,
.dv-case-body select,
.dv-case-kicker,
.dv-case-meta,
.dv-case-pill,
.dv-case-small-title,
.dv-case-list__item,
.dv-case-stat__label,
.dv-case-stat-card__label,
.dv-case-card__label,
.dv-case-stage__label,
.dv-case-body .dv-case-mono {
  font-family: var(--font-secondary) !important;
}

:lang(zh),
:lang(zh-CN),
:lang(zh-Hans) {
  font-family: var(--font-cn);
}
