.breadcrumb {
    padding: 20px 0 0;
}

#wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

#wrapper .col-l {
    flex-basis: 70%;
}

#wrapper .col-r {
    flex-basis: 28%;
}

/*danh sách tin tức*/

.col-l h2 {
   margin-bottom: 5px;
   color: var(--red);
}

.col-r h2 {
    margin-bottom: 5px;
    color: var(--red);
}

.col-l .list .item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--gray2);
    padding: 15px 0;
}

.col-l .list .item:last-child {
    border-bottom: none;
}

.col-l .list .item .img {
    flex-basis: 30%;
}

.col-l .list .item .info {
    flex-basis: 68%;
}

.col-l .list .item .img img {
    height: 162px;
}

.col-l .info .description {
    margin-top: 10px;
}

.col-l .item .info .news-title:hover {
    color: var(--red) !important;
}

/*phân trang*/

.pagination {
    margin-top: 15px;
}

/*xe mới về*/

.col-r .list .item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--bgInfoCar);
}

.col-r .item .img {
    width: 30%;
}

.col-r .item .img img {
    height: 82px;
}

.col-r .item .info {
    width: 67%;
    position: relative;
    top: -7px;
}

.col-r .item .info .car {
    display: inline-block;
}

.col-r .item .info .car:hover {
    color: var(--red);
}

.col-r .list .item:last-child {
    border: none;
}

@media only screen and (max-width: 1200px) {
    #wrapper {
        padding: 15px;
    }

    /*breadcrumb*/
    .breadcrumb {
        padding: 20px 15px 5px;
    }

    /*tin tức*/
    .col-l .list .item .img {
        flex-basis: 35%;
    }

    .col-l .list .item .info {
        flex-basis: 63%;
    }

    .col-l .list .item .img img {
         height: 190px;
    }
}

@media only screen and (max-width: 991px) {
    #wrapper {
        flex-wrap: wrap;
    }
    /*tin tức*/

    #wrapper .col-l {
        flex-basis: 100%;
    }

    /*xe mới về*/
    #wrapper .col-r {
        flex-basis: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-top: 10px;
    }

    .col-r .item .info {
        top: 0;
    }

    .col-r .item .info .car {
        margin-bottom: 3px;
    }

    #wrapper .col-r .title {
        flex-basis: 100%;
    }

    #wrapper .col-r .list {
        flex-basis: 68%;
    }

    #wrapper .col-r .box-advertisement {
        flex-basis: 30%;
    }

    .col-r .item .img img {
        height: 130px;
    }
}

@media only screen and (max-width: 768px) {
    /*tin tức*/
    .col-l .list .item .img img {
        height: 175px;
    }

    /*xe mới về*/
    .col-r .item .img img {
        height: 140px;
    }

    #wrapper .col-r .list {
        flex-basis: 100%;
    }

    /*ảnh quảng cáo*/

    #wrapper .col-r .box-advertisement {
        flex-basis: 100%;
    }

    #wrapper .col-r .box-advertisement a {
        width: 100%;
    }
}

@media only screen and (max-width: 640px) {
    /*tin tức*/
    .col-l .list .item .img img {
        height: 142px;
    }

    /*xe mới về*/
    .col-r .item .img img {
        height: 120px;
    }
}

@media only screen and (max-width: 576px) {
    #wrapper {
        padding: 10px;
    }

    /*tin tức*/
    .col-l .list .item .img img {
        height: 125px;
    }

    .news-title {
        font-size: 14px;
        line-height: 22px;
    }

    /*phân trang*/
    .pagination {
        margin-bottom: 15px;
    }

    /*xe mới về*/
    .col-r .item .img img {
        height: 105px;
    }
}

@media only screen and (max-width: 480px) {
    /*tin tức*/
    .col-l .info .description {
        margin-top: 3px;
    }

    .col-l .list .item .img img {
        height: 105px;
    }

    /*xe mới về*/
    .col-r .item .img img {
        height: 85px;
    }

    .col-r .list .item {
        padding: 10px 0;
    }
}

@media only screen and (max-width: 420px) {
    /*tin tức*/
    .col-l .list .item .img img {
        height: 95px;
    }

    .col-l .list .item {
        padding: 10px 0;
    }

    .col-l .info .description {
        display: none;
    }
}

@media only screen and (max-width: 395px) {
    /*tin tức*/
    .news-title {
        font-size: 13px;
        line-height: 20px;
    }

    .col-l .list .item .img img {
        height: 85px;
    }
}

@media only screen and (max-width: 375px) {
    /*xe mới về*/
    .col-r .item .img img {
        height: 75px;
    }
}

@media only screen and (max-width: 370px) {
    /*xe mới về*/
    .col-r .item .img img {
        height: 90px;
    }

    /*tin tức*/
    .col-l .info .description {
        display: none;
    }
}
