@charset "utf-8";
/* ==========================================================================
   AEO 헤딩 승격용 보정 (aeo_heading.css)
   기존 p / div / span 이던 제목 요소를 h1·h2 로 바꾸면서, 태그 기본 스타일(굵기·글꼴·크기·자간)이
   기존 모습에 영향을 주지 않도록 "상위 클래스 종속" 으로만 중화한다.
   - :where() 안은 우선순위 0 → 기존 클래스 규칙(.titleSet .title 등)이 항상 우선하고,
     기존 클래스가 정하지 않은 속성만 부모 값을 상속(= 예전 p/div/span 상태)한다.
   - 이 파일은 css/dev.css 뒤에 로드한다. 기존 CSS 파일은 수정하지 않는다.
   ========================================================================== */

/* h1 ← div */
h1:where(.cmCon .clinicHeadTitle),
h1:where(.count--title .count--subTitle),
h1:where(.j0601-title-box .j0601-main-title) {
  font-weight:inherit;font-family:inherit;font-size:inherit;letter-spacing:inherit;box-sizing:border-box;
}

/* h1 ← p */
h1:where(.inner .blue_txt),
h1:where(.innerTitleSec .headTitle),
h1:where(.innerTitleSec .subTitle),
h1:where(.sugTxt .headCopy),
h1:where(.titleSet .title) {
  font-weight:inherit;font-family:inherit;font-size:inherit;letter-spacing:inherit;
}

/* h2 ← div */
h2:where(.count--title .count--mainTitle) {
  font-weight:inherit;font-family:inherit;font-size:inherit;letter-spacing:inherit;box-sizing:border-box;
}

/* h2 ← p */
h2:where(.hosPhill .headTitle),
h2:where(.inner .title_txt),
h2:where(.innerTitleSec .headTitle),
h2:where(.mainInner .title),
h2:where(.titleSet .title) {
  font-weight:inherit;font-family:inherit;font-size:inherit;letter-spacing:inherit;
}
