/* ============================================================
   commonsub.css (SUB PAGE TOTAL RECOVERY MASTER)
   - 최신 버전: v1.38 (LNB & Navi Recovery)
   - 특징: 헤더 반투명 유지 + 깨진 LNB/네비게이션 레이아웃 복구
   ============================================================ */

/* 1. CORE & RESET */
html,body{
  font-family:'Pretendard', sans-serif;
  font-size:16px;
  line-height:1.6;
  color:#222;
  background:#fff;
  overflow-x:hidden;
}

/* 2. HEADER BASE (Top=0 반투명 디자인) */
/* [기존 코드 8~22라인 부근] */
#siteHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 300;
  
  /* ✅ 바로 이 부분의 rgba 수치를 조절하세요! */
  background: rgba(10, 26, 47, 0.65) !important; 
  
  /* ✅ 뒤쪽 영상이 얼마나 뭉개질지(유리 효과)는 여기서 조절합니다 */
  backdrop-filter: blur(5px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(15px) saturate(180%) !important;
  
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: .3s;
}

/* 스크롤 시 JS에 의해 추가되는 클래스 */
#siteHeader.scrolled {
  background: rgba(10, 26, 47, 0.95);
}

/* 3. TOP UTIL (가입안내 / 회원가입 / 로그인) */
#siteHeader .top-util-row{
  width:100%;
  height:48px;
  background: rgba(0,0,0,0.45);
}

#siteHeader .top-util-inner{
  max-width:1280px;
  margin:0 auto;
  padding:0 24px;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:15px;
  font-size:14px;
  color:#fff;
}

#siteHeader .top-util-inner a{
  color:#fff;
  text-decoration:none;
}

/* 4. NAV / GNB MENU */
.nav-item{
  font-size:20px;
  font-weight:700;
  display:flex;
  align-items:center;
  gap:.25rem;
  cursor:pointer;
  white-space:nowrap;
  color:#fff;
  padding:28px 0;
}

.group{ position:relative; }

/* 5. SUBMENU (GNB 하부 드롭다운) */
.submenu{
  position:absolute;
  left:50%;
  top:90%;
  transform:translateX(-50%) translateY(5px);
  background:rgba(10,26,47,0.98);
  border-top:2px solid #4da3ff;
  border-radius:0 0 .5rem .5rem;
  box-shadow:0 10px 30px rgba(0,0,0,.5);
  min-width:210px;
  opacity:0;
  visibility:hidden;
  transition:.25s ease;
  z-index:9999;
}

.submenu::before{
  content:"";
  position:absolute;
  top:-15px;
  left:0;
  width:100%;
  height:15px;
}

.submenu a{
  display:block;
  padding:.85rem 1rem;
  font-size:.95rem;
  color:#d0d7e0;
  text-align:center;
  white-space:nowrap;
  border-bottom:1px solid rgba(255,255,255,.05);
  transition:.2s;
  text-decoration: none;
}
.submenu a:last-child{ border-bottom:none; }
.submenu a:hover{
  color:#fff;
  background:rgba(77,163,255,.15);
}

.group:hover .submenu{
  opacity:1;
  visibility:visible;
  transform:translateX(-50%) translateY(0);
}

/* 6. LOGO */
.logo-wrap{
  display:block;
  width:360px;
  height:90px;
  background:url('/images/logo.png') no-repeat center;
  background-size:contain;
}

/* 7. HERO : 헤더와 겹치기 (오버레이 구조) */
.hero-product{
  position:relative;
  height:320px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  z-index:1;
  width:100vw;
  max-width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  /* 헤더 높이만큼 강제로 끌어올림 */
  margin-top:-138px;
}

.hero-product .hero-media{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 30%;
  z-index:1;
}

.hero-product::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.4);
  z-index:5;
}

.hero-content{
  position:relative;
  z-index:10;
  padding-top:80px;
}
.hero-content h1{
  font-size:3.5rem;
  font-weight:800;
  text-shadow:0 4px 20px rgba(0,0,0,.5);
}

/* 8. LNB BAR (본문 내 2차 메뉴 선택창) */
.lnb-bar {
  border-top:1px solid #ddd;
  border-bottom:1px solid #ddd;
  background:#fafafa;
  position:relative;
  z-index:10;
}

.lnb-bar .max-w-6xl {
  display:flex;
  align-items:center;
  gap:12px;
}

.select-wrap {
  position:relative;
  min-width:180px;
  display: inline-block;
}

.lnb-select {
  width:100%;
  height:44px;
  padding:0 35px 0 15px;
  border:1px solid #ccc;
  background:#fff;
  border-radius:4px;
  font-size:15px;
  font-weight:500;
  color:#333;
  appearance:none;
  -webkit-appearance:none;
  cursor:pointer;
}

.select-wrap .arrow {
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  font-size:12px;
  color:#666;
  pointer-events:none;
}

/* 9. PAGE TITLE & TEXT NAVI (네비게이션 텍스트) */
.page-title-section {
  padding:2.5rem 0 1.5rem;
  background:#fff;
  border-bottom:1px solid #eee;
}

.page-title-section .inner {
  max-width:1280px;
  margin:0 auto;
  padding:0 24px;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
}

.page-title-section .title-box {
  border-left: 5px solid #0a1a2f;
  padding-left: 20px;
}

.page-title-section h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #111;
  margin:0;
  line-height: 1;
}

.page-title-section .text-navi {
  font-size:14px;
  color:#888;
  display:flex;
  align-items:center;
  gap:8px;
}

.page-title-section .text-navi i {
  font-size:11px;
  color:#ccc;
}

/* 10. SUB WRAPPER (본문 시작점 조정) */
.sub-wrapper{
  padding-top:138px;
}

/* 11. RESPONSIVE (반응형 대응) */
@media (max-width:1024px){
  .logo-wrap {
    width:220px;
    height:60px;
  }

  .sub-wrapper {
    padding-top:108px;
  }

  .hero-product {
    height:250px;
    margin-top:-108px;
  }

  .hero-content h1 {
    font-size:2.2rem;
  }

  .page-title-section .inner {
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  .page-title-section h2 {
    font-size:1.8rem;
  }

  #siteHeader .top-util-row {
    height:44px;
  }
}