* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

a:link {
    color: #747484
}

a:visited {
    color: #747484
}

a:hover {
    color: #8C1A5B
}

li {
    list-style: none;
    font-style: normal;
    font-family: 'Arial', '宋体';
}

/* 手机竖屏 */
@media (max-width: 767px) {
    .sidebar { display: none; }
}

/* 平板横屏 */
@media (min-width: 768px) and (max-width: 1023px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
}

/* PC大屏 */
@media (min-width: 1024px) {
    .container { max-width: 1200px; }
}
body {
    background-color: #E4E4E4;
    font-size: 15px;
    justify-content: center; /* 水平居中 */
    text-align: center;
    width: 100%;
}

header {
    width: 100%;
    height: 190px;
    background-image: url('../images/topbg.jpg'); /*背景图不重复 */
    background-repeat: no-repeat;
    /* 居中显示（x轴居中，y轴居中） */
    background-position: center top;
    justify-content: center; /* 水平居中 */

}

.flex-content {
    max-width: 1280px;
    justify-content: center; /* 水平居中 */
    margin: 0 auto;
    clear: both;
    overflow: hidden;
}

.header {
    width: 1280px;
    text-align: center;
    clear: both;
    overflow: hidden;
    justify-content: center;
}

.header .logo {
    float: left;
    width: 195px;
    height: 130px;
    padding-top: 30px;
}

.header .nav .name {
    padding-top: 60px;
    width: 360px;
    height: 80px;
    float: left
}

.header .nav span {
    float: right;
    margin-top: 75px;
    width: 610px;
    height: 40px;
    border: 1px solid #8C1A5B;
    border-radius: 30px;
    overflow: hidden;
    background: white;
    justify-content: center; /* 水平居中 */
}

header .nav span {
    text-align: center;
    display: inline-block;
    line-height: 20px;
    font-size: 14px;
    margin: 5px;
    color: #747484;
}

.banner {
    height: 550px;
    overflow: hidden;
    clear: both;
}

header .nav span a {
    padding: 10px;
    font-size: 16px;
    line-height: 40px;
}

.card_content {
    text-align: center;
    clear: both;
    overflow: hidden;
    justify-content: center;
    background: #747484;
    margin: 0px;
    padding: 0px;
}

.card_content .about_card {
    float: left;
    width: 660px;
    text-align: left;
}

.about_card .title {
    margin-top: 20px;
    color: #AD1959;
    font-size: 22px;
    font-family: '微软雅黑';
}

.about_card .about_content {
    color: #747484;
    font-size: 17px;
    font-style: normal;
    margin-top: 10px;
    width: 100%;
}

.about_card .about_content .photo {
    float: left;
    text-align: center;
    width: 215px;
    overflow: hidden;
}

.about_card .about_content .description {
    float: right;
    width: 420px;
    text-align: left;
    line-height: 30px;
    overflow: hidden;
    font-style: normal;
    font-family: 'Arial', '宋体';
}

.card_content .news_card {
    float: right;
    width: 580px;
    text-align: left;
}

.news_card .title {
    margin-top: 20px;
    color: #AD1959;
    font-size: 22px;
    font-family: '微软雅黑';
}

.news_content {
    font-size: 17px;
    font-style: normal;
    font-family: 'Arial', '宋体';
    color: #747484;
    font-size: 17px;
    font-style: normal;
    width: 100%;
    padding: 10px;
}

.news_content ul {
    text-align: left;
    line-height: 30px;
}

.nb {
    background: none;
!important;
}

.bb {
    background: white;
!important;
}

.card_content .card_nv {
    width: 100%;
    text-align: left;
    line-height: 30px;
}

.card_nv ul {
    display: flex;
    flex-wrap: wrap;
    width: 680px;
    float: left;
}

.card_nv ul li {
    text-align: center;
    background: white;
    width: 330px;
    height: 210px;
    box-sizing: border-box; /* 确保padding和border不会影响宽度 */
    margin-left: 20px;
    margin-top: 20px;

    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
}

.card_nv ul li i {
    display: block;
    width: 100%;
    margin-top: 40px
}

.card_nv ul li span {
    display: block;
    width: 100%
}

.card_nv ul li div {
    display: block
}

.card_nv ul li:nth-child(1), .card_nv ul li:nth-child(3) {
    margin-left: 0;
}

.card_nv ul li span {
    color: #8C1A5B;
    font-size: 25px;
    font-family: '微软雅黑';
}

.card_nv .welfare {
    float: right;
    width: 580px;
    height: 438px;
    overflow: hidden;
    margin-top: 20px;
}

.ad {
    width: 100%;
    clear: both;
    margin: 0;
    padding: 0;
}

.ad img {
    width: 100%;
    border: none;
}

footer {
    background: #BC1D61;
    color: white;
    width: 100%;
    padding: 0;
    margin: 0;
}

footer .flex-content {
    width: 1280px;
    justify-content: center; /* 水平居中 */
    margin: 0 auto;
    clear: both;
    overflow: hidden;
}

footer .footer .content {
    text-align: left;
    padding-top: 15px;
    float: left;
    width: 70%;
    line-height: 40px;
}

footer .footer .logo {
    padding-top: 15px;
    float: right;
    width: 28%;
}

footer .footer .logo img {
    width: 130px;
}

footer .footer .content a, .content a:hover, .content a:visited, .content a:link, .content a:active {
    color: white;
    padding: 10px;
    line-height: 35px;
}

footer .footer-line {
    height: 30px;
    border-top: 1px solid #ffffff;
    padding-top: 5px;
    clear: both;
    overflow: hidden;
}

.flex_body {
    font-size: 20px;
    min-height: 600px;
}

.flex_body ul {
    margin: 30px;
    text-align: left;
}

.flex_body .newsList {
    line-height: 50px;
    text-align: left;
}

.flex_body .welfareList {
    line-height: 50px;
    text-align: left;
}

.flex_body .welfareList li, .flex_body .newsList li {
    border: 1px dotted #999999;
    margin-top: 10px;
    border-radius: 20px;
    padding: 5px;
}

.web_news_content {
    padding: 20px;
}

.web_news_content h4 {
    margin: 20px;
    font-size: 35px
}

.web_news_content div {
    text-align: left;
    line-height: 40px;
    margin: 30px;
    font-size: 20px
}

.web_news_content img {
    max-width: 1200px
}