/* 외국어 홈 전용 — 한국어 홈과 같은 화면을 유지하되, 글자가 길어지는 언어에서
   헤더 한 줄이 넘치지 않게 메뉴 글자만 다듬는다. 레이아웃·색·간격은 그대로 둔다. */
html:not([lang="ko"]) .dn-nav-left .head_menu > li > a {
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}
/* 라틴·키릴 문자는 같은 뜻도 한글보다 길다 — 넓은 화면에서만 글자를 한 단계 줄인다 */
@media (min-width: 1025px) {
  html:not([lang="ko"]):not([lang="ja"]) .dn-nav-left .head_menu > li > a {
    font-size: 13.5px !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
  html:not([lang="ko"]):not([lang="ja"]) .dn-nav-right a,
  html:not([lang="ko"]):not([lang="ja"]) .dn-nav-right button {
    font-size: 12.5px !important;
  }
}
html:not([lang="ko"]) .dn-nav-right a,
html:not([lang="ko"]) .dn-nav-right button {
  white-space: nowrap;
}
@media (min-width: 1025px) {
  html:not([lang="ko"]) .dn-nav-right .head-cta-btn {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}
@media (min-width: 1025px) and (max-width: 1360px) {
  html:not([lang="ko"]):not([lang="ja"]) .dn-nav-left .head_menu > li > a {
    font-size: 12.5px !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
  }
  html:not([lang="ko"]):not([lang="ja"]) .dn-nav-right a,
  html:not([lang="ko"]):not([lang="ja"]) .dn-nav-right button {
    font-size: 11.5px !important;
  }
}
/* 하단 빠른상담바 — 수집 항목 안내(개인정보 고지)가 긴 언어에서 잘리지 않게 두 줄까지 허용 */
html:not([lang="ko"]) .ce-cbar-pc .ce-cbar__note {
  white-space: normal !important;
  max-width: 240px;
  font-size: 11px !important;
  line-height: 1.35 !important;
}
html:not([lang="ko"]) .ce-cbar-pc .ce-cbar__agree {
  white-space: normal !important;
  max-width: 230px;
  font-size: 11.5px !important;
  line-height: 1.35 !important;
}
html:not([lang="ko"]) .ce-cbar-pc .ce-cbar__title {
  white-space: normal !important;
  max-width: 110px;
  line-height: 1.25 !important;
}

/* 히어로 아래 숫자 카드 3칸 — 번역 글자가 한글보다 길어도 카드 안에서 줄을 바꾼다.
   한국어 홈에는 적용하지 않는다(글자·치수 그대로). */
html:not([lang="ko"]) .gc .visual .vis-proof li,
html:not([lang="ko"]) .gc .visual .vis-proof strong,
html:not([lang="ko"]) .gc .visual .vis-proof span {
  min-width: 0 !important;
  max-width: 100% !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  text-wrap: balance;
}
@media (max-width: 640px) {
  html:not([lang="ko"]) .gc .visual .vis-proof strong {
    font-size: clamp(12px, 3.7vw, 15.5px) !important;
    line-height: 1.3 !important;
  }
}

/* 줄바꿈 — 한국어 홈의 keep-all·anywhere 규칙이 영문 낱말을 글자 중간에서 자른다(ophthalmologi/sts).
   외국어 홈은 낱말 단위로 끊고, 칸보다 긴 낱말만 하이픈으로 나눈다. 태국어는 사전 기반 낱말 경계를 쓴다(keep-all 이면 안 끊긴다). */
html:not([lang="ko"]) body,
html:not([lang="ko"]) body * {
  word-break: normal !important;
  overflow-wrap: break-word !important;
}
html[lang="en"] body, html[lang="ms"] body, html[lang="id"] body, html[lang="vi"] body,
html[lang="ru"] body, html[lang="mn"] body {
  -webkit-hyphens: auto;
  hyphens: auto;
}
