.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, .col-r h2 {
    padding-bottom: 10px;
}

.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;
}

.price {
    color: var(--red) !important;
}

.col-small {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 1em;

}

.item-news {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    flex-basis: 49%;
    margin-bottom: 2em;
}

.item-news .thuml {
    flex-basis: 39%;
}

.item-news .thuml img {
    height: 100px;
    overflow: hidden;
}

.item-news .thuml:hover {
    box-shadow: 0px 1px 2px #333;
}

.item-news .description {
    flex-basis: 59%;
}

.item-news h3 {
    display: block;
    width: 100%;
    margin-bottom: 0.8em;

}

.item-news h3 a {
    font-weight: bold;
    font-size: 1.1em;
    color: var(--black);
}

.item-news h3 a:hover {
    color: var(--red);
}

.tai-them {
    text-align: center;
    display: block;
    margin: 15px 0;
}

.tai-them a {
    background: var(--red);
    padding: 0.5em 1em;
    color: var(--white);
    font-weight: bold;
    border-radius: 4px 0 4px 0;
    font-size: 1.2em;
}

.tai-them a:hover {
    background: var(--redHover);
}

/*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(--gray2);
}

.col-r .item .img {
    width: 30%;
}

.col-r .item .info {
    width: 67%;
}

.col-r .item .img img {
    height: 68px;
}

.col-r .item .info .car {
    display: inline-block;
    margin-bottom: 3px;
    font-size: 1.1em;
    font-weight: bold;
}

.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: 1024px) {
    /*xe mới về*/
    .col-r .item .img img {
        height: 55px;
    }
}

@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;
    }

    #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;
    }

    .item-news h3 {
        min-height: 41px;
    }

    .item-news .description {

        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 22px;
        -webkit-line-clamp: 4;
        height: 88px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }
}

@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%;
    }

    #wrapper .col-r .box-advertisement a img {
        height: 300px;
    }

    .item-news .thuml img {
        height: 88px;
    }
}

@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: 560px) {
    .item-news {
        flex-basis: 100%;
    }

    .item-news h3 {
        min-height: 20px;
    }

    .tai-them a {
        display: block;
        width: 100%;
    }

    .item-news h3 a {
        font-size: 1.2em;
    }
}

@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;
    }

    /*ảnh quảng cáo*/
    #wrapper .col-r .box-advertisement a img {
        height: 180px;
    }
}

@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;
    }
}

@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: 70px;
    }

    /*ảnh quảng cáo*/
    #wrapper .col-r .box-advertisement a img {
        height: 140px;
    }
}

@media only screen and (max-width: 368px) {
    /*tin tức*/
    .col-l .info .description {
        display: none;
    }
}

@media only screen and (max-width: 320px) {
    /*tin tức*/
    .col-l .list .item .img img {
        height: 69px;
    }

    /*xe mới về*/
    .col-r .item .img img {
        height: 59px;
    }
}