a {
    text-decoration: none !important;
}

/* 소셜 미디어 아이콘 스타일 */
.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 20px;
    flex-shrink: 0; /* 줄바꿈 방지 */
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f8f9fa;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    flex-shrink: 0; /* 줄바꿈 방지 */
}

.social-icon:hover {
    background-color: #e9ecef;
    color: #495057;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    display: block; /* SVG 노출 보장 */
}

/* 각 아이콘별 색상 */
.newsletter-icon:hover {
    background-color: #007bff;
    color: white;
}

.instagram-icon:hover {
    background-color: #E4405F;
    color: white;
}

.youtube-icon:hover {
    background-color: #FF0000;
    color: white;
}

/* 헤더 레이아웃 개선 */
#header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap; /* 줄바꿈 방지 */
    position: relative;
}

#header .gnb {
    flex: 1;
    margin: 0 20px;
    display: flex;
    justify-content: center;
}

#header .social-icons {
    position: absolute;
    right: 80px; /* 언어 선택 메뉴 왼쪽에 배치 */
    top: 50%;
    transform: translateY(-50%);
}

#header .lang.labio-header-lang {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* 네비게이션 섹션에서 언어 선택 메뉴 숨기기 */
#nav .lang {
    display: none;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    /* 모바일에서 네비게이션 메뉴 숨기기 */
    #header .gnb {
        display: none !important;
    }
    
    .social-icons {
        gap: 8px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
    
    #header .inner {
        flex-wrap: wrap;
        position: relative;
        justify-content: center;
    }
    
    #header .social-icons {
        position: absolute;
        right: 70px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    #header .lang.labio-header-lang {
        position: absolute;
        right: 52px;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (max-width: 480px) {
    /* 소형 모바일에서도 네비게이션 메뉴 숨기기 */
    #header .gnb {
        display: none !important;
    }
    
    .social-icons {
        gap: 6px;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
    }
    
    .social-icon svg {
        width: 16px;
        height: 16px;
    }
    
    #header .inner {
        justify-content: center;
    }
    
    #header .social-icons {
        right: 60px;
    }
    
    #header .lang.labio-header-lang {
        right: 48px;
    }
}
