/* Keep case images aligned even when source files use different dimensions. */
.anli-con ul.grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    align-items:stretch;
}

.anli-con ul.grid > li{
    width:auto;
    height:auto;
    float:none;
    overflow:hidden;
}

.anli-con ul.grid > li > a,
.anli-con ul.grid > li > a > div{
    display:block;
    height:100%;
}

.anli-con figure.effect-bubba{
    width:100%;
    height:auto;
    aspect-ratio:8 / 5;
    margin:0;
    overflow:hidden;
    background:#e60012;
}

.anli-con figure.effect-bubba > img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
}

.marqueeleft li img{
    object-fit:cover;
    object-position:center center;
}

@media screen and (max-width:1024px){
    .tel-anli figure.effect-bubba{
        width:100%;
        height:auto;
        aspect-ratio:8 / 5;
        margin:0;
        overflow:hidden;
        background:#e60012;
    }

    .tel-anli figure.effect-bubba > img{
        display:block;
        width:100%;
        height:100%;
        object-fit:cover;
        object-position:center center;
    }
}
