#cases-wrap{
    background-color: var(--bg-gray);
    padding-top:140px;
    padding-bottom:80px;
}
#cases-wrap .width{
    width:90%;
    max-width:calc(var(--width)*1px);
    min-width:calc(var(--min-width)*1px);
    height:100%;
    /* min-height:800px; */

    /* align-items: flex-start; */
    margin: 0 auto;
}
#cases-main{
    margin-top:50px;
    background-color: white;
    border-radius:20px;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .05);
    width:100%;
    
}
#cases-item-box{
    width:100%;    
    box-sizing: border-box;
    padding:60px 60px 0 60px;
}
.cases-item{
    display: flex;
    justify-content: space-between;
    width:100%;
    height:320px;
}
.cases-item-img-box{
    background-color: gray;
    border-radius:10px;
    width:50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;  /* 超出部分隐藏 */
}


.cases-item-img{
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;  /* 保持比例填满容器 */
}




.cases-item-text-box{
    width:50%;
    /* background-color: rgba(255, 0, 234, 0.134); */
    box-sizing: border-box;
    padding:30px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cases-item-text-box div{
    font-size:26px;
    font-weight: bold;
}
.cases-item-text-box span{
    margin-top:30px;
}


#cases-nav-box{
    display: flex;
    justify-content: center;
    padding:40px 0 40px 0;
}
.cases-nav{
    width:50px;
    height:6px;
    margin:0 10px;
    /* border-radius: 20px; */
    background-color: rgb(202, 202, 202);
    cursor: pointer;

}
.cases-nav-current{
    background-color: var(--c-blue2);
}




/* 窄屏幕或者手机端 原600 */
@media (max-width: 850px){
    #cases-wrap {
        padding-top: 100px;
        padding-bottom: 50px;
    }
    #cases-wrap .width {
        min-width: 90%;
    }
    #cases-item-box{
        padding: 15px 15px 0 15px;
    }
    .cases-item{
        flex-direction: column;
        height: auto;
    }
    .cases-item-img-box{
        width:100%;
    }
    .cases-item-text-box{
        width:100%;
        padding:30px 0 0 0;
    }
    .cases-item-text-box div{
        font-size:22px;
    }
    .cases-nav {
        width: 40px;
        margin: 0 6px;
    }
    

    
}