.three-layout-img .img-col {
    width: calc(33.33% - 30px);
    margin: 0 15px;
    border: 1px solid var(--primaryColor);
    padding: 10px;
    border-radius: 10px;
}

.three-layout-img .mainImg {
    padding-bottom: 100%;
    border-radius: 10px;
    overflow: hidden;
}


.three-layout-img .mainImg img{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}