﻿.news {
}

.news-banner {
    background-color: #13364033;
}

    .news-banner .grid.wide {
    }

.news-banner-container {
    display: flex;
    padding-top: 184px;
    padding-bottom: 45px;
}

.news-banner-left {
    width: 45%;
    padding-right: 30px;
}

.new-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
}

.new-top-left {
}

.new-top-right {
    display: flex;
    max-width: 50%;
    display: none;
}

.new-tag {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.new-tag-item {
    color: var(--color-2);
    border: 1px solid var(--color-2);
    border-radius: 55px;
    font-family: avertaSB;
    padding: 6px 15px;
    font-size: 14px;
    cursor: pointer;
    margin: 5px;
    transition: all .3s;
    user-select: none;
}

    .new-tag-item:hover {
        background-color: var(--color-2);
        color: #fff;
    }

.news-banner-left h1 {
    font-weight: 100;
    margin: 0;
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--color-2);
    font-family: avertaSB;
}

.news-banner-left .img {
    width: 100%;
    height: 243px;
    background-color: #13364036;
    border-radius: 5px;
    overflow: hidden;
}

    .news-banner-left .img img {
    }

.news-banner-left .video {
}

.news-banner-right {
    flex: 1;
    padding-left: 36px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    justify-content: flex-end;
}

.news-banner-cate {
    margin: 0;
    font-weight: 100;
    font-size: 17px;
}

.news-banner-descript {
    background-color: #fff;
    margin: 0;
    font-weight: 100;
    font-size: 16px;
    background-image: url(/Uploads/images/TheLoai/hai-trinh-1-2.png);
    line-height: 170%;
    color: #fff;
    margin-top: 14px;
    border-radius: 8px;
    padding: 16px;
}

.news-container {
    padding: 50px 0;
    overflow: hidden;
    background-image: url(/Design/img/home-car-bg-min.png);
    background-size: cover;
}

    .news-container .grid.wide {
    }

.news-slogan::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 200px;
    background-color: #13364036;
    bottom: 0;
    left: 0;
}

.news-slogan {
    margin: 0;
    white-space: nowrap;
    color: var(--text-primary);
    font-size: 28px;
    line-height: 132%;
    font-weight: 100;
    text-transform: uppercase;
    position: relative;
    padding-left: 30px;
}

    .news-slogan strong {
        color: var(--color-3);
        font-weight: 100;
        font-family: avertaSB;
    }

    .news-slogan br {
    }

.news-list {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(3,minmax(0,1fr));
    column-gap: 25px;
    row-gap: 25px;
}

.news-item {
}

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

    .news-item-img:hover img {
        transform: scale(1.02);
    }

    .news-item-img img {
        transition: all .3s;
    }

.news-item-content {
    padding: 14px 0;
    padding-bottom: 0;
}

.news-item-options {
    margin: 0;
    font-weight: 100;
}

    .news-item-options span {
        color: var(--color-1);
        font-size: 14px;
    }

    .news-item-options strong {
        font-weight: 100;
    }

.news-item-title:hover {
    color: var(--color-2);
}

.news-item-title {
    font-family: barM;
    font-size: 21px;
    line-height: 153%;
    color: var(--color-1);
    margin-top: 4px;
    margin-bottom: 11px;
    transition: all .3s;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.news-item-btn {
    display: flex;
    align-items: center;
    color: #133640c4;
    transition: all .3s;
}

    .news-item-btn:hover {
        color: var(--color-2);
    }

    .news-item-btn span {
        text-transform: uppercase;
    }

    .news-item-btn i {
        font-size: 13px;
        margin-left: 6px;
    }




@media(max-width: 1023px) {
    .news-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 15px;
        row-gap: 15px;
    }

    .news-banner-descript {
        font-size: 20px;
    }

    .new-top-right {
        max-width: 50%;
    }

        .new-top-right > div {
            width: 100%;
        }

    .news-item-img {
        height: 206px;
    }

    .news-slogan {
    }

    .news-container {
        padding: 35px 0;
    }

    .new-tag {
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .news-banner-left .img {
        display: none;
    }

    .news-banner-container {
        flex-direction: column;
        padding: 50px 0;
    }

    .news-banner-right {
        flex: unset;
        padding: 0;
    }

    .news-banner-left h1 {
        margin-bottom: 0;
        font-size: 45px;
    }

    .news-slogan {
        font-size: 30px;
    }
}

@media(min-width:740px) and (max-width:1023px) {
}

@media(max-width:739px) {
    .news-banner-container {
        flex-direction: column;
        padding: 20px 0;
    }

    .news-banner-left,
    .news-banner-right {
        width: 100%;
        padding: 0;
    }

    .news-banner-right {
        padding-top: 0;
    }

    .news-banner-left h1 {
        font-size: 20px;
        text-transform: uppercase;
    }

    .news-banner-descript {
        font-size: 12px;
        margin-top: 7px;
        padding: 11px;
    }

    .news-container {
        padding: 25px 0;
    }

    .news-slogan {
        margin-bottom: 15px;
        padding-left: 18px;
        font-size: 20px;
    }

    .news-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-item-img {
        height: 122px;
    }

    .news-item-title {
        font-size: 18px;
        -webkit-line-clamp: 2;
        margin-bottom: 9px;
        line-height: 145%;
    }

    .news-item-content {
        padding: 8px 0;
        padding-bottom: 0;
    }

    .new-top {
        margin-bottom: 25px;
        flex-direction: column;
        align-items: unset;
    }

    .new-tag {
        max-width: 100%;
    }

    .new-top-right {
        max-width: 100%;
    }

    .new-tag-item {
        padding: 5px 13px;
        font-size: 10px;
        margin: 3px;
    }
}
