.img-list {
    min-height: 50vh;
}

.img-item {
    position: relative;
    width: calc((100% - 60px) / 4);
    height: 0;
    padding-top: calc((100% - 60px) / 4);
    margin-right: 20px;
    margin-bottom: 20px;
}
.img-item:nth-child(4n){
    margin-right: 0;
}
.img-item:hover .img-item-bg img{
   transform: scale(1.1);
}
.img-item a{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.img-item-bg{
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.img-item-bg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .3s linear;
}
.img-info{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 80px;
    line-height: 32px;
    padding: 10px 20px;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    background: rgba(0,0,0,.5);
    z-index: 10;
}
.img-time{
    position: absolute;
    top: -10px;
    right: 10px;
    width: 100px;
    height: 100px;
    z-index: 10;
    background: #d11c16;
}
.img-time h3 {
    font-size: 26px;
    line-height: 40px;
    font-weight: bold;
    color: #fff;
    transition: all .3s linear;
}
.img-time p {
    font-size: 16px;
    line-height: 30px;
    color: #fff;
    transition: all .3s linear;
}
@media only screen and (max-width: 620px){
    .img-list{
        padding: .3rem;
    }
    .img-item {
        position: relative;
        width: 100%;
        height: 0;
        padding-top: 100%;
        margin-right: 0;
        margin-bottom: .3rem;
    }
    .img-item:last-child{
        margin-bottom: 0;
    }

    .img-time {
        position: absolute;
        top: -.1rem;
        right: .1rem;
        width: 2rem;
        height: 2rem;
    }
}

@media only screen and (max-width: 860px) and (min-width: 621px){
    .img-list{
        padding: .3rem;
        justify-content: space-between;
    }
    .img-item {
        width: calc((100vw - 1.2rem) / 2);
        padding-top: calc((100vw - 1.2rem) / 2);
        margin-right: 0;
        margin-bottom: .3rem;
    }
    .img-item:last-child{
        margin-bottom: 0;
    }

    .img-time {
        position: absolute;
        top: -.1rem;
        right: .1rem;
        width: 2rem;
        height: 2rem;
    }
}

@media only screen and (max-width: 1024px) and (min-width: 861px){
    .img-list{
        padding: 20px;
    }
    .img-item {
        position: relative;
        width: calc((100% - 40px) / 3);
        height: 0;
        padding-top: calc((100% - 40px) / 3);
        margin-right: 20px;
        margin-bottom: 20px;
    }
    .img-item:nth-child(3n){
        margin-right: 0;
    }
    .img-item:nth-child(4n){
        margin-right: 20px;
    }
}

@media only screen and (max-width: 1400px) and (min-width: 1025px) {
    .img-item {
        position: relative;
        width: calc((100% - 40px) / 3);
        height: 0;
        padding-top: calc((100% - 40px) / 3);
        margin-right: 20px;
        margin-bottom: 20px;
    }
    .img-item:nth-child(3n){
        margin-right: 0;
    }
    .img-item:nth-child(4n){
        margin-right: 20px;
    }
}

@media only screen and (max-width: 1640px) and (min-width: 1401px) {
}
