@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
  --soollink-font-family: "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI",
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

/*
 * 사이트 전체 텍스트 폰트 패밀리만 통일합니다.
 * 기존 페이지의 font-size와 font-weight는 그대로 유지합니다.
 */
html,
body,
body :where(
    main, section, article, header, footer, nav, aside, div, form, fieldset,
    h1, h2, h3, h4, h5, h6, p, a, span, strong, b, em, i, small, label,
    legend, summary, ul, ol, li, dl, dt, dd, table, thead, tbody, tfoot,
    tr, th, td, caption, address, blockquote, pre, code, time, figure,
    figcaption, details, mark, abbr, cite, q, kbd, samp, sub, sup
  ):not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not(.fad):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.material-icons):not(.ytpicon):not(.swiper-button-prev):not(.swiper-button-next) {
  font-family: var(--soollink-font-family) !important;
}

button,
input,
select,
textarea,
option,
optgroup {
  font-family: var(--soollink-font-family) !important;
}


/* 2026-09 UI consistency pass
 * Pretendard Variable is the single text face across all public theme pages.
 * Old theme styles sometimes reset <strong>/<b>/<th> to normal; normalize semantic emphasis.
 */
html,
body,
button,
input,
select,
textarea {
  font-family: var(--soollink-font-family) !important;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body strong,
body b {
  font-family: var(--soollink-font-family) !important;
  font-weight: 700 !important;
}

body :where(h1,h2,h3,h4,h5,h6),
body :where(.gnb a,.navbar-nav a,.btn,.button,button,th) {
  font-family: var(--soollink-font-family) !important;
}

/* Keep icon fonts isolated from the site text face. */
body :where(.fa,.fas,.far,.fab,.fal,.fad,.fa-solid,.fa-regular,.fa-brands,.material-icons) {
  font-family: inherit;
}
body .fa, body .fas, body .far, body .fab, body .fal, body .fad,
body .fa-solid, body .fa-regular, body .fa-brands { font-family: FontAwesome !important; }
body .material-icons { font-family: 'Material Icons' !important; }
