/* Trinity site-wide typography — Pretendard */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");

:root {
  --tg-font-sans:
    "Pretendard Variable",
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    sans-serif;
  --tg-type-scale: 1.0875;
  --tg-body-leading: 1.78;
  --tg-copy-leading: 1.82;
}

html {
  font-size: calc(100% * var(--tg-type-scale));
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body,
body[data-tg-ui] {
  font-family: var(--tg-font-sans) !important;
  line-height: var(--tg-body-leading);
  letter-spacing: -0.012em;
  word-break: keep-all;
}

.font-sans,
.font-pretendard,
.font-kopub,
.font-gmarket-bold,
.font-serif,
.serif,
.intro-title,
[class*="font-["] {
  font-family: var(--tg-font-sans) !important;
}

.tg-mobile-bar,
.tg-drawer,
.tg-pc-quick,
.tg-sticky-consult,
.tg-pc-lang,
.tg-wechat-modal,
.trinity-seo-block,
.member-wrapper,
.popup-slide-root {
  font-family: var(--tg-font-sans) !important;
}

p,
li,
dd,
dt,
label,
figcaption,
blockquote,
.trinity-seo-block p,
.trinity-seo-block li,
.trinity-aeo-content p,
.trinity-aeo-content li {
  line-height: var(--tg-copy-leading);
}

.leading-snug {
  line-height: 1.58 !important;
}

.leading-normal {
  line-height: 1.68 !important;
}

.leading-relaxed {
  line-height: 1.88 !important;
}

.leading-loose {
  line-height: 2.05 !important;
}

.tracking-tight {
  letter-spacing: -0.018em !important;
}

.tracking-tighter {
  letter-spacing: -0.028em !important;
}

.text-xs,
.text-\[11px\],
.text-\[12px\] {
  line-height: 1.55 !important;
}

.text-sm,
.text-\[13px\],
.text-\[14px\] {
  line-height: 1.68 !important;
}

.text-base,
.text-\[15px\],
.text-\[16px\] {
  line-height: 1.78 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.38;
  letter-spacing: -0.022em;
}

.site-nav-link,
.tg-mobile-bar,
.tg-drawer {
  letter-spacing: 0;
  line-height: 1.45;
}
