.allcase-bg{
    height: 50vh;
}
.allcase-top{
    text-align: center;
    padding-top: 20vh;
}
.allcase-list{
    text-align: center;
    margin-bottom: 60px;
}
.allcase-list li{
    display: inline-block;
}
.allcase-list li:hover{
    cursor: pointer;
}
.allcase-list li.active{
    color: #27c24c;
}
.allcase-list>li:not(:last-child){
    margin-right: 20px;
}
.allcase-list-row{
    display: flex;
    flex-wrap: wrap;
}
.allcase-list-item{
    box-shadow: 0px 0px 18px rgba(39, 48, 63, .2);
    width: 31%;
    max-width: 386px;
    margin: 10px;
}
.allcase-list-item .image-container{
    width: 100%;
    height: 250px;
}
.allcase-list-item .image-container img{
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.allcase-list-item .bottom-area{
    display: flex;
    align-items: center;
    padding: 20px;
    text-align: left;
    height: 60px;
}
.allcase-list-item .bottom-area .title{
    flex: 1;
    font-size: 16px;
    line-height: 1.50em;
    text-align: left;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; /* 防止文本换行 */
}
.allcase-list-item .bottom-area .right-icon{
    text-align: right;
    width: 30px;
    display: none;
}
.allcase-list-item .bottom-area .right-icon img{
    width: 100%;
}
.allcase-list-item:hover .bottom-area .right-icon{
    display: block;
}
.line {
    width: 0; /* 初始宽度为0 */
    height: 2px; /* 线的厚度 */
    background-color: black; /* 线的颜色 */
    transition: transform 2s ease; /* 平滑过渡效果 */
}
.allcase-list-item:hover .line{
    animation: growLine 2s forwards; /* 应用动画 */
}
.allcase-list-item:hover{
    cursor: pointer;
}
@keyframes growLine {
    from { width: 0; } /* 开始时宽度为0 */
    to { width: 100%; } /* 结束时宽度为100% */
}
/* 手机屏幕 */
@media screen and (max-width: 767px) {
    .allcase-list li{
        line-height: 30px;
    }
    .allcase-list-item{
        width: calc(100% - 20px);
    }
    .allcase-bg{
        height: 25vh;
    }
    .allcase-top{
        padding-top:10vh
    }
}
