@charset "utf-8";

/* CSS Document */
/*  初始化  */
body,
ul,
ol,
li,
p,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
img,
div {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: "Microsoft YaHei";
}

table,
td {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei";
}

.body {
    width: 100%;
    height: auto;
}

.mains_yq {
    width: 100%;
    height: auto;
    background-color: #eeeeee;
}
.header_yq{
    width: 100%;
    height: 620px;
}
.header_yq1{
    width: 100%;
    max-width: 1600px;
    height: auto;
    position: relative;
    z-index: 9;
    margin: 30px auto;
    display: flex;
    justify-content: space-between;
}
.header_logo{
    width: 1400px;
}
.header_logo img{
    width: auto;
    height: 60px;
    margin-right: 10px;
}
.header_zt_r{
    width: 140px;
    height: 50px;
    background-color: #e53911;
    border-radius: 5px;
    text-align: center;
}
.header_zt_r a{
    color: #fff;
    line-height: 50px;
    font-size: 18px;
    text-align: center;
}
.header_zt_r .iconfont {
    color: #fff!important;
    font-size: 18px;
    padding-right: 10px;
}
.zt_banner{
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 0;
    height: 650px;
}
.zt_banner img{
    width: 100%;
    height: 650px;
    object-fit: cover;
    object-position: center;
}


.main_yq{
    width: 100%;
    height: auto;
    background-color: #eee;
}
.main_yq1{
    width: 100%;
    top: -126px;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    min-height: 300px;
    position: relative;
}
.main_top_news{
    width: 1300px;
    margin: 0 auto;
    height: 115px;
    padding-top: 40px;
}
.main_top_news1{
    width: 100%;
    height: auto;
    position: relative;
    border-radius: 15px;
    background-color: #f6f6f6;
    z-index: 1;
}
.main_top_news img{
    position: absolute;
    top: -10px;
    left: 20px;
    z-index: 99;
}
.main_top_news1{
    width: 100%;
    height: auto;
    position: relative;
}
.main_top_news1 .hd {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
}


.main_top_news1 .hd a {
    display: block;
    width: 26px;
    height: 50px;
    position: absolute;
    top: 250px;
    z-index: 99;
}

.main_top_news1 .hd a.prev {
    width: 20px;
    height: 20px;
    right: 15px;
    top: 30px;
    color: #999;
}

.main_top_news1 .hd a.next {
    width: 20px;
    height: 20px;
    right: 15px;
    top: 65px;
    color: #999;
}

.main_top_news1 .hd .prev::before { content: "▲"; font-size: 20px;line-height: 1; }
.main_top_news1 .hd .next::before { content: "▼"; font-size: 20px;line-height: 1; }


.main_top_news_ul{
    width: 100%;
    height: 115px;
    position: relative;
}
.main_top_news_li {
    height: 115px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.main_top_news_li a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    text-align: left;
    margin-left: 250px;
    margin-top: 30px;
}

.main_top_news_li a h3 {
    font-size: 26px;
    color: #333333;
    text-align: left;
    margin: 0;
    padding: 0;
    line-height: normal;
    font-weight: bold;
}
.main_top_news_li a p {
    width: calc(100% - 250px);
    font-size: 18px;
    color: #666;
    line-height: 35px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main3{
    width: 1300px;
    height: auto;
    margin: 0 auto;
    padding-bottom: 50px;
    padding-top: 50px;
}
.main31{
    width: 100%;
    height: auto;
}
.main31_ul{
    display: flex;
    flex-wrap: wrap;
    gap:50px 70px;
}
.main31_li{
    width: calc((100% - 70px)/2);
}
.main31_title{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main31_title h3{
    display: flex;            /* ✅ 关键：h3 自身用 flex */
    align-items: center;      /* 子元素（含伪元素）垂直居中 */
    margin: 0;
    font-size: 28px;
    font-weight: bold;
    color: #df0a0a;
    padding-bottom: 10px;
    line-height: 1.2;
}
.main31_title h3 span{
    color: #ffb533;
}
.main31_title h3::before{
    content: "";        /* ✅ 必须添加，否则伪元素不渲染 */
    display: inline-block; /* ✅ 使宽高和边框生效 */
    width: 10px;
    height: 10px;
    margin-right: 8px;
    background: #df0a0a;       /* 用背景色代替边框 */
    border-radius: 2px;        /* 可选：圆角更精致 */
}
.main31_title h3::after{
    content: "";
    display: inline-block;
    width: 418px;             /* 10px方块 + 8px间距 + 400px线 */
    height: 10px;             /* 容器高度 = 方块高度 */
    margin-left: 8px;
    flex-shrink: 0;

    /* 🔑 核心修复：两层背景，各自独立控制位置和尺寸 */
    background-image:
        /* 第1层：10x10 红色实心方块 */
            linear-gradient(#df0a0a, #df0a0a),
                /* 第2层：400px 线条 */
            linear-gradient(#e9c4c4, #e9c4c4);

    background-repeat: no-repeat, no-repeat;

    /* 分别定位：方块左上角 / 线条左侧垂直居中 */
    background-position:
            left top,
            18px center;          /* 18px = 10px方块 + 8px间距 */

    /* 🔑 分别设置尺寸：方块10x10 / 线条400x2 */
    background-size:
            10px 10px,            /* 实心方块完整显示 */
            400px 2px;            /* 线条长度400，高度2px */

    border-radius: 2px;       /* 仅影响第1层方块的圆角 */
}
.main31_title h3 i{
    border: 1px solid #df0a0a;
    width: 120px;
}
.main31_title a{
    font-size: 18px;
    color: #666;
    text-decoration: none;
    white-space: nowrap;
    margin-bottom: 10px;
}
.main31_title a:hover{
    color: #df0a0a;
}

.main31_content{
    width: 100%;
    height: auto;
}
.main31_content_ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main31_content_li {

}

.main31_content_li:last-child {
    border-bottom: none;
}

.main31_content_li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 0;
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
}

/* 标题样式 */
.main31_content_li p {
    margin: 0;
    color: #333;
    font-size: 20px;
    line-height: 1;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.main31_content_li span {
    flex-shrink: 0;
    font-size: 18px;
    color: #888;
    white-space: nowrap;
}
.main31_content_li a:hover p {
    color: #df0a0a;
}
.main31_content_li a:hover span {
    color: #df0a0a;
}

.main31_li img{
    width: 597px;
    height: 388px;
    /*object-fit: cover;
    object-position: center;*/
    display: block;
}

.main4 {
    width: 1300px;
    height: auto;
    margin: 0 auto;
    padding-bottom: 50px;
    padding-top: 50px;
}

.main41 {
    width: 100%;
    height: auto;
}

.main41_ul {
    display: flex;
    flex-wrap: wrap;
    gap: 50px 70px;
}

.main41_li {
    width: calc((100% - 140px) / 3);
}

.main41_title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main41_title h3 {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 28px;
    font-weight: bold;
    color: #df0a0a;
    padding-bottom: 10px;
    line-height: 1.2;
    /* ✅ 允许h3在空间不足时收缩，但不隐藏溢出内容 */
    min-width: 0;
    flex: 1;
    overflow: visible; /* ✅ 改为visible，避免装饰元素被裁切 */
}

.main41_title h3 span {
    color: #ffb533;
}

.main41_title h3::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 8px;
    background: #df0a0a;
    border-radius: 2px;
    flex-shrink: 0;
}

.main41_title h3::after {
    content: "";
    display: inline-block;
    height: 10px;
    margin-left: 8px;
    /* ✅ 核心修复：flex:1 自适应 + min-width 保底，确保始终可见 */
    flex: 1;
    min-width: 30px; /* ✅ 最少显示30px，防止被完全挤掉 */

    /* 双层背景：红色方块 + 延伸线条 */
    background-image:
            linear-gradient(#df0a0a, #df0a0a),
            linear-gradient(#e9c4c4, #e9c4c4);
    background-repeat: no-repeat, no-repeat;
    background-position:
            left top,
            18px center;
    background-size:
            10px 10px,
            calc(100% - 18px) 2px; /* ✅ 线条宽度 = 总宽 - 方块占位，自适应 */
    border-radius: 2px;
}

.main41_title h3 i {
    border: 1px solid #df0a0a;
    width: 120px;
    flex-shrink: 0;
}

.main41_title a {
    font-size: 16px;
    color: #666;
    text-decoration: none;
    white-space: nowrap;
    margin-bottom: 10px;
    flex-shrink: 0;
    margin-left: 12px; /* ✅ 给"更多"链接留出间距 */
}

.main41_title a:hover {
    color: #df0a0a;
}

.main41_content {
    width: 100%;
    height: auto;
}

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

.main41_content_li:last-child {
    border-bottom: none;
}

.main41_content_li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 0;
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
}

.main41_content_li p {
    margin: 0;
    color: #333;
    font-size: 16px;
    line-height: 1;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main41_content_li span {
    flex-shrink: 0;
    font-size: 16px;
    color: #888;
    white-space: nowrap;
}

.main41_content_li a:hover p {
    color: #df0a0a;
}

.main41_content_li a:hover span {
    color: #df0a0a;
}


.footer{
    width: 100%;
    height: 100px;
    background-color: #ba0102;
    margin-top: -90px;
}
.footer p{
    text-align: center;
    color: #fff;
    font-size: 18px;
    line-height: 100px;
}

.header_yq_m{
    display: none;
}
.header_yq_banner{
    display: none;
}
#ID-carousel-demo-image{
    display: block;
}
#ID-carousel-demo-image1{
    display: none;
}
@media only screen and (max-width: 1000px) {
    .header_yq{
        display: none;
    }
    #ID-carousel-demo-image{
        display: none;
    }
    #ID-carousel-demo-image1{
        display:block;
    }
    .header_yq_m{
        width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
        min-height: 157px;
    }
    .header_yq_m_logo{
        width: 100%;
        background-color: #ba0102;
        padding-bottom: 20px;
    }
    .header_yq_m_logo img{
        width: 60%;
        padding: 10px 10px;
    }
    .header_yq_banner{
        width: 100%;
        height: 245px;
        margin: 0 auto;
        display: block;
    }
    .header_yq_banner img{
        width: 100%;
        height: auto;
    }

    .main_yq1{
        width: 100%;
        padding: 10px 10px;
        box-sizing: border-box;
        top: -15px;
    }
    .main_top_news{
        width: 100%;
        height: auto;
        padding-bottom: 30px;
    }
    .main_top_news img{
        width: 50px;
    }
    .main_top_news_ul{
        height: 85px;
    }
    .main_top_news_li{
        height: 85px;
    }
    .main_top_news_li a{
        margin-left:170px;
    }
    .main_top_news_li a h3{
        font-size: 18px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: calc(100% - 125px);
    }
    .main_top_news_li a p{
        font-size: 14px;
    }
    .main_top_news1 .hd a.prev{
        top: -5px;
    }
    .main_top_news1 .hd a.next{
        top: 40px;
    }
    .main3{
        width: 100%;
        display: block;
        margin: 0 auto;
        padding: 0;
        padding-top: 20px;

    }
    .main31_title h3{
        font-size: 22px;
    }
    .main31_title h3::after{
        content: "";
        display: inline-block;
        width: 218px;
        height: 10px;
        margin-left: 8px;
        flex-shrink: 0;
        background-image:
                linear-gradient(#df0a0a, #df0a0a),
                linear-gradient(#e9c4c4, #e9c4c4);
        background-repeat: no-repeat, no-repeat;
        background-position:
                left top,
                18px center;
        background-size:
                10px 10px,
                200px 2px;

        border-radius: 2px;
    }
    .main31_title a{
        font-size: 14px;
    }
    .main31_ul{
        width: 100%;
        gap:20px;
    }
    .main31_li{
        width: 100%;
        padding-bottom: 30px;
    }
    .main31_li img {
        width: 100%;
        height: 270px;
        display: block;
    }
    .main31_content_li p{
        font-size: 16px;
    }
    .main31_content_li a{
        padding: 10px 0;
    }

    .main4{
        width: 100%;
        display: block;
        margin: 0 auto;
        padding: 0;
        padding-top: 20px;

    }
    .main41_title h3{
        font-size: 22px;
    }
    .main41_title h3::after{
        content: "";
        display: inline-block;
        width: 218px;
        height: 10px;
        margin-left: 8px;
        flex-shrink: 0;
        background-image:
                linear-gradient(#df0a0a, #df0a0a),
                linear-gradient(#e9c4c4, #e9c4c4);
        background-repeat: no-repeat, no-repeat;
        background-position:
                left top,
                18px center;
        background-size:
                10px 10px,
                200px 2px;

        border-radius: 2px;
    }
    .main41_title a{
        font-size: 14px;
    }
    .main31_ul{
        width: 100%;
        gap:20px;
    }
    .main41_li{
        width: 100%;
        padding-bottom: 30px;
    }
    .main41_li img {
        width: 100%;
        height: 270px;
        display: block;
    }
    .main41_content_li p{
        font-size: 16px;
    }
    .main41_content_li a{
        padding: 10px 0;
    }
}