/* Korean typography: Chosun Gungseo headings + Noto Serif KR reading text.
   Every application rule is language-scoped; English keeps its original fonts.
   The comparison specimens retain their individually selected font families. */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;500;600&display=swap');
@font-face {
  font-family:'MyLiferi Gungseo';
  src:url('assets/type-study/ChosunGs.TTF') format('truetype');
  font-style:normal;
  font-weight:400;
  font-display:swap;
}
html[lang="ko"] {
  --ko-display:'MyLiferi Gungseo','Gungsuh','궁서','Noto Serif KR',serif;
  --ko-body:'Noto Serif KR','Batang','바탕',serif;
  --sans:var(--ko-body);
  --serif:var(--ko-body);
}
html[lang="ko"] body {
  font-family:var(--ko-body);
}
html[lang="ko"] body:not(.type-study) :is(p,li,dd,dt,blockquote,figcaption,table,caption,th,td,button,input,select,textarea,label,summary),
html[lang="ko"] body:not(.type-study) :is(.serif,.context,.before,.label,.offer-example,.report-guide-mark) {
  font-family:var(--ko-body);
}
html[lang="ko"] body:not(.type-study) :is(h1,h2,h3,h4,h5,h6),
html[lang="ko"] body:not(.type-study) :is(.atlas-band strong,.scene-caption strong,.keeper-caption,.speaker b) {
  font-family:var(--ko-display);
  font-weight:400;
  font-style:normal;
  font-synthesis:none;
  letter-spacing:-.025em;
  line-height:1.45;
  word-break:keep-all;
  overflow-wrap:anywhere;
}
html[lang="ko"] body:not(.type-study) :is(h1,h2,h3,h4,h5,h6) :is(em,strong,b,span) {
  font-family:inherit;
  font-weight:inherit;
  font-style:normal;
}
/* The report contents uses an existing important font shorthand. */
html[lang="ko"] .report-toc-group h2 {
  font-family:var(--ko-display)!important;
  font-weight:400!important;
}
html[lang="ko"] .report-page-heading h1 {font-size:38px;line-height:1.5}
html[lang="ko"] .report-sources h2 {font-size:26px}
html[lang="ko"] .report-prose {
  font-family:var(--ko-body);
  font-size:16px;
  font-weight:400;
  line-height:2.15;
  letter-spacing:-.025em;
  word-break:keep-all;
  overflow-wrap:break-word;
}
html[lang="ko"] .report-reflection p {font-family:var(--ko-body);font-size:15px;line-height:2}
@media(max-width:560px) {
  html[lang="ko"] .report-page-heading h1 {font-size:27px;line-height:1.5}
  html[lang="ko"] .report-prose {font-size:15px;line-height:2.1}
  html[lang="ko"] .report-reflection p {font-size:14px}
}
