@charset "utf-8";
/* 한국어·영어 사이트 전역 본문 폰트 — Pretendard (2026-09-28). kr/en head.lib.php 에서 bootstrap 뒤에 불러온다.
   굵기는 /font/ 에 실제 파일이 있는 400·500·600·700 만 선언한다. 파일 없는 굵기를 요청하면 브라우저가 가짜 굵은체를 만들어 번진다.
   300(Light)은 일부러 선언하지 않는다 — 가는 글자가 흐리게 보이므로 300 을 쓰는 옛 규칙은 400 으로 그려진다.
   --site-font 는 헤더 규칙(header_footer_*.css)이 쓴다. */
@font-face {font-family: 'Pretendard'; src: url('/font/Pretendard-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap;}
@font-face {font-family: 'Pretendard'; src: url('/font/Pretendard-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap;}
@font-face {font-family: 'Pretendard'; src: url('/font/Pretendard-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap;}
@font-face {font-family: 'Pretendard'; src: url('/font/Pretendard-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap;}
:root {--site-font: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;}
/* html body … 로 한 단계 높인다: head.php 가 본문 중간에 bootstrap.min.css 를 한 번 더 불러 body 글꼴을 Helvetica 로 되돌리기 때문 */
html body, html body th, html body td, html body input, html body select, html body textarea, html body button {font-family: var(--site-font);}
/* 흐림 보정: 본문 기본 굵기를 Regular(400) → Medium(500) 으로. 옛 CSS 가 굵기를 따로 지정한 곳은 그대로 따른다. */
html body {font-weight: 500;}
/* 800·900 은 파일이 없으므로 Bold(700) 로 못박는다 */
b, strong {font-weight: 700;}

/* 애매한 줄바꿈 방지: 짧은 문단·제목은 줄 길이를 고르게(balance), 긴 문단은 마지막 줄이 한두 단어로 남지 않게(pretty) */
h1, h2, h3, h4, h5, h6, #visual_wrap .txt_box p, .sub_content, .tit, .title {text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere;} /* 한글은 어절 단위로 끊는다 */
p, dd, li {text-wrap: pretty;}
