/* ===== CSS Variables ===== */
:root {
  --color-primary:      #1ba8dc;
  --color-primary-dark: #1590be;
  --color-navy:         #1e5698;
  --color-navy-dark:    #174680;
  --color-text:         #231815;
  --color-muted:        #7b7f83;
  --color-border:       #d9dfe7;
  --color-white:        #ffffff;
  --color-bg:           #f5f7fa;
  --color-border-input: #7b7f83;
  --color-border-tab:   #d9d9d9;
  --color-footer-text:  #434342;
  --color-footer-copy:  #9fa0a0;
  --color-footer-border: #D9D9D9;
  --gap-xs: 6px;
  --gap-sm: 8px;
  --gap-md: 12px;
  --gap-lg: 20px;
  --gap-xl: 27px;
  --radius: 8px;
  --radius-input: 10px;
  --radius-btn: 10px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  font-size: 20px;
  color: var(--color-text);
  line-height: 1.5;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; background: none; border: none; font-family: inherit; font-size: inherit; color: inherit; }
address { font-style: normal; }
input, select, textarea { font-family: inherit; } /*  textarea 추가: 자기소개서 등 textarea가 브라우저 기본(모노스페이스)으로 떨어져 폰트 이질감 나던 문제 */

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1440px;
  padding: 0 20px;
  margin: 0 auto;
}

/* ===== 아이콘 공통 ===== */
.ic {
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}
.ic-login   { width: 16px; height: 16px; background-image: url("../../../../images/s10/hsa/user/ic-login.png"); }
.ic-logout  { width: 20px; height: 20px; background-image: url("../../../../images/s10/hsa/user/ic-logout.png"); }
.ic-m01     { width: 56px; height: 47px; background-image: url("../../../../images/s10/hsa/user/ic-m01.png"); }
.ic-m02     { width: 38px; height: 34px; background-image: url("../../../../images/s10/hsa/user/ic-m02.png"); }
.ic-m03     { width: 38px; height: 35px; background-image: url("../../../../images/s10/hsa/user/ic-m03.png"); }
.ic-m04     { width: 34px; height: 48px; background-image: url("../../../../images/s10/hsa/user/ic-m04.png"); }
.ic-msearch       { width: 24px; height: 24px; background-image: url("../../../../images/s10/hsa/user/ic-msearch.png"); filter: brightness(0) invert(1); }
.ic-arrow-notice  { width: 20px; height: 24px; background-image: url("../../../../images/s10/hsa/user/ic-arrow-notice.png"); }
.notice-btn:hover  .ic-arrow-notice { background-image: url("../../../../images/s10/hsa/user/ic-arrow_notice-over-1440.png"); }
.notice-btn:active .ic-arrow-notice { background-image: url("../../../../images/s10/hsa/user/ic-arrow_notice-active-1440.png"); }
.ic-nav-arrow     { width: 10px; height: 18px; background-image: url("../../../../images/s10/hsa/user/ic-nav-arrow.png"); filter: brightness(0); }
.ic-go-top        { width: 64px; height: 64px; background-image: url("../../../../images/s10/hsa/user/ic-go-top.png"); }

/* ===== 상단 링크 바 ===== */
.site-top-bar {
  height: 57px;
  border-bottom: 1px solid #D9D9D9;
}

.site-top-bar .container {
  height: 100%;
}

.top-bar-list {
  display: flex;
  align-items: center;
  height: 100%;
}

.top-bar-link {
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 600;
  color: #434342;
  position: relative;
}

.top-bar-link::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1em;
  background: #D9D9D9;
}

.top-bar-list li:first-child .top-bar-link{
  padding-left:0;
}
.top-bar-list li:last-child .top-bar-link::after {
  display: none;
}

.top-bar-link:hover { color: #1BA8DC; }

/* ===== HEADER ===== */
.header-wrap {
  width: 100%;
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  padding: 33px 0px 20px 0px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.logo { width: 260px; height: 46px; object-fit: contain; }

.header-divider {
  display: block;
  width: 1px;
  height: 24px;
  background: var(--color-footer-border);
  white-space: nowrap;
  align-self: flex-start;
  margin-top:6px;
}

.brand-portal {
  font-size: 31px;
  font-weight: 600;
  line-height:1.2;
  color: var(--color-text);
  white-space: nowrap;
  align-self: flex-start;
}

/* 헤더 인라인 공지 (데스크탑) */
.header-notice {
  flex: 0 0 444px;
  width: 444px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: none;
  min-width: 0;
  margin-left: 220px;
}

/* 공지 슬라이드: 한 줄만 표시 */
.notice-slide  { display: none; }
.notice-slide.is-active  { display: block; }

.header-inner {position:relative;}
/* ===== 공지 바 (Desktop v1: 1025px+ — notice-bar를 헤더 위에 absolute 오버레이) ===== */
.notice-bar {
  display: none;
  background: #fff;
  position: absolute;
  z-index: 250;
  left: 0px;
  top: 12px;
  padding-left: 45%;
}
.notice-bar-inner {          /* header 높이 (padding 20px × 2 + logo 46px) */
  height: 100%;
  background: transparent;
  pointer-events: auto;
  /* header-brand(~400px) + header-inner gap(220px) 이후 위치 */
  display: flex;
  align-items: center;
  gap: 12px;
}

.notice-bar-body {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.notice-badge {
  flex-shrink: 0;
  background: #1BA8DC;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 2px;
  white-space: normal;
  word-break: keep-all;
  display: inline-block;
  line-height: 1.2;
  text-align: center;
}

.notice-body {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.notice-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-footer-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice-date {
  font-size: 16px;
  color: var(--color-footer-copy);
}


.notice-controls {
  display: flex;
  flex-direction: column;
  gap: 0px;
  flex-shrink: 0;
}

.notice-btn {
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 아래 화살표: 180도 회전 */
.ic-arrow-down {
  transform: rotate(180deg);
}

/* 헤더 로그인 */
.header-actions { flex-shrink: 0; margin-left: auto; display: flex; align-items: center; gap: 12px; }

.btn-header-login {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

.btn-header-login:hover  { color: var(--color-primary); }
.btn-header-login:active { color: #1E5698; }
.btn-header-login:hover  .ic-login { background-image: url("../../../../images/s10/hsa/user/ic-login-over.png"); }
.btn-header-login:active .ic-login { background-image: url("../../../../images/s10/hsa/user/ic-login-active.png"); }

/* ===== GNB ===== */
.gnb {
  position: relative;
  background: #fff;
  z-index: 200;
}

.gnb-list {
  display: flex;
}

.gnb-item {
  flex: 1;
  position: relative;
}

.gnb-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  padding: 20px 16px;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s, box-shadow 0.15s;
}

/* 드롭다운 화살표 아이콘 — 제거 */
.gnb-item.has-dropdown .gnb-link::after {
  content: none;
}

/* 롤오버 + 활성화: 폰트 #1BA8DC + 하단 파랑 라인 */
.gnb-item.is-open .gnb-link,
.gnb-item.is-active .gnb-link,
.gnb-item:hover .gnb-link {
  color: #1BA8DC;
  font-weight: 700;
  position: relative;
}
.gnb-item.is-open .gnb-link::after,
.gnb-item.is-active .gnb-link::after,
.gnb-item:hover .gnb-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 6px;
  background: #1BA8DC;
  z-index: 100000;
}

.gnb-item.is-open .gnb-link::after,
.gnb-item:hover .gnb-link::after {
  transform: rotate(180deg);
  filter: invert(56%) sepia(80%) saturate(500%) hue-rotate(162deg) brightness(95%);
}

/* GNB 메가패널 — .gnb 기준 전체 너비 */
.gnb-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0px;
  right: 0px;
  height: 168px;
  background: #fff;
  border: 1px solid #D9D9D9;
  border-top: 6px solid #1E5698;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 11px rgba(0, 0, 0, 0.4);
  border-radius: 0 0 8px 8px;
  z-index: 100;
}
.gnb-panel.no-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0px;
  right: 0px;
  height: 0;
  background:none;
  border: none;
  border-top: 6px solid #1E5698;
  box-shadow: none;
  z-index: 100;
}


.gnb-panel.is-active .gnb-panel-inner{ display: none;  }
.gnb-panel.is-active{height:4px;display: block; border-bottom:none; box-shadow:none; border-radius:0}

.gnb-panel.is-open { display: block;height: 168px; }
.gnb-panel.is-open .gnb-panel-inner { display: flex; height: 100%;}

.gnb-panel-inner {
  display: flex;
  align-items: stretch;
  gap: 48px;
  height: 100%;
}

.gnb-panel-title {
  font-size: 46px;
  font-weight: 800;
  color: var(--color-primary);
  flex-shrink: 0;
  line-height: 1.1;
  margin-left: 138px;
  padding-right: 131px;
  display: flex;
  align-items: center;
  position:relative;
}

.gnb-panel-title::after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1px;
  height: 133px;
  background: #D9D9D9;
}

.gnb-panel-menu {
  display: grid;
  grid-template-columns: repeat(3, auto);
  column-gap: 0;
  row-gap: 2px;
  justify-content: start;
  align-content: center;
  flex: 1;
  align-self: stretch;
}
.gnb-panel-menu li a {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
  padding: 7px 140px 7px 16px;
  border-radius: 8px;
  transition: color 0.15s, box-shadow 0.15s;
  line-height: 24px;
  white-space: nowrap;
}
/* 합격자 발표 패널: 메뉴만 hapgyeok(4/6) 중앙 7/12 지점에 절대 배치 */
#gnb-hapgyeok .gnb-panel-inner { position: relative; }
#gnb-hapgyeok .gnb-panel-menu  { position: absolute; left: calc(100% * 7 / 12 + 50px); top: 50%; transform: translateX(-50%) translateY(-50%); flex: none; }
#gnb-jaryo .gnb-panel-menu  { position: absolute; right: 60px; top: 50%; transform: translateY(-50%); flex: none; }

/* 롤오버: 폰트 #1BA8DC, 1px 라인 #1BA8DC, radius 8px */
.gnb-panel-menu li a:hover {
  color: #1BA8DC;
  background: none;
  font-weight: 800;
  border-radius: 8px;
}
/* 활성화: 폰트 #1BA8DC */
.gnb-panel-menu li a:active , .gnb-panel-menu li a.is-active {
  font-weight: 600;
  color: #1BA8DC;
  box-shadow: 0 0 0 1px #1BA8DC;  
}

#gnb-gogyoipak .gnb-panel-menu li a { padding-right: 100px; }
#gnb-wonseo .gnb-panel-menu li a { padding-right: 60px; }
#gnb-hapgyeok .gnb-panel-menu li a { padding-right: 60px; }
#gnb-jaryo .gnb-panel-menu li {width:160px;text-align:center;}
#gnb-jaryo .gnb-panel-menu li a { padding-right: 16px !important; }

#gnb-gogyoipak .gnb-panel-menu li a:active 
, #gnb-gogyoipak .gnb-panel-menu li a:active
, #gnb-gogyoipak .gnb-panel-menu li a.is-active {  margin-right: 84px !important; padding-right: 16px !important; }
#gnb-wonseo .gnb-panel-menu li a:active 
, #gnb-wonseo .gnb-panel-menu li a:active
, #gnb-wonseo  .gnb-panel-menu li a.is-active { margin-right: 44px !important; padding-right: 16px !important; }
#gnb-hapgyeok .gnb-panel-menu li a:active 
, #gnb-hapgyeok .gnb-panel-menu li a:active
, #gnb-hapgyeok  .gnb-panel-menu li a.is-active { margin-right: 44px !important; padding-right: 16px !important; }
#gnb-jaryo .gnb-panel-menu li a:active 
, #gnb-jaryo .gnb-panel-menu li a:active
, #gnb-jaryo .gnb-panel-menu li a.is-active  {padding-right: 16px !important;}
  

/* ===== FOOTER ===== */
.site-footer { border-top: 1px solid var(--color-border); background: #fff; }

.footer-links {
  padding: 14px 0px;
  border-bottom: 1px solid var(--color-border);
}

.footer-links .contain {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-footer-text);
}

.footer-links a:hover {  color:#1BA8DC }

.footer-divider {
  display: inline-block;
  width: 1px;
  height: 18px;
  background: #D9D9D9;
  margin: 0 26px;
  vertical-align: middle;
}

.footer-body { padding: 36px 0px; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.footer-address {
  font-size: 16px;
  color: var(--color-footer-text);
  line-height: 1.7;
}

.footer-address strong { font-weight: 800; }

.footer-logo img {
  width: 219px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-copy {
  font-size: 16px;
  color: var(--color-footer-copy);
  margin-top: 8px;
  display:block;
}

.mnotice-slide { display: none; }
.mnotice-slide.is-active { display: block; }

/* ===== 햄버거 버튼 ===== */
.btn-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  margin-left: auto;
}

.btn-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

/* ===== 모바일 슬라이드 네비게이션 ===== */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.nav-overlay.is-open {
  display: flex;
  justify-content: flex-end;
}

.nav-overlay-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.nav-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin-left:50px;
  background: #fff;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.nav-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 41px;
  padding-left: 40px;
  padding-bottom: 27px;
  background: var(--color-primary);
  flex-shrink: 0;
}

.nav-panel-login {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.nav-panel-login .ic-login,
.nav-panel-login .ic-logout { filter: brightness(0) invert(1); }

.nav-panel-login:hover { opacity: 0.85; }

.btn-nav-close {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  flex-shrink: 0;
  margin-right:22px;
  transform: translateY(-8px);
}

.nav-panel-menu { flex: 1; margin-left:57px; }

.nav-panel-item {
  display: flex;
  align-items: center;
  gap: 19px;
  width: 100%;
  padding: 18px 16px;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  border-bottom: 1px solid #D9D9D9;
  text-align: left;
}

.nav-panel-item.is-open {
  color: var(--color-primary);
  font-weight: 700;
}

.nav-arrow {
  transition: transform 0.2s;
}

.nav-panel-item .nav-arrow {
  transform: rotate(-90deg);
}
.nav-panel-item.is-open:hover .nav-arrow {
  transform: rotate(0deg);
  filter: brightness(0) saturate(100%) invert(47%) sepia(98%) saturate(406%) hue-rotate(163deg) brightness(104%);
}

.nav-panel-item.is-open .nav-arrow {
  transform: rotate(0deg);
  filter: brightness(0) saturate(100%) invert(47%) sepia(98%) saturate(406%) hue-rotate(163deg) brightness(104%);
}

.nav-sub-menu { display: none; }

.nav-sub-menu.is-open { display: block; }

.nav-sub-menu li a {
  display: block;
  margin: 11px 16px 6px 60px;
  font-size: 18px;
  font-weight: 600;
  color: #231815;
}

.nav-sub-menu li a:hover  { background: #1BA8DC; color: #ffffff; }
.nav-sub-menu li a:active { background: #1E5698; color: #ffffff; }

.nav-sub-menu li a.is-active {
  color: var(--color-primary);
  font-weight: 600;
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  margin: 11px 16px 6px 40px;
  padding: 8px 16px;
}

/* ===== TOP 버튼 ===== */
.btn-top {
  display: none; /* 데스크탑에서 숨김 */
  position: fixed;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: visibility 0.25s, background 0.15s;
  z-index: 500;
  cursor: pointer;
  border: none;
}

.btn-top.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ===== 반응형 ===== */
/* Desktop v2: 1024px~1440px */
@media (min-width: 1024px) and (max-width: 1439px) {
  .logo { width: 214px;height: 38px;}
  .header-divider { height: 20px; }
  .container { max-width:1024px; }
  .header-brand { gap: 12px; line-height:1.1}
  .header-notice { margin-left: 70px; }
  .brand-portal {font-size:24px;line-height:30px;}
  .gnb-link { font-size: 20px; }
  .gnb-panel-title { font-size: 34px; margin-left: 52px; margin-right: 10px; padding-right: 72px;}
  .gnb-panel-menu li a { font-size: 18px;padding-right: 80px; }
  
    
  /* 합격자 발표 패널: 메뉴만 hapgyeok(4/6) 중앙 7/12 지점에 절대 배치 */
  #gnb-hapgyeok .gnb-panel-inner { position: relative; }
  #gnb-hapgyeok .gnb-panel-menu  { position: absolute; left: calc(100% * 7 / 12 + 70px); top: 50%; transform: translateX(-50%) translateY(-50%); flex: none; }
  #gnb-jaryo .gnb-panel-menu  { position: absolute; right: 38px; top: 50%; transform: translateY(-50%); flex: none; }


  #gnb-gogyoipak .gnb-panel-menu li a { padding-right: 40px; }
  #gnb-wonseo .gnb-panel-menu li a { padding-right: 50px; }
  #gnb-hapgyeok .gnb-panel-menu li a { padding-right:60px; }
  #gnb-jaryo .gnb-panel-menu li a { padding-right:0;padding-left: 60px; }

  #gnb-jaryo .gnb-panel-menu li {width:135px;text-align:center;}
  #gnb-jaryo .gnb-panel-menu li a { padding-left: 16px !important;padding-right: 16px !important; }

  #gnb-gogyoipak .gnb-panel-menu li a:active 
  , #gnb-gogyoipak .gnb-panel-menu li a:active
  , #gnb-gogyoipak .gnb-panel-menu li a.is-active {  margin-right: 24px !important; padding-right: 16px !important; }
  #gnb-wonseo .gnb-panel-menu li a:active 
  , #gnb-wonseo .gnb-panel-menu li a:active
  , #gnb-wonseo  .gnb-panel-menu li a.is-active { margin-right: 34px !important; padding-right: 16px !important; }
  #gnb-hapgyeok .gnb-panel-menu li a:active 
  , #gnb-hapgyeok .gnb-panel-menu li a:active
  , #gnb-hapgyeok  .gnb-panel-menu li a.is-active { margin-right: 44px !important; padding-right: 16px !important; }
  #gnb-jaryo .gnb-panel-menu li a:active 
  , #gnb-jaryo .gnb-panel-menu li a:active
  , #gnb-jaryo .gnb-panel-menu li a.is-active  {margin-left: 0px !important; padding-left: 16px !important;padding-right: 16px !important;}

  .footer-body .contain { display: flex; flex-direction: column; }
  .footer-inner   { display: contents; }
  .footer-address { order: 1; }
  .footer-copy    { order: 2; margin-top: 16px; }
  .footer-logo    { order: 3; margin-top: 16px; align-self: flex-start; }
}

/* Tablet: 500px~1023px */
@media (max-width: 1023px) {
  .header-divider { height: 20px; }
  .notice-btn:hover  .ic-arrow-notice { background-image: url("../../../../images/s10/hsa/user/ic-arrow_notice-over-500.png"); }
  .notice-btn:active .ic-arrow-notice { background-image: url("../../../../images/s10/hsa/user/ic-arrow_notice-active-500.png"); }
  .container { max-width:500px; }
  .site-top-bar .container { padding: 0; }
  .top-bar-list li { flex: 1; }
  .top-bar-link { justify-content: center; padding: 0; font-size: 14px; }
  /* 헤더: 한 줄로 유지, 로그인·공지 숨김, 햄버거 표시 */
  .site-header { border-bottom: 1px solid #D9D9D9; }
  .header-wrap { height: 78px; display: flex; align-items: center; }
  .header-inner { padding: 12px 0; gap: 12px; flex-wrap: nowrap; width: 100%; padding-left:0;}
  .header-actions { display: none; }
  .header-notice  { display: none; }
  .site-footer .btn-refer { display: inline-flex !important; }
  /* 푸터 링크줄: 좁아지면 버튼을 다음 줄로 내리고 가운데 정렬.
     링크 글자는 쪼개지지 않게 nowrap. (인라인 style 의 display:flex 는 유지) */
  .footer-links .container { flex-wrap: wrap; row-gap: 10px; }
  .footer-links .footer-nav { flex: 1 1 100%; justify-content: center; }
  .footer-links a { white-space: nowrap; }
  .site-footer .btn-refer {
    flex: 0 0 auto;
    margin: 0 auto !important;
    width: auto;
    padding: 0 18px;
    height: 40px;
    font-size: 16px;
    align-items: center;
    justify-content: center;
  }
  .brand-portal {font-size:24px;line-height:30px;}
  .btn-hamburger  { display: flex; }
  .logo { width: 214px; height: 38px; }
  
  .nav-sub-menu{border-bottom: 1px solid #D9D9D9; padding-bottom:10px }
  .nav-sub-menu li a:hover  { background:none;  }
  .nav-sub-menu li a:active { background:none;  }

  /* 공지 바 표시 */
  .notice-bar {
    display: block;
    position: relative;
    width : 100%;          /* 태블릿/모바일 헤더 높이 */
    top : 0;
    background: #fff;
    pointer-events: auto;
    margin: 33px 0 47px 0;
    padding:0;
  }

  .notice-title { font-size: 18px; }
  .notice-date  { font-size: 16px; }

  /* GNB: 태블릿/모바일에서 숨김 (슬라이드 네비로 대체) */
  .gnb { display: none; }

  /* 푸터: 주소 → 카피라이트 → 로고 순서로 변경 */
  .footer-body .contain { display: flex; flex-direction: column; }
  .footer-inner   { display: contents; }
  .footer-address { order: 1; max-width: 380px; }
  .footer-address p span { display: block; }
  .footer-address p span .fax{ display : inline-block;}
  .footer-copy    { order: 2; margin-top: 16px; }
  .footer-logo    { order: 3; margin-top: 16px; align-self: flex-start; }

  .btn-top { display: flex; right: 16px; bottom: 30px; font-size: 14px; }
}

/* Mobile: ~500px */
@media (max-width: 499px) {
  .header-divider {margin-top:3px;}
  .site-top-bar { display: none; }
  .container { max-width:360px; }
  .logo { width: 175px; height: 31px; }
  .header-brand{ gap:7px;}
  .brand-portal{ font-size:20px ;line-height: 1.3; }

  .btn-header-login { font-size: 15px; }
  .gnb-item { flex: 0 0 50%; }
  .gnb-link { font-size: 15px; padding: 12px 6px; }
  .gnb-panel-menu { grid-template-columns: 1fr; }
  .btn-top { right: 12px; bottom: 30px; }
  .footer-links .container { display: flex; align-items: center; justify-content: flex-start; }
  .footer-links .container a { flex: none; font-size: 16px; white-space: nowrap; }
  .footer-links .footer-divider { display: inline-block; align-self: center; margin: 0 20px; }
  .footer-address p { width: 300px;}
  .footer-address p span .fax{ display : block;}
  .footer-copy { font-size: 14px; }
}
