.products-img {
    height: 316px;
}

.products-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-list {
    padding: 30px 0px;
}

.products-list>h2 {
    font-size: 28px;
    color: #333;
    font-weight: bold;
    padding-bottom: 16px;
    text-align: center;
}

.products-list .pagination {
    margin: 10px 30px;
}

.products-list .pagination .row {
    width: 100%;
}

.pagination .row .col {
    margin: 0px 11.2px 30px;
    height: 30px;
    padding: 0px;
}

.pagination .row .col a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    background-color: #f5f5f5;
    font-size: 14px;
    color: #707070;
}

.pagination .row .col a:hover {
    background-color: #066bb3;
    color: #fff;
}

.posts{
    padding-top: 15px;
}

.post-item{
    padding: 20px 0px;
    border-bottom: 1px dashed #dbdbdb;
}

.post-item:hover{
    background-color: #f0f0f0;
}

.post-item .post-link{
    display: flex;
    text-decoration: none;
}

.post-img{
    border: 1px solid #dbdbdb;
    width: 300px;
    height: 160px;
    padding: 5px;
    background: #FFF;
    margin-left: 20px;
    overflow: hidden;
}

.post-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .3s ease;
}

/* .post-item .post-link:hover .post-img img{ 
    transform: scale(1.1);
} */

.post-info{
    padding: 20px;
    flex: 1;
}

.post-info h4{
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    line-height: 27px;
    padding-bottom: 6px;
    text-decoration: none !important;
    margin-bottom: 0px;
}
.post-item .post-link:hover .post-info h4{
    color: #0060ae;
}
.post-item .post-link .post-info p{
    color: #969696;
    font-size: 14px;
    line-height: 24px;

    display: -webkit-box;     /* 必须设置为 -webkit-box */
    -webkit-box-orient: vertical; /* 设置垂直方向排列 */
    -webkit-line-clamp: 4;    /* 限制显示的行数，例如 3 行 */
    overflow: hidden;         /* 隐藏超出部分 */
    text-overflow: ellipsis;  /* 溢出显示省略号 */
}

.show-news{
    max-width: 1170px;
}
.show-news h2{
    margin-top: 56px;
    margin-bottom: 15px;
    color: #0060ae;
    font-size: 30px;
    font-weight: 700;
    line-height: 33px;
    text-align: center;
}

.show-news .news-info img{
    width: 100% !important;
    object-fit: contain;
}
