/* css/index-menu.css */

/* 1. 父级 li 强制相对定位 */
#nav li {
    position: relative !important; 
}

/* 2. 下拉 ul 容器：半透明底色 + 磨砂玻璃 */
#nav li ul {
    display: none; 
    position: absolute !important;
    top: 100% !important; 
    left: 0 !important;
    width: 138px !important; 
    /* 【核心修改】使用 rgba，最后一位 0.7 代表透明度 */
    background-color: rgba(3, 103, 166, 0.7) !important; 
    /* 【核心修改】开启背景模糊（磨砂效果） */
    backdrop-filter: blur(10px) !important; 
    -webkit-backdrop-filter: blur(10px) !important; /* 兼容苹果设备 */
    z-index: 99999 !important; 
    padding: 0 !important; 
    margin: 0 !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important; 
    border-radius: 0 0 6px 6px !important; 
    border: none !important; 
    box-sizing: border-box !important;
}

/* 3. 显示逻辑 */
#nav li:hover ul {
    display: block !important;
}

/* 4. 下拉 li：强制块级，无浮动，无边框 */
#nav li ul li {
    display: block !important;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

/* 5. 下拉 a 链接：填满整个 li，左对齐，内边距合理 */
#nav li ul li a {
    display: block !important;
    width: 100% !important;
    padding: 12px 20px !important; /* 强制内边距 */
    color: #fff !important;
    font-size: 14px !important;
    text-align: center !important; 
    text-decoration: none !important;
    transition: all 0.2s ease !important; 
    box-sizing: border-box !important;
    background: transparent !important;
    line-height: normal !important;
}

/* 6. 悬停特效：悬停时的磨砂高光 */
#nav li ul li a:hover {
    /* 【核心修改】悬停时变成半透明的白色，透出背后的模糊景深 */
    background-color: rgba(255, 255, 255, 0.2) !important; 
    color: #fff !important;
    /* 如果你喜欢悬停变亮蓝色，可以用这个： background-color: rgba(22, 119, 255, 0.6) !important; */
}
#gongao{width:930px;height:40px;overflow:hidden;line-height:40px;font-size:16px;} 
#gongao a{margin-right:20px; color:#333;}
#gongao a:hover{ color:#F00;}
#gongao #scroll_begin, #gongao #scroll_end{display:inline;}
.gengdkfi{color:#999;}
.gengdkfi a{color:#999;}
.gengdkfi a:hover{color:#F00;}

/* 7. 公告外层左移容器 */
.notice-wrapper {
    width: 930px;
    height: 40px;
    line-height: 40px;
    margin: 0 auto;
    overflow: hidden; 
}

/* 滚动容器 */
.notice-scroll-box {
    width: 100%;
    height: 100%;
    white-space: nowrap; 
    overflow: hidden;
}

/* 内部滚动内容 */
.notice-scroll-content {
    display: inline-block;
    animation: noticeScroll 150s linear infinite;
}

/* 鼠标悬停时暂停 */
.notice-wrapper:hover .notice-scroll-content {
    animation-play-state: paused;
}

/* 定义向左滚动的动画 */
@keyframes noticeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 公告链接基础样式 */
.notice-scroll-content a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}