/* ── 헤더 바 높이 ── */
.hd-bar { height: 72px;
position: fixed; top: 0
 }

#site-header {
    transition: transform 0.3s ease;
top: 0;
}

/* ── 양쪽 사이드: 평소엔 크게 → nav 좁게 모임 ── */
.hd-side {
    width: 28vw;
    flex-shrink: 0;
    transition: width 0.35s ease-in-out;
    overflow: hidden;
}

/* 메가 오픈 시: 사이드 줄고 → nav/mega 확장 ── */
#site-header.is-mega-open .hd-side {
    width: 16vw;
}

/* ── GNB nav ── */
.hd-nav {
    flex: 1;
    min-width: 0;
}

/* ── GNB ul ── */
.gnb {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

/* ── GNB li: 균등 분배 ── */
.gnb-item {
    flex: 1;
    display: flex;

}

/* ── GNB a ── */
.gnb-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
    color: var(--dark);
    transition: background 0.25s, color 0.25s;
    padding: 0 12px;
}

.gnb-item.is-hover .gnb-link,
.gnb-item.is-page-active .gnb-link {
    background: var(--sub-color);
    color: #fff;
    font-weight: 700;
}

/* ============================================================
   메가메뉴 - hd-side transition이 동일하게 적용됨
============================================================ */
.mega-menu {
    top: 72px;
    left: 0;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
    border-top: 1px solid var(--gray-200);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    pointer-events: none;
}
.mega-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-inner {
    flex: 1;
    min-width: 0;
    display: flex;
}

.mega-col {
    flex: 1;
    min-width: 0;
    padding: 28px 0;
    border-right: 1px solid var(--gray-100);
    transition: background 0.2s;
    text-align: center;
}
.mega-col:last-child { border-right: none; }
.mega-col.is-active { background: var(--sub-color); }

.mega-sub-link {
    display: block;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 400;
    color: var(--gray-700);
    letter-spacing: var(--ls-10);
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.15s;
}
.mega-sub-link:hover { color: var(--sub-color); font-weight: 600; }
.mega-col.is-active .mega-sub-link { color: rgba(255,255,255,.7); }
.mega-col.is-active .mega-sub-link:hover,
.mega-col.is-active .mega-sub-link.is-active { color: #fff; font-weight: 700; }

/* ── 오버레이 ── */
.header-overlay {
    position: fixed;
    inset: 0;
    top: 72px;
    background: rgba(0,0,0,.25);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s;
}
.header-overlay.is-show { opacity: 1; visibility: visible; }

/* ── 구글 번역 숨김 ── */
.skiptranslate,
.goog-te-banner-frame { display: none !important; }
body { top: 0px !important; }



.promo-slider {
  width: max-content;
  height: 2.5vw;
  background: var(--sub);
border-radius: 0!important;
  overflow: hidden;
}
.promo-content {
  animation: slideUp 10s infinite;
}
.promo-item {
  height: 2.5vw;
  padding: 0 1.0417vw;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background-color: var(--main-color);
  border-radius: 100px;
}

@keyframes slideUp {
  0%,
  20% {
    transform: translateY(0);
  }
  25%,
  45% {
    transform: translateY(-2.5vw);
  }
  50%,
  70% {
    transform: translateY(-5vw);
  }
  75%,
  95% {
    transform: translateY(-7.5vw);
  }
  100% {
    transform: translateY(0);
  }
}

@media screen and (max-width:1200px) {
    .hd-side a img {
        max-height: 25px!important;
    }
}