/* Scoped Korean typography rules when KO is active */
html.i18n-ko-active body, 
html.i18n-ko-active p, 
html.i18n-ko-active h1, 
html.i18n-ko-active h2, 
html.i18n-ko-active h3, 
html.i18n-ko-active h4, 
html.i18n-ko-active h5, 
html.i18n-ko-active h6, 
html.i18n-ko-active span, 
html.i18n-ko-active div, 
html.i18n-ko-active a, 
html.i18n-ko-active button, 
html.i18n-ko-active li {
  word-break: keep-all;
}

/* Buttons/labels minor adjustment */
html.i18n-ko-active button, 
html.i18n-ko-active label {
  line-height: 1.3;
}

/* Prevent decorative fill images from intercepting clicks */
img[data-nimg="fill"], .next-image[data-nimg="fill"] {
  pointer-events: none !important;
}

/* Ensure interactive elements are clickable above decorative layers */
.sd-trigger, [data-sd-trigger], a, button, [role="button"] {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

/* Mobile adjustments to avoid clipping */
@media (max-width: 768px) {
  html.i18n-ko-active button, 
  html.i18n-ko-active a {
    white-space: normal;
  }
}