/* 헤더 KOR / ENG 전환 (header.jsp). 로그인·회원가입 버튼 바로 위에 작게 표시
   .util-stack = [언어 전환] 위 / [로그인·회원가입] 아래, 오른쪽 끝선은 회원가입 버튼에 맞춤
   버튼 사이 간격은 resources/main/style.css의 .util gap 구간과 같은 값 */
.util-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.util-btns { display: flex; align-items: center; gap: 12px; }

.lang-switch { display: flex; align-items: center; gap: 2px; line-height: 1; font-size: 12.5px; font-weight: 600; letter-spacing: .3px; color: #9aa3b2; }
.lang-switch button {
  font: inherit; color: inherit; letter-spacing: inherit; background: none; border: 0; cursor: pointer;
  padding: 3px 4px; border-radius: 4px; transition: color .15s;
}
.lang-switch button:hover { color: var(--blue, #1166f0); }
.lang-switch button.on { color: var(--blue, #1166f0); font-weight: 800; cursor: default; }
.lang-switch button:focus-visible { outline: 2px solid var(--blue, #1166f0); outline-offset: 1px; }
.lang-sep { color: #c9d0db; font-weight: 400; }

@media (max-width: 1240px) { .util-btns { gap: 8px; } }
@media (min-width: 961px) and (max-width: 1100px) { .util-btns { gap: 6px; } .util-stack { gap: 3px; } }
/* 모바일 헤더(높이 70px): 버튼 38px + 언어 전환 */
@media (max-width: 960px) {
  .util-btns { gap: 8px; }
  .util-stack { gap: 3px; }
  .lang-switch { font-size: 11.5px; }
  .lang-switch button { padding: 2px 3px; }
}
@media (max-width: 370px) { .util-btns { gap: 5px; } .lang-switch { font-size: 11px; } }

/* 영어 화면: 메뉴 글이 길어 PC 좁은 폭에서 한 단계 작게 */
html[lang="en"] .gnb a { letter-spacing: -.2px; }
@media (min-width: 961px) and (max-width: 1400px) { html[lang="en"] .gnb { gap: 14px; } }
@media (min-width: 961px) and (max-width: 1240px) { html[lang="en"] .gnb a { font-size: 14px; } html[lang="en"] .gnb { gap: 12px; } }
@media (min-width: 961px) and (max-width: 1100px) { html[lang="en"] .gnb a { font-size: 13px; } html[lang="en"] .gnb { gap: 9px; } html[lang="en"] .logo em { font-size: 11px; } }

/* 영어 화면: 메인 하단 성장 소개(그림 위 글)는 영어가 길어 그림(인물)과 겹치지 않게 조금 작게 */
@media (min-width: 761px) {
  html[lang="en"] .growth h2 { font-size: calc(38 * var(--u)); }
  html[lang="en"] .steps li { font-size: calc(15.5 * var(--u)); line-height: 1.45; }
  html[lang="en"] .growth-quote { font-size: calc(27 * var(--u)); line-height: 1.15; }
}
@media (max-width: 760px) {
  html[lang="en"] .growth h2 { font-size: max(11px, calc(38 * var(--u))); }
  html[lang="en"] .growth-quote { font-size: max(10px, calc(27 * var(--u))); }
}
