
/* BTMR TYPOGRAPHY SYSTEM v1 — 2026-08-29
 * 역할별 글자 체계 : display 48/34 · page title 42/34 · section 25/22
 * · subsection 19/18 · body 17/16 · support 14.5/14
 */
body.btmr-typography-system {
  --btmr-type-display: 48px;
  --btmr-type-page-title: 42px;
  --btmr-type-section: 25px;
  --btmr-type-subsection: 19px;
  --btmr-type-body: 17px;
  --btmr-type-support: 14.5px;
  --btmr-type-ui: 14px;
}

/* 최상위 제목 : 일반 페이지 · 글 · 목록 · 상담 허브 */
html body.btmr-typography-system:not(.home):not(.is_wpforo_page-1) main h1.entry-title,
html body.btmr-typography-system:not(.home):not(.is_wpforo_page-1) main h1.page-title,
html body.btmr-typography-system.page-id-2673 #btmr-blog-page-2026 h1.hero-title,
html body.btmr-typography-system.page-id-3569 #btmr-consult-title {
  font-size: var(--btmr-type-page-title) !important;
  font-weight: 760 !important;
  line-height: 1.3 !important;
  letter-spacing: -.04em !important;
}
html body.btmr-typography-system.page-id-2673.btmr-premium-design #btmr-blog-page-2026 .hero h1.hero-title {
  font-size: var(--btmr-type-page-title) !important;
  font-weight: 760 !important;
  line-height: 1.3 !important;
  letter-spacing: -.04em !important;
}

/* 홈의 첫 문장만 display 역할로 분리 */
html body.btmr-typography-system.home .hero h1 {
  font-size: var(--btmr-type-display) !important;
  line-height: 1.16 !important;
}

/* 본문 중제목 */
html body.btmr-typography-system:not(.is_wpforo_page-1) main .entry-content h2:not(.btmr-related-title),
html body.btmr-typography-system.page-id-2673 #btmr-blog-page-2026 h2.section-title,
html body.btmr-typography-system.page-id-3569 .btmr-consult-center h2,
html body.btmr-typography-system.page-id-4409 main h2 {
  font-size: var(--btmr-type-section) !important;
  font-weight: 740 !important;
  line-height: 1.36 !important;
  letter-spacing: -.025em !important;
}
html body.btmr-typography-system.page-id-2673.btmr-premium-design #btmr-blog-page-2026 .topics-block h2.section-title,
html body.btmr-typography-system.page-id-2673.btmr-premium-design #btmr-blog-page-2026 .recent h2.section-title {
  font-size: var(--btmr-type-section) !important;
  font-weight: 740 !important;
  line-height: 1.36 !important;
  letter-spacing: -.025em !important;
}

/* 홈의 섹션 제목 */
html body.btmr-typography-system.home #topic-hub-title,
html body.btmr-typography-system.home .btmr-home-services h2,
html body.btmr-typography-system.home .about-intro > h2 {
  font-size: 30px !important;
  font-weight: 760 !important;
  line-height: 1.32 !important;
}
html body.btmr-typography-system.home .cta-text h2 {
  font-size: 20px !important;
  line-height: 1.4 !important;
}

/* 본문 소제목과 카드 제목 */
html body.btmr-typography-system:not(.is_wpforo_page-1) main .entry-content h3,
html body.btmr-typography-system.page-id-2673 #btmr-blog-page-2026 .group-head h3,
html body.btmr-typography-system.page-id-3569 .btmr-consult-route h3,
html body.btmr-typography-system.home .hub-card-title {
  font-size: var(--btmr-type-subsection) !important;
  line-height: 1.45 !important;
}

/* 일반 페이지 본문 : 전자명함 · 계산기 · 후기 · 상담 허브는 아래 전용 규칙 사용 */
html body.btmr-typography-system.page:not(.page-id-2673):not(.page-id-3569):not(.page-id-4005):not(.page-id-4409):not(.page-id-4668):not(.page-id-4716):not(.is_wpforo_page-1) main .entry-content p,
html body.btmr-typography-system.page:not(.page-id-2673):not(.page-id-3569):not(.page-id-4005):not(.page-id-4409):not(.page-id-4668):not(.page-id-4716):not(.is_wpforo_page-1) main .entry-content li,
html body.btmr-typography-system.single-post:not(.is_wpforo_page-1) main .entry-content p,
html body.btmr-typography-system.single-post:not(.is_wpforo_page-1) main .entry-content li {
  font-size: var(--btmr-type-body) !important;
  line-height: 1.82 !important;
}

/* 홈 본문과 보조 설명 */
html body.btmr-typography-system.home .hero-sub,
html body.btmr-typography-system.home .about-intro > p:not(.about-promise) {
  font-size: var(--btmr-type-body) !important;
  line-height: 1.82 !important;
}
html body.btmr-typography-system.home .hub-card-desc,
html body.btmr-typography-system.home .hub-subtitle,
html body.btmr-typography-system.home .cta-text p {
  font-size: var(--btmr-type-support) !important;
  line-height: 1.72 !important;
}

/* 블로그 입구와 글 목록 */
html body.btmr-typography-system.page-id-2673 #btmr-blog-page-2026 p.lead {
  font-size: var(--btmr-type-body) !important;
  line-height: 1.82 !important;
}
html body.btmr-typography-system.page-id-2673.btmr-premium-design #btmr-blog-page-2026 .hero p.lead {
  font-size: var(--btmr-type-body) !important;
  line-height: 1.82 !important;
}
html body.btmr-typography-system.page-id-2673 #btmr-blog-page-2026 .cat-card p.desc,
html body.btmr-typography-system.archive:not(.is_wpforo_page-1) main article .entry-summary p {
  font-size: var(--btmr-type-support) !important;
  line-height: 1.65 !important;
}
html body.btmr-typography-system.archive:not(.is_wpforo_page-1) main article h2.entry-title,
html body.btmr-typography-system.search:not(.is_wpforo_page-1) main article h2.entry-title {
  font-size: var(--btmr-type-subsection) !important;
  line-height: 1.5 !important;
}

/* 카카오 상담 허브 */
html body.btmr-typography-system.page-id-3569 .btmr-consult-lead,
html body.btmr-typography-system.page-id-3569 .btmr-consult-heading > p,
html body.btmr-typography-system.page-id-3569 .btmr-consult-principles li,
html body.btmr-typography-system.page-id-3569 .btmr-consult-list li,
html body.btmr-typography-system.page-id-3569 .btmr-consult-center details p {
  font-size: var(--btmr-type-body) !important;
  line-height: 1.82 !important;
}
html body.btmr-typography-system.page-id-3569 .btmr-consult-route p {
  font-size: var(--btmr-type-support) !important;
  line-height: 1.7 !important;
}
html body.btmr-typography-system.page-id-3569 .btmr-consult-center summary,
html body.btmr-typography-system .btmr-authority-page summary {
  font-size: var(--btmr-type-body) !important;
  line-height: 1.65 !important;
}

/* 후기 · 계산기 */
html body.btmr-typography-system.page-id-4716 .btmr-review-copy,
html body.btmr-typography-system.page-id-4716 .comment-form label,
html body.btmr-typography-system.page-id-4409 main li {
  font-size: var(--btmr-type-body) !important;
  line-height: 1.82 !important;
}
html body.btmr-typography-system.page-id-4716 .comment-reply-title {
  font-size: 22px !important;
  line-height: 1.45 !important;
}

@media (max-width: 600px) {
  body.btmr-typography-system {
    --btmr-type-display: 34px;
    --btmr-type-page-title: 34px;
    --btmr-type-section: 22px;
    --btmr-type-subsection: 18px;
    --btmr-type-body: 16px;
    --btmr-type-support: 14px;
    --btmr-type-ui: 13px;
  }
  html body.btmr-typography-system:not(.home):not(.is_wpforo_page-1) main h1.entry-title,
  html body.btmr-typography-system:not(.home):not(.is_wpforo_page-1) main h1.page-title,
  html body.btmr-typography-system.page-id-2673 #btmr-blog-page-2026 h1.hero-title,
  html body.btmr-typography-system.page-id-3569 #btmr-consult-title {
    line-height: 1.3 !important;
  }
  html body.btmr-typography-system.home #topic-hub-title,
  html body.btmr-typography-system.home .btmr-home-services h2,
  html body.btmr-typography-system.home .about-intro > h2 {
    font-size: 25px !important;
  }
  html body.btmr-typography-system.home .cta-text h2 {
    font-size: 19px !important;
  }
  html body.btmr-typography-system.page:not(.page-id-2673):not(.page-id-3569):not(.page-id-4005):not(.page-id-4409):not(.page-id-4668):not(.page-id-4716):not(.is_wpforo_page-1) main .entry-content p,
  html body.btmr-typography-system.page:not(.page-id-2673):not(.page-id-3569):not(.page-id-4005):not(.page-id-4409):not(.page-id-4668):not(.page-id-4716):not(.is_wpforo_page-1) main .entry-content li,
  html body.btmr-typography-system.single-post:not(.is_wpforo_page-1) main .entry-content p,
  html body.btmr-typography-system.single-post:not(.is_wpforo_page-1) main .entry-content li,
  html body.btmr-typography-system.home .hero-sub,
  html body.btmr-typography-system.home .about-intro > p:not(.about-promise),
  html body.btmr-typography-system.page-id-2673 #btmr-blog-page-2026 p.lead,
  html body.btmr-typography-system.page-id-3569 .btmr-consult-lead,
  html body.btmr-typography-system.page-id-3569 .btmr-consult-heading > p,
  html body.btmr-typography-system.page-id-3569 .btmr-consult-principles li,
  html body.btmr-typography-system.page-id-3569 .btmr-consult-list li,
  html body.btmr-typography-system.page-id-3569 .btmr-consult-center details p,
  html body.btmr-typography-system.page-id-4716 .btmr-review-copy,
  html body.btmr-typography-system.page-id-4716 .comment-form label,
  html body.btmr-typography-system.page-id-4409 main li {
    line-height: 1.8 !important;
  }
}
