.productwrap {
    padding-top: 50px;
    padding-bottom: 80px;
    background-color: #F5F5F5;
}
.productwrap h2 {
    color: #333333;
    font-size: 36px;
    font-weight: normal;
    text-align: center;
}
.productwrap .typewrap {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}   
.productwrap .typewrap a {
    width: 230px;
    height: 50px;
    line-height: 50px;
    font-size: 18px;
    text-align: center;
    background-color: #fff;
    margin-right: 10px;
    white-space: nowrap;  /* 保持内容在一行 */
    overflow: hidden;     /* 超出部分隐藏 */
    text-overflow: ellipsis;  /* 显示省略号 */
    color: #333;
    margin-bottom: 10px;
}
.productwrap .typewrap a:hover {
    color: #fff;
    background-color: #0167BB;
}
.productwrap .typewrap a.active {
    background-color: #0167BB;
    color: #fff;
}
.productmain {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
}
.productmain .productitem {
    height: 434px;
    width: calc((100% - 60px)/3);
    margin-right: 30px;
    margin-bottom: 40px;
    border-bottom: 2px solid #ccc;
}
.productmain .productitem:nth-child(3n){
    margin-right: 0;
}
.productmain .productitem .pic {
    height: 324px;
    width: 100%;
    overflow: hidden;
}
.productmain .productitem .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1.0s;
}
.productmain .productitem:hover img {
    transform: scale(1.2);
}
.productmain .productitem h3 {
    color: #333333;
    margin-top: 10px;
    font-size: 26px;
    line-height: 42px;
    font-weight: bold;
    white-space: nowrap;  /* 保持内容在一行 */
    overflow: hidden;     /* 超出部分隐藏 */
    text-overflow: ellipsis;  /* 显示省略号 */  
}
.productmain .productitem:hover {
    border-bottom: 2px solid #0167BB;
}
.productmain .productitem:hover h3 {
    color: #0167BB;
}
.productmain .productitem p {
    font-size: 16px;
    color: #999999;
    white-space: nowrap;  /* 保持内容在一行 */
    overflow: hidden;     /* 超出部分隐藏 */
    text-overflow: ellipsis;  /* 显示省略号 */  
}
/* 新闻中心 */
.newsmain {
    background-color: #F5F5F5;
    padding-bottom: 50px;
}
.newsitem {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    height: 323px;
    background-color: #fff;
    padding: 25px;
}
.newsitem .pic {
    width: 386px;
    height: 100%;
    overflow: hidden;
}
.newsitem .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.newsitem .cont {
    position: relative;
    width: calc(100% - 586px);
    margin-right: 200px;
}
.newsitem .cont .date {
    font-size: 18px;
    color: #999999;
}
.newsitem .cont h2 {
    margin-top: 10px;
    font-size: 26px;
    line-height: 40px;
    color: #1A1A1A;
    white-space: nowrap;  /* 保持文本在一行 */
    overflow: hidden;     /* 隐藏超出容器的内容 */
    text-overflow: ellipsis;  /* 超出部分显示省略号 */
}
.newsitem .cont p {
    margin-top: 10px;
    font-size: 18px;
    color: #999999;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.newsitem .cont .more {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    color: #0167BB;
}
.newsitem .cont .more span {
    font-size: 24px;
    margin-left: 5px;
}
.newsitem:hover h2 {
    color: #0167BB;
}


@media only screen and (max-width: 600px) {
    .productwrap {
        padding-top: 25px;
        padding-bottom: 40px;
    }
    .productwrap h2 {
        font-size: 18px;
    }
    .productwrap .typewrap {
        margin-top: 20px;
    }
    .productwrap .typewrap a {
        width: calc((100% - 10px)/2);
    } 
    .productwrap .typewrap a:nth-child(2n) {
        margin-right: 0;
    }  
    .productmain {
        margin-top: 20px;
    }
    .productmain .productitem {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .newsitem {
        height: 140px;
        width: 100%;
        padding: 10px;
        margin-top: 15px;
    }
    .newsitem .cont {
        width: calc(100% - 170px);
        margin-right: 10px;
    }
    .newsitem .cont .date {
        font-size: 12px;
    }
    .newsitem .cont h2 {
        margin-top: 0;
        font-size: 16px;
    }
    .newsitem .cont p {
        margin-top: 0;
        font-size: 12px;
    }
    .newsitem .cont .more {
        font-size: 12px;
    }
    .newsitem .cont .more span {
        font-size: 14px;
    }

    .newsitem .pic {
        width: 160px;
    }

}
@media only screen and (min-width: 601px) and (max-width: 1199px) {

    .newsitem {
        height: 250px;
        width: 100%;
        padding: 15px;
        margin-top: 15px;
    }
    .newsitem .pic {
        width: 300px;
    }
    .newsitem .cont {
        width: calc(100% - 320px);
        margin-right: 20px;
    }
    .newsitem .cont h2 {
        font-size: 20px;
    }
    .newsitem .cont .date {
        font-size: 16px;
    }
    .newsitem .cont p {
        font-size: 16px;
    }

}