.text-ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2; /* 限制显示的行数为2 */
}
.yingxiao-bg{
    height: 60vh;
    background:url(../assets/homepage/home_bg.jpg) no-repeat center;
    background-size: cover;
}
.yingxiao-top{
    text-align: center;
    padding-top: 20vh;
}
.yingxiao-list{
    text-align: left;
    margin: 80px 0;
}
.yingxiao-list li{
    display: inline-block;
    margin-right: 20px;
}
.yingxiao-list li:hover{
    cursor: pointer;
}
.news-list-row{
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: solid 1px rgb(204, 204, 204);
}
.news-date{
    width: 180px;
    text-align: right;
    margin-right: 20px;
}
.news-date .day{
    display: block;
    font-size: 46px;
    color: rgb(88 92 92);
}
.news-date .month{
    margin-top: 5px;
    font-size: 14px;
    color: #999;
}
.news-detail{
    flex: 1;
    text-align:left;
}
.news-detail .title{
    font-size: 18px;
    margin-bottom: 8px;
    color: rgb(88, 92, 92);
}
.news-detail .content{
    transition: all 0.3s;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 28px;
    color: rgb(88, 92, 92);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2; /* 限制显示的行数为2 */
}
.news-detail .detail-date{
    transition: all 0.3s;
    margin-bottom: 8px;
    font-size: 12px;
    color: rgb(88, 92, 92);
}
.news-image{
    width: 200px;
    margin-bottom: 20px;
    overflow: hidden;
}
.news-image img{
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease; /* 平滑过渡效果 */
}
.news-list-row:hover{
    cursor: pointer;
}
.news-list-row .news-detail>div{
    transition: transform 0.5s ease; /* 平滑过渡效果 */
}
.news-list-row:hover .news-detail>div{
    border-left: solid 1px rgb(204, 204, 204);
    padding-left: 20px;
}
.news-list-row:hover{
    cursor: pointer;
}

.news-list-row:hover .news-image img{
    object-fit: cover;
    transform: scale(1.2); /* 鼠标悬停时放大1.5倍 */
}
/* 手机屏幕 */
@media screen and (max-width: 767px) {
    .yingxiao-bg{
        height: 30vh;
    }
    .yingxiao-top{
        padding-top: 10vh;
    }
    .yingxiao-list{
        margin: 20px 0;
        padding: 0 5vh;
    }
    .yingxiao-list{
        line-height: 30px;
    }
    .news-list-row{
        display: block;
        padding: 10px;
    }
    .news-list-row .news-date{
        display: none;
    }
}
