/***********************BigListStyle**********************/
.UIArticleListCommon .BigListStyle.SliderStyle .title h2 {
    font-size: 21px;
    color: #0f5e89;
    text-transform: uppercase;
    font-family: Roboto;
    font-weight: 700;
    display: inline-block;
    padding-left: 0px;
    position: relative;
    margin: 0;
}
.UIArticleListCommon .BigListStyle.SliderStyle .title:after {
    content: '';
    height: 3px;
    width: 100px;
    position: absolute;
    bottom: 35px;
    left: 50%;
    background: #0f5e89;
    transform: translateX(-50%);
}
.UIArticleListCommon .BigListStyle.SliderStyle .head {
    text-align: center;
    position: relative;
}
.UIArticleListCommon .BigListStyle.SliderStyle .wrap .title {
    color: #e63606;
    padding: 30px 0 0px 0;
    font-family: Roboto;
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}
.UIArticleListCommon .BigListStyle.SliderStyle .wrap .title h4{
    font-size: 17px;
    font-weight: 400;
    color: #0f5e89;
    line-height: 1.5;
    text-transform:
    none;
    margin: 20px 0;
    font-style: italic;
}
.UIArticleListCommon .BigListStyle {
    margin: 0;
    display: inline-block;
    width: 100%;
}
.UIArticleListCommon .BigListStyle .head {
    text-align: center;
    position: relative;
}
.UIArticleListCommon BigListStyle .title {
    color: #ffffff;
    padding: 0 0 35px 0;
    font-family: Roboto;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
}
.UIArticleListCommon .BigListStyle .head:after {
    content: url(Images/u.png);
    width: 210px;
    height: 20px;
    position: absolute;
    left: calc(50% - 105px);
    bottom: 5px;
}
.UIArticleListCommon .BigListStyle.SliderStyle .wrap .item {
    background: transparent;
    padding: 0;
    border-radius: 0;
}
.UIArticleListCommon .BigListStyle.SliderStyle .article-list .item.first {float: left;width: 60%;}
.UIArticleListCommon .BigListStyle .article-list .item.first .summary {
    font-size: 14px;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.UIArticleListCommon .BigListStyle a:hover {
    color: #0f5e89!important;
}
.UIArticleListCommon .BigListStyle .article-list .item.first a.name {
    font-size: 20px;
    display:inline-block;
    padding:10px 0;
    color: #fff;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    text-transform: uppercase;
    font-weight: 500;
}
.UIArticleListCommon .BigListStyle .p-container {
    position: relative;
    overflow: hidden;
}
.UIArticleListCommon .BigListStyle .p-container:before {
    position: absolute;
    display: block;
    width: 100%;
    height: 22%;
    bottom: 0;
    left: 0;
    content: '';
    background: rgba(0,0,0,0.1);
    background: -moz-linear-gradient(top, rgba(0,0,0,0.01) 0, rgba(0,0,0,0.9) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0, rgba(0,0,0,0.01)), color-stop(100%, rgba(0,0,0,0.9)));
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.01) 0, rgba(0,0,0,0.9) 100%);
    background: -o-linear-gradient(top, rgba(0,0,0,0.01) 0, rgba(0,0,0,0.9) 100%);
    background: -ms-linear-gradient(top, rgba(0,0,0,0.01) 0, rgba(0,0,0,0.9) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0.01) 0, rgba(0,0,0,0.9) 100%);
    opacity: .95;
    text-align: center;
    box-sizing: border-box;
    -webkit-transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}
.UIArticleListCommon .BigListStyle .p-container a.img {
    position: relative;
    overflow: hidden;
}
.UIArticleListCommon .BigListStyle .p-container .info {
    position: absolute;
    /*background-color: rgba(0, 0, 0, 0.6);*/
    padding: 8px 20px 8px 20px;
    bottom: 0;
    left: 0;
    right: 0;
}
.UIArticleListCommon .BigListStyle .item.first a.img img {
    width: 100%;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    height: 410px!important;
    object-fit: cover;
}
.UIArticleListCommon .BigListStyle .article-list .item.first a.btn.btn-detail {
    font-size: 14px;
    display: none;
    margin: 10px 0;
    text-decoration: underline;
}
.UIArticleListCommon .BigListStyle .article-list .list {margin-left: 60%;}
.UIArticleListCommon .BigListStyle .article-list .list .item a.img{
    float:left;
    width: 100%;
}
.UIArticleListCommon .BigListStyle .article-list .list .item a.img img {
    width: 100%;
    height: 195px !important;
    object-fit: cover;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
}
.UIArticleListCommon .BigListStyle .article-list .list .item  a:hover img, .BigListStyle .article-list .item.first a.img:hover img {
    transform: scale(1.1);
}
.UIArticleListCommon .BigListStyle .article-list .list .item a.name {
    font-size: 18px;
    color: #fff;
}
.UIArticleListCommon .BigListStyle .article-list .list .summary {
    font-size: 14px;
    line-height: 1.5;
    display:none;
}
.UIArticleListCommon .article-list .list .item {
    margin: 0 0 20px 20px;
}
.UIArticleListCommon .BigListStyle .article-list .list a.btn.btn-detail {
    font-size: 14px;
    display: none;
    margin: 10px 0;
    text-decoration: underline;
}
.UIArticleListCommon .BigListStyle .paging {
    font-size: 14px;
    display: inline-block;
    margin: 10px 5px 0 0;
}
.UIArticleListCommon .BigListStyle .paging span {
    font-weight:bold;
}
.UIArticleListCommon .BigListStyle .paging a {
    font-weight:normal;
}
/**********************.SliderStyle***********************/
.UIArticleListCommon .SliderStyle .title h2 {
    font-size: 21px;
    color: #ffffff;
    text-transform: uppercase;
    font-family: Roboto;
    font-weight: 700;
    display: inline-block;
    padding-left: 0px;
    position: relative;
    margin: 0;
}
.UIArticleListCommon .SliderStyle .wrap {
    margin: 5px auto 45px;
}
.UIArticleListCommon .SliderStyle .wrap .head {
    text-align: center;
    position: relative;
}
.UIArticleListCommon .SliderStyle .wrap .title {
    color: #0f478d;
    padding: 30px 0;
    font-family: Roboto;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}
.UIArticleListCommon .SliderStyle .wrap .title h4{
    font-size: 17px;
    font-weight: 400;
    color: #c3c3c3;
    line-height: 1.5;
    text-transform:
    none;
    margin: 20px 0;
    font-style: italic;
}
.UIArticleListCommon .SliderStyle .wrap .item {background: #f7f7f7fa;padding: 10px;border-radius: 3px;}
.UIArticleListCommon .SliderStyle .wrap .item a.img img {
    display: block;
    height: 200px;
    object-fit: cover;
    border-radius: 3px;
}
.UIArticleListCommon .SliderStyle .wrap .item .info {
    padding: 5px 15px;
    height: 100px;
}
.UIArticleListCommon .SliderStyle .wrap .item a.name {
    text-decoration: none;
    color: #0f478d;
    font-size: 1.2em;
    margin: 9px 0;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 500;
}
.UIArticleListCommon .SliderStyle .wrap .item a.name:hover {
    color: #8b8b8b;
}
.UIArticleListCommon .SliderStyle .wrap .item .summary {
    font-size: 13px;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    /* padding-bottom: 15px; */
    /* margin-bottom: 15px; */
}
.owl-nav {
        display: none;
}
.owl-nav button:hover {
    color: #fff !important;
}
.owl-nav button {
    position: absolute;
    color: #fff9 !important;
    top: 50%;
    transition: all 0.2s ease;
    outline: none;
    z-index: 99999;
    transform: translate(0, -50%);
    
}
.owl-nav button.owl-prev {
    left: 0;
    border-radius: 0 4px 4px 0;
}
.owl-nav button.owl-next {
    right: 0;
}
.owl-nav i.fa {
    font-size: 50px;
}

/* Container bao ngoài TabStyle*/
.UIArticleListCommon .TabStyle .wrap {
    width: 100%;
    margin: 0 auto;
    padding: 50px 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Tab Header */
.UIArticleListCommon .TabStyle .wrap .head {
    margin-bottom: 30px;
}

.UIArticleListCommon .TabStyle .wrap .tab .list {
    display: flex;
    justify-content: center;
    gap: 70px;
}

.UIArticleListCommon .TabStyle .wrap .tab .list .item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 30px;
    border-radius: 10px 10px 0 0;
    font-size: 20px;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Tab Active / Selected */
.UIArticleListCommon .TabStyle .wrap .tab .list .item.current {
    background: linear-gradient(135deg, #2390cf, #4299e1);
    color: #ffffff;
    font-weight: 600;
}

.UIArticleListCommon .TabStyle .wrap .tab .list .item:not(.current) {
    background-color: #facc15;
    color: #1f2937;
}

/* Grid danh sách bài viết (5 cột như ảnh tham chiếu) */
.UIArticleListCommon .TabStyle .wrap .article-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Từng item sản phẩm / ngành hàng */
.UIArticleListCommon .TabStyle .wrap .article-list .item {
    display: flex;
    flex-direction: column;
}

.UIArticleListCommon .TabStyle .wrap .article-list .item .p-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Khung ảnh bo góc chéo đặc trưng */
.UIArticleListCommon .TabStyle .wrap .article-list .item .img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    background-color: #f3f4f6;
    transition: transform 0.3s ease;
}

.UIArticleListCommon .TabStyle .wrap .article-list .item:hover .img {
    transform: translateY(-4px);
}

.UIArticleListCommon .TabStyle .wrap .article-list .item .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Phần thông tin tiêu đề bên dưới */
.UIArticleListCommon .TabStyle .wrap .article-list .item .info {
    margin-top: 12px;
    text-align: center;
}

.UIArticleListCommon .TabStyle .wrap .article-list .item .info .name {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.UIArticleListCommon .TabStyle .wrap .article-list .item .info .name::after {
    content: "›";
    margin-left: 6px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.UIArticleListCommon .TabStyle .wrap .article-list .item:hover .info .name {
    color: #2563eb;
}

/* Ẩn các thành phần tóm tắt và nút xem thêm để giống mẫu */
.UIArticleListCommon .TabStyle .wrap .article-list .item .info .summary,
.UIArticleListCommon .TabStyle .wrap .article-list .item .info .btn-detail {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .UIArticleListCommon .TabStyle .wrap .article-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .UIArticleListCommon .TabStyle .wrap .article-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .UIArticleListCommon .TabStyle .wrap .tab .list {
        flex-direction: column;
    }

    .UIArticleListCommon .TabStyle .wrap .article-list .item .img {
        border-top-left-radius: 25px;
        border-bottom-right-radius: 25px;
    }
}


