/* ===========================================================================
   타이포그래피 — 본문·제목·코드의 글꼴 지정
   ---------------------------------------------------------------------------
   _quarto.yml 의 include-in-header 인라인 <style> 에서 분리 (2026-08-10).

   [로드 순서 주의] 이 파일은 _quarto.yml 의 css: 배열 "맨 앞"에 두어야 한다.
   분리 전 인라인 <style> 은 theme(main.scss) 뒤 · chart_styles.css 앞에
   놓였는데, chart_styles.css 가 .caption-half-title 을 다시 정의한다.
   순서를 뒤로 옮기면 캡션 굵기가 700 에서 500 으로 바뀐다.

   글꼴 파일 자체는 _quarto.yml 의 <link> 가 CDN 에서 받아온다.
   =========================================================================== */

body {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.quarto-title-block .title {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 700;
}

.quarto-title-block .subtitle {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 500;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 600;
}

/* 제목에 각주 마커가 붙으면 마커까지 굵어지므로 되돌린다. */
h1 .footnote-ref, h2 .footnote-ref, h3 .footnote-ref, h4 .footnote-ref {
  font-weight: normal;
}

.caption-half-title {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 500;
}

code, pre, .sourceCode {
  font-family: "Maple Mono", "Cascadia Code", "Fira Code", "JetBrains Mono", "SF Mono", "Monaco", "Menlo", "Consolas", monospace;
}
