.logo-con ul {
    display: grid;
    overflow: hidden;
    text-align: center;
    grid-template-columns: 25% 25% 25% 25%;
}
.logo-con ul li {
    height: 148px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgb(175 200 187 / 15%);
    border-bottom: 1px solid rgb(175 200 187 / 15%);
}
.logo-con ul li figure img{
    transition: all 0.4s ease-in-out;
}
.logo-con ul li figure img:hover{
    transform: translateY(8px);
}
.logo-con ul li:first-child, .logo-con ul li:nth-child(5) {
    border-left: none;
}
.logo-con ul li:nth-child(5),
.logo-con ul li:nth-child(6),
.logo-con ul li:nth-child(7),
.logo-con ul li:nth-child(8){
    border-bottom: 0;
}
/* responsive */
@media only screen and (max-width: 1440px) {
    .logo-con ul li {
        height: 128px;
    }
}
@media only screen and (max-width: 1199px) {
    .logo-con ul li {
        height: 108px;
    }
}
@media only screen and (max-width: 991px) {
    .logo-con ul li figure img {
        width: 100%;
    }
}
@media only screen and (max-width: 767px) {
    .logo-con ul li figure img {
        padding: 0 10px;
    }
}
@media only screen and (max-width: 575px) {
    .logo-con ul {
        grid-template-columns: 48% 48%;
    }
    .logo-con ul li:nth-child(odd) {
        border-left: none;
    }
    .logo-con ul li:nth-child(5), .logo-con ul li:nth-child(6) {
        border-bottom: 1px solid rgb(175 200 187 / 15%);
    }
}