@charset "utf-8";
* {
    padding: 0;
    margin: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

h2,
h3,
i,
em {
    font-style: normal;
}

html,
body {
    font-family: 微软雅黑;
    background: #fdf6f6;
}

input,
img,
a {
    outline: none;
    border: 0;
}

.clear {
    clear: both;
}

.px1300 {
    max-width: 1300px;
    margin: 0 auto;
}

.pic {
    padding-top: 45%;
    position: relative;
    overflow: hidden;
}

.pic img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: all 1s;
}

.pic img:hover {
    transform: scale(1.05);
}

.banner a {
    position: relative;
    display: block;
}

.banner a>img {
    display: block;
    width: 100%;
}

@-webkit-keyframes move1 {
    0% { transform: scale(0); }
    95% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

@-ms-keyframes move1 {
    0% { transform: scale(0); }
    95% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

.banner .b-txt {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.banner .b-txt p img {
    -webkit-animation: move1 2s ease-in-out;
    -moz-animation: move1 2s ease-in-out;
    -ms-animation: move1 2s ease-in-out;
    -o-animation: move1 2s ease-in-out;
    animation: move1 2s ease-in-out;
}

.banner .b-txt p:first-child img {
    display: block;
    width: 460px;
    margin-left: auto;
    margin-right: auto;
}

.banner .b-txt p:last-child img {
    display: block;
    max-width: 1298px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@-o-keyframes move1 {
    0% { transform: scale(0); }
    95% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

@-moz-keyframes move1 {
    0% { transform: scale(0); }
    95% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

@keyframes move1 {
    0% { transform: scale(0); }
    95% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

#nav {
    background-color: #c7131a;
}

.nav>ul>li {
    position: relative;
    float: left;
    width: 16%;
    text-align: center;
}

.nav>ul>li>a {
    display: block;
    padding-top: 15px;
    padding-bottom: 20px;
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    border-bottom: 5px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.nav>ul>li:hover {
    background-color: #942f22;
}

.nav>ul>li:hover>a {
    color: #fff;
}

.nav>ul>li>ul {
    position: absolute;
    left: 50%;
    width: 120px;
    margin-left: -75px;
    background-color: #fff;
    padding-bottom: 10px;
    display: none;
    box-shadow: 0 0 10px #facbcb;
    padding: 0 10px;
    box-sizing: border-box;
    z-index: 999;
}

.nav>ul>li>ul>li {
    position: relative;
    line-height: 40px;
    border-bottom: 1px dashed #d3cbcb;
}

.nav>ul>li>ul>li>span {
    position: absolute;
    background: url() no-repeat center center;
    background-size: 12px auto;
    width: 20px;
    height: 20px;
    right: 5px;
    top: 13px;
}

.nav>ul>li>ul>li>span.on {
    background: url() no-repeat center center;
    background-size: 12px auto;
}

.nav>ul>li>ul>li>ul {
    display: none;
}

.nav>ul>li>ul>li>ul>li {
    line-height: 30px;
}

.nav>ul>li>ul>li>ul>li>a {
    font-size: 14px;
    color: #e3dede;
}

.nav>ul>li>ul>li>a {
    font-size: 14px;
    color: #333;
}

.nav>ul>li>ul>li:hover>a {
    color: #cc0500;
}

/* ===== 页脚增强（通栏 + 加高 + 装饰） ===== */
.footer {
    background: #aa040b;
    margin-top: 40px;
    padding: 40px 0 30px;
    text-align: center;
    color: #fff;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
}

.footer p {
    padding: 10px 0;
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.footer a {
    color: #ffb3b3;
    transition: color 0.2s;
}
.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* 移动端 */
.wap {
    display: none;
}

.top {
    max-width: 1920px;
    margin: 0 auto;
    position: fixed;
    right: 10px;
    top: 10px;
    width: 25px;
    height: 25px;
    z-index: 9999;
}

.top>img {
    display: block;
    width: 100%;
}

.wap-menu {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 99999;
    font-size: 0;
}

.wap-menu img {
    height: 25px;
}

.close-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
}

@media screen and (max-width: 1300px) {
    .px1300 {
        padding-left: 15px;
        padding-right: 15px;
    }
    .banner .b-txt p:first-child img {
        max-width: 385px;
    }
}

@media screen and (max-width: 1024px) {
    .yd {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 1000;
    }
    .yd.on {
        background: rgba(0, 0, 0, .6);
    }
    .wap {
        display: block !important;
    }
    #nav {
        display: none;
    }
    .m-head {
        position: fixed;
        top: 0;
        right: 0;
        width: 50px;
        height: 45px;
        background: #aa040b;
        z-index: 999;
    }
    .m-logo {
        font-size: 0;
    }
    .m-logo a {
        font-size: 0;
        line-height: 40px;
        display: block;
    }
    .m-logo img {
        max-height: 40px;
        max-width: 80%;
        vertical-align: middle;
    }
    .m-nav {
        position: fixed;
        top: 60px;
        right: -100%;
        bottom: 0;
        z-index: 999;
        background: #a31818;
        overflow-y: scroll;
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    .m-nav ul {
        padding: 0 15px;
    }
    .m-nav ul li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        position: relative;
    }
    .m-nav ul li>span.on {
        transform: rotateZ(90deg);
    }
    .m-nav ul li ul {
        display: none;
    }
    .m-nav ul li ul li {
        border: none;
    }
    .m-nav>ul>li a {
        display: block;
        font-size: 14px;
        line-height: 20px;
        padding: 15px 0;
        position: relative;
        color: #fff;
    }
    .m-nav>ul>li ul li a {
        padding: 10px 0;
    }
    .m-nav>ul>li>span {
        position: absolute;
        width: 20px;
        height: 20px;
        background: url(../images/m-nav_down.png) no-repeat;
        background-size: 14px 14px;
        background-position: center center;
        right: 0;
        top: 15px;
        cursor: pointer;
        display: block;
        color: #fff;
        transition: all 0.3s;
    }
    .yd.on .m-head {
        left: 0;
        width: 100%;
    }
}

@media screen and (max-width: 700px) {
    .banner .b-txt p:first-child img {
        width: 140px;
    }
}

/* ===== 纯红色美化方案（全局生效） ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

#nav {
    background: linear-gradient(135deg, #c7131a 0%, #a00f15 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav>ul>li>a {
    transition: all 0.3s ease;
    position: relative;
}
.nav>ul>li>a:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffb347;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav>ul>li:hover>a:after {
    width: 70%;
}
.nav>ul>li:hover {
    background: transparent;
}

.nav > ul > li.current {
    background: rgba(199,19,26,0.1);
}
.nav > ul > li.current > a:after {
    width: 85%;
    background: #c7131a;
    height: 3px;
}
.nav > ul > li.current > a {
    border-bottom: 5px solid transparent;
    color: #fff;
    font-weight: 700;
}

.nav>ul>li>ul {
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border: none;
    padding: 8px 0;
}
.nav>ul>li>ul>li {
    line-height: 36px;
    border-bottom: 1px solid #f0f0f0;
}
.nav>ul>li>ul>li:last-child {
    border-bottom: none;
}
.nav>ul>li>ul>li>a {
    display: block;
    padding: 0 15px;
    transition: background 0.2s;
}
.nav>ul>li>ul>li:hover {
    background: #fce8e8;
}
.nav > ul > li > ul > li.current > a {
    color: #c7131a;
    font-weight: bold;
    background: #ffe6e6;
}

.title {
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
    position: relative;
}
.title h2 {
    border-left: 6px solid #c7131a;
    background: none;
    padding-left: 15px;
    padding-right: 20px;
    line-height: 40px;
}
.title h2 span {
    font-size: 22px;
    color: #333;
    font-weight: 600;
}
.title a {
    margin-top: 10px;
    font-size: 14px;
    color: #999;
    transition: color 0.2s;
}
.title a:hover {
    color: #c7131a;
}

.s2-l,
.s2-r,
.s3-l,
.s3-r {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 20px 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 3px solid #c7131a;
}
.s2-l:hover,
.s2-r:hover,
.s3-l:hover,
.s3-r:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(199,19,26,0.1);
}

.list>li {
    background: none;
    padding-left: 20px;
    position: relative;
    line-height: 38px;
    border-bottom: 1px dashed #f0f0f0;
}
.list>li:before {
    content: "●";
    color: #c7131a;
    font-size: 12px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.list>li a {
    font-size: 16px;
    color: #555;
}
.list>li:hover a {
    color: #c7131a;
    text-decoration: none;
}

.s1-l .slick-dots li {
    width: 10px;
    height: 10px;
    background: rgba(199,19,26,0.3);
    transition: all 0.3s;
}
.s1-l .slick-dots li.slick-active {
    width: 20px;
    background: #c7131a;
    border-radius: 5px;
}

/* 移动端图片自适应修复 */
@media screen and (max-width: 700px) {
    .banner a img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }
}

/* 响应式微调 */
@media screen and (max-width: 700px) {
    .title h2 span { font-size: 18px; }
    .s2-l,
    .s2-r,
    .s3-l,
    .s3-r {
        padding: 15px 10px;
        margin-bottom: 15px;
    }
    .list>li a { font-size: 14px; }
}

/* ========== 主内容区统一背景（党建红） ========== */
.main.px1300,
.nymain.px1300 {
    background: #fff5f5;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 6px 18px rgba(199, 19, 26, 0.06);
    padding: 20px;
    box-sizing: border-box;
}