.cdp-rows
{
    max-width: 1440px;
    width: 90%;
    margin: auto;
}

.cpg-rows-wrap
{
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px;
}

.cpg-row
{
    width: calc(25.00% - 16px);
    margin: 16px 8px;
    box-shadow: 0 0 5px 0 rgb(0 0 0 / 20%);
}

.cpg-row-inner
{
    display: flex;
    position: relative;
}

.cpg-row img
{
    width: 100%;
    max-width: 100%;
    height: 200px;
    object-fit: cover;
}

.cpg-row-title
{
    font-size: 16px;
    font-weight: 500;
    padding: 10px;
}

.cpg-row-see-more {
    display: flex;
    align-items: flex-end;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    font-size: 0;
    opacity: 0;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

.cpg-row-see-more:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 35%, rgba(0,0,0,0.2) 100%);
}

.cpg-row:hover .cpg-row-see-more {
    opacity: 1;
}

.cpg-row-details {
    z-index: 0;
    padding: 0 10px 16px 16px;
    color: #fff;
}

.cpg-row-pictures-count {
    font-size: 1rem;
}

/*ART START*/
/*ART END*/

@media all and (max-width: 1366px){
    .cpg-row-title
    {
        font-size: 15px
    }

    .cpg-row
    {
        width: calc(33.33% - 16px);
    }
}

@media all and (max-width: 1024px)
{
    .cpg-row
    {
        width: calc(50% - 16px);
    }
}

@media all and (max-width: 767px)
{
    .cpg-row
    {
        width: 100%;
        text-align: center !important;
    }
    .cpg-row img {
        height: 260px;
    }
}

@media all and (max-width: 580px)
{
    .cpg-row img {
        height: 200px;
    }
}