/* 브레드크럼 영역 - 흰색 배경 */
.header-bottom {
    background: #ffffff;
    padding: 14px 40px;
    border-top: 1px solid #e5e7eb;
}

/* 브레드크럼 컨테이너 */
.breadcrumb {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 14px;
}

/* Home 링크 */
.breadcrumb a:first-child {
    display: inline-flex;
    align-items: center;
    color: #0066cc;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 6px;
    background: #f0f7ff;
    transition: all 0.2s ease;
}



.breadcrumb a:first-child:hover {
    background: #e0efff;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 102, 204, 0.1);
}

/* 일반 링크 */
.breadcrumb a {
    color: #4b5563;
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.breadcrumb a:hover {
    color: #0066cc;
    background: #f9fafb;
    transform: translateY(-1px);
}

/* 구분자 */
.breadcrumb .separator {
    color: #d1d5db;
    margin: 0 8px;
    font-size: 14px;
    font-weight: 300;
    user-select: none;
}

/* 현재 페이지 */
.breadcrumb .current {
    color: #111827;
    padding: 7px 14px;
    font-weight: 600;
    background: #f3f4f6;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

/* ========================================
   태블릿 (1024px 이하)
======================================== */

@media (max-width: 1024px) {

    
    .header-bottom {
        padding: 12px 30px;
    }
    
    .breadcrumb {
        font-size: 13px;
    }

}

/* ========================================
   모바일 (768px 이하)
======================================== */

@media (max-width: 768px) {

    
    .header-bottom {
        padding: 10px 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* 스크롤바 숨김 */
    .header-bottom::-webkit-scrollbar {
        display: none;
    }
    
    .header-bottom {
        scrollbar-width: none;
    }
    
    .breadcrumb {
        font-size: 12px;
        white-space: nowrap;
        min-width: min-content;
        padding: 2px 0;
    }
    
    /* Home 링크 모바일 */
    .breadcrumb a:first-child {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .breadcrumb a:first-child::before {
        font-size: 13px;
        margin-right: 4px;
    }
    
    /* 일반 링크 모바일 */
    .breadcrumb a {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    /* 구분자 모바일 */
    .breadcrumb .separator {
        margin: 0 6px;
        font-size: 12px;
    }
    
    /* 현재 페이지 모바일 */
    .breadcrumb .current {
        padding: 6px 10px;
        font-size: 12px;
    }
    


/* ========================================
   작은 모바일 (480px 이하)
======================================== */

@media (max-width: 480px) {

    
    .header-bottom {
        padding: 8px 15px;
    }
    
    .breadcrumb {
        font-size: 11px;
    }
    
    .breadcrumb a:first-child {
        padding: 5px 8px;
    }
    
    .breadcrumb a:first-child::before {
        font-size: 12px;
        margin-right: 3px;
    }
    
    .breadcrumb a {
        padding: 5px 8px;
    }
    
    .breadcrumb .separator {
        margin: 0 4px;
        font-size: 11px;
    }
    
    .breadcrumb .current {
        padding: 5px 8px;
    }
    

}

/* ========================================
   가로 스크롤 힌트 (모바일)
======================================== */

@media (max-width: 768px) {
    .header-bottom::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 30px;
        background: linear-gradient(to left, 
            rgba(255, 255, 255, 1) 0%, 
            rgba(255, 255, 255, 0) 100%
        );
        pointer-events: none;
    }
    
    /* 스크롤 끝에 도달하면 그라데이션 숨김 */
    .header-bottom.scrolled-end::after {
        display: none;
    }
}