nav {
    position: relative;
    background: #fff;
    border-bottom: 2px solid var(--red-color);
}

.thy-title {
    padding: 1.5rem 0;
}
.thy-new {
    font-size: 1.5rem;
    overflow: hidden;
    display: block;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    height: 44px;
}

img {
    border-radius: 4px;
}

.thy-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.thy-wrapper .thy-col-l {
    flex-basis: 100%;
}


.thy-wrapper .thy-col-l .thy-nav-news {
    margin: 1.5rem 0 2rem;
}

.thy-wrapper .thy-col-l .thy-nav-news a {
    color: var(--alBlack);
    text-transform: uppercase;
    font-size: 1.8rem;
    border-right: 1px solid var(--alGrayInfoCars);
    padding: 0 1rem;
}

.thy-wrapper .thy-col-l .thy-nav-news a:first-child {
    padding-left: 0;
}

.thy-wrapper .thy-col-l .thy-nav-news a:last-child {
    padding-right: 0;
    border-right: none;
}

.thy-wrapper .thy-col-l .thy-nav-news a:hover {
    color: var(--alRed);
}

/*tin nổi bật*/
.thy-hot-news {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.thy-hot-news .thy-box-l {
    flex-basis: 68%;
}

.thy-hot-news .thy-box-r {
    flex-basis: 30%;
}

.thy-hot-news a {
    display: inline-block;
    width: 100%;
}

.thy-hot-news .thy-box-l img {
    height: 400px;
}

.thy-hot-news .thy-box-l .thy-title-news {
    margin: 1.5rem 0;
    font-size: 2.4rem !important;
    line-height: 3.2rem;
}

.thy-hot-news .thy-box-r .thy-item {
    margin-bottom: 1.5rem;
}

.thy-hot-news .thy-box-r .thy-item .thy-new {
    margin-top: 1rem;
}

.thy-hot-news .thy-box-r img {
    height: 165px;
}

.vt-hot-news
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 0.8em;
}
.news-vt
{
    flex-basis: 32%;
    background: #fff;
    margin-bottom: 2em;
    border-radius: 4px;
    padding: 1em;
}
.news-vt-last
{
    background: none;
}
.news-vt img
{
   
    overflow: hidden;
    object-fit: cover;
    height: 250px;
}
.vt-des
{
    margin-top: 1em;
}
.thy-car, .thy-new
{
    color: var(--vtwhite);
}
.title-news-ok
{
    position: relative;
    display: block;
    overflow: hidden;
}
.des-thy
{
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    padding: .5em;
    z-index: 9;
    left: 0;
    color: #fff;
    border-radius: 0 0 4px 4px;
    display: block;
    overflow: hidden;
    height: 75px;
}
.nut-tai-them
{
    width: 35%;
}
.tai-tin
{
    text-align: center;
    padding: 1em 0;
}
.tai-tin a
{
    background: var(--yellow-color);
    padding: 0.6em 1em;
    color: #fff;
    border-radius: 20px;
    width: 20%;
    margin: 0 auto;
    font-size: 1.2em;
    display: block;
    text-transform: uppercase;
}
.tai-tin a:hover
{
    color: black;
}

/*breadcrumb*/
.bg-detail
{
    background: none;
}
.breadcrumb-content
{
    width: 1200px;
    margin: 0 auto;
    display: flex;
    
}

.breadcrumb-content span
{
    font-size: 1.2em;
    margin-top: 0.1em;
}
.news-vt a:hover
{
    color: var(--yellow-color);
}
.item-news
{
    margin-top: 0.6em;
}
.thumb-art
{
    flex-basis: 30%;
    
}

.description
{
    flex-basis: 68%;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.date-times
{
    font-size: 0.9em;
    color: var(--date-color);
    display: block;
    margin-top: 0.6em;
    font-style: italic;
}
/*tin theo danh mục*/
.thy-col-l .thy-box-news {
    margin-top: 1.5rem;
}

.thy-box-news .thy-box {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.thy-box-news .thy-box .thy-item {
    flex-basis: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.thy-box-news .thy-box .thy-item img {
    height: 167px;
}

.thy-box-news .thy-box .thy-item:last-child {
    margin-bottom: 0;
}

.thy-box-news .thy-item .thy-box-img {
    flex-basis: 30%;
}

.thy-box-news .thy-item .thy-box-text {
    flex-basis: 68%;
}

.thy-box-news .thy-item .thy-box-text .thy-new {
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    line-height: 2.6rem;
}

/*video*/

.thy-box-video {
    margin-top: 1.5rem;
}

.thy-box-video .thy-box {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    background: var(--alBlue);
    padding: 1rem;
    border-radius: 4px;
}

.thy-box-video .thy-box .thy-item {
    flex-basis: 32%;
}

.thy-box-video .thy-box .thy-item a {
    display: inline-block;
    width: 100%;
}

.thy-box-video .thy-box .thy-item a:hover .thy-title-video {
    color: var(--alRed);
}

.thy-box-video .thy-item img {
    height: 179px;
    margin-bottom: 1rem;
    font-weight: bold;
}

.thy-box-video .thy-item .thy-title-video {
    margin-bottom: 1rem;
    font-weight: bold;
}

/*xe mói về*/

.thy-col-r .thy-new-car {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    border: 1px solid var(--vtbghome);
    border-radius: 4px;
    padding: 0.6em;
}

.thy-col-r .thy-new-car .thy-item {
    flex-basis: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 1px dotted #403f3f;
    padding: 1.5rem 0;
}

.thy-col-r .thy-new-car .thy-item:first-child {
    padding-top: 0;
}

.thy-col-r .thy-new-car .thy-item:last-child {
    border-bottom: none;
}

.thy-col-r .thy-item .thy-img {
    flex-basis: 35%;
}

.thy-col-r .thy-item .thy-info-car {
    flex-basis: 61%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.thy-col-r .thy-item .thy-info-car .thy-price {
    color: var(--vtyellow);
    margin-top: 0.5rem;
    font-size: 1.5rem;
}

.thy-col-r .thy-item .thy-img img {
    height: 78px;
}
.thy-active-news-menu {
    color: var(--alRed) !important;
    font-weight: 700;
}

@media only screen and (max-width: 1230px) {
    .thy-wrapper {
        padding: 0 1.5rem 3rem;
        margin-bottom: 0;
    }

    /*tin nổi bật*/
    .thy-hot-news .thy-box-l img {
        height: 350px;
    }

    .thy-hot-news .thy-box-r img {
        height: 140px;
    }
}
@media only screen and (max-width: 1200px)
{
    .breadcrumb-content
{
    width: 100%;
}
}


@media only screen and (max-width: 1024px) {
    .thy-wrapper .thy-col-l {
        flex-basis: 100%;
    }

    .thy-wrapper .thy-col-r {
        flex-basis: 100%;
    }

    /*tin nổi bật*/
    .thy-hot-news .thy-box-l img {
        height: 400px;
    }

    .thy-hot-news .thy-box-r img {
        height: 165px;
    }

    /*tin theo danh mục*/
    .thy-box-news .thy-item .thy-box-img {
        flex-basis: 25%;
    }

    .thy-box-news .thy-item .thy-box-text {
        flex-basis: 73%;
    }

    .thy-box-news .thy-box .thy-item img {
        height: 160px;
    }

    /*video*/
    .thy-box-video .thy-item img {
        height: 207px;
    }

    /*xe mới về*/
    .thy-col-r .thy-item .thy-img {
        flex-basis: 25%;
    }

    .thy-col-r .thy-item .thy-info-car {
        flex-basis: 73%;
    }

    .thy-col-r .thy-item .thy-img img {
        height: 160px;
    }
}
@media only screen and (max-width: 850px)
{
    .news-vt
    {
        flex-basis: 49%;
    }
} 

@media only screen and (max-width: 768px) {
    .thy-wrapper {
        padding: 0 1rem 3rem;
    }

    /*tin nổi bật*/
    .thy-hot-news .thy-box-l {
        flex-basis: 100%;
        margin-bottom: 1.5rem;
    }

    .thy-hot-news .thy-box-l img {
        height: 460px;
    }

    .thy-hot-news .thy-box-r {
        flex-basis: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .thy-hot-news .thy-box-r .thy-item {
        flex-basis: 49%;
    }

    .thy-hot-news .thy-box-r img {
        height: 240px;
    }

    .thy-hot-news .thy-box-l .thy-title-news {
        font-size: 2.1rem !important;
        line-height: 3rem;
    }

    /*tin theo danh mục*/
    .thy-col-l .thy-box-news {
        margin-top: 0;
    }

    .thy-box-news .thy-box .thy-item img {
        height: 123px;
    }

    .thy-box-text .thy-des {
        display: none;
    }

    .thy-box-news .thy-item .thy-box-text .thy-new {
        font-size: 1.5rem;
        line-height: 2.3rem;
    }
      
    /*nut tai tin*/
    .tai-tin a
    {
        width: 100%;
    }
    .tai-tin
    {
        padding: 0;
    }

    .vt-des
    {
        height: 66px;
        overflow: hidden;
    }

    /*xe mới về*/
    .thy-col-r .thy-item .thy-img img {
        height: 123px;
    }
}
@media only screen and (max-width: 576px)
{
    .news-vt
    {
        margin-bottom: 1em !important;
    }
    .thy-new
    {
        height: auto;
    }
}
@media only screen and (max-width: 640px) {
    /*tin nổi bật*/
    .thy-hot-news .thy-box-l img {
        height: 400px;
    }

    .thy-hot-news .thy-box-r img {
        height: 199px;
    }

    /*tin theo danh mục*/
    .thy-box-news .thy-box .thy-item img {
        height: 102px;
    }

    /*video*/
    .thy-box-video .thy-item img {
        height: 126px;
    }

    /*xe mới về*/
    .thy-col-r .thy-item .thy-img img {
        height: 102px;
    }
}

@media only screen and (max-width: 576px) {
    /*menu tin tức*/
    .thy-wrapper .thy-col-l .thy-nav-news a {
        font-size: 1.6rem;
        margin: 1.5rem 0;
    }

    /*tin nổi bật*/
    .thy-hot-news .thy-box-l img {
        height: 363px;
    }

    .thy-hot-news .thy-box-l .thy-title-news {
        font-size: 2rem !important;
        line-height: 2.8rem;
    }

    .thy-hot-news .thy-box-r img {
        height: 178px;
    }

    /*tin theo danh mục*/
    .thy-box-news .thy-item .thy-box-img {
        flex-basis: 30%;
    }

    .thy-box-news .thy-item .thy-box-text {
        flex-basis: 68%;
    }

    .thy-box-news .thy-box .thy-item img {
        height: 109px;
    }

    /*video*/
    .thy-box-video .thy-box .thy-item {
        flex-basis: 49%;
    }

    .thy-box-video .thy-item img {
        height: 171px;
    }

    .thy-box-video .thy-box .thy-item:last-child {
        margin-top: 1rem;
    }

    /*xe mới về*/
    .thy-col-r .thy-item .thy-img {
        flex-basis: 30%;
    }

    .thy-col-r .thy-item .thy-info-car {
        flex-basis: 68%;
    }

    .thy-col-r .thy-item .thy-img img {
        height: 109px;
    }
    .nut-tai-them
    {
        width: 100%;
    }    
}

@media only screen and (max-width: 480px) {
    .thy-wrapper .thy-col-l .thy-nav-news a {
        font-size: 1.5rem;
        padding: 0 0.5rem;
    }

    /*tin nổi bật*/
    .thy-hot-news .thy-box-l img {
        height: 299px;
    }

    .thy-hot-news .thy-box-r img {
        height: 147px;
    }

    /*tin theo danh mục*/
    .thy-box-news .thy-box .thy-item img {
        height: 90px;
    }

    /*video*/
    .thy-box-video .thy-item img {
        height: 140px;
    }

    /*xe mới về*/
    .thy-col-r .thy-item .thy-img img {
        height: 90px;
    }
    .news-vt
    {
        flex-basis: 100%;
    }
}

@media only screen and (max-width: 420px) {
    /*tin nổi bật*/
    .thy-hot-news .thy-box-l img {
        height: 259px;
    }

    .thy-hot-news .thy-box-r img {
        height: 127px;
    }

    /*tin theo danh mục*/
    .thy-box-news .thy-item .thy-box-img {
        flex-basis: 35%;
    }

    .thy-box-news .thy-item .thy-box-text {
        flex-basis: 63%;
    }

    .thy-box-news .thy-box .thy-item img {
        height: 91px;
    }

    .thy-box-news .thy-item .thy-box-text .thy-new {
        font-size: 1.4rem;
        line-height: 2.2rem;
    }

    /*video*/
    .thy-box-video .thy-item img {
        height: 120px;
    }

    /*xe mới về*/
    .thy-col-r .thy-item .thy-img {
        flex-basis: 35%;
    }

    .thy-col-r .thy-item .thy-info-car {
        flex-basis: 63%;
    }

    .thy-col-r .thy-item .thy-img img {
        height: 91px;
    }
    .news-vt
    {
        flex-basis: 100%;
    }
    .thy-new, .vt-des
    {
        height: auto;
    }
}

@media only screen and (max-width: 360px) {
    /*menu tin tức*/
    .thy-wrapper .thy-col-l .thy-nav-news a {
        font-size: 1.4rem;
    }

    /*tin nổi bật*/
    .thy-hot-news .thy-box-l img {
        height: 226px;
    }

    .thy-hot-news .thy-box-r img {
        height: 110px;
    }

    /*video*/
    .thy-box-video .thy-item img {
        height: 104px;
    }

    /*xe mới về*/
    .thy-col-r .thy-item .thy-img img {
        height: 79px;
    }
}

