.breadcrumb {
    padding: 10px 0 0;
}

#wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

#wrapper .col-l {
    flex-basis: 70%;
}

#wrapper .col-r {
    flex-basis: 28%;
}

#wrapper .col-b {
    flex-basis: 100%;
    margin-top: 40px;
}

.col-r h2, .col-b h2 {
    padding-bottom: 10px;

}

/*chi tiết bài viết tin tức*/

.col-l h2 {
    margin-bottom: 25px;
}

.col-l .description {
    margin-bottom: 12px;
    font-weight: bold;
}

/*xe mới về*/
.price {
    color: var(--red) !important;
}

.col-r .list .item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px dotted var(--bd);
}

.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-weight: bold;
}

.col-r .item .info .car:hover {
    color: var(--red);
}

.col-r .list .item:last-child {
    border: none;
}

/*tin mới nhất*/

.col-b .box-news {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background: var(--gray4);
    padding: 20px;
    margin-top: 15px;
    border-radius: 4px;
}

.col-b .box-news .box {
    flex-basis: 49%;
}

.col-b .box-news .box .item {
    margin-bottom: 15px;
}

.col-b .box-news .box .item:last-child {
    margin-bottom: 0;
}

.col-b .box-news .box .item a .fa-angle-double-right {
    margin-right: 2px;
    color: var(--gray5)
}

.col-b .box-news .box .item a {
    color: var(--black);
}

.col-b .box-news .box .item a:hover {
    color: var(--red);
}

.news-more {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    justify-items: flex-start;
    margin-top: 1em;
    margin-bottom: 2em;
}

.more-list {
    flex-basis: 24%;
}

.more-list img {
    border: 1px solid var(--gray2);
    margin-bottom: 0.3em;
    object-fit: cover;
    height: 170px;
    overflow: hidden;
}

.more-list p a {
    color: black;
}

.more-list p a:hover {
    color: var(--red);
    text-decoration: underline;
}

.news-content p {
    margin-top: 0.8em;
    margin-bottom: 0.8em;
}

.news-content b, .news-content strong {
    font-weight: bold;
}

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

.news-content ul {
    margin-left: 2em;
}

.news-content ul li {
    margin-top: 0.7em;
    list-style: outside;
}

/*xem thêm*/

.xemthem {
    background: none;
    margin-left: 2em;
}

.xemthem li {
    list-style: disc;
    margin-top: 0.5em;
}

.xemthem li a {
    color: black;
    font-weight: bold;
}

.xemthem li a:hover {
    color: var(--red);
    text-decoration: underline;
}

/*giao diện cho phiên bản Mobile*/
@media only screen and (max-width: 1200px) {
    #wrapper {
        padding: 15px;
    }

    /*breadcrumb*/
    .breadcrumb {
        padding: 10px 15px 5px;
    }

    /*tin mới nhất*/
    #wrapper .col-b {
        margin-top: 20px;
    }
}

@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) {
    h2 {
        font-size: 16px;
    }

    #wrapper {
        flex-wrap: wrap;
    }

    /*chi tiết bài viết tin tức*/
    #wrapper .col-l {
        flex-basis: 100%;
        margin-bottom: 15px;
    }

    /*xe mới về*/
    #wrapper .col-r {
        flex-basis: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    #wrapper .col-r .title {
        flex-basis: 100%;
    }

    #wrapper .col-r .list {
        flex-basis: 68%;
    }

    #wrapper .col-r .box-advertisement {
        flex-basis: 30%;
        margin-top: 10px;
    }

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

@media only screen and (max-width: 768px) {
    /*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;
    }

    /*tin mới nhất*/
    .col-b .box-news {
        padding: 15px 10px;
    }

    .more-list {
        flex-basis: 49%;
        margin-bottom: 2em;
    }
}

@media only screen and (max-width: 640px) {
    /*tin mới nhất*/
    .col-b .box-news {
        flex-wrap: wrap;
    }

    .col-b .box-news .box {
        flex-basis: 100%;
    }

    .col-b .box-news .box:first-child {
        margin-bottom: 15px;
    }

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

@media only screen and (max-width: 576px) {
    #wrapper {
        padding: 10px;
    }

    /*chi tiết bài viết tin tức*/
    .col-l h2 {
        margin-bottom: 15px;
    }

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

    .more-list p a {
        height: 44px;
        display: block;
        overflow: hidden;
    }

    .more-list img {
        height: 140px;
    }

}

@media only screen and (max-width: 480px) {
    /*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;
    }

    .more-list img {
        height: 110px;
    }
}

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

    .more-list {
        flex-basis: 100%;
    }

    .more-list img {
        height: 170px;
    }

}

@media only screen and (max-width: 320px) {
    /*xe mới về*/
    .col-r .item .img img {
        height: 59px;
    }
}




