html,body{
    width: 100%;
    height: 100%;  
    padding: 0;
    margin: 0;  
    font-family: 'Google Sans',Roboto,Arial,sans-serif;
}
*{
    box-sizing: border-box;
}
.container{
    position:relative;
    width: 80%;
    margin-left: 10%;
    height: 100%;
}
.grid{
    /*width: 18%;*/
    height: 0;
    width: 23%;
    padding-top: calc(23% + 60px);
    /*padding-top: calc(18% + 60px);*/
    margin: 0.8%;  
    float: left;
    position: relative;
}
.grid a{ 
    text-decoration: none;
    color: blue;
}
.grid-img{
    width: 100%;
    top:0;
    left: 0;
    right: 0;
    padding-top: 100%;
    position: absolute;
    border: 1px solid #fff !important;
    background-color: #e8eaed;
    -webkit-background-size: cover;
    background-size: cover;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    -webkit-transition: all .135s cubic-bezier(0.0,0.0,0.2,1);
    transition: all .135s cubic-bezier(0.0,0.0,0.2,1);
}
.BB{
    height: 52px;
    margin-top: 2px;
    margin-bottom: 5px;
    bottom:0;
    left: 0;
    right: 0;
    position: absolute;
}
.Title{
    color: #3c4043;
    font-size: .875rem;
    font-weight: bold;
    line-height: 1.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    max-height: 40px;
}
.Count{
    color: #5f6368;
    padding-top: 2px;
    letter-spacing: .025em;
    font-family: Roboto,Arial,sans-serif;
    font-size: .75rem;
    font-weight: 400;
    line-height: 1rem;
}
@media only screen and (max-width: 851px) {
    .grid{
        width: 23%;
        padding-top: calc(23% + 60px);
    }
}
@media only screen and (max-width: 670px) {
    .grid{
        width: 31.3333333333%;
        padding-top: calc(31.3333333333% + 60px);
    }
    .container{
        width: calc(100% - 30px);
        margin-left: 15px;
    }
}
@media only screen and (max-width: 470px) {
    .grid{
        width: 48%;
        padding-top: calc(48% + 60px);
    }
}
@media only screen and (max-width: 335px) {
    .grid{
        width: 98%;
        padding-top: calc(98% + 60px);
    }
}