/* 제주패스 공통 헤더 — jejupass-vue HeaderLnb.vue(PC)·MoHeaderView.vue(모바일)와 public/pc/css/common.css·public/mobile/css/m_common.css 의 #header·#gnb 규칙을 .jh 아래로 옮긴 것 */
@font-face{font-family:'NanumSquareR';font-weight:900;font-display:swap;src:local('나눔스퀘어라운드 ExtraBold'),url('/web/passkok/static/NanumSquareRoundOTFEB.woff') format('woff')}
:root{--header-h:73px}
.jh ul,.jh-mo-gnb ul{margin:0;padding:0;list-style:none}
.jh a,.jh-mo-gnb a{text-decoration:none}

/* PC */
.jh{position:sticky;z-index:100;top:0;background-color:#fff;border-bottom:1px solid #eef0f3;text-align:left}
.jh .jh-mo{display:none}
.jh .jh-pc{padding:13px 72px;box-sizing:border-box}
.jh .jh-pc>.inner{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;position:relative}
.jh .jh-pc .logo{display:block;width:140px;height:26px;font-size:0;background-image:url('/web/passkok/static/header-pc-sprite.png')}
.jh .gnb{height:46px}
.jh .gnb .gnb-list{display:flex;gap:32px}
.jh .gnb .gnb-list a{display:flex;align-items:center;position:relative;height:46px;font-family:NanumSquareR,-apple-system,BlinkMacSystemFont,Open Sans,Helvetica Neue,sans-serif;font-size:22px;color:#20242e;white-space:nowrap}
.jh .gnb .gnb-list a:hover,.jh .gnb .gnb-list a[aria-current]{color:#4c7df0}
.jh .gnb .gnb-list a.hasIcon{padding-left:20px}
.jh .gnb .gnb-list a.hasIcon::before{content:'';position:absolute;left:0;top:10px;transform:translateY(-50%);width:26px;height:35px;background:url('/web/passkok/static/header-pc-star.png') no-repeat center;background-size:contain}
.jh .etc-menu-list{display:flex;align-items:center;align-self:flex-end;gap:30px}
.jh .etc-menu-list a{font-size:16px;font-weight:600;color:#565b66;letter-spacing:-.16px}
.jh .etc-menu-list a:hover{color:#4c7df0}
.jh .personal-menu-list{display:flex;gap:16px;position:absolute;top:0;right:0;line-height:18px}
.jh .personal-menu-list>li{line-height:inherit}
/* passkok.css 의 공용 .btn(알약 버튼)이 덮지 않도록 padding·테두리·배경을 되돌린다 */
.jh .personal-menu-list .btn{display:flex;align-items:center;gap:3px;padding:0;border:0;border-radius:0;background:none;font-size:13px;font-weight:400;line-height:inherit;color:#9aa0ab}
.jh .personal-menu-list .btn:hover{border:0;font-weight:600;color:#202020}
.jh .personal-menu-list .btn:before{content:'';width:18px;height:18px;background-image:url('/web/passkok/static/header-pc-sprite.png')}
.jh .personal-menu-list .btn-login:before{background-position:-109px -26px}
.jh .personal-menu-list .btn-orderinquiry:before{background-position:-149px -26px}
.jh-mo-gnb{display:none}

/* 원본은 min-width 1280px 고정이다. 1101~1279px 에서는 좌우 여백·메뉴 간격만 줄여 한 줄을 유지한다. */
@media(max-width:1279px) and (min-width:1101px){
  .jh .jh-pc{padding-left:24px;padding-right:24px}
  .jh .gnb .gnb-list{gap:20px}
  .jh .gnb .gnb-list a{font-size:20px}
  .jh .etc-menu-list{gap:20px}
}

/* 모바일 — 상단 56px 헤더는 스크롤되고 아래 메뉴 줄(48px)만 상단에 붙는다 */
@media(max-width:1100px){
  :root{--header-h:49px}
  .jh{position:relative;z-index:auto;border-bottom:0}
  .jh .jh-pc{display:none}
  .jh .jh-mo{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;position:relative;height:56px}
  .jh .jh-mo .logo{display:block;width:110px;height:20px;font-size:0;background:url('/web/passkok/static/header-mobile-sprite.svg') no-repeat 0 -28px;transform:translateX(20px)}
  .jh .jh-mo .btn_customAI{overflow:inherit;display:flex;align-items:center;gap:2px;position:absolute;top:15px;right:54px;height:27px;padding:0 8px;border:1px solid #63a1ff;font-size:13px;color:#0066ff;font-weight:600;line-height:1;border-radius:5px;box-sizing:border-box}
  .jh .jh-mo .btn_customAI::before{content:'';display:inline-block;width:16px;height:16px;background:url('/web/passkok/static/header-mobile-star.png') no-repeat center;background-size:contain}
  .jh .jh-mo .btn_customAI::after{content:'BETA';display:flex;align-items:center;position:absolute;top:-12px;right:-8px;height:16px;padding:0 6px;background:#63a1ff;font-size:11px;color:#fff;font-weight:500;letter-spacing:0;border-radius:8px}
  .jh .jh-mo .btn-mypage{display:flex;justify-content:center;align-items:center;position:relative;width:46px;height:56px;margin-right:7px;font-size:0}
  .jh .jh-mo .btn-mypage:before,.jh .jh-mo .btn-mypage:after{content:'';position:absolute;width:20px;box-sizing:border-box}
  .jh .jh-mo .btn-mypage:before{height:16px;border-top:2px solid #202020;border-bottom:2px solid #202020}
  .jh .jh-mo .btn-mypage:after{border-top:2px solid #202020}

  .jh-mo-gnb{display:block;position:sticky;z-index:100;top:0;border-bottom:1px solid #eaeaea;background-color:#fff}
  .jh-mo-gnb.sticky{box-shadow:0 5px 5px rgba(0,0,0,.05)}
  .jh-mo-gnb .gnb-list{display:flex;justify-content:space-between;margin:0 5%;background-color:#fff;overflow:visible;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none}
  .jh-mo-gnb .gnb-list::-webkit-scrollbar{display:none}
  .jh-mo-gnb .gnb-list>li a{display:flex;justify-content:center;align-items:center;position:relative;height:48px;font-weight:700;font-size:18px;color:#202020;white-space:nowrap;padding:0 8px;scroll-snap-align:start}
  .jh-mo-gnb .gnb-list>li a[aria-current]{color:#63a1ff}
  .jh-mo-gnb .gnb-list>li a[aria-current]::after{content:'';position:absolute;bottom:0;width:calc(100% - 16px);height:2px;background-color:#63a1ff}
  .jh-mo-gnb .btn{display:none;justify-content:center;align-items:center;position:absolute;top:0;width:58px;height:48px;padding:0;border:0;font-size:0;background-color:transparent;cursor:pointer}
  .jh-mo-gnb .btn:before,.jh-mo-gnb .btn:after{content:'';position:absolute}
  .jh-mo-gnb .btn:before{width:20px;height:20px;border:1px solid #ededed;border-radius:50%;background:#fff}
  .jh-mo-gnb .btn:after{width:12px;height:12px;background:url('/web/passkok/static/header-mobile-ico.svg') no-repeat -56px -72px}
  .jh-mo-gnb .btn-prev{left:0;background-image:linear-gradient(to right,#fff 80%,rgba(255,255,255,0))}
  .jh-mo-gnb .btn-next{right:0;background-image:linear-gradient(to left,#fff 80%,rgba(255,255,255,0))}
  .jh-mo-gnb .btn-prev:after{transform:rotate(180deg)}
  .jh-mo-gnb .gnb-list.end~.btn-prev,.jh-mo-gnb .gnb-list.center~.btn-prev,.jh-mo-gnb .gnb-list.start~.btn-next,.jh-mo-gnb .gnb-list.center~.btn-next{display:flex}
}
