/* 영문(/en/) 페이지 레이아웃 보정 — 영문 모드에서만 로드 (extend/mp.lang.extend.php)
   기존 CSS 는 한글 기준(글자 단위 줄바꿈 break-all)이라 영어 단어가 중간에 잘림 → 단어 단위로 */
html[lang="en"] body,
html[lang="en"] body * {
  word-break: normal !important;
  overflow-wrap: break-word;
}

/* 메인: 원장 이름 (Tae-Hoon Lee × Bo-Young Kim) 한 줄 유지 */
html[lang="en"] .sec03 .name {
  white-space: nowrap;
  font-size: 44px;
}
html[lang="en"] .sec03 .doc_img .txt {
  line-height: 1.35;
}

@media (max-width: 880px) {
  html[lang="en"] .sec03 .name {
    font-size: 22px;
    gap: 10px;
  }
}

/* 진료 페이지 공통: 'Special 1~4' 카드(.step_bg) — 영문이 길어 고정 높이에서 잘림 → 내용만큼 늘어나게 */
html[lang="en"] .step_bg {
  height: auto !important;
  min-height: 31.063rem;
}

@media (max-width: 880px) {
  /* 검사 종류 탭(알약 모양 버튼): 긴 영문 이름은 두 줄로 */
  html[lang="en"] .test_txt {
    padding: 0 10px;
    font-size: 13px;
    line-height: 1.15;
    text-align: center;
  }
  html[lang="en"] .step_bg {
    min-height: 476px;
  }
  html[lang="en"] .step_content :is(h1, h3) {
    font-size: 22px;
    line-height: 30px;
  }
}

/* Semantic paragraphs retain the original English heading's presentation. */
html[lang="en"] .sec02 .txt_wrap .en-definition {
  color: #312a28;
  font-size: inherit;
  line-height: 1;
  margin-bottom: 0;
  position: static;
  bottom: auto;
  opacity: 1;
}
html[lang="en"] .sec04 .txt .top .en-promise-number {
  color: #312a28;
  font-size: inherit;
  line-height: 1;
  padding-right: 0;
}
html[lang="en"] .sec08 .tit_wrap .en-closing-intro {
  font-size: inherit;
  line-height: 1;
  margin-bottom: 0;
  text-shadow: none;
}
html[lang="en"] .en-lines-heading {
  display: contents;
}
html[lang="en"] .en-title-line {
  display: block;
}
html[lang="en"] .en-sterilization-label {
  color: #312a28;
  font-family: inherit;
}
@media (min-width: 881px) {
  html[lang="en"] .sec11 .txt_wrap > .en-clinic-label {
    text-align: start;
  }
}

/* 병원소개(sub01): 한글 이미지 버튼·서명을 글자로 대체 */
.mp_en_morebtn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 42px;
  color: #9b8580;
  font-size: 16px;
  cursor: pointer;
  white-space: nowrap;
}
.mp_en_morebtn i {
  position: relative;
  width: 32px;
  height: 32px;
  border: 1px solid #b9a59c;
  border-radius: 50%;
}
.mp_en_morebtn i::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 30px;
  height: 1px;
  background: #b9a59c;
}
.mp_en_morebtn:hover {
  color: #6b5a52;
}
.mp_en_sign {
  display: inline-block;
  margin-top: 8px;
  font-family: "CormorantGaramond", serif;
  font-style: italic;
  font-size: 30px;
  color: #fff;
}
html[lang="en"] .sec02_intro_06 {
  white-space: nowrap;
}

/* 명작 정보(Health Library) 영문 글 하단 번역 안내 */
.info_translated {
  margin: 36px 0 0;
  color: #a39893;
  font-size: 13px;
  font-style: italic;
}

/* 메인 히어로 문구 (모바일: 영문 첫 줄이 길어 양옆 여백) */
@media (max-width: 880px) {
  html[lang="en"] .sec01 .txt_wrap .intro_text {
    padding: 0 16px;
    font-size: 17px;
    line-height: 1.5;
  }
}
