*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-hyphens: auto;
  hyphens: auto;
}

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #fff;
  overflow-x: clip;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* Multilingual-safe wrapping for common text */
:where(
  h1, h2, h3, h4, h5, h6,
  p,
  li,
  figcaption,
  blockquote,
  label,
  button,
  td,
  th,
  .mobile-menu__list a,
  .site-footer__line,
  .site-footer__copyright,
  .lang-switch__text
) {
  word-break: inherit;
  overflow-wrap: inherit;
  line-break: inherit;
  -webkit-hyphens: inherit;
  hyphens: inherit;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
