/* Repair only text wrapping/overflow after the approved font enlargement.
   Font sizes, colors, imagery, header/footer and organization diagram are unchanged. */
html[lang] body.a2-site #content :is(.a2-lead-copy > .a2-eyebrow, .a2-section-head > p, .a2-philosophy-statement > .a2-eyebrow) {
  word-break: normal !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
  overflow: visible;
}
/* Keep existing label widths and ordinary line breaks. A long unbroken word
   can use the existing column gap without moving either column. */
@media (min-width: 1101px) {
  html[lang] body.a2-site #content :is(.a2-lead-copy > .a2-eyebrow, .a2-section-head > p, .a2-philosophy-statement > .a2-eyebrow).is-in {
    clip-path: inset(0 -70px 0 0) !important;
  }
}
@media (min-width: 721px) and (max-width: 1100px) {
  html[lang] body.a2-site #content :is(.a2-lead-copy > .a2-eyebrow, .a2-section-head > p, .a2-philosophy-statement > .a2-eyebrow).is-in {
    clip-path: inset(0 -44px 0 0) !important;
  }
  html[lang="en"] body.a2-site[data-page="licenses"] #content .a2-section-head > p {
    letter-spacing: .06em !important;
  }
}
html[lang] body.a2-site[data-page="faq"] #content .a2-section-head > span {
  white-space: normal !important;
  min-width: 0;
  max-width: 100% !important;
}
html[lang="en"] body.a2-site[data-page="hr-system"] #content .a2-lead-copy > p:not(.a2-eyebrow),
html[lang="en"] body.a2-site[data-page="hr-system"] #content .a2-section-head > span {
  word-break: keep-all !important;
  text-wrap: pretty;
}
/* A long certificate title must not determine the width of the entire grid. */
html[lang] body.a2-site[data-page="licenses"] #content .site-certificate {
  min-width: 0;
}
html[lang] body.a2-site[data-page="licenses"] #content .site-certificate :is(h3,p) {
  overflow-wrap: anywhere;
  min-width: 0;
}
html[lang="ko"] body.a2-site[data-page="licenses"] #content .site-certificate h3 {
  word-break: normal;
  text-wrap: balance;
}
html[lang="en"] body.a2-site[data-page="history"] #content .legacy-year li p {
  text-wrap: pretty;
}
@media (max-width: 720px) {
  html[lang="en"] body.a2-site:is([data-page="hr-system"],[data-page="ethics"]) #content .a2-principles h3 {
    width: calc(100% + 16px);
    max-width: none;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }
  html[lang="en"] body.a2-site[data-page="hiring-guide"] #content .site-role-card h3 {
    max-width: 100%;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }
  html[lang="ko"] body.a2-site[data-page="partners"] #content figcaption {
    word-break: normal;
    text-wrap: balance;
  }
  html[lang="en"] #main-content #section-esg .v5-text-link {
    max-width: 100%;
    min-width: 0;
  }
}
