@font-face {
  font-family: "SZYMWP Source Han Sans";
  src: url("../fonts/SourceHanSansSC-SZYMWP.woff2") format("woff2");
  font-style: normal;
  font-weight: 250 900;
  font-display: swap;
}

:root {
  --szymwp-font-sans: "SZYMWP Source Han Sans", "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --szymwp-font-display: "SZYMWP Source Han Sans", "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html,
body {
  font-family: var(--szymwp-font-sans) !important;
  color: #222;
  font-synthesis: weight style;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body :where(h1, h2, h3, h4, h5, h6, p, li, a, label, blockquote, figcaption, table, th, td, input, textarea, select, button),
body .elementor-heading-title,
body .elementor-widget-text-editor,
body .elementor-button,
body .elementor-field,
body .elementor-search-form__input,
body .szymwp-main-menu {
  font-family: var(--szymwp-font-sans) !important;
}

body :where(h1, h2, h3, h4, h5, h6),
body .elementor-heading-title {
  letter-spacing: 0;
  text-wrap: pretty;
}

body :where(h1, h2, h3),
body .elementor-heading-title,
body .entry-title,
body .elementor-post__title,
body .widget-title,
body .szymwp-brand-lockup__name,
body .szymwp-main-menu > li > a {
  font-family: var(--szymwp-font-display) !important;
}

body :where(p, li, blockquote),
body .elementor-widget-text-editor {
  text-wrap: pretty;
}

@media (max-width: 650px) {
  body :where(p, li, blockquote),
  body .elementor-widget-text-editor {
    text-wrap: wrap;
  }
}
