/* NV1 공용 헤더 — 모든 페이지가 이 파일 하나만 본다. 여기서만 수정할 것. */
:root{
  --nv1-h: 60px;                       /* 헤더 높이 */
  --nv1-sub: 46px;                     /* 2단 바 높이 */
  --nv1-pad: 56px;                     /* 사이트 공통 좌우 여백 */
  --nv1-max: 1200px;                   /* 사이트 공통 콘텐츠 폭 */
  --nv1-outer: calc(1200px + 112px);   /* 콘텐츠폭 + 좌우여백 (calc 안전) */
  --nv1-bg: #fbfbfa;
  --nv1-ink: #101214;
  --nv1-meta: #6c7076;
  --nv1-line: #e4e4e0;
  --nv1-amber: #B06D15;
}
#nv1-header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(251,251,250,.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--nv1-line);
}
#nv1-header .nv1-in{
  box-sizing: border-box;
  max-width: var(--nv1-outer);
  margin: 0 auto; padding: 0 var(--nv1-pad);
  display: flex; align-items: center; gap: clamp(16px,3vw,38px);
  height: var(--nv1-h);
}
#nv1-header a.nv1-brand{
  font-family: 'Michroma', Pretendard, sans-serif;
  font-size: 15px; letter-spacing: .04em; line-height: 1;
  color: var(--nv1-ink); text-decoration: none; margin-right: auto;
}
#nv1-header a.nv1-item{
  font-family: 'Michroma', Pretendard, sans-serif;
  font-size: 11px; letter-spacing: .14em; line-height: 1;
  color: var(--nv1-meta); text-decoration: none;
  padding: 6px 0; white-space: nowrap;
  border-bottom: 1.5px solid transparent;
  transition: color .18s;
}
#nv1-header a.nv1-item:hover{ color: var(--nv1-ink); }
#nv1-header a.nv1-item.on{ color: var(--nv1-ink); border-bottom-color: var(--nv1-ink); }

/* 헤더 바로 아래 붙는 2단 바(언어바 / 소메뉴) 공통 위치 */
.nv1-subbar{
  position: fixed; top: var(--nv1-h); left: 0; right: 0; z-index: 190;
  height: var(--nv1-sub); display: flex; align-items: center;
  background: rgba(251,251,250,.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--nv1-line);
}
.nv1-subbar-in{ width: 100%; box-sizing: border-box; max-width: var(--nv1-outer); margin: 0 auto; padding: 0 var(--nv1-pad); }

@media(max-width:1000px){
  :root{ --nv1-pad: 32px; --nv1-outer: calc(1200px + 64px); }
}
@media(max-width:600px){
  :root{ --nv1-h: 54px; --nv1-sub: 46px; --nv1-pad: 20px; --nv1-outer: calc(1200px + 40px); }
  #nv1-header .nv1-in{ gap: 14px; overflow-x: auto; scrollbar-width: none; }
  #nv1-header .nv1-in::-webkit-scrollbar{ display: none; }
}

/* 고정 헤더+2단바 높이만큼 본문 자리 확보 (JS 없이 즉시 적용) */
body{ padding-top: calc(var(--nv1-h) + var(--nv1-sub)) !important; }
