/**
 * pages.css — 독립 페이지용 CSS 오버라이드
 *
 * style.css의 SPA 전용 규칙(overflow:hidden 등)을 독립 페이지에서 재정의.
 */

/* SPA의 overflow:hidden을 해제 */
body.standalone-page,
body.standalone-page html {
  overflow: auto !important;
  height: auto !important;
}

/* 페이지 컨텐츠 영역 */
body.standalone-page .page-content {
  margin-top: 56px; /* 헤더 높이 */
  min-height: calc(100vh - 56px);
  padding: 0;
  overflow: auto;
}

body.standalone-page .page-content > div {
  max-width: 100%;
  margin: 0;
  padding: 48px clamp(20px, 2.5vw, 48px);
}

/* 인덱스 랜딩: 히어로가 page-content 직접 자식 → 패딩 제거 */
body.standalone-page .page-content > section.landing-hero-section {
  margin: 0;
  padding-top: 80px;
  padding-bottom: 64px;
}

/* 독립 페이지에서 .page-section은 항상 보이기 */
body.standalone-page .page-section {
  display: block !important;
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: auto !important;
}

/* 모바일 네비 (독립 페이지용) */
.mobile-nav-standalone {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: #FEF4EA;
  z-index: 199;
  padding: 8px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  flex-direction: column;
}
.mobile-nav-standalone.open {
  display: flex;
}
.mobile-nav-standalone .nav-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 24px;
  text-decoration: none;
  color: #666;
  font-size: 14px;
  border: none;
  background: none;
  font-family: 'Noto Sans KR', sans-serif;
}
.mobile-nav-standalone .nav-btn.on {
  color: #F29C68;
  font-weight: 700;
}

/* 독립 페이지 헤더의 nav-btn을 <a> 태그로 쓸 때 스타일 */
body.standalone-page .hdr-nav .nav-btn {
  text-decoration: none;
}

@media (max-width: 768px) {
  body.standalone-page .hdr-nav {
    display: none;
  }
  body.standalone-page .hamburger-btn {
    display: flex !important;
  }
}
