/* ========== 天蓝色导航样式 - 全ws_前缀版本 ========== */

/* 保持整条导航背景不变 */
.ws_header,
.ws_header.ws_opaque,
.ws_header-nav,
#ws_navBox {
    background: transparent !important;
}

/* ========== 整体容器 ========== */
.ws_nav-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* ========== LOGO样式 ========== */
.ws_logobox {
    display: flex !important;
    align-items: center !important;
}

.ws_logobox .ws_logo {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.ws_logobox .ws_logo a {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

/* 正常显示的LOGO */
.ws_logobox .ws_logo .ws_logoa {
    height: 60px !important;
    width: auto !important;
    max-height: 60px !important;
    object-fit: contain !important;
    display: block !important;
}

/* 滚动时显示的LOGO - 默认隐藏 */
.ws_logobox .ws_logo .ws_logob {
    height: 40px !important;
    width: auto !important;
    max-height: 40px !important;
    object-fit: contain !important;
    display: none !important;
}

/* 滚动固定时切换LOGO */
.ws_header.ws_nav-fixed .ws_logobox .ws_logo .ws_logoa {
    display: none !important;
}

.ws_header.ws_nav-fixed .ws_logobox .ws_logo .ws_logob {
    display: block !important;
}

/* ========== 菜单栏区域 ========== */
.ws_navbar-light {
    display: flex !important;
    align-items: center !important;
}

.ws_navbar-light .ws_navbar {
    background: rgba(43, 108, 176, 0.75) !important;
    border-radius: 6px !important;
    padding: 0 8px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    list-style: none !important;
}

/* 页面滚动时 - 菜单栏稍微加深 */
.ws_header.ws_nav-fixed .ws_navbar-light .ws_navbar {
    background: rgba(43, 108, 176, 0.9) !important;
}

/* 一级菜单项 */
.ws_navbar > li {
    position: relative !important;
    list-style: none !important;
}

/* 一级菜单文字 */
.ws_navbar > li > a {
    color: #ffffff !important;
    font-weight: 500 !important;
    padding: 0 16px !important;
    line-height: 70px !important;
    display: block !important;
    transition: all 0.3s ease !important;
    border-radius: 6px !important;
    text-decoration: none !important;
}

/* 当前页面激活菜单 - 加粗白色 */
.ws_navbar > li.ws_active > a {
    font-weight: 700 !important;
    background: rgba(255, 255, 255, 0.2) !important;
}

/* 一级菜单悬停高亮 - 橙黄色 */
.ws_navbar > li:hover > a {
    background: rgba(255, 193, 7, 0.85) !important;
    color: #fff !important;
}

/* ========== 二级菜单 ========== */
.ws_navbar li ul {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 220px !important;
    background: #EBF5FF !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    padding: 8px 0 !important;
    z-index: 1000 !important;
    border-top: 2px solid #FF8C00 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
}

.ws_navbar li:hover ul {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.ws_navbar li ul li {
    display: block !important;
    width: 100% !important;
    background: #EBF5FF !important;
    list-style: none !important;
}

.ws_navbar li ul li a {
    color: #2B6CB0 !important;
    line-height: 44px !important;
    padding: 0 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    display: block !important;
    transition: all 0.25s ease !important;
    border-bottom: 1px solid rgba(43, 108, 176, 0.1) !important;
    background: #EBF5FF !important;
    text-decoration: none !important;
}

.ws_navbar li ul li:last-child a {
    border-bottom: none !important;
}

.ws_navbar li ul li:hover a {
    background: #FF8C00 !important;
    color: #ffffff !important;
    padding-left: 26px !important;
}

/* 三级菜单 */
.ws_navbar li ul li ul {
    top: 0 !important;
    left: 100% !important;
    background: #EBF5FF !important;
    border-radius: 0 8px 8px 8px !important;
    margin-top: -8px !important;
    border-top: none !important;
    border-left: 2px solid #FF8C00 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(-10px) !important;
}

.ws_navbar li ul li:hover ul {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

/* ========== 搜索按钮 ========== */
.ws_sbtn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 10px !important;
}

.ws_sbtn i {
    color: #2B6CB0 !important;
    font-size: 18px !important;
    cursor: pointer !important;
}

/* ========== 用户信息 ========== */
.ws_user-info {
    display: flex !important;
    align-items: center !important;
    margin-left: 10px !important;
}

.ws_user-info span,
.ws_user-info i {
    color: #2B6CB0 !important;
}

/* ========== 滚动固定时的样式 ========== */
.ws_header.ws_nav-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    padding: 8px 0 !important;
}

.ws_header.ws_nav-fixed .ws_navbar > li > a {
    line-height: 56px !important;
}

.ws_header.ws_nav-fixed .ws_logobox .ws_logo .ws_logob {
    height: 36px !important;
    width: auto !important;
    max-height: 36px !important;
}

/* body留白 */
body {
    transition: padding-top 0.3s ease;
}

/* 移动端简单适配 */
@media (max-width: 991px) {
    .ws_navbar-light .ws_navbar {
        display: none !important;
        position: absolute !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        background: #2B6CB0 !important;
        flex-direction: column !important;
        padding: 20px !important;
    }
    
    .ws_navbar-light .ws_navbar.show {
        display: flex !important;
    }
    
    .ws_navbar > li > a {
        line-height: 50px !important;
    }
    
    .ws_navbar li ul {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none !important;
    }
    
    .ws_navbar li:hover ul {
        display: block !important;
    }
    
    .moble {
        display: block !important;
    }
}

@media (min-width: 992px) {
    .moble {
        display: none !important;
    }
}