/* 中文 version: Chinese fonts and small layout fixes. Loaded only on /zh/ pages. */
body.ysl-zh{
  --ysl-serif:'Cormorant Garamond','Noto Serif SC','Songti SC','STSong','SimSun',serif;
  --ysl-sans:'Poppins','Noto Sans SC','PingFang SC','Microsoft YaHei','Hiragino Sans GB',sans-serif;
  --ysl-label:'Montserrat','Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif;
  --ysl-hand:'Caveat','Noto Serif SC','Songti SC','STSong',serif;
  font-family:var(--ysl-sans);
}
/* the design writes some fonts straight into the page: add the Chinese fonts behind them */
body.ysl-zh [style*="Cormorant Garamond"]{font-family:'Cormorant Garamond','Noto Serif SC','Songti SC','STSong','SimSun',serif!important;}
body.ysl-zh [style*="Poppins"]{font-family:'Poppins','Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif!important;}
body.ysl-zh [style*="Montserrat"]{font-family:'Montserrat','Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif!important;}
body.ysl-zh [style*="Caveat"]{font-family:'Caveat','Noto Serif SC','Songti SC','STSong',serif!important;}
/* Chinese is never slanted */
body.ysl-zh *{font-style:normal!important;}
body.ysl-zh em{font-weight:700;}
/* long Chinese headings must wrap, not run off the page */
body.ysl-zh h1,body.ysl-zh h2,body.ysl-zh h3{white-space:normal!important;overflow-wrap:anywhere;}
body.ysl-zh p,body.ysl-zh li{overflow-wrap:anywhere;}
body.ysl-zh h1,body.ysl-zh h2,body.ysl-zh h3{text-wrap:balance;}
