/* =========================================================
   ========================================================= */

/* 1. 导航项基础定位：保持与原网站在同一水平线 */
.wc-nav-item {
    position: relative !important;
    display: inline-block !important; /* 确保与原有li标签排版兼容 */
}

/* 2. 主导航链接样式：适配浅蓝色导航条 */
.wc-nav-item > a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 20px !important;
    height: 40px !important; /* 根据图二导航栏高度自适应，通常为40px-45px左右 */
    color: #333333 !important; /* 图二默认状态下看起来是深灰色文字 */
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: bold !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

/* 3. 主导航悬停/激活状态：完全复刻图二中“直播首页”的白底红字效果 */
.wc-nav-item:hover > a,
.wc-nav-item.wc-active > a {
    background-color: #ffffff !important; /* 纯白背景 */
    color: #e60012 !important; /* 醒目的红色文字 */
}

/* 4. 纯 CSS 绘制的小箭头 */
.wc-arrow {
    display: inline-block !important;
    margin-left: 6px !important;
    border-top: 5px solid #555555 !important; /* 默认深灰箭头 */
    border-left: 4px solid transparent !important;
    border-right: 4px solid transparent !important;
    transition: all 0.3s ease !important;
    margin-top: 2px !important;
}

/* 鼠标悬浮时：箭头翻转 180 度，且颜色随着文字一起变红 */
.wc-nav-item:hover .wc-arrow {
    transform: rotate(180deg) !important;
    border-top-color: #e60012 !important; 
}

/* ================= 5. 下拉菜单面板 ================= */
.wc-dropdown {
    position: absolute !important;
    top: 100% !important; /* 紧贴主导航底部 */
    left: 50% !important;
    transform: translateX(-50%) !important; /* 完美水平居中 */
    background-color: #ffffff !important; /* 纯白底色 */
    min-width: 220px !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    /* 边框颜色吸取自图二的浅蓝色导航背景，使视觉产生连贯性 */
    border: 1px solid #b3d4ec !important; 
    border-top: none !important; /* 顶部无边框，与白底红字的主标签无缝衔接 */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08) !important;
    
    /* 采用 Grid 实现图一中的完美双列排版 */
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 8px !important;
    row-gap: 8px !important;

    /* 悬浮渐显平滑动画 */
    opacity: 0 !important;
    visibility: hidden !important;
    margin-top: 15px !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    z-index: 99999 !important; /* 保证层级最高，绝不被下方轮播图遮挡 */
}

/* 触发下拉框显示 */
.wc-nav-item:hover .wc-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 0 !important;
}

/* 6. 下拉菜单内的子链接 */
.wc-dropdown a {
    display: block !important;
    color: #444444 !important; /* 深灰色文字 */
    text-decoration: none !important;
    font-size: 13px !important;
    text-align: center !important;
    padding: 8px 0 !important;
    border-radius: 2px !important;
    background-color: #f8f9fa !important; /* 极浅的灰色底块，区分每个点击区域 */
    transition: all 0.2s ease !important;
    font-weight: normal !important;
    line-height: normal !important;
}

/* 子菜单悬停：反转为红底白字，充满运动激情 */
.wc-dropdown a:hover {
    background-color: #e60012 !important; /* 红色背景 */
    color: #ffffff !important; /* 白色文字 */
    font-weight: bold !important;
}