﻿/* pc样式 */
@media screen and (min-width: 1024px){
    .img-list{
        margin-top: 0.3rem;
    }
    .img-list li {
        margin-bottom: 0.4rem;
    }
    .img-list li a{
        display: flex;
        justify-content: space-between;
        box-sizing: border-box;
        padding: 0.3rem;
        width: 100%;
        height: 2.6rem;
        border: solid 1px rgba(210, 10, 20,0.3);
        background-color: #fff;
    }
    .img-list li:hover .img-list-left {
        background-size: 3.5rem auto;
        transition: all 2s ease;
    }
    .img-list li:hover .img-list-right h2 {
        color: var(--zt_color--);
        transition: all .5s ease;
    }
    .img-list-left {
        width: 3rem;
        height: 2rem;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 3rem auto;
        transition: all 2s ease;
    }
    .img-list-right {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-left: 0.4rem;
    }
    .img-list-right h2{
        transition: all .5s ease;
        color: #000000;
        font-size: 0.22rem;
    }
    .img-list-right p{
        font-size: 0.16rem;
        line-height: 0.3rem;
        color: #888888;
    }
    .img-list-date{
        display: flex;
        justify-content: space-between;
    }
    .img-list-date span{
        display: flex;
        align-items: center;
        font-size: 0.14rem;
        color: var(--zt_color--);
    }
    .img-list-date span img{
        margin-right: 0.1rem;
        width: 0.17rem;
    }
}

/* 移动端样式 */
@media screen and (max-width: 1024px) {
    .img-list{
        margin-top: 0.3rem;
    }
    .img-list li {
        margin-bottom: 0.4rem;
    }
    .img-list li a{
        display: flex;
        justify-content: space-between;
        box-sizing: border-box;
        padding: 0.3rem;
        width: 100%;
        height: 2.6rem;
        border: solid 1px rgba(210, 10, 20,0.3);
        background-color: #fff;
    }
    .img-list li:hover .img-list-left {
        background-size: 3.5rem auto;
        transition: all 2s ease;
    }
    .img-list li:hover .img-list-right h2 {
        color: var(--zt_color--);
        transition: all .5s ease;
    }
    .img-list-left {
        width: 3rem;
        height: 2rem;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 3rem auto;
        transition: all 2s ease;
    }
    .img-list-right {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-left: 0.4rem;
    }
    .img-list-right h2{
        color: #000000;
        font-size: 0.22rem;
    }
    .img-list-right p{
        font-size: 0.16rem;
        line-height: 0.3rem;
        color: #888888;
    }
    .img-list-date{
        display: flex;
        justify-content: space-between;
    }
    .img-list-date span{
        display: flex;
        align-items: center;
        font-size: 0.14rem;
        color: var(--zt_color--);
    }
    .img-list-date span img{
        margin-right: 0.1rem;
        width: 0.17rem;
    }
}

@media screen and (max-width: 800px) {
    .img-list li {
        margin-bottom: 0.2rem;
    }
    .img-list li a {
        padding: 0.1rem;
        height:100%;
    }
    .img-list-left {
        width: 2.2rem;
        height: 1.5rem;
        background-size: 2.2rem auto;
    }
    .img-list-right {
        margin-left: 0.2rem;
    }
    .img-list-right p {
        text-overflow: ellipsis;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}