.photos * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lstImgContent {
    overflow: hidden;
    padding-bottom: 2px;
    padding-right: 2px;
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(3,minmax(0,1fr));
    column-gap: 20px;
    row-gap: 20px;
}

    .lstImgContent li {
        padding: 0;
        box-sizing: border-box;
    }

        .lstImgContent li:nth-child(4n+4) {
            margin-right: 0;
        }

    .lstImgContent .postImg {
        height: 292px;
        overflow: hidden;
        position: relative;
        box-sizing: border-box; /* box-shadow:0 1px 1px rgba(0,0,0,.4); */
        margin-bottom: 2px;
        z-index: 1;
    }

        .lstImgContent .postImg img {
            height: 100%;
            width: 100%;
            left: 0;
            right: 0;
            margin: auto;
            object-fit: cover;
            transition: all .3s;
        }

.listHinhAnh, .listVieos {
    overflow: hidden;
    margin: 0;
    list-style: none;
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(3,minmax(0,1fr));
    column-gap: 20px;
    row-gap: 20px;
}

    .listHinhAnh *, .listVieos * {
        margin: 0;
        padding: 0;
        list-style: none;
        color: inherit;
        text-decoration: none;
    }

    .listHinhAnh > li, .listVieos > li {
        box-sizing: border-box;
    }

    .listHinhAnh .listImg, .listVieos .postImg {
        height: 275px;
    }

    .listHinhAnh ul {
        width: 100%;
        position: relative;
        height: 100%;
        box-sizing: border-box;
        z-index: 1;
    }

    .listHinhAnh .listImg li {
        top: 0;
        width: 100%;
        height: 100%;
        position: absolute;
        display: none;
    }

    .listHinhAnh .listImg img {
        outline: 1px solid rgba(255,255,255,.5);
        outline-offset: -5px;
        height: 100%;
        width: 100%;
        left: 0;
        right: 0;
        margin: auto;
        min-width: 100%;
        object-fit: cover;
    }

    .listHinhAnh h4, .listVieos h4 {
        color: #e85d00;
        margin: 0;
        text-align: center;
        font-size: 24px;
        font-weight: normal;
        height: 70px;
        margin-top: 10px;
        overflow: hidden;
        font-family: 'BarlowM';
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .listVieos li {
        padding: 2px;
        box-sizing: border-box;
    }

        .listVieos li img {
            box-shadow: 0 0 2px #414141;
        }

    .listVieos .postImg a {
        position: relative;
        display: block;
        height: 100%;
    }

    .listVieos li .postImg a:after {
        content: "\f144";
        font-family: FontAwesome;
        position: absolute;
        left: 40%;
        top: 40%;
        font-size: 60px;
        color: #fff;
        opacity: .5;
        transition: transform 1s;
    }

@media only screen and (max-width :1279px) {
    .lstImgContent .postImg {
        height: 188px;
    }

    .listHinhAnh .listImg {
        height: 230px;
    }
}

@media only screen and (max-width :1023px) {
    .lstImgContent .postImg {
        height: 215px;
    }
}

@media only screen and (max-width :767px) {
    .photos h4 {
        font-size: 16px;
    }

    .lstImgContent li { /* width:32.66666%; */ /* margin-right:.5%; */ /* margin-top:3px; */
    }

        .lstImgContent li:nth-child(4n+4) { /* margin-right:.5%; */
        }

        .lstImgContent li:nth-child(3n+3) {
            margin-right: 0;
        }

    .lstImgContent .postImg {
        height: 100px;
        border-width: 3px;
    }

    .listHinhAnh .listImg {
        height: 100px;
    }

    .listVieos .postImg {
        height: 130px
    }

    .listHinhAnh h4, .listVieos h4 {
        font-size: 14px;
    }

    .listVieos li .postImg a:after {
        font-size: 30px;
    }
}

@media only screen and (max-width :479px) {
    .photos h4 {
        font-size: 14px;
    }

    .lstImgContent .postImg {
        height: 80px;
    }

    .listHinhAnh > li { /* width: 49%; */
    }

        .listHinhAnh > li:nth-child(3n+3) {
            margin-right: 2%;
        }

        .listHinhAnh > li:nth-child(2n+2) {
            margin-right: 0;
        }

    .listVieos .postImg {
        height: 100px
    }

    .listVieos > li {
        width: 49%;
    }

        .listVieos > li:nth-child(3n+3) {
            margin-right: 2%;
        }

        .listVieos > li:nth-child(2n+2) {
            margin-right: 0;
        }
}