/*breadcrumb*/
.vd-breadcrumb {
    background-image: url(../images/back-header-tin-tuc.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 150px;
}

/*tin tức*/
.vd-wrapper {
    padding: 3rem 0 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.vd-wrapper .vd-col-l {
     flex-basis: 68%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.vd-wrapper .vd-col-r {
    flex-basis: 30%;
}

.breadcrumb-vd {
    color: var(--vdWhite);
    text-transform: uppercase;
    font-size: 1.2em;
}

.vd-content {
    color: var(--vdWhite);
}

/*menu tin tức*/

.nav-news {
    padding: 10px 0 30px;
    flex-basis: 100%;
    text-align: right;
}

.nav-news a {
    color: var(--vdWhite);
    text-transform: uppercase;
    font-size: 18px;
    padding: 0 10px;
    border-right: 1px solid var(--vdWhite);
}

.nav-news a:first-child {
    padding-left: 0;
}

.nav-news a:last-child {
    border-right: none;
}

.nav-news a:hover {
    color: var(--vdYellowHover);
}

.active-news-menu {
    color: var(--vdYellowHover) !important;
}

/*tin tức*/
.vd-col-l .vd-item {
    flex-basis: 49%;
    margin-bottom: 2rem;
}

.vd-col-l .vd-item .vd-box-content {
    padding: 1rem;
    background: var(--tqBgNews);
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.vd-col-l .vd-item a img {
    display: block;
    height: 312px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.vd-col-l .vd-item .vd-news {
    display: block;
    color: var(--tqBlack);
    margin-bottom: 1.5rem;
}

.vd-col-l .vd-item .vd-news:hover {
    color: var(--tqTextHover);
}

.vd-col-l .vd-load-more {
    flex-basis: 100% !important;
}

/*tin tức*/
.vd-news-content
{

    width: 100%;
    
}

.vd-news-01
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.vd-listnews
{
    flex-basis: 49%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2em;
}
.box-img-vd
{
    flex-basis: 40%;
}
.box-img-vd img
{
    object-fit: cover;
    height: 200px;
    border: 1px solid #cdcdcd;
}
.info-blog
{
    flex-basis: 58%;
}
.info-blog a:hover
{
    color: var(--vdYellow);
    text-decoration: underline;
}
a.title-blog
{
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 0.6em;
    display: block;
    overflow: hidden;
    max-height: 46px;
}
.desc-blog
{
    line-height: 1.5em;
    margin-bottom: 0.6em;
    overflow: hidden;
    max-height: 115px;
}
.date-blog
{
    color: #bdbdbd;
    font-size: 0.9em;
}

#xe-nhap
{
    margin-top: 2em;
}
/*danh mục tin tức*/

.vd-list-cate {
    border: 1px solid var(--tqBgNews);
    border-radius: 5px;
    padding: 3rem 2rem;
}

.vd-list-cate .vd-box {
    margin-bottom: 2.5rem;
}

.vd-list-cate .vd-box:last-child {
    margin-bottom: 0;
}

.vd-list-cate .vd-box .vd-item {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.vd-list-cate .vd-box .vd-item:last-child {
    margin-bottom: 0;
}

.vd-list-cate .vd-box .vd-title-news {
    font-weight: bold;
    padding-left: 0;
}

.vd-list-cate .vd-box .vd-item a {
    color: var(--tqBlack);
}

.vd-list-cate .vd-box .vd-item a:hover {
    color: var(--tqTextHover);
}

/*xe mới về*/
.vd-list-new-cars {
    margin-top: 3rem;
}

.vd-list-new-cars .vd-new-car .vd-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.vd-new-car .vd-item .vd-img {
    flex-basis: 35%;
}

.vd-new-car .vd-item .vd-img img {
    border-radius: 5px;
    height: 87px;
}

.vd-new-car .vd-item .vd-info-car {
    flex-basis: 62%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.vd-new-car .vd-car, .vd-new-car .vd-price {
    color: var(--tqBlack);
    font-size: 1.5rem;
}

.vd-new-car .vd-car:hover {
    color: var(--tqTextHover);
}

.vd-new-car .vd-box-price {
    margin-top: 1rem;
    background: var(--tqYellow);
    padding: 0.2rem 1rem;
    border-radius: 5px;
}

@media only screen and (max-width: 1270px) {
    .vd-wrapper {
        padding: 1.5rem;
    }
}

@media only screen and (max-width: 1200px) {
    /*tin tức*/
    .vd-col-l .vd-item a img {
        height: 278px;
    }

    /*xe mới về*/
    .vd-new-car .vd-item .vd-img img {
        height: 78px;
    }
}

@media only screen and (max-width: 1024px) {
    .vd-wrapper .vd-col-l {
        flex-basis: 100%;
    }

    .vd-wrapper .vd-col-r {
        flex-basis: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    /*tin tức*/
    .vd-col-l .vd-item {
        flex-basis: 32%;
    }

    /*danh mục*/
    .vd-col-r .vd-list-cate-news {
        flex-basis: 49%;
    }

    /*xe mới về*/
    .vd-col-r .vd-list-new-cars {
        flex-basis: 49%;
        margin-top: 0;
    }

    .vd-new-car .vd-item .vd-img img {
        height: 113px;
    }
    .desc-blog
    {
        height: 108px;
    }
}

@media only screen and (max-width: 768px) {
    .vd-wrapper {
        padding: 1.5rem 1rem;
    }

    /*tin tức*/
    .vd-col-l .vd-item a img {
        height: 177px;
    }

    /*danh mục*/
    .vd-col-r .vd-list-cate-news {
        flex-basis: 100%;
    }

    /*xe mới về*/
    .vd-col-r .vd-list-new-cars {
        flex-basis: 100%;
        margin-top: 1.5rem;
    }

    .vd-new-car .vd-item .vd-img {
        flex-basis: 30%;
    }

    .vd-new-car .vd-item .vd-img img {
        height: 148px;
    }

    .vd-new-car .vd-item .vd-info-car {
        flex-basis: 68%;
        justify-content: flex-start;
    }

    .vd-new-car .vd-car {
        flex-basis: 100%;
    }

    .vd-new-car .vd-box-price {
        padding: 0.5rem 1rem;
    }
    .vd-listnews
    {
        flex-basis: 100%;
    }
    .desc-blog
    {
        height: 110px;
    }
}

@media only screen and (max-width: 576px) {
    /*tin tức*/
    .vd-col-l h2 {
        margin-bottom: 1.5rem;
    }

    .vd-col-l .vd-item {
        flex-basis: 49%;
        margin-bottom: 1.5rem;
    }

    .vd-col-l .vd-item a img {
        height: 204px;
    }

    /*danh mục*/
    .vd-list-cate {
        padding: 2rem 1.5rem;
    }

    /*xe mới về*/
    .vd-new-car .vd-item .vd-img {
        flex-basis: 35%;
    }

    .vd-new-car .vd-item .vd-img img {
        height: 130px;
    }

    .vd-new-car .vd-item .vd-info-car {
        flex-basis: 63%;
        justify-content: flex-start;
    }

    .vd-list-new-cars .vd-new-car .vd-item {
        margin-bottom: 1.5rem;
    }

    .vd-list-new-cars .vd-new-car .vd-item:last-child {
        margin-bottom: 0;
    }
    .box-img-vd img
    {
        height: 183px;
    }
    .desc-blog
    {
        height: 103px;
    }
}

@media only screen and (max-width: 480px) {
    /*tin tức*/
    .vd-col-l .vd-item a img {
        height: 169px;
    }

    /*xe mới về*/
    .vd-new-car .vd-item .vd-img img {
        height: 107px;
    }
}

@media only screen and (max-width: 420px) {
    /*tin tức*/
    .vd-col-l .vd-item a img {
        height: 147px;
    }

    /*xe mới về*/
    .vd-new-car .vd-item .vd-img img {
        height: 93px;
    }

    .vd-new-car .vd-box-price {
        padding: 0.3rem 1rem;
    }
    .box-img-vd, .info-blog
    {
        flex-basis: 100%;
    }
    a.title-blog
    {
        margin-top: 0.6em;
    }
    .desc-blog
    {
        height: auto;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 5;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }
}

@media only screen and (max-width: 375px) {
    /*tin tức*/
    .vd-col-l .vd-item a img {
        height: 130px;
    }

    /*xe mới về*/
    .vd-new-car .vd-item .vd-img img {
        height: 83px;
    }
}

@media only screen and (max-width: 360px) {
    /*tin tức*/
    .vd-col-l .vd-item {
        flex-basis: 100%;
    }

    .vd-col-l .vd-item a img {
        height: 225px;
    }
}
