/* 영문 헤더 전용 스타일 */

/* 영문 헤더 네비게이션 메뉴 스타일 조정 */
.header-2-nav__list {
    display: flex;
    justify-content: flex-start; /* 왼쪽 정렬로 변경 */
    gap: 40px; /* 메뉴 간격 조정 - 메뉴가 많으므로 간격 줄임 */
    width: auto; /* 자동 폭 설정 */
}

.header-2-nav__item {
    flex: none; /* flex-grow 제거하여 자동 크기 조정 방지 */
    display: flex;
    align-items: center; /* 상하 가운데 정렬 */
}

.header-2-nav__link {
    padding: 15px 20px; /* 패딩 조정 */
    white-space: nowrap; /* 텍스트 줄바꿈 방지 */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px; /* 최소 높이 설정 */
}

/* 영문 헤더 버튼 스타일 조정 */
.header__buttons {
    gap: 15px; /* 버튼 간격 조정 */
}

.header__btn {
    padding: 12px 24px; /* 버튼 패딩 조정 */
    min-width: auto; /* 최소 너비 제거 */
    white-space: nowrap; /* 텍스트 줄바꿈 방지 */
}

/* 영문 헤더 서브메뉴 스타일 조정 */
.header-2-nav__submenu-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    z-index: 1000;
    gap: 45px;
}

.header-2-nav__submenu {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    max-width: 1200px;
    flex: none;
}

.header-2-nav__submenu li {
  width: 106%;
}

.header-2-nav__sublink {
    padding: 10px 20px;
    color: #666;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.header-2-nav__sublink:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

/* 사이트맵에서 사용하지 않는 메뉴 숨기기 */
.sitemap-section:has(h4:contains("Events")),
.sitemap-section:has(h4:contains("Community")),
.sitemap-section:has(h4:contains("Members")) {
    display: none;
}

/* 미디어 쿼리 - 반응형 조정 */
@media (max-width: 1200px) {
    .header-2-nav__list {
        gap: 30px; /* 메뉴가 많으므로 간격 줄임 */
    }
    
    .header-2-nav__link {
        padding: 15px 16px;
    }
}

@media (max-width: 992px) {
    .header-2-nav__list {
        gap: 20px;
    }
    
    .header-2-nav__link {
        padding: 15px 12px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .header-2-nav__list {
        flex-direction: column;
        gap: 0;
    }
    
    .header-2-nav__item {
        width: 100%;
    }
    
    .header-2-nav__link {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        min-height: 50px;
    }
}