/* Modern font practice override for the Korean home page */
body, table, td, th, input, select, textarea, button {
  font-family: "Noto Sans KR", "Malgun Gothic", "Segoe UI", Arial, sans-serif !important;
}

/* Text replacements for image-based labels on the Korean home page */
.home-main-menu {
  display: flex;
  width: 600px;
  height: 47px;
  background: linear-gradient(180deg, #d9f0ff 0%, #9bcce9 100%);
}

.home-main-menu__item {
  display: flex;
  flex: 0 0 auto;
  height: 47px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-left: 1px solid rgba(255, 255, 255, 0.7);
  color: #111111;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.home-main-menu__item:hover,
.home-main-menu__item:focus {
  background: rgba(255, 255, 255, 0.42);
  color: #005b96;
}

.home-main-menu__item:nth-child(1) { width: 51px; }
.home-main-menu__item:nth-child(2) { width: 92px; }
.home-main-menu__item:nth-child(3) { width: 92px; }
.home-main-menu__item:nth-child(4) { width: 91px; }
.home-main-menu__item:nth-child(5) { width: 92px; }
.home-main-menu__item:nth-child(6) { width: 99px; }
.home-main-menu__item:nth-child(7) { width: 83px; }

.home-menu-shell {
  position: relative;
  width: 600px;
}

.home-submenu {
  display: none;
  position: absolute;
  top: 47px;
  left: 0;
  z-index: 20;
  width: 600px;
  min-height: 30px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(54, 113, 151, 0.28);
  background: linear-gradient(180deg, #f4fbff 0%, #d5ebf7 100%);
  box-shadow: 0 2px 5px rgba(36, 92, 125, 0.18);
}

.home-submenu.is-visible {
  display: flex;
}

.home-menu-shell:has(.home-main-menu__item:nth-child(2):hover, .home-main-menu__item:nth-child(2):focus, #home-submenu-company:hover) #home-submenu-company,
.home-menu-shell:has(.home-main-menu__item:nth-child(3):hover, .home-main-menu__item:nth-child(3):focus, #home-submenu-product:hover) #home-submenu-product,
.home-menu-shell:has(.home-main-menu__item:nth-child(4):hover, .home-main-menu__item:nth-child(4):focus, #home-submenu-support:hover) #home-submenu-support,
.home-menu-shell:has(.home-main-menu__item:nth-child(5):hover, .home-main-menu__item:nth-child(5):focus, #home-submenu-shop:hover) #home-submenu-shop {
  display: flex;
}

.home-submenu a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 14px;
  color: #28546d;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.home-submenu a + a {
  border-left: 1px solid rgba(62, 119, 151, 0.28);
}

.home-submenu a:hover,
.home-submenu a:focus {
  color: #0066a6;
  text-decoration: underline;
}

.home-hero {
  position: relative;
  width: 773px;
  height: 154px;
  overflow: hidden;
  background: #66b5df url("../home/images/image-clean-bg-home2.png") center center / cover no-repeat;
}

.home-hero__copy {
  position: absolute;
  left: 58px;
  top: 27px;
  color: #ffffff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.55);
}

.home-hero__title {
  display: block;
  font-size: 21px;
  line-height: 1.08;
  letter-spacing: -0.2px;
}

.home-hero__subtitle {
  display: block;
  margin-top: 10px;
  color: #174765;
  font-size: 12px;
  text-align: center;
  text-shadow: none;
}

.home-feature {
  position: relative;
  overflow: hidden;
  width: 600px;
  height: 52px;
  box-sizing: border-box;
  padding: 8px 12px 5px 34px;
  background: linear-gradient(90deg, #2d78b8 0%, #6fb4e3 100%);
  color: #ffffff;
  line-height: 1.25;
}

.home-feature + .home-feature { height: 50px; padding-top: 6px; }
.home-feature + .home-feature {
  background: linear-gradient(90deg, #2d78b8 0%, #6fb4e3 100%);
}
.home-feature::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: url("../home/images/title01.gif") right top / 600px 52px no-repeat;
  content: "";
  opacity: 0.34;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000000 38%, #000000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000000 38%, #000000 100%);
  pointer-events: none;
}
.home-feature + .home-feature::after {
  background-image: url("../home/images/title02.gif");
  background-size: 600px 50px;
}
.home-feature::before {
  position: absolute;
  top: 16px;
  left: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f00000;
  content: "";
  z-index: 1;
}
.home-feature + .home-feature::before { top: 15px; }
.home-feature strong,
.home-feature span { display: block; }
.home-feature strong,
.home-feature span { position: relative; z-index: 1; }
.home-feature strong { font-size: 13px; font-weight: 700; }
.home-feature span { font-size: 11px; }

.home-section-heading,
.home-product-heading {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  font-size: 18px;
  font-weight: 400;
}

.home-section-heading {
  width: 417px;
  height: 43px;
  padding-left: 14px;
  color: #111111;
  border-bottom: 1px solid #dddddd;
}

.home-section-heading::before,
.home-product-heading::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: #f00000;
}

.home-product-heading {
  width: 147px;
  height: 43px;
  padding-left: 8px;
}

.home-release-label {
  width: 147px;
  height: 16px;
  color: #f00000;
  font-size: 11px;
}

.home-side-button {
  display: flex;
  width: 148px;
  height: 44px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 3px auto;
  border: 1px solid #e6e6e6;
  background: #ffffff;
  color: #0066c0;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.home-side-button:hover,
.home-side-button:focus {
  background: #eef8ff;
}

.home-side-button::before {
  display: block;
  width: 34px;
  height: 36px;
  flex: 0 0 34px;
  margin-right: 7px;
  content: "";
  background-repeat: no-repeat;
  background-size: 148px 44px;
  background-position: -10px 0;
}

.home-side-button--support::before { background-image: url("../home/images/btn_support.gif"); }
.home-side-button--shop::before { background-image: url("../home/images/btn_shop.gif"); }

.home-download-cell {
  width: 417px;
  padding: 0;
}

.home-download-card {
  display: flex;
  width: 417px;
  box-sizing: border-box;
  border-bottom: 1px dotted #aaaaaa;
  background: #ffffff;
}

.home-download-card a {
  display: flex;
  width: 100%;
  align-items: center;
  box-sizing: border-box;
  padding: 5px 7px;
  color: #111111;
  line-height: 1.2;
  text-decoration: none;
}

.home-download-card a:hover,
.home-download-card a:focus { background: #f1f8fd; }
.home-download-card--one { height: 52px; }
.home-download-card--two { height: 57px; }
.home-download-card--three { height: 55px; }
.home-download-card--four { height: 63px; }

.home-download-icon {
  display: inline-flex;
  width: 31px;
  height: 34px;
  flex: 0 0 31px;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  border: 0;
  background-repeat: no-repeat;
  background-position: 0 0;
  color: transparent;
  font-size: 0;
}

.home-download-card--one .home-download-icon { background-image: url("../home/images/down_01.gif"); }
.home-download-card--two .home-download-icon { background-image: url("../home/images/down_02.gif"); }
.home-download-card--three .home-download-icon { background-image: url("../home/images/down_03.gif"); }
.home-download-card--four .home-download-icon { background-image: url("../home/images/down_04.gif"); }

.home-download-copy { font-size: 12px; }
.home-download-copy strong { font-weight: 400; }
.home-download-copy small { display: block; color: #777777; font-size: 11px; }
.home-download-copy em { color: #f00000; font-size: 10px; font-style: normal; }
.home-download-copy .new { margin-left: 7px; color: #f00000; font-size: 10px; font-style: italic; }

/* Centered, responsive shell: preserve the original artwork size on desktop. */
html,
body {
  min-width: 0;
}

body {
  overflow-x: hidden;
}

.home-closure-notice,
.home-page-frame,
.home-footer {
  width: calc(100% - 32px) !important;
  max-width: 773px;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

.home-page-frame {
  table-layout: fixed;
}

.home-page-content {
  width: 100% !important;
}

.home-page-side-fill {
  display: none;
}

.home-layout,
.home-footer-inner {
  width: 100%;
  table-layout: fixed;
}

.home-logo,
.home-sidebar img,
.home-product-cell img,
.home-footer img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 804px) {
  .home-closure-notice,
  .home-page-frame,
  .home-footer {
    width: 100% !important;
  }

  .home-logo-cell {
    width: 173px !important;
  }

  .home-menu-cell {
    width: auto !important;
  }

  .home-menu-shell,
  .home-main-menu,
  .home-submenu,
  .home-hero,
  .home-feature,
  .home-download-card {
    width: 100%;
    max-width: 100%;
  }

  .home-main-menu__item {
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
    white-space: nowrap;
  }

  .home-submenu {
    top: 100%;
  }

  .home-download-cell,
  .home-download-heading-cell {
    width: auto !important;
  }

  .home-feature::after {
    width: 40%;
  }
}

@media (max-width: 640px) {
  .home-layout,
  .home-layout > tbody,
  .home-layout > tbody > tr {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .home-layout > tbody > tr > td {
    display: block;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  .home-footer {
    display: block;
    width: 100% !important;
    max-width: 100%;
    table-layout: fixed;
    overflow: hidden;
  }

  .home-footer > tbody,
  .home-footer > tbody > tr,
  .home-footer > tbody > tr > td {
    display: block;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  .home-closure-notice {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    padding: 0 12px;
    font-size: 16px !important;
    line-height: 1.45;
  }

  .home-layout > tbody > tr:first-child > .home-logo-cell,
  .home-layout > tbody > tr:first-child > .home-menu-cell {
    display: block;
    width: 100% !important;
    height: auto !important;
  }

  .home-logo {
    display: block;
    margin: 0 auto;
  }

  .home-main-menu {
    display: grid;
    height: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-main-menu__item {
    width: auto !important;
    height: 42px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
    font-size: 12px;
  }

  .home-submenu {
    min-height: 36px;
    flex-wrap: wrap;
    padding: 3px 6px;
  }

  .home-submenu a {
    min-height: 32px;
    padding: 0 9px;
  }

  .home-hero {
    height: clamp(138px, 36vw, 154px);
    background-position: center center;
  }

  .home-hero__copy {
    top: 22px;
    left: 24px;
    right: 18px;
  }

  .home-hero__title {
    font-size: clamp(18px, 4.8vw, 21px);
  }

  .home-hero__subtitle {
    max-width: 355px;
    font-size: 11px;
    text-align: left;
  }

  .home-sidebar {
    display: none !important;
  }

  .home-main-content {
    display: block;
    width: 100% !important;
    max-width: 100%;
    overflow: hidden;
  }

  .home-feature {
    padding-right: 10px;
  }

  .home-footer-inner > tbody > tr:first-child > td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    padding: 5px 12px;
    text-align: center;
  }

  .home-footer table,
  .home-footer marquee {
    width: 100% !important;
    max-width: 100%;
  }

  .home-feature strong,
  .home-feature span,
  .home-download-copy,
  .home-footer {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 520px) {
  .home-main-content > table,
  .home-main-content > table > tbody,
  .home-main-content > table > tbody > tr {
    display: block;
    width: 100%;
  }

  .home-main-content > table > tbody > tr > td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  .home-product-cell {
    display: block;
    width: 100% !important;
    padding: 10px 0;
  }

  .home-product-cell > table {
    margin-right: auto;
    margin-left: auto;
  }

  .home-download-cell,
  .home-download-heading-cell {
    width: 100% !important;
  }

  .home-download-card,
  .home-download-card--one,
  .home-download-card--two,
  .home-download-card--three,
  .home-download-card--four {
    width: 100%;
    min-height: 58px;
    height: auto;
  }

  .home-download-copy {
    min-width: 0;
    font-size: 11px;
  }

  .home-feature {
    height: auto;
    min-height: 52px;
  }

  .home-feature + .home-feature {
    height: auto;
    min-height: 50px;
  }

  .home-feature::after {
    width: 48%;
  }

  .home-footer table,
  .home-footer marquee {
    max-width: 100%;
  }
}
