/* 全局重置 */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: "Microsoft YaHei", SimHei, sans-serif;
}
body{
    background-color: #ffffff;
    color: #333;
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
}
img{
    display: block;
    width: 100%;
}
a{
    color:#333;
}
a:hover{
    color:#004899;
}
.wrap{
    width: 1200px;
    margin: 0 auto;
}

/* 顶部通栏 */
.top-header-bar{
    background:transparent; /* 重点！去掉独立蓝色，共用header背景图 */
    color:#fff;
    padding:6px 0;
    font-size:13px;
}
.top-header-bar .wrap{
    width:1200px;
    margin: 0 auto;
    display:flex;
    justify-content: space-between;
}
.top-right a{
    color:#fff;
}
/* 文字内容层级高于背景图 */
.top-header-bar,
.header-inner{
    position:relative;
    z-index:2;
}
.top-right a{
    color:#fff;
}

/* 头部header */
.page-header{
    position:relative;
    overflow:hidden;
}
.header-bg-img{
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:-1;  /*关键！放到内容底层，不会盖住logo、搜索框*/
}
.header-inner{
    position:relative;
    z-index:2;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:16px 0;
}
.header-logo{
    display:flex;
    align-items:center;
    gap:12px;
}
.header-logo img{
    width:72px;
}
.logo-text h1{
    color:#fff;
    font-size:26px;
    font-weight:normal;
}
.logo-text p{
    color:#e4edf8;
    font-size:14px;
}
.header-search{
    display:flex;
}
.header-search input{
    height:36px;
    width:190px;
    border:none;
    padding:0 8px;
}
.header-search button{
    height:36px;
    border:none;
    background:#fff;
    color:#004899;
    padding:0 14px;
    cursor:pointer;
}


/* 首页大图【完全原始代码，无修改】 */
/* 首页大图【Swiper轮播】 */
.banner-block {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}
/* 清除wrap原本的定宽限制 */
.banner-block .wrap {
    width: 100%;
    padding: 0;
}
/* 旧flash盒子遗留，保留兼容旧数据 */
.banner-block #flashBoxu_u3_ {
    width: 100% !important;
}
.banner-block #flashBoxu_u3_ img {
    width: 100%;
    height: auto;
}
.banner-swiper{
    width:100%;
}
.banner-swiper .swiper-slide a{
    display:block;
    width:100%;
}
.banner-swiper .swiper-slide img{
    width:100%;
    height:auto;
    display:block;
}



/* 双栏新闻 */
.two-col-news{
    display:flex;
    gap:32px;
    margin:32px auto;
}
.news-col{
    flex:1;
}
.col-title-box{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
}
/* ===== 标题左右装饰线条 ===== */
.title-line-wrap{
    display:flex;
    align-items:center;
}
.line-left, .line-right{
    width:28px;
    height:2px;
    background:#004899;
    position:relative;
}
.line-left::before{
    content:"";
    position:absolute;
    left:0;
    top:-4px;
    width:6px;
    height:6px;
    border-left:2px solid #004899;
    border-top:2px solid #004899;
}
.line-right::after{
    content:"";
    position:absolute;
    right:0;
    top:-4px;
    width:6px;
    height:6px;
    border-right:2px solid #004899;
    border-top:2px solid #004899;
}
.title-line-wrap h2{
    font-size:24px;
    padding:0 12px;
}
.title-line-wrap small{
    font-size:12px;
    color:#666;
    font-weight:normal;
    margin-left:6px;
}

/* ===== 异形更多按钮（还原效果图多边形） ===== */
.more-shape-btn{
    position:relative;
    width:70px;
    height:70px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    color:#004899;
    border:none;
    background-image: url("../images/more_btn.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}
.more-shape-btn.white{
    color:#fff;
    background-image: url("../images/more_btn_white.png");
}

.notice-list li{
    display:flex;
    gap:10px;
    margin-bottom:16px;
    align-items:flex-start;
}
.date-tag{
    width:52px;
    height:52px;
    text-align:center;
    color:#fff;
    border-radius: 50%;
    background-image: url("../images/tag_bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* 关键：垂直方向内部布局 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/* 上方日期数字 */
.date-tag{
    font-size:16px;
    font-weight:bold;
    line-height:1.1;
}
/* 下方年月 <i>标签缩小字号 */
.date-tag i{
    font-size:10px;
    font-style:normal;
    line-height:1.1;
    color: #3366c5;
}
.news-top-item{
    margin-bottom:18px;
}
.news-top-title{
    font-size:17px;
    font-weight:bold;
    display:block;
    margin-bottom:8px;
}
.news-list-right li{
    display:flex;
    justify-content:space-between;
    padding:7px 0;
    border-bottom:1px dotted #cccccc;
}
.news-list-right li span{
    color:#777;
    font-size:13px;
}

/* 标语横幅 */
.slogan-banner{
    margin:32px 0;
}

/* 法律法规与案例区域 */
.two-col-content{
    display:flex;
    gap:32px;
    margin-bottom:45px;
}
.content-col{
    flex:1;
}
.law-block{
    background:#0052b3;
    color:#fff;
    padding:22px;
    border-radius:10px;
}
.law-block .title-line-wrap h2{
    color:#fff;
}
.law-block .line-left,
.law-block .line-right{
    background:#fff;
}
.law-block .line-left::before{
    border-color:#fff;
}
.law-block .line-right::after{
    border-color:#fff;
}
.law-block a{
    color:#fff;
}
.law-item-list li{
    padding:11px 0;
    border-bottom:1px solid #3576d1;
}
.law-item-list li span{
    font-size:13px;
    display:block;
    margin-bottom:5px;
}
.case-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}
.case-card{
    padding:18px 16px;
    min-height:90px;
    border-radius:5px;
}
.case-card.red{
    background: linear-gradient(90deg, #9c2b40, #004899);
    color:#fff;
}
.case-card.lightblue{
    background:#e7f1ff;
    border:1px solid #c6ddfc;
}
.case-card.lightblue .case-date{
    color:#9c2b40;
}
.case-card a{
    color:inherit;
    text-decoration: none;
}
.case-date{
    display:block;
    font-size:12px;
    margin-bottom:6px;
}


/* 页脚 */
.page-footer{
    background:#004899;
    color:#fff;
    padding:42px 0;
}
.footer-inner{
    display:flex;
    justify-content:space-between;
}
.footer-logo{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:14px;
}
.footer-logo img{
    width:64px;
}
.footer-left p{
    font-size:14px;
    margin:7px 0;
}
.footer-middle{
    display:flex;
    flex-direction:column;
    gap:8px;
}
.footer-middle-top{
    margin-bottom:4px;
}
.footer-middle-bottom{

}
.footer-middle h4,.footer-right h4{
    margin-bottom:14px;
    font-size:16px;
}
.footer-middle li a{
    color:#fff;
    line-height:2.1;
}
.qr-box{
    width:104px;
    height:104px;
    background:#fff;
}

/* ========== 响应式适配 ========== */
@media (max-width:1200px){
    .wrap{
        width:96%;
        padding:0 10px;
    }
}
@media (max-width:768px){
    .two-col-news,.two-col-content,.footer-inner{
        flex-direction:column;
    }
    .nav-list{
        flex-wrap:wrap;
        justify-content:center;
    }
    .header-inner{
        flex-direction:column;
        text-align:center;
        gap:16px;
    }
    .case-grid{
        grid-template-columns:1fr;
    }
    .col-title-box{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }
    .top-header-bar .wrap{
        width:96%;
    }
    .content-wrap {
        flex-direction: column;
        gap:20px;
    }
    .left-sidebar{
        width:100%;
    }
}
/* ========== 主导航 main-nav 【修复版｜汉堡不会错位】 ========== */
.main-nav {
    background: #004899;
    position: relative;
    z-index:999;
}
.main-nav .wrap {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.nav-wrap {
    display: block;
}
.nav-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}
.nav-list a {
    display: block;
    color: #ffffff;
    font-size: 16px;
    padding: 16px 22px;
    text-decoration: none;
    transition: background 0.25s ease;
}
.nav-list a:hover {
    background: #003677;
}
.nav-list span {
    color: #c2d4eb;
    font-size: 16px;
    user-select: none;
}

/* 汉堡按钮 核心修复：永远relative，不切换static！ */
.menu-toggle {
    display: none;
    width: 36px;
    height: 30px;
    position: relative;
    cursor: pointer;
}
/* PC端定位靠右 */
@media (min-width:769px) {
    .main-nav .wrap{
        justify-content:center;
    }
    .menu-toggle{
        position:absolute;
        right:0;
        top:50%;
        transform: translateY(-50%);
    }
}

.menu-toggle span {
    display: block;
    width: 80%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    left: 10%;
    transition: all 0.3s ease;
    transform-origin: center center;
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 13px; }
.menu-toggle span:nth-child(3) { top: 26px; }

/* 转为关闭叉号 */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(13px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-13px) rotate(-45deg);
}

/* 移动端样式 768px以下 */
@media (max-width:768px){
    .main-content {
        flex-direction: column;
    }
    .left-sidebar {
        width: 100%;
    }
    .main-nav .wrap {
        width: 100%;
        padding:8px 4%;
        justify-content: space-between;
    }
    .menu-toggle {
        display: block;
        /* 不再修改position与transform，保持relative */
    }
    .nav-wrap {
        position: absolute;
        left:0;
        right:0;
        top: 100%;
        width:96%;
        margin:0 auto;
        background:#004899;
        max-height:0;
        overflow:hidden;
        transition: max-height 0.35s ease;
        z-index:999;
    }
    .nav-wrap.show{
        max-height: 600px;
    }
    .nav-list {
        flex-direction: column;
        justify-content:center;
    }
    .nav-list a {
        width:100%;
        text-align:center;
        padding:14px 0;
        font-size:15px;
    }
    .nav-list span{
        display:none;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* 内容层左右两栏必须开启flex横向排布 */
.content-wrap {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

/* ========== 顶部面包屑导航 ========== */
.top-breadcrumb {
    padding: 12px 0;
    font-size: 14px;
    color: #666666;
}
.top-breadcrumb a {
    color: #004899;
    text-decoration: none;
}

/* ========== 左侧侧边导航 ========== */
.left-sidebar{
    width: 280px;
    flex-shrink: 0;
}
.sidebar-top{
    background-color: #004899;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    padding: 35px 10px;
}
.sidebar-nav{
    list-style: none;
    border: 1px solid #eaeaea;
}
.sidebar-nav li{
    border-bottom: 1px solid #eaeaea;
}
.sidebar-nav li:last-child{
    border-bottom: none;
}
.sidebar-nav li a{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 30px;
    font-size: 20px;
    color: #222;
    text-decoration: none;
    background: #f6f6f6;
}
.arrow{
    color: #004899;
    font-size: 22px;
}

/* ========== 右侧主内容区域 ========== */
.right-content{
    flex: 1;
}
/* 右侧头部：标题+面包屑 */
.content-head{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.content-title{
    font-size: 26px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
}
.content-title::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: #004899;
}
.right-breadcrumb{
    font-size: 14px;
    color: #888;
}
.right-breadcrumb a{
    color: #004899;
    text-decoration: none;
}
.line-divider{
    height: 1px;
    background: #004899;
    margin-bottom: 25px;
}

/* 政策文件列表 */
.policy-list{
    list-style: none;
}
.policy-list li{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px dashed #dddddd;
}
.item-left{
    display: flex;
    align-items: center;
}
.dot{
    width: 6px;
    height: 6px;
    background: #333;
    border-radius: 50%;
    margin-right: 12px;
}
.item-title a{
    font-size: 16px;
    color: #222;
    text-decoration: none;
}
.item-title a:hover{
    color: #004899;
}
.item-date{
    font-size: 16px;
    color: #555;
}
/* ========== 修复老轮播 nav_changeimg_1 被全局css干扰 ========== */
/*修复stylenew.css全局样式对老组件的干扰*/
.nav_changeimg_1 img.f1,
.nav_changeimg_1 img.f2{
    width:60px !important;
    height:40px !important;
    display:inline-block !important;
    box-sizing:content-box !important;
}
.nav_changeimg_1 a.hreftitle{
    color:#ffffff !important;
}
.nav_changeimg_1 div.undis {
    display: none !important;
}
.nav_changeimg_1 div.dis {
    display: block !important;
}
