/* Korean image-backed principle tables only. Keep copy, fonts and imagery intact. */
html[lang="ko"] body.a2-site #content .a2-principles-wrap {
  --a2-table-rule: #c4c9c4;
  border: 1px solid var(--a2-table-rule) !important;
}
html[lang="ko"] body.a2-site #content .a2-principles-wrap > .a2-principles {
  display: grid;
  border: 0 !important;
  gap: 0;
}
html[lang="ko"] body.a2-site #content .a2-principles-wrap > .a2-principles > article {
  border: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
html[lang="ko"] body.a2-site #content .a2-principles-wrap > .a2-principles > article + article {
  border-top: 1px solid var(--a2-table-rule) !important;
}
/* Joined table cells must not lift or shift away from adjacent rules on hover. */
html[lang="ko"] body.a2-site #content .a2-principles-wrap > .a2-principles > article.is-in,
html[lang="ko"] body.a2-site #content .a2-principles-wrap > .a2-principles > article:hover {
  transform: none !important;
}
html[lang="ko"] body.a2-site #content .a2-principles-wrap > .a2-principles:not(.a2-principles-benefits):not(.a2-principles-esg) > article:hover {
  padding-left: 42px;
  padding-right: 42px;
}
/* Preserve the existing benefit grid; draw each shared edge only once. */
html[lang="ko"] body.a2-site #content .a2-principles-wrap > .a2-principles-benefits > article {
  border-right: 1px solid var(--a2-table-rule) !important;
}
@media (min-width: 1101px) {
  html[lang="ko"] body.a2-site #content .a2-principles-wrap > .a2-principles-benefits > article:nth-child(-n+3) { border-top: 0 !important; }
  html[lang="ko"] body.a2-site #content .a2-principles-wrap > .a2-principles-benefits > article:nth-child(3n) { border-right: 0 !important; }
}
@media (min-width: 721px) and (max-width: 1100px) {
  html[lang="ko"] body.a2-site #content .a2-principles-wrap > .a2-principles-benefits > article:nth-child(-n+2) { border-top: 0 !important; }
  html[lang="ko"] body.a2-site #content .a2-principles-wrap > .a2-principles-benefits > article:nth-child(2n) { border-right: 0 !important; }
}
@media (min-width: 721px) {
  html[lang="ko"] body.a2-site #content .a2-principles-wrap > .a2-principles { grid-auto-rows: var(--a2-table-row-height, 1fr); }
}
@media (max-width: 720px) {
  html[lang="ko"] body.a2-site #content .a2-principles-wrap > .a2-principles > article {
    height: var(--a2-table-mobile-height, auto);
  }
  html[lang="ko"] body.a2-site #content .a2-principles-wrap > .a2-principles:not(.a2-principles-benefits):not(.a2-principles-esg) > article:hover {
    padding-left: 24px;
    padding-right: 24px;
  }
  html[lang="ko"] body.a2-site #content .a2-principles-wrap > .a2-principles-benefits > article { border-right: 0 !important; }
}
