/* ============================================================================
   [V2] 통합 가이드 페이지 (guide.php) 전용 스타일
   - 상단 4개 아이콘 메뉴 (sticky 고정)
   - 4개 섹션 구분
   - 요금안내 표 (standard_fee 통합)
   ============================================================================ */

/* ----------------------------------------------------------------
   1. 상단 가이드 네비 (sticky)
   ---------------------------------------------------------------- */
.guide-nav-section {
    /* sticky 가 동작하려면 부모/조상에 overflow:hidden 이 없어야 함.
       page-sub.css 의 .section 이 이 조건을 깨면 아래에서 강제로 풀어준다. */
    overflow: visible;
}

.guide-nav-section .contents {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 15px;
}

.guide-nav {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E5E5E5;
}

.guide-nav-list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.guide-nav-item {
    flex: 1;
    text-align: center;
    border-bottom: 3px solid transparent;
    transition: border-color 0.2s ease;
}

.guide-nav-item:hover {
    border-bottom-color: #E52F45;
}

.guide-nav-item.active {
    border-bottom-color: #E52F45;
}

.guide-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 10px 14px;
    text-decoration: none;
    color: #666;
    transition: color 0.2s ease;
}

.guide-nav-item.active .guide-nav-link,
.guide-nav-item:hover .guide-nav-link {
    color: #E52F45;
}

.guide-nav-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 8px;
}

.guide-nav-ico img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* active/hover 상태일 때 아이콘 색조 보정 (이미지 자체가 단색이면 filter로 빨갛게) */


.guide-nav-text {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.3px;
}

/* ----------------------------------------------------------------
   2. 섹션 공통
   ---------------------------------------------------------------- */
.guide-section {
    padding-top: 50px;        /* sticky 메뉴 높이 보정 + 여유 */
    margin-top: -40px;        /* 앵커 점프 시 메뉴에 가려지지 않게 */
    /* 위 두 값은 JS의 navHeight 보정과 함께 동작함 */
}

.guide-section-title {
    text-align: center;
    padding: 30px 0 10px;
}

.guide-section-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}

.guide-section-title p {
    font-size: 15px;
    color: #777;
    margin: 0;
}

/* ----------------------------------------------------------------
   3. 모바일 대응
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
    .guide-nav-link {
        padding: 12px 4px 10px;
    }
    .guide-nav-ico {
        width: 40px;
        height: 40px;
        margin-bottom: 4px;
    }
    .guide-nav-text {
        font-size: 12px;
    }
    .guide-section-title h2 {
        font-size: 22px;
    }
    .guide-section-title p {
        font-size: 13px;
    }
}

/* ----------------------------------------------------------------
   4. 요금안내 섹션 (standard_fee 표) - 가이드 페이지에서는 토글 없이 상시 노출
   ※ standard_fee.css 의 .standard-fee-* 스타일 함께 로드 필요
   ---------------------------------------------------------------- */
.guide-fee-box {
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    background-color: #FFFFFF;
}

.guide-fee-box .standard-fee-body {
    padding: 20px;
}