/* global-nav.css — 모든 페이지 통일 네비게이션 (v1, 2026-04-30)
   사용자 영구 지시: "모든페이지의 네이게이션 통일하라"
*/
.gnav{
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid #E2E8F0;
  font-family: var(--ff, 'Pretendard Variable', sans-serif);
}
.gnav__inner{
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  gap: 16px;
}
.gnav__logo{
  font-family: var(--ff-serif, 'Noto Serif KR', serif);
  font-size: 17px; font-weight: 700; color: #1A1A1A;
  text-decoration: none; letter-spacing: -.01em;
  flex-shrink: 0;
}
.gnav__logo:hover{ color: #a4541a; }
.gnav__links{
  display: flex; gap: 18px; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.gnav__link{
  font-size: 14px; font-weight: 500; color: #475569;
  text-decoration: none; padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.gnav__link:hover{ color: #a4541a; border-bottom-color: #a4541a; }
.gnav__link.is-active{ color: #a4541a; border-bottom-color: #a4541a; }
.gnav__cta{
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 700; color: #fff;
  background:#a4541a; padding: 8px 14px; border-radius: 6px;
  text-decoration: none; transition: background .15s;
  white-space: nowrap;
}
.gnav__cta:hover{ background: #7a4317; }
.gnav__toggle{
  display: none;
  background: transparent; border: 1px solid #C7D2FE;
  width: 36px; height: 36px; border-radius: 6px;
  font-size: 18px; cursor: pointer; line-height: 1;
}
@media(max-width: 760px){
  .gnav__toggle{ display: inline-flex; align-items: center; justify-content: center; }
  .gnav__links{
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid #E2E8F0;
    padding: 14px 20px; gap: 4px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: all .18s ease;
  }
  .gnav__links.is-open{ transform: translateY(0); opacity: 1; pointer-events: auto; }
  .gnav__link{ padding: 10px 0; font-size: 15px; border-bottom: 1px solid #f0ead9; }
  .gnav__link:last-of-type{ border-bottom: none; }
  .gnav__cta{ margin-top: 8px; justify-content: center; }
}

/* 옛 nav 자동 숨김 (글로벌 nav와 중복 방지) — 2026-04-30
   레거시 페이지나 자동화로 박혀 있는 <nav class="nav"> 블록을 시각적으로 차단.
   .gnav가 같은 페이지에 있을 때만 옛 .nav를 숨김. .gnav 없는 페이지는 옛 nav 보존. */
body:has(> nav.gnav) > nav.nav { display: none !important; }

