/* 외국어 지면 — 글자를 지운 바탕 그림 위에 번역 글자를 얹는 층(scripts/clone-i18n/imgtext/*.json 에서 생성). 한국어 지면에는 싣지 않는다.
   자리는 그림 픽셀 대비 %, 글자 크기는 층 폭 대비(cqw)라 그림이 줄면 함께 준다. 층의 자리·넘침 축소는 /js/ss-imgtx.js */
.ss-imgtx {
  position: absolute; left: 0; top: 0; width: 0; height: 0; margin: 0; padding: 0; border: 0;
  container-type: inline-size; direction: ltr; pointer-events: none; visibility: hidden;
  line-height: normal; text-align: left; display: block; z-index: 1;
}
.ss-imgtx.is-on { visibility: visible; }
.ss-imgtx-clip { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; margin: 0; padding: 0; }
.ss-imgtx > .ss-imgtx-t {
  position: absolute; display: flex; box-sizing: border-box; margin: 0 !important; padding: 0 !important; border: 0; background: none;
  font-family: 'Pretendard', 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans Thai', 'Noto Sans Arabic', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans JP', sans-serif !important;
  font-size: calc(var(--fs) * 1cqw * var(--fit, 1)) !important; line-height: var(--lh) !important; letter-spacing: 0 !important;
  white-space: normal; word-break: normal; overflow-wrap: break-word; text-transform: none; text-shadow: none; overflow: visible;
  direction: ltr !important; unicode-bidi: plaintext !important;
}
.ss-imgtx > .ss-imgtx-t > span { display: block; width: 100%; }
/* 1단계 — 그림 바로 아래(테두리 밖) 번역 글 */
.ss-imgcap { display: block; margin: 8px 0 0 !important; padding: 0 4px !important; font-size: 13px !important; line-height: 1.45 !important;
  color: #444 !important; text-align: center; white-space: normal; position: static; }
/* 캡션이 붙은 슬라이드·아코디언은 높이를 풀어 캡션이 잘리지 않게(외국어 지면만 이 파일을 싣는다) */
.mySwiper7 .swiper-slide:has(> .ss-imgcap) { height: auto !important; overflow: visible !important; }
.accordion-content.active:has(.ss-imgcap) { max-height: none !important; }
.mySwiper7 .swiper-slide:has(> .ss-imgcap) > img { height: auto !important; aspect-ratio: 2 / 1; }
