/*
 * DataON public portal chrome
 *
 * The header and quick menu are shared by the main, search and content pages.
 * Keep page-specific layout rules in their own stylesheets.
 */

body.portal_chrome_v1 {
  --portal-color-brand: #0878e8;
  --portal-color-action: #006bd4;
  --portal-color-action-hover: #005fc8;
  --portal-color-text-primary: #131a24;
  --portal-color-text-secondary: #687483;
  --portal-color-border: #dce4eb;
  --portal-color-surface: #ffffff;
  --portal-content-width: 1280px;
  --portal-screen-margin-desktop: 32px;
  --portal-screen-margin-mobile: 16px;
  --portal-radius-xs: 4px;
  --portal-radius-sm: 6px;
  --portal-radius-md: 8px;
  --portal-radius-lg: 14px;
  --portal-radius-xl: 20px;
  --portal-radius-full: 999px;
  --portal-icon-sm: 16px;
  --portal-icon-md: 20px;
  --portal-icon-lg: 24px;
  --portal-icon-xl: 32px;
  --portal-type-body: 17px;
  --portal-line-height-body: 1.5;
  --portal-header-height: 80px;
  --portal-sub-hero-height: 240px;
  --portal-sub-hero-height-tablet: 214px;
  --portal-sub-hero-height-mobile: 190px;
  --portal-sub-location-height: 56px;
  --portal-chrome-blue: var(--portal-color-action);
  --portal-chrome-text: var(--portal-color-text-primary);
  --portal-chrome-width: var(--portal-content-width);
}

/* Header */
body.portal_chrome_v1:not(.site_map) #header_top,
body.portal_chrome_v1:not(.site_map) #header_top.open,
body.portal_chrome_v1:not(.site_map) #header_top:hover {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  height: var(--portal-header-height);
  color: var(--portal-chrome-text);
  background: #ffffff;
  border-bottom: 1px solid #dfe5eb;
  box-shadow: none !important;
  z-index: 30;
}

body.portal_chrome_v1:not(.site_map) #header_top .header_wrap,
body.portal_chrome_v1:not(.site_map) #header_top:hover .header_wrap {
  display: grid;
  grid-template-columns: minmax(126px, 1fr) minmax(620px, 720px) minmax(126px, 1fr);
  column-gap: 32px;
  align-items: center;
  box-sizing: border-box;
  width: min(calc(100% - 64px), var(--portal-chrome-width));
  height: calc(var(--portal-header-height) - 1px);
  margin: 0 auto;
  padding: 0;
  background: #ffffff;
  box-shadow: none !important;
}

body.portal_chrome_v1:not(.site_map) #header_top #logo {
  justify-self: start;
  flex: 0 0 126px;
}

body.portal_chrome_v1:not(.site_map) #header_top #logo .logo_inner,
body.portal_chrome_v1:not(.site_map) #header_top #logo a {
  display: block;
}

body.portal_chrome_v1:not(.site_map) #header_top .header_wrap #logo a img,
body.portal_chrome_v1:not(.site_map) #header_top:hover .header_wrap #logo a img {
  width: 126px;
  height: auto;
  max-width: none;
  content: normal !important;
}

body.portal_chrome_v1:not(.site_map) #header_top .gnb {
  align-self: stretch;
  justify-self: center;
  width: 100%;
  max-width: 720px;
  margin: 0;
}

body.portal_chrome_v1:not(.site_map) #header_top .gnb > ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(48px, 4.5vw, 72px);
  position: relative;
  width: 100%;
  height: 100%;
}

/* 메뉴 데이터의 순서와 항목을 바꾸지 않고 모든 대메뉴를 표시합니다. */
body.portal_chrome_v1:not(.site_map) #header_top .gnb > ul > li {
  flex: 0 0 auto;
}

body.portal_chrome_v1:not(.site_map) #header_top .gnb > ul > li[data-menu-id="MENU_00055"] {
  display: list-item;
}

body.portal_chrome_v1:not(.site_map) #header_top .gnb > ul > li > a,
body.portal_chrome_v1:not(.site_map) #header_top:hover .gnb > ul > li > a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  height: calc(var(--portal-header-height) - 1px);
  padding: 0 2px;
  line-height: 1.2;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #111821;
  letter-spacing: -0.02em;
}

body.portal_chrome_v1:not(.site_map) #header_top .gnb > ul > li > a > span {
  position: relative;
  padding: 4px 0;
}

body.portal_chrome_v1:not(.site_map) #header_top .gnb > ul > li > a > span::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--portal-chrome-blue);
  border-radius: var(--portal-radius-full);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

body.portal_chrome_v1:not(.site_map) #header_top .gnb > ul > li > a:hover,
body.portal_chrome_v1:not(.site_map) #header_top .gnb > ul > li > a:focus-visible,
body.portal_chrome_v1:not(.site_map) #header_top .gnb > ul > li > a.on {
  color: var(--portal-chrome-blue);
}

body.portal_chrome_v1:not(.site_map) #header_top .gnb > ul > li > a:hover > span::after,
body.portal_chrome_v1:not(.site_map) #header_top .gnb > ul > li > a:focus-visible > span::after,
body.portal_chrome_v1:not(.site_map) #header_top .gnb > ul > li > a.on > span::after {
  transform: scaleX(1);
}

body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub,
body.portal_chrome_v1:not(.site_map) #header_top .gnb_bg {
  top: var(--portal-header-height);
}

body.portal_chrome_v1:not(.site_map) #header_top .gnb_bg {
  overflow: hidden;
  background: #ffffff;
  border-top: 1px solid #eef2f5;
  border-bottom: 1px solid #dfe5eb;
  box-shadow: none;
}

body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub {
  left: 50%;
  box-sizing: border-box;
  width: min(920px, calc(100vw - 64px));
  min-height: 0;
  padding: 28px 0 32px;
  transform: translateX(-50%);
}

body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 28px 0;
  width: 100%;
  margin-right: 0 !important;
  overflow: visible;
}

body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub > ul > li {
  position: relative;
  flex: 0 1 220px;
  float: none;
  box-sizing: border-box;
  width: 220px;
  max-width: 25%;
  min-width: 0;
  margin: 0;
  padding: 0 26px;
  text-align: center;
  border-left: 0;
}

body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub > ul > li + li::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: #e5ebf1;
}

body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub > ul > li > a {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 36px;
  padding: 2px 0 11px;
  overflow: visible;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: #172331;
  text-align: center;
  text-overflow: clip;
  white-space: normal;
}

body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub > ul > li > ul {
  margin-top: 4px;
  text-align: center;
}

body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub > ul > li > ul > li > a {
  display: inline-block;
  position: relative;
  max-width: 100%;
  padding: 5px 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #5b6877;
  text-align: center;
  border-radius: var(--portal-radius-xs);
}

body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub > ul > li > ul > li > a::before {
  display: none;
}

body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub > ul > li > a:hover,
body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub > ul > li > a:focus-visible {
  color: var(--portal-chrome-blue);
}

body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub > ul > li > ul > li > a:hover,
body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub > ul > li > ul > li > a:focus-visible {
  color: #075fae;
  background: #f1f7fd;
}

body.portal_chrome_v1:not(.site_map) #header_top #gnb a:focus-visible,
body.portal_chrome_v1:not(.site_map) #header_top .etc_menu a:focus-visible {
  outline: 3px solid rgba(8, 120, 232, 0.28);
  outline-offset: 3px;
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu {
  justify-self: end;
  flex: 0 0 auto;
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu ul.link {
  width: auto;
  gap: 8px;
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu ul.link > li:not(:last-child) {
  margin-right: 0;
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu ul.link > li:not(:last-child) > a,
body.portal_chrome_v1:not(.site_map) #header_top:hover .etc_menu ul.link > li:not(:last-child) > a {
  min-width: 56px;
  height: 30px;
  padding: 0 12px;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 28px;
  color: #374151;
  letter-spacing: 0;
  background: #f8fafc;
  border: 1px solid #d5dde5;
  border-radius: var(--portal-radius-full);
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu ul.link > li:not(:last-child) > a:hover,
body.portal_chrome_v1:not(.site_map) #header_top .etc_menu ul.link > li:not(:last-child) > a:focus-visible {
  color: var(--portal-chrome-blue);
  background: #ffffff;
  border-color: #8fc2f3;
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu ul.link > li.link.login > a.login_user {
  min-width: 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  overflow: hidden;
  background: #edf6ff;
  border: 1px solid #cfe2f3;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(34, 91, 145, 0.1);
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu ul.link > li.link.login > a.login_user:hover,
body.portal_chrome_v1:not(.site_map) #header_top .etc_menu ul.link > li.link.login > a.login_user:focus-visible,
body.portal_chrome_v1:not(.site_map) #header_top .etc_menu ul.link > li.link.login > a.login_user.on {
  background: #ffffff;
  border-color: #7eb7ec;
  box-shadow: 0 4px 14px rgba(8, 120, 232, 0.16);
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu ul.link > li.link.login > a.login_user img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .link.login .portal-user-dropdown {
  --portal-user-menu-inline: 8px;
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  left: auto;
  z-index: 120;
  box-sizing: border-box;
  width: 184px;
  max-width: calc(100vw - 20px);
  margin: 0;
  padding: 8px;
  list-style: none;
  color: #263547;
  text-align: left;
  background: #ffffff;
  border: 1px solid #d9e5ef;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(26, 66, 105, 0.18);
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .link.login .portal-user-dropdown::before {
  position: absolute;
  top: -6px;
  right: 17px;
  left: auto;
  width: 11px;
  height: 11px;
  margin: 0;
  background: #ffffff;
  border: 0;
  border-top: 1px solid #d9e5ef;
  border-left: 1px solid #d9e5ef;
  content: "";
  transform: rotate(45deg);
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .link.login .portal-user-summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 5px;
  padding: 7px var(--portal-user-menu-inline) 10px;
  text-align: left;
  border-bottom: 1px solid #e8eef4;
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .link.login .portal-user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  overflow: hidden;
  background: #edf6ff;
  border: 1px solid #cfe2f3;
  border-radius: 50%;
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .link.login .portal-user-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .link.login .portal-user-identity {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .link.login .portal-user-identity strong {
  display: block;
  overflow: hidden;
  color: #142941;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .link.login .portal-user-menu-item {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin-right: 0;
  margin-left: 0;
  padding-right: 0;
  padding-left: 0;
  text-align: left;
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .link.login .portal-user-menu-item > a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  padding: 0 var(--portal-user-menu-inline);
  color: #445366;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  border: 0;
  border-radius: 9px;
  transition: color 0.16s ease, background-color 0.16s ease;
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .link.login .portal-user-menu-item > a > i:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  color: #63809e;
  font-size: 14px;
  background: #eef4f9;
  border-radius: 7px;
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .link.login .portal-user-menu-item > a > span {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  white-space: nowrap;
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .link.login .portal-user-menu-item > a:hover,
body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .link.login .portal-user-menu-item > a:focus-visible {
  color: #0066c7;
  background: #edf7ff;
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .link.login .portal-user-menu-admin > a > i:first-child {
  color: #0878e8;
  background: #e7f3ff;
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .link.login .portal-user-menu-logout {
  margin-top: 4px;
  padding-top: 5px;
  border-top: 1px solid #e8eef4;
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .link.login .portal-user-menu-logout > a {
  color: #a84651;
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .link.login .portal-user-menu-logout > a > i:first-child {
  color: #bd4a55;
  background: #fff0f1;
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .link.login .portal-user-menu-logout > a:hover,
body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .link.login .portal-user-menu-logout > a:focus-visible {
  color: #a52e3a;
  background: #fff3f4;
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .portal-menu-trigger-item {
  display: none;
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .btn_total {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .btn_total i,
body.portal_chrome_v1:not(.site_map) #header_top:hover .etc_menu .btn_total i {
  font-size: var(--portal-icon-lg);
  color: #161b22;
}

/* Quick menu */
body.portal_chrome_v1 .quick_menu.portal_quick_menu,
body.portal_chrome_v1 .quick_menu.portal_quick_menu.mobile_quick {
  --portal-quick-menu-anchor-top: 436px;
  --portal-quick-menu-fixed-top: 100px;
  display: block;
  position: absolute;
  top: var(--portal-quick-menu-anchor-top);
  right: clamp(16px, 3.5vw, 54px) !important;
  width: 98px;
  height: 410px;
  line-height: 1.4;
  background: #ffffff;
  border: 1px solid #086fd7;
  border-radius: var(--portal-radius-md);
  box-shadow: 0 6px 20px rgba(37, 91, 140, 0.08);
  transform: none;
  transition: none;
  overflow: hidden;
  z-index: 22;
}

body.portal_chrome_v1 .quick_menu.portal_quick_menu.fixed,
body.portal_chrome_v1 .quick_menu.portal_quick_menu.mobile_quick.fixed {
  position: fixed;
  top: var(--portal-quick-menu-fixed-top);
}

body.portal_chrome_v1 .portal_quick_menu .quick_close {
  display: none;
  position: absolute;
  top: 7px;
  right: 7px;
  width: 28px;
  height: 28px;
  padding: 0;
  color: #ffffff;
  background: transparent;
  border: 0;
  outline: 0;
}

body.portal_chrome_v1 .portal_quick_menu h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 55px;
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: #ffffff;
  background: linear-gradient(180deg, var(--portal-color-action), var(--portal-color-action-hover));
  border-radius: 0;
}

body.portal_chrome_v1 .portal_quick_menu ul {
  height: 308px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.portal_chrome_v1 .portal_quick_menu ul li {
  position: relative;
  height: 77px;
}

body.portal_chrome_v1 .portal_quick_menu ul li:not(:last-child)::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 65px;
  height: 1px;
  background: #e1e6eb;
  transform: translateX(-50%);
  z-index: 1;
}

body.portal_chrome_v1 .portal_quick_menu ul li a {
  display: block;
  height: 77px;
  font-size: 12px;
  font-weight: 400;
  color: #4a535e;
  background: #ffffff;
}

body.portal_chrome_v1 .portal_quick_menu ul li a:hover,
body.portal_chrome_v1 .portal_quick_menu ul li a:focus-visible {
  color: var(--portal-color-action);
  background: #f5faff;
}

body.portal_chrome_v1 .portal_quick_menu ul li a .menu_inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 77px;
  padding: 7px 0;
}

body.portal_chrome_v1 .portal_quick_menu .quick_icon {
  width: var(--portal-icon-xl);
  height: var(--portal-icon-xl);
  margin-bottom: 5px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: hue-rotate(180deg) saturate(1.15);
}

body.portal_chrome_v1 .portal_quick_menu .quick_icon01 {
  background-image: url("../images/main/2024/icon_quick01.svg");
}

body.portal_chrome_v1 .portal_quick_menu .quick_icon02 {
  background-image: url("../images/main/2024/icon_quick02.svg");
}

body.portal_chrome_v1 .portal_quick_menu .quick_icon04 {
  background-image: url("../images/main/2024/icon_quick04.svg");
}

body.portal_chrome_v1 .portal_quick_menu .quick_icon05 {
  background-image: url("../images/main/2024/icon_quick05.svg");
}

body.portal_chrome_v1 .portal_quick_menu #goToTop {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 12px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(180deg, var(--portal-color-action), var(--portal-color-action-hover));
  border: 0;
  outline: 0;
}

body.portal_chrome_v1 .portal_quick_menu #goToTop::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 18px;
  width: 7px;
  height: 7px;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  transform: rotate(45deg);
}

body.portal_chrome_v1 .m_quick.portal_mobile_quick {
  display: none;
}

body.portal_chrome_v1 .portal_quick_menu a:focus-visible,
body.portal_chrome_v1 .portal_quick_menu button:focus-visible,
body.portal_chrome_v1 .portal_mobile_quick button:focus-visible {
  outline: 3px solid rgba(8, 120, 232, 0.35) !important;
  outline-offset: -3px;
}

@media (max-width: 1400px) {
  body.portal_chrome_v1 .quick_menu.portal_quick_menu,
  body.portal_chrome_v1 .quick_menu.portal_quick_menu.mobile_quick,
  body.portal_chrome_v1 .quick_menu.portal_quick_menu.fixed,
  body.portal_chrome_v1 .quick_menu.portal_quick_menu.mobile_quick.fixed {
    right: 14px !important;
  }
}

@media (max-width: 1757px) {
  body.portal_chrome_v1 .quick_menu.portal_quick_menu,
  body.portal_chrome_v1 .quick_menu.portal_quick_menu.mobile_quick,
  body.portal_chrome_v1 .quick_menu.portal_quick_menu.fixed,
  body.portal_chrome_v1 .quick_menu.portal_quick_menu.mobile_quick.fixed {
    display: none;
  }

  body.portal_chrome_v1 .m_quick.portal_mobile_quick,
  body.portal_chrome_v1 .m_quick.portal_mobile_quick.fixed {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: fixed;
    top: auto;
    right: 30px;
    bottom: 30px;
    width: 70px;
    height: auto;
    opacity: 1 !important;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    z-index: 25;
  }

  body.portal_chrome_v1 .m_quick.portal_mobile_quick.is-open {
    opacity: 0 !important;
    pointer-events: none;
  }

  body.portal_chrome_v1 .m_quick.portal_mobile_quick .quick_btn,
  body.portal_chrome_v1 .m_quick.portal_mobile_quick .go_top {
    flex: 0 0 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: static;
    width: 70px;
    height: 70px;
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    color: #ffffff;
    background: #153879;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(14, 50, 91, 0.2);
  }

  body.portal_chrome_v1 .quick_menu.portal_quick_menu.active,
  body.portal_chrome_v1 .quick_menu.portal_quick_menu.mobile_quick.active,
  body.portal_chrome_v1 .quick_menu.portal_quick_menu.fixed.active,
  body.portal_chrome_v1 .quick_menu.portal_quick_menu.mobile_quick.fixed.active {
    display: block;
    position: fixed;
    top: 50%;
    right: 12px !important;
    transform: translateY(-50%);
  }

  body.portal_chrome_v1 .portal_quick_menu.active .quick_close,
  body.portal_chrome_v1 .portal_quick_menu.mobile_quick.active .quick_close {
    display: block;
    z-index: 2;
  }
}

@media (max-width: 1280px) {
  body.portal_chrome_v1:not(.site_map) #header_top .header_wrap,
  body.portal_chrome_v1:not(.site_map) #header_top:hover .header_wrap {
    column-gap: 24px;
    width: calc(100% - 48px);
  }

  body.portal_chrome_v1:not(.site_map) #header_top .gnb {
    margin: 0;
  }
}

/* 메인 화면의 고정 헤더 구간이 끊기지 않도록 데스크톱 시작점까지 연결합니다. */
@media (min-width: 1121px) and (max-width: 1200px) {
  body.main_design_v1.portal_chrome_v1:not(.site_map) #wrap {
    position: sticky;
    top: 0;
    z-index: 30;
  }
}

@media (max-width: 1120px) {
  body.portal_chrome_v1:not(.site_map) #wrap {
    box-sizing: border-box;
    padding-top: 72px;
  }

  body.portal_chrome_v1:not(.site_map) #header_top,
  body.portal_chrome_v1:not(.site_map) #header_top.open,
  body.portal_chrome_v1:not(.site_map) #header_top:hover,
  body.portal_chrome_v1:not(.site_map) #header_top .header_wrap,
  body.portal_chrome_v1:not(.site_map) #header_top:hover .header_wrap {
    height: 72px !important;
  }

  body.portal_chrome_v1:not(.site_map) #header_top,
  body.portal_chrome_v1:not(.site_map) #header_top.open,
  body.portal_chrome_v1:not(.site_map) #header_top:hover {
    position: fixed !important;
    top: 0;
    left: 0;
    box-shadow: none !important;
    z-index: 70;
  }

  body.portal_chrome_v1:not(.site_map) #header_top .header_wrap,
  body.portal_chrome_v1:not(.site_map) #header_top:hover .header_wrap {
    display: flex;
    justify-content: space-between;
    column-gap: 0;
  }

  body.portal_chrome_v1:not(.site_map) #header_top .gnb {
    display: none !important;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #logo {
    margin-right: auto;
  }

  body.portal_chrome_v1:not(.site_map) #header_top .etc_menu {
    margin-left: auto;
  }

  body.portal_chrome_v1:not(.site_map) #header_top .etc_menu ul.link {
    gap: 0;
  }

  body.portal_chrome_v1:not(.site_map) #header_top .etc_menu ul.link > li:not(.portal-menu-trigger-item) {
    display: none;
  }

  body.portal_chrome_v1:not(.site_map) #header_top .etc_menu ul.link > li.portal-user-profile {
    display: block;
    position: fixed;
    top: 18px;
    right: 64px;
    width: 36px;
    height: 36px;
    z-index: 72;
  }

  body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .link.login .portal-user-dropdown {
    top: calc(100% + 10px);
    right: -44px;
  }

  body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .link.login .portal-user-dropdown::before {
    right: 56px;
  }

  body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .portal-menu-trigger-item {
    display: block;
    position: fixed;
    top: 18px;
    right: 20px;
    width: 36px;
    height: 36px;
    z-index: 72;
  }

  body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .btn_total {
    display: flex;
    box-sizing: border-box;
    min-width: 36px;
    width: 36px;
    height: 36px;
    padding: 0;
    transition: none;
  }

  body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .btn_total:hover,
  body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .btn_total:focus-visible {
    color: var(--portal-chrome-blue);
    background: transparent;
    border-color: transparent;
  }

  body.portal_chrome_v1.portal-mobile-menu-open:not(.site_map) #header_top #logo,
  body.portal_chrome_v1.portal-mobile-menu-open:not(.site_map) #header_top .etc_menu {
    display: none !important;
  }

  body.portal_chrome_v1.portal-mobile-menu-open:not(.site_map) #header_top .portal-menu-trigger-item {
    display: none !important;
  }

  body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .btn_total i,
  body.portal_chrome_v1:not(.site_map) #header_top:hover .etc_menu .btn_total i {
    font-size: 22px;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb {
    --portal-mobile-menu-rail: 148px;
    display: none !important;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    max-width: none;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
    margin: 0;
    color: var(--portal-color-text-primary);
    background: #ffffff;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 60;
  }

  body.portal_chrome_v1.portal-mobile-menu-open:not(.site_map) #header_top #gnb {
    display: block !important;
    top: 0;
    height: 100vh;
    height: 100dvh;
    pointer-events: auto;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb .mo_mem {
    display: block;
    box-sizing: border-box;
    height: 72px;
    padding: 23px 64px 0 20px;
    background: #ffffff;
    border-bottom: 1px solid var(--portal-color-border);
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul {
    display: block;
    position: relative;
    box-sizing: border-box;
    width: var(--portal-mobile-menu-rail);
    height: calc(100% - 72px);
    margin: 0;
    padding: 16px 12px 24px;
    background: #eef6ff;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li {
    width: 100%;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > a,
  body.portal_chrome_v1:not(.site_map) #header_top:hover #gnb > ul > li > a {
    display: block;
    position: relative;
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    height: auto;
    margin: 4px 0;
    padding: 10px 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #26384b;
    text-align: left;
    border-radius: var(--portal-radius-sm);
    z-index: 12;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > a.on {
    color: #ffffff;
    background: var(--portal-color-action);
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > a > span::after {
    display: none;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    width: 100vw;
    height: 100%;
    min-height: 0;
    padding: 18px 20px 32px calc(var(--portal-mobile-menu-rail) + 20px);
    background: linear-gradient(to right, transparent var(--portal-mobile-menu-rail), #ffffff var(--portal-mobile-menu-rail));
    border: 0;
    transform: none;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > a.on + .sub {
    display: block;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub > ul {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 0;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub > ul > li {
    max-width: none;
    width: 100%;
    margin: 0 0 12px;
    padding: 0;
    text-align: left;
    border-left: 0;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub > ul > li + li::before {
    display: none;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub > ul > li > a {
    display: block;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 11px 34px 11px 4px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #17283a;
    text-align: left;
    border-bottom: 1px solid #dce5ed;
    border-radius: 0;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub > ul > li > a.dep::after {
    content: "\e942";
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 6px;
    margin-top: -10px;
    font-family: "xeicon";
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s ease;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub > ul > li > a.on.dep::after {
    transform: rotate(180deg);
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub > ul > li > ul {
    display: none;
    margin: 0;
    padding: 10px 12px;
    text-align: left;
    background: #f5f8fb;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub > ul > li > a.on + ul {
    display: block;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub > ul > li > ul > li {
    margin: 0;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub > ul > li > ul > li > a {
    display: block;
    min-height: 40px;
    padding: 9px 6px;
    font-size: 14px;
    line-height: 1.5;
    color: #405064;
    text-align: left;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb .all_close {
    display: block;
    position: absolute !important;
    top: 18px;
    right: 20px;
    width: 36px;
    height: 36px;
    color: #17212d;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    z-index: 72;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb .all_close::before,
  body.portal_chrome_v1:not(.site_map) #header_top #gnb .all_close::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 2px;
    margin: 0;
    background: currentColor;
    border-radius: 2px;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: none;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb .all_close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb .all_close:hover::before,
  body.portal_chrome_v1:not(.site_map) #header_top #gnb .all_close:focus-visible::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }
}

@media (max-width: 640px) {
  body.portal_chrome_v1:not(.site_map) #wrap {
    padding-top: 64px;
  }

  body.portal_chrome_v1:not(.site_map) #header_top,
  body.portal_chrome_v1:not(.site_map) #header_top.open,
  body.portal_chrome_v1:not(.site_map) #header_top:hover,
  body.portal_chrome_v1:not(.site_map) #header_top .header_wrap,
  body.portal_chrome_v1:not(.site_map) #header_top:hover .header_wrap {
    height: 64px !important;
  }

  body.portal_chrome_v1:not(.site_map) #header_top .header_wrap,
  body.portal_chrome_v1:not(.site_map) #header_top:hover .header_wrap {
    width: calc(100% - 32px);
  }

  body.portal_chrome_v1:not(.site_map) #header_top .header_wrap #logo a img,
  body.portal_chrome_v1:not(.site_map) #header_top:hover .header_wrap #logo a img {
    width: 102px;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #logo {
    flex-basis: 102px;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb {
    --portal-mobile-menu-rail: 128px;
    top: 64px;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb .all_close {
    top: 14px;
    right: 14px;
  }

  body.portal_chrome_v1:not(.site_map) #header_top .etc_menu .portal-menu-trigger-item {
    top: 14px;
    right: 14px;
  }

  body.portal_chrome_v1:not(.site_map) #header_top .etc_menu ul.link > li.portal-user-profile {
    top: 14px;
    right: 58px;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb .mo_mem {
    height: 64px;
    padding-top: 19px;
    padding-left: 16px;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul {
    height: calc(100% - 64px);
    padding-right: 8px;
    padding-left: 8px;
  }

  body.portal_chrome_v1:not(.site_map) #header_top #gnb > ul > li > .sub {
    padding-right: 14px;
    padding-left: calc(var(--portal-mobile-menu-rail) + 14px);
  }

  body.portal_chrome_v1 .m_quick.portal_mobile_quick,
  body.portal_chrome_v1 .m_quick.portal_mobile_quick.fixed {
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 800px) {
  body.portal_chrome_v1 .m_quick.portal_mobile_quick,
  body.portal_chrome_v1 .m_quick.portal_mobile_quick.fixed {
    width: 55px;
  }

  body.portal_chrome_v1 .m_quick.portal_mobile_quick .quick_btn,
  body.portal_chrome_v1 .m_quick.portal_mobile_quick .go_top {
    flex-basis: 55px;
    width: 55px;
    height: 55px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.portal_chrome_v1 .portal_quick_menu *,
  body.portal_chrome_v1 .portal_mobile_quick * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Versioned content pages */
body.portal_subpage_v1 {
  min-width: 0;
  color: var(--portal-chrome-text);
  background: #ffffff;
  overflow-x: hidden;
}

body.portal_subpage_v1 #unsupported_wrap {
  min-width: 0;
}

body.portal_subpage_v1 #sub_top {
  position: relative;
  width: 100%;
  height: var(--portal-sub-hero-height);
  border-bottom: 1px solid #dce5ed;
}

body.portal_subpage_v1 #sub_top section.visual,
body.portal_subpage_v1 #sub_top section.visual.typeA,
body.portal_subpage_v1 #sub_top section.visual.typeB,
body.portal_subpage_v1 #sub_top section.visual.typeC,
body.portal_subpage_v1 #sub_top section.visual.typeD {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: var(--portal-sub-hero-height);
  padding: 0 160px var(--portal-sub-location-height);
  text-align: center;
  background-color: #f4faff;
  background-image: url("../images/main/2026/bg_main_visual_draft1.png");
  background-position: center 48%;
  background-size: cover;
  background-repeat: no-repeat;
}

body.portal_subpage_v1 #sub_top section.visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(248, 252, 255, 0.4), rgba(255, 255, 255, 0.7), rgba(248, 252, 255, 0.4));
  z-index: 0;
}

body.portal_subpage_v1 #sub_top section.visual #sub_title {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  font-family: "GmarketSansBold", "Noto Sans KR", sans-serif;
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  color: #111a27;
  letter-spacing: -0.045em;
  word-break: keep-all;
  z-index: 1;
}

body.portal_subpage_v1 #sub_top .location {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--portal-sub-location-height);
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(190, 207, 221, 0.72);
  backdrop-filter: blur(8px);
  z-index: 4;
}

body.portal_subpage_v1 #sub_top .location > .container {
  width: min(calc(100% - 64px), var(--portal-chrome-width));
  max-width: var(--portal-chrome-width);
  height: 100%;
  margin: 0 auto;
  padding: 0;
}

body.portal_subpage_v1 #sub_top .location form,
body.portal_subpage_v1 #sub_top .location .loc_row {
  width: 100%;
  height: 100%;
}

body.portal_subpage_v1 #sub_top .location .loc_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  text-align: left;
}

body.portal_subpage_v1 #sub_top .location ul.location_list {
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

body.portal_subpage_v1 #sub_top .location ul.location_list > li {
  float: none;
  display: flex;
  align-items: center;
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0 0 0 28px;
  font-size: 14px;
  line-height: 1.35;
  color: #586675;
}

body.portal_subpage_v1 #sub_top .location ul.location_list > li::before {
  content: "\e940";
  position: absolute;
  top: 50%;
  left: 9px;
  font-family: "xeicon";
  font-size: 13px;
  color: #a5b0bb;
  transform: translateY(-50%);
}

body.portal_subpage_v1 #sub_top .location ul.location_list > li.home {
  flex: 0 0 34px;
  width: 34px;
  padding: 0;
}

body.portal_subpage_v1 #sub_top .location ul.location_list > li.home::before {
  display: none;
}

body.portal_subpage_v1 #sub_top .location .home a {
  display: flex;
  justify-content: center;
  align-items: center;
  position: static;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  color: var(--portal-color-action);
  background: #eef7ff;
  border-radius: 50%;
}

body.portal_subpage_v1 #sub_top .location .home a i {
  display: block;
  width: auto;
  height: auto;
  font-size: 16px;
  line-height: 1;
}

body.portal_subpage_v1 #sub_top .location .dropdown > span {
  display: block;
  max-width: 320px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

body.portal_subpage_v1 #sub_top .location [aria-current="page"] {
  font-weight: 600;
  color: #172332;
}

body.portal_subpage_v1 #sub_top .location .location_etc {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

body.portal_subpage_v1 #sub_top .location .location_etc li {
  float: none;
  margin: 0;
}

body.portal_subpage_v1 #sub_top .location .location_etc li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  line-height: 1;
  color: #506172;
  background: #ffffff;
  border: 1px solid #ced9e3;
  border-radius: 50%;
}

body.portal_subpage_v1 #total_search {
  height: 184px;
  pointer-events: none;
  z-index: 3;
}

body.portal_subpage_v1 #total_search .search_btn {
  top: 70px;
  right: max(32px, calc((100% - var(--portal-chrome-width)) / 2));
  display: flex;
  justify-content: center;
  align-items: center;
  width: 112px;
  height: 44px;
  padding: 0;
  font-size: 14px;
  line-height: 1;
  color: #ffffff;
  background: linear-gradient(135deg, var(--portal-color-action), var(--portal-color-action-hover));
  border: 0;
  border-radius: 22px;
  box-shadow: 0 5px 14px rgba(0, 92, 190, 0.2);
  transform: none;
  pointer-events: auto;
}

body.portal_subpage_v1 #total_search .search_btn::after {
  display: inline-block;
  margin-left: 7px;
  line-height: 1;
  transform: none;
}

body.portal_subpage_v1 #total_search .search_btn.on {
  color: #ffffff;
  background: #163b6d;
}

body.portal_subpage_v1 #total_search .search_wrap {
  height: 184px;
  padding: 24px 20px 18px;
  background-color: #eff8ff;
  background-image: url("../images/main/2026/bg_main_visual_draft1.png");
  background-position: center;
  background-size: cover;
  pointer-events: auto;
}

body.portal_subpage_v1 #total_search .search_wrap > .container {
  width: min(calc(100% - 220px), 900px);
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

body.portal_subpage_v1 #total_search .search_wrap .totSch_tab {
  margin: 0 0 13px;
}

body.portal_subpage_v1 #total_search .search_wrap .totSch_tab li .totSch_item label {
  height: 34px;
  padding: 0 14px;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 14px;
  line-height: 32px;
  color: #334252;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #b7c9da;
}

body.portal_subpage_v1 #total_search .search_wrap .totSch_tab li .totSch_item input[type="radio"]:checked + label {
  padding-top: 0;
  color: #ffffff;
  background: var(--portal-color-action);
  border: 1px solid var(--portal-color-action);
}

body.portal_chrome_v1 .login_section .login_article > p {
  color: var(--portal-color-text-secondary);
  font-size: var(--portal-type-body);
  line-height: var(--portal-line-height-body);
}

body.portal_chrome_v1 .login_section .login_article h3 {
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 700;
}

body.portal_subpage_v1 #total_search .search_wrap .totSch_tab li .totSch_item input[type="radio"]:checked + label::before {
  display: none;
}

body.portal_subpage_v1 #total_search .search_wrap .totSch_input {
  max-width: 760px;
}

body.portal_subpage_v1 #total_search .search_wrap .totSch_input input[type="text"] {
  height: 54px;
  padding: 0 58px 0 20px;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 16px;
  font-weight: 400;
  border: 1px solid #b9cada;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(33, 91, 142, 0.08);
}

body.portal_subpage_v1 #main {
  min-height: 420px;
}

body.portal_subpage_v1 a:focus-visible,
body.portal_subpage_v1 button:focus-visible,
body.portal_subpage_v1 input:focus-visible,
body.portal_subpage_v1 select:focus-visible,
body.portal_subpage_v1 textarea:focus-visible {
  outline: 3px solid rgba(8, 120, 232, 0.3) !important;
  outline-offset: 2px;
}

/* Shared footer */
body.portal_chrome_v1 #footer {
  position: relative;
  width: 100%;
  color: #c8d4df;
  background: #102941 !important;
  border-top: 0 !important;
}

body.portal_chrome_v1 #footer .footer_wrap {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 42px;
  width: min(calc(100% - 64px), var(--portal-chrome-width));
  max-width: var(--portal-chrome-width);
  margin: 0 auto;
  padding: 42px 0;
}

body.portal_chrome_v1 #footer .footer_logo {
  float: none;
  width: auto;
  margin: 5px 0 0;
}

body.portal_chrome_v1 #footer .footer_logo img {
  display: block;
  width: 138px;
  height: auto;
}

body.portal_chrome_v1 #footer .footer_content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  min-width: 0;
  overflow: visible;
}

body.portal_chrome_v1 #footer .footer_content > div {
  float: none;
  width: auto;
  min-width: 0;
}

body.portal_chrome_v1 #footer .footer_content > div:first-child {
  flex: 1 1 auto;
}

body.portal_chrome_v1 #footer .footer_content .fnb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0 0 14px;
  padding: 0;
  overflow: visible;
}

body.portal_chrome_v1 #footer .footer_content .fnb li {
  float: none;
  margin: 0;
  padding: 0;
}

body.portal_chrome_v1 #footer .footer_content .fnb li::before {
  display: none;
}

body.portal_chrome_v1 #footer .footer_content .fnb li a {
  font-size: 14px;
  font-weight: 500;
  color: #e5edf4;
}

body.portal_chrome_v1 #footer .footer_content .fnb li:nth-child(2) a {
  color: #8ec8ff !important;
}

body.portal_chrome_v1 #footer .footer_content address {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  margin: 0 0 5px;
  font-size: 13px;
  font-style: normal;
  color: #b8c8d5;
}

body.portal_chrome_v1 #footer .footer_content address span:first-child {
  margin: 0;
}

body.portal_chrome_v1 #footer .footer_content .copyright {
  margin: 2px 0 0;
  font-size: 12px;
  color: #91a5b6;
}

body.portal_chrome_v1 #footer .footer_content .footer_icon {
  float: none;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  width: auto;
  min-width: 0;
  text-align: left;
}

body.portal_chrome_v1 #footer .footer_content .footer_icon a {
  display: block;
}

body.portal_chrome_v1 #footer .footer_content .footer_icon a > img,
body.portal_chrome_v1 #footer .footer_content .footer_icon > img {
  display: block;
  width: auto;
  max-width: none;
  height: 44px;
  max-height: 44px;
  object-fit: contain;
}

body.portal_chrome_v1 #footer a:focus-visible {
  outline: 3px solid rgba(142, 200, 255, 0.55) !important;
  outline-offset: 3px;
}

@media (min-width: 901px) and (max-width: 1757px) {
  body.portal_chrome_v1 #footer .footer_content {
    padding-right: 90px;
  }
}

@media (max-width: 900px) {
  body.portal_subpage_v1 #sub_top,
  body.portal_subpage_v1 #sub_top section.visual,
  body.portal_subpage_v1 #sub_top section.visual.typeA,
  body.portal_subpage_v1 #sub_top section.visual.typeB,
  body.portal_subpage_v1 #sub_top section.visual.typeC,
  body.portal_subpage_v1 #sub_top section.visual.typeD {
    height: var(--portal-sub-hero-height-tablet);
  }

  body.portal_subpage_v1 #sub_top section.visual,
  body.portal_subpage_v1 #sub_top section.visual.typeA,
  body.portal_subpage_v1 #sub_top section.visual.typeB,
  body.portal_subpage_v1 #sub_top section.visual.typeC,
  body.portal_subpage_v1 #sub_top section.visual.typeD {
    padding-right: 100px;
    padding-bottom: var(--portal-sub-location-height);
    padding-left: 100px;
  }

  body.portal_subpage_v1 #total_search {
    height: 158px;
  }

  body.portal_subpage_v1 #total_search .search_btn {
    top: 57px;
    right: 24px;
  }

  body.portal_subpage_v1 #total_search .search_wrap {
    height: 158px;
    padding-top: 17px;
  }

  body.portal_subpage_v1 #total_search .search_wrap > .container {
    width: min(calc(100% - 190px), 700px);
  }

  body.portal_chrome_v1 #footer .footer_wrap {
    grid-template-columns: 1fr;
    gap: 24px;
    width: calc(100% - 48px);
  }

  body.portal_chrome_v1 #footer .footer_content {
    gap: 24px;
  }
}

@media (max-width: 640px) {
  body.portal_subpage_v1 #main > .container {
    width: 100%;
    max-width: 100%;
    padding-right: var(--portal-screen-margin-mobile);
    padding-left: var(--portal-screen-margin-mobile);
  }

  body.portal_subpage_v1 #content {
    width: 100%;
    max-width: 100%;
  }

  body.portal_subpage_v1 #sub_top,
  body.portal_subpage_v1 #sub_top section.visual,
  body.portal_subpage_v1 #sub_top section.visual.typeA,
  body.portal_subpage_v1 #sub_top section.visual.typeB,
  body.portal_subpage_v1 #sub_top section.visual.typeC,
  body.portal_subpage_v1 #sub_top section.visual.typeD {
    height: var(--portal-sub-hero-height-mobile);
  }

  body.portal_subpage_v1 #sub_top section.visual,
  body.portal_subpage_v1 #sub_top section.visual.typeA,
  body.portal_subpage_v1 #sub_top section.visual.typeB,
  body.portal_subpage_v1 #sub_top section.visual.typeC,
  body.portal_subpage_v1 #sub_top section.visual.typeD {
    padding: 0 68px var(--portal-sub-location-height);
    background-position: center;
  }

  body.portal_subpage_v1 #sub_top section.visual #sub_title {
    width: 100%;
    font-size: 28px;
    text-align: center;
  }

  body.portal_subpage_v1 #sub_top .location > .container {
    width: calc(100% - 32px);
  }

  body.portal_subpage_v1 #sub_top .location .location_etc {
    display: none;
  }

  body.portal_subpage_v1 #sub_top .location .dropdown > span {
    max-width: 150px;
  }

  body.portal_subpage_v1 #sub_top .location ul.location_list > li {
    padding-left: 22px;
    font-size: 13px;
  }

  body.portal_subpage_v1 #sub_top .location ul.location_list > li::before {
    left: 6px;
  }

  body.portal_subpage_v1 #total_search {
    height: 134px;
  }

  body.portal_subpage_v1 #total_search .search_btn {
    top: 24px;
    right: 16px;
    width: 44px;
    height: 44px;
    font-size: 0;
    border-radius: 50%;
  }

  body.portal_subpage_v1 #total_search .search_btn::after {
    margin: 0;
    font-size: 18px;
  }

  body.portal_subpage_v1 #total_search .search_wrap {
    height: 134px;
    padding: 12px 64px 12px 12px;
  }

  body.portal_subpage_v1 #total_search .search_wrap > .container {
    width: 100%;
  }

  body.portal_subpage_v1 #total_search .search_wrap .totSch_tab {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
  }

  body.portal_subpage_v1 #total_search .search_wrap .totSch_tab li .totSch_item label {
    height: 28px;
    padding: 0 9px;
    font-size: 12px;
    line-height: 26px;
  }

  body.portal_subpage_v1 #total_search .search_wrap .totSch_input {
    width: 100%;
    padding: 0;
  }

  body.portal_subpage_v1 #total_search .search_wrap .totSch_input input[type="text"] {
    height: 42px;
    padding-left: 13px;
    font-size: 13px;
  }

  body.portal_chrome_v1 #footer .footer_wrap {
    width: calc(100% - 32px);
    padding: 32px 0;
  }

  body.portal_chrome_v1 #footer .footer_logo img {
    width: 116px;
  }

  body.portal_chrome_v1 #footer .footer_content {
    flex-direction: column;
    gap: 22px;
  }

  body.portal_chrome_v1 #footer .footer_content .footer_icon {
    position: static;
    flex-direction: row;
    align-items: center;
    width: auto;
  }

  body.portal_chrome_v1 #footer .footer_content .footer_icon a > img,
  body.portal_chrome_v1 #footer .footer_content .footer_icon > img {
    width: auto;
    max-width: none;
    height: 38px;
    max-height: 38px;
  }

  body.portal_chrome_v1 .m_quick.portal_mobile_quick,
  body.portal_chrome_v1 .m_quick.portal_mobile_quick.fixed {
    right: var(--portal-screen-margin-mobile);
    bottom: var(--portal-screen-margin-mobile);
    width: 48px;
    gap: 0;
  }

  body.portal_chrome_v1 .m_quick.portal_mobile_quick .quick_btn {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  body.portal_chrome_v1 .m_quick.portal_mobile_quick .go_top {
    display: none !important;
  }
}

/* Login-required prompt */
html.portal-login-modal-open,
body.portal-login-modal-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

body.portal_chrome_v1.portal-login-modal-open {
  position: fixed !important;
  top: var(--portal-login-scroll-top, 0) !important;
  left: var(--portal-login-scroll-left, 0) !important;
  width: 100%;
  transition: none !important;
}

body.portal_chrome_v1 .portal-login-required-modal {
  position: fixed;
  inset: 0;
  z-index: 12050;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 24px;
}

body.portal_chrome_v1 .portal-login-required-modal[hidden] {
  display: none !important;
}

body.portal_chrome_v1 .portal-login-required-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: rgba(15, 27, 42, 0.58);
  border: 0;
  border-radius: 0;
  cursor: default;
}

body.portal_chrome_v1 .portal-login-required-dialog {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(100%, 420px);
  padding: 40px 32px 28px;
  color: var(--portal-color-text-primary);
  text-align: center;
  background: var(--portal-color-surface);
  border: 1px solid rgba(220, 228, 235, 0.9);
  border-radius: var(--portal-radius-xl);
  box-shadow: 0 24px 64px rgba(10, 30, 54, 0.24);
  animation: portal-login-modal-enter 0.18s ease-out;
}

body.portal_chrome_v1 .portal-login-required-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  color: #657384;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: var(--portal-radius-full);
  cursor: pointer;
  transition: color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

body.portal_chrome_v1 .portal-login-required-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

body.portal_chrome_v1 .portal-login-required-close:hover,
body.portal_chrome_v1 .portal-login-required-close:focus-visible {
  color: var(--portal-color-action);
  background-color: #edf6ff;
}

body.portal_chrome_v1 .portal-login-required-close:active {
  transform: scale(0.94);
}

body.portal_chrome_v1 .portal-login-required-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  color: var(--portal-color-action);
  background: #edf6ff;
  border-radius: var(--portal-radius-full);
}

body.portal_chrome_v1 .portal-login-required-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.portal_chrome_v1 .portal-login-required-dialog h2 {
  margin: 0;
  color: var(--portal-color-text-primary);
  font-family: "Noto Sans KR", sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.03em;
}

body.portal_chrome_v1 .portal-login-required-dialog p {
  margin: 10px 0 28px;
  color: var(--portal-color-text-secondary);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

body.portal_chrome_v1 .portal-login-required-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.portal_chrome_v1 .portal-login-required-actions > button,
body.portal_chrome_v1 .portal-login-required-actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 0;
  min-height: 52px;
  margin: 0;
  padding: 0 20px;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--portal-radius-md);
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

body.portal_chrome_v1 .portal-login-required-cancel {
  color: #344252;
  background: #ffffff;
  border: 1px solid #cbd5df;
}

body.portal_chrome_v1 .portal-login-required-cancel:hover {
  background: #f5f8fa;
  border-color: #aebbc8;
}

body.portal_chrome_v1 .portal-login-required-confirm {
  gap: 8px;
  color: #ffffff;
  background: var(--portal-color-action);
  border: 1px solid var(--portal-color-action);
}

body.portal_chrome_v1 .portal-login-required-confirm:hover {
  color: #ffffff;
  background: var(--portal-color-action-hover);
  border-color: var(--portal-color-action-hover);
}

body.portal_chrome_v1 .portal-login-required-confirm svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.portal_chrome_v1 .portal-login-required-dialog:focus,
body.portal_chrome_v1 .portal-login-required-close:focus-visible,
body.portal_chrome_v1 .portal-login-required-actions > button:focus-visible,
body.portal_chrome_v1 .portal-login-required-actions > a:focus-visible {
  outline: 3px solid rgba(0, 107, 212, 0.32);
  outline-offset: 3px;
}

@keyframes portal-login-modal-enter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  body.portal_chrome_v1 .portal-login-required-modal {
    padding: var(--portal-screen-margin-mobile);
  }

  body.portal_chrome_v1 .portal-login-required-dialog {
    padding: 32px 20px 20px;
    border-radius: var(--portal-radius-lg);
  }

  body.portal_chrome_v1 .portal-login-required-close {
    top: 8px;
    right: 8px;
  }

  body.portal_chrome_v1 .portal-login-required-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 20px;
  }

  body.portal_chrome_v1 .portal-login-required-icon svg {
    width: 43px;
    height: 43px;
  }

  body.portal_chrome_v1 .portal-login-required-dialog h2 {
    font-size: 19px;
  }

  body.portal_chrome_v1 .portal-login-required-dialog p {
    margin-bottom: 24px;
    font-size: 15px;
  }

  body.portal_chrome_v1 .portal-login-required-actions > button,
  body.portal_chrome_v1 .portal-login-required-actions > a {
    min-height: 50px;
    padding: 0 12px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.portal_chrome_v1 .portal-login-required-dialog {
    animation: none;
  }

  body.portal_chrome_v1 .portal-login-required-actions > button,
  body.portal_chrome_v1 .portal-login-required-actions > a {
    transition: none;
  }
}
