/* 政府网站红色风格导航和底部样式 */

/* 头部导航开始 */
.t_head {
    width: 100%;
    background: #fff;
    position: relative;
    z-index: 999;
}

.t_head_a {
    width: 100%;
    background: linear-gradient(to right, #b8292d, #c73232);
}

.t_head_top {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 36px;
    line-height: 36px;
    color: #fff;
    font-size: 14px;
}

.t_head_t_l {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
}

.t_head_t_r {
    display: flex;
    align-items: center;
}

.t_head_b {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.t_head_nav {
    width: 1200px;
    margin: 0 auto;
}

/* 导航容器 */
.c_nav {
    width: 100%;
    display: flex;
    align-items: center;
}

.c_nav:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* Logo */
.c_nav_logo {
    width: 200px;
    height: 80px;
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.c_nav_logo a {
    display: block;
}

.c_nav_logo img {
    max-width: 100%;
    max-height: 100%;
}

/* 导航菜单 */
.c_nav_nav {
    flex: 1;
    position: relative;
}

.c_nav_nav_ul {
    width: 100%;
}

.c_nav_nav_ul ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
}

.c_nav_nav_div {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #b8292d, #c73232);
}

/* 一级导航项 */
.c_nav_nav_li1 {
    position: relative;
    text-align: center;
}

.c_nav_nav_li_a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 0 20px;
    font-size: 18px;
    color: #333;
    transition: all 0.3s;
}

.c_nav_nav_li_a_hover .c_nav_nav_li_a {
    color: #c73232;
}

/* 二级导航容器 */
.c_nav_nav_li_b {
    display: none;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-radius: 4px;
    min-width: 160px;
    z-index: 100;
}

.c_nav_nav_li1:hover .c_nav_nav_li_b {
    display: block;
}

/* 二级导航项 */
.c_nav_nav_li2 {
    position: relative;
}

.c_nav_nav_li2_b {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-size: 15px;
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s;
    border-bottom: 1px solid #eee;
}

.c_nav_nav_li2_b:hover {
    background: #c73232;
    color: #fff;
}

/* 三级导航容器 */
.c_nav_nav_li3_div {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-radius: 4px;
    min-width: 160px;
}

.c_nav_nav_li2:hover .c_nav_nav_li3_div {
    display: block;
}

/* 三级导航项 */
.c_nav_nav_li_c {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.3s;
}

.c_nav_nav_li_c:hover {
    background: #c73232;
    color: #fff;
}

/* 移动端导航样式 - 默认隐藏 */
#chbnav_touch {
    display: none;
}

@media screen and (max-width: 768px) {
    #chbnav_touch {
        display: block;
    }
    
    .t_head {
        display: none;
    }
    
    .chbnav_touch_top {
        background: linear-gradient(to right, #b8292d, #c73232);
        padding: 10px 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .chbnav_touch_top_list {
        width: 30px;
        height: 30px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        cursor: pointer;
    }
    
    .chbnav_touch_top_list_a {
        width: 100%;
        height: 4px;
        background: #fff;
        border-radius: 2px;
    }
    
    .chbnav_touch_top_logo img {
        height: 40px;
    }
    
    .chbnav_touch_nav_box {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.8);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .chbnav_touch_nav_box.chbnav_select {
        display: block;
    }
    
    .chbnav_touch_nav_title {
        background: #fff;
        padding: 20px;
        min-height: 100vh;
    }
    
    .chbnav_touch_navli {
        border-bottom: 1px solid #eee;
        position: relative;
    }
    
    .chbnav_touch_navli a {
        display: block;
        padding: 15px 0;
        color: #333;
        font-size: 16px;
    }
    
    .chbnav_touch_erji {
        display: none;
        padding: 10px 0 10px 20px;
        background: #f5f5f5;
    }
    
    .chbnav_touch_erji a {
        display: block;
        padding: 10px 0;
        color: #666;
        font-size: 14px;
        border-bottom: 1px solid #eee;
    }
    
    .chbnav_touch_nav_title > img {
        position: absolute;
        right: 20px;
        top: 20px;
        cursor: pointer;
    }
}

/* 底部样式 */
.s_footer {
    width: 100%;
    background: #323232;
    padding: 40px 0 30px;
    margin-top: 20px;
}

.s_footerz {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    color: #fff;
}

.s_footerz a {
    color: #ccc;
    transition: color 0.3s;
}

.s_footerz a:hover {
    color: #fff;
}

.s_fb_l {
    width: 300px;
}

.s_fb_l01 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.s_fb_l02 {
    display: flex;
    margin-bottom: 10px;
}

.s_fb_l02_l {
    width: 60px;
    color: #999;
}

.s_fb_l02_c {
    flex: 1;
    color: #ccc;
}

.s_fb_c {
    width: 200px;
}

.s_fb_c01 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.s_fb_c02 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.s_fb_c02 li {
    margin-bottom: 10px;
}

.s_fb_c02 a {
    color: #ccc;
    font-size: 14px;
}

.s_footer_b {
    width: 100%;
    background: #252525;
    padding: 15px 0;
    margin-top: 30px;
}

.s_footer_b01 {
    width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.s_ftb_l {
    color: #999;
    font-size: 14px;
}

.s_ftb_l a {
    color: #999;
}

.s_ftb_l a:hover {
    color: #fff;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .t_head_top,
    .t_head_nav,
    .s_footerz,
    .s_footer_b01 {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    .c_nav_nav_ul ul {
        flex-wrap: wrap;
    }
    
    .c_nav_nav_li_a {
        padding: 0 15px;
        font-size: 16px;
    }
}
