* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.wrap {
    max-width: 1140px;
    width: 100%;
    margin: auto;
    background-color: #fff;
}

.wrap-img {
    padding-bottom: 60%;
    position: relative;
    height: 0;
    overflow: hidden;
    display: block;
    border-radius: 5px;
}

.wrap-img img {
    position: absolute;
    height: 100%;
    left: 0;
    width: 100%;
    object-fit: cover;
}

.row {
    margin-right: -8px;
    margin-left: -8px;
}

a:hover {
    text-decoration: none;
    color: #ff0909;
    opacity: 0.9;
    transition: all .3s linear;
}

.d-block {
    display: block;
}

.d-inline-block {
    display: inline-block;
}

ul,
li,
ol {
    list-style: none;
}

a {
    color: #333;
}

body {
    font-family: "Roboto", Sans-serif;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    color: #fff;
    font-weight: 400;
    text-transform: none;
    font-size: 14px;

}

img {
    height: auto;
    object-fit: cover;
    max-width: 100%;
}

p {
    color: #333;
    font-size: 16px;
    font-weight: 300;
}

a:focus {
    outline: none;
    outline-offset: unset;
    text-decoration: none;
    color: #ff0909;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 16px;
}

.col-cus {
    padding: 0 8px;
}

.padding {
    padding: 15px 0;
}

.backdrop {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(24, 24, 24, .3);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s linear;
}

.backdrop.active {
    opacity: 1;
    visibility: visible;
}

.header-menu {
    position: relative;
    z-index: 1000;
    background-color: #F09C42;
    padding: 5px 0;
}

/* Cao hơn backdrop (900) */
/* .header {
    position: relative; 
    z-index: 1000;
    background-color: #ffffff; 
} */
/* Khung tìm kiếm trượt ra cũng phải nổi lên trên */
.search-box-wrapper {
    z-index: 999;
    /* Cao hơn backdrop (900) */
}

.center {
    text-align: center;
}

svg {
    vertical-align: middle;
    margin-right: 5px;
}

.pcc {
    display: block;
}

.mbb {
    display: none;
}

/*-----------backtop-----*/
.back-top.active {
    bottom: 20px;
    opacity: 1;
    visibility: visible;
}

.back-top {
    position: fixed;
    right: 30px;
    bottom: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #fff;
    z-index: 999;
    transition: all 0.3s linear;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    border: 1px solid #e67e22;
    color: #e67e22;
}
.back-top svg {
    margin: 0;
}
/*-----------header-----------*/
.header-logo {
    background-color: #fff;
}
.header-logo img {
    max-height: 150px;
}
.header .logo {
    width: fit-content;
    margin: 10px auto;

}

.info-list {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
    padding: 8px 0;
    color: #888;
    font-size: 13px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.info-list li {
    display: inline-block;
    padding: 0 15px;
    position: relative;
}

/* Dấu gạch đứng ngăn cách giữa các mục */


.info-list i {
    margin-right: 6px;
    font-size: 14px;
    color: #999;
}

/*---------header-main----------*/
.header-main {
    position: -webkit-sticky;
    /* Cho Safari */
    position: sticky;
    top: 0;
    z-index: 9999;
    background: transparent;
    transition: all 0.3s ease;
}

.header-main.affix {
    background: #fff;
    /* Đổi nền trắng */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}


.navbar-nav>li>a {
    color: #fff ;
    font-weight: 700;
    /* In đậm */
    text-transform: uppercase;
    font-size: 12px;
    /* Kích thước chữ giống ảnh */
    padding: 10px;
    letter-spacing: 0px;
}

.navbar-nav>li>a:hover {
    background-color: #ff0909;
}

.navbar-nav>li.active>a {
    background-color: #ff0909;
}

.header-main .search {
    display: inline-block;
    padding: 10px 0 10px 10px;
}

.search-popup {
    position: absolute;
    /* !!! Thay 150px bằng: Chiều cao Logo/Banner + Chiều cao Menu Vàng */
    /* Ví dụ: Banner 100px + Menu 50px = 150px */
    top: 225px;
    left: 0;
    width: 100%;
    z-index: 9990;
    /* Thấp hơn menu vàng (9999) */

    /* SỬA LỖI ĂN MÀU TRẮNG CONTAINER */
    background: transparent;
    height: auto;
}

/* --- TRẠNG THÁI 2: KHI CUỘN TRANG (JS thêm class này) --- */
.search-popup.affix {
    position: fixed;
    /* !!! Thay 50px bằng: Chiều cao của thanh Menu Vàng đang dính ở trên */
    top: 50px;
}

/* --- TRANG TRÍ HỘP SEARCH BÊN TRONG --- */
.search-popup .search-box-wrapper {
    background-color: #fff;
    /* Chỉ có phần này màu trắng */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

/*------------header-extra------------*/
.header-extra-back {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.widget-ticker {
    display: flex;
    align-items: center;
    /* Căn giữa theo chiều dọc */
    width: 100%;
}

/* Phần Icon biểu đồ */
.widget-ticker .chart {
    display: inline-block;
    background-color: #f09e2b;
    color: white;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin-right: 10px;

    /* Quan trọng: không cho phép co lại khi không gian hẹp */
    flex-shrink: 0;
}

/* Phần chứa Text chạy */
.hashtag-trending {
    margin-bottom: 0;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    /* Ẩn phần chữ tràn ra ngoài khung */

    /* Quan trọng: Chiếm toàn bộ không gian còn lại */
    flex-grow: 1;
    width: auto;
    /* Reset width 100% để tránh rớt dòng */
}

.hashtag-trending ul.has-marquee {
    padding-left: 0;
    margin-bottom: 0;
    display: inline-block;
    white-space: nowrap;

    /* Animation chạy chữ */
    -webkit-animation: marquee 45s linear infinite;
    animation: marquee 45s linear infinite;
}

/* Hiệu ứng dừng khi di chuột vào */
.hashtag-trending ul.has-marquee:hover {
    animation-play-state: paused;
}

.hashtag-trending li.hash-tag-item:hover {
    background: linear-gradient(-45deg, #4d4e4e, #8e8e8e, #ba2026, #d8494e);
    background-size: 400% 400%;
    -webkit-animation: bggradient 15s ease infinite;
    animation: bggradient 15s ease infinite;
}

.hashtag-trending li.hash-tag-item:hover a {
    color: #fff;
    opacity: 1;
}

/* Định nghĩa animation marquee */
@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

/* Style cho từng mục tin (pill) */
.hashtag-trending li.hash-tag-item {
    display: inline-block;
    font-size: 13px;
    border-radius: 100px;
    background-color: #e7e7e7;
    padding: 0 15px 0 15px;
    /* Tăng padding chút cho đẹp */
    height: 24px;
    line-height: 24px;
    margin: 0 5px;
    color: #333;
    vertical-align: middle;
    font-weight: 500;
}

.hashtag-trending li.hash-tag-item a {
    color: #333;
    text-decoration: none !important;
}


/* Thêm dấu # phía trước */
.hashtag-trending li.hash-tag-item:before {
    content: "#";
    display: inline-block;
    color: inherit;
    font-size: 13px;
    margin-right: 4px;
}

/* Ngày tháng cũ bên phải thanh tin tức */
.ticker-date {
    color: #e67e22;
    /* Màu cam của text */
    font-size: 12px;
    line-height: 30px;
    /* Căn giữa theo chiều dọc với icon chart */
    text-align: right;
    white-space: nowrap;
    /* Tránh ngắt dòng ngày tháng */
}

.ticker-date .smallfont {
    display: inline;
}

/*----------------newest------------*/
.newest h3.title {
    font-size: 18px;
    line-height: 1.3;
    color: #333;
    font-weight: 600;
}

.newest h3.title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.newest h2.title a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 28px;
    font-weight: 600;
}

/*---------new-extra-------*/
.new-extra h2 {
    padding: 0 15px 0 20px;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    font-weight: 600;
    font-size: 25px;
    color: #333;
}

.parent-cate::before {
    content: "";
    position: absolute;
    width: 5px;
    left: 0;
    bottom: 2px;
    background-color: #e67e22;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.parent-cate::after {
    content: "";
    width: 0;
    height: 0;
    border-bottom: 20px solid #e67e22;
    border-right: 6px solid transparent;
    position: absolute;
    bottom: 0;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.group-links-timeline {
    padding: 0;
    display: block;
    float: left;
    list-style-type: none;
    width: calc(100% - 10px);
}

.group-links-timeline>li:not(:last-child) {
    border-bottom: 1px dashed #d1d1d1;
}

.group-links-timeline>li {
    float: left;
    border-top: none;
    width: 100%;
    padding: 8px 0;
}

.group-links-timeline>li .title-news,
.group-links-timeline>li h3 {
    width: 100%;
    color: #000;
    padding-bottom: 5px;
    padding-top: 4px;
    font-size: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px;
    margin: 0;
}

.group-links-timeline>li .title-news::before {
    content: "";
    width: 10px;
    height: 10px;
    background: #e67e22;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.group-links-timeline>li .title-news>a,
.group-links-timeline>li h3>a {
    text-align: left;
    font-weight: 700;
    color: #333;
}

.meta-news {
    display: inline-block;
    vertical-align: middle;
    color: #575757;
    font-size: 11px;
    line-height: 14px;
    font-weight: 400 !important;
    margin: 10px 0;
    align-items: center;
}

.new-extra .new-item h3.title {
    color: #333;
    font-weight: 600;
    line-height: 1.3;
    font-size: 18px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-top: 15px;
}

.new-extra table tbody tr:hover td {
    color: #e67e22 !important;
}

.new-extra table tbody tr:hover td a {
    color: #e67e22 !important;
}

.new-extra .box-title .main-title {
    height: 30px;
    line-height: 30px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    position: relative;
    border-top-right-radius: 6px;
    background-color: #e67e22;
    display: inline-block;
    padding: 0 12px;
    margin-top: 0;
    margin-bottom: 20px;
}

.new-extra .box-title .main-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 0;
    border-right: 12px solid transparent;
    border-top: 9px solid;
    border-top-color: #e67e22;

}

.new-extra table>tbody>tr>td:first-child {
    font-size: 32px;
    color: #adadad;
    padding: 8px 15px;
    vertical-align: middle;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #f4f6fa;
}

.new-extra table>tbody>tr>td.article-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    vertical-align: middle;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    height: 70px;
    -webkit-box-orient: vertical;
}

.table-borderless>tbody>tr>td,
.table-borderless>tbody>tr>th,
.table-borderless>tfoot>tr>td,
.table-borderless>tfoot>tr>th,
.table-borderless>thead>tr>td,
.table-borderless>thead>tr>th {
    border: none;
}

/*-------------newss----------*/
.newss .padding-color {
    background: #e67e22;
    border-radius: 15px;
    box-shadow: 0 5px 21px #c7c7c7;
    padding: 10px 20px 20px;
    margin: 0;
}

.newss h2 {
    position: relative;
    font-size: 20px;
    width: fit-content;
    margin: 10px auto;
    margin-bottom: 25px;
}

.newss h2 a {
    color: #fff;
    font-weight: 600;
}

.newss h2::before {
    content: "";
    position: absolute;
    top: 50%;
    right: calc(100% + 15px);
    width: 81px;
    height: 2px;
    background: #fff;
    transform: translateY(-50%);
}

.newss h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 81px;
    height: 2px;
    transform: translateY(-50%);
    right: unset;
    left: calc(100% + 15px);
    background-color: #fff;
}

.newss .slide-news .new-item h3 a {
    line-height: 1.3;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 20px;
}

.slide-news .owl-nav button.owl-prev {
    position: absolute;
    top: 45%;
    opacity: 0;
    left: 0;
    visibility: hidden;
    transition: all 0.3s linear;
    width: 35px;
    height: 35px;
    text-align: center;
    background-color: #e1e1e1;
}

.slide-news .owl-nav button.owl-next {
    position: absolute;
    top: 45%;
    opacity: 0;
    right: 0;
    visibility: hidden;
    transition: all 0.3s linear;
    width: 35px;
    height: 35px;
    text-align: center;
    background-color: #e1e1e1;
}

.slide-news:hover .owl-nav button.owl-prev,
.slide-news:hover .owl-nav button.owl-next {
    opacity: .7;
    visibility: visible;
}

.slide-news .owl-nav button span {
    font-size: 40px;
    position: absolute;
    transform: translate(-50%, -50%);
    color: #626060;
}

/*---------------busi __________*/
.busi h2 {
    padding: 0 15px 0 20px;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    font-weight: 600;
    font-size: 25px;
    color: #333;
    margin-bottom: 25px;
}

.busi .parent-cate::before {
    content: "";
    position: absolute;
    width: 5px;
    left: 0;
    bottom: 2px;
    background-color: #e67e22;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.busi .parent-cate::after {
    content: "";
    width: 0;
    height: 0;
    border-bottom: 20px solid #e67e22;
    border-right: 6px solid transparent;
    position: absolute;
    bottom: 0;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.busi .busi-main h3.title,
.busi .busi-extra h3.title {
    color: #333;
    font-weight: 600;
    line-height: 1.3;
    font-size: 18px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-top: 15px;
}

/* 
.busi .group-links-timeline>li .title-news {
    height: unset;
} */

/*-----------finaces---------------*/
.finaces h2 {
    padding: 0 15px 0 20px;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    font-weight: 600;
    font-size: 25px;
    color: #333;
    margin-bottom: 25px;
}

.finaces .parent-cate::before {
    content: "";
    position: absolute;
    width: 5px;
    left: 0;
    bottom: 2px;
    background-color: #e67e22;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.finaces .parent-cate::after {
    content: "";
    width: 0;
    height: 0;
    border-bottom: 20px solid #e67e22;
    border-right: 6px solid transparent;
    position: absolute;
    bottom: 0;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.finaces .fina-main h3.title {
    color: #333;
    font-weight: 600;
    line-height: 1.3;
    font-size: 18px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-top: 15px;
}

.finaces .fina-extra {
    display: table;
    width: 100%;
}

.finaces .fina-extra .fina-img {
    display: table-cell;
    width: 220px;
    padding-right: 20px;
    padding-bottom: 25px;
}

.finaces .fina-extra .fina-content {
    display: table-cell;
    vertical-align: top;
}

.finaces .fina-extra .fina-content h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/*------------bds------------------------*/
.bds h2 {
    padding: 0 15px 0 20px;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    font-weight: 600;
    font-size: 25px;
    color: #333;
    margin-bottom: 25px;
}

.bds .parent-cate::before {
    content: "";
    position: absolute;
    width: 5px;
    left: 0;
    bottom: 2px;
    background-color: #e67e22;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.bds .parent-cate::after {
    content: "";
    width: 0;
    height: 0;
    border-bottom: 20px solid #e67e22;
    border-right: 6px solid transparent;
    position: absolute;
    bottom: 0;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.bds .bds-main h3.title,
.bds .bds-extra .bds-name a.title {
    color: #333;
    font-weight: 600;
    line-height: 1.3;
    font-size: 18px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin: 15px 0;
}

/*-----------martket--------*/
.market h2 {
    padding: 0 15px 0 20px;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    font-weight: 600;
    font-size: 25px;
    color: #333;
    margin-bottom: 25px;
}

.market .parent-cate::before {
    content: "";
    position: absolute;
    width: 5px;
    left: 0;
    bottom: 2px;
    background-color: #e67e22;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.market .parent-cate::after {
    content: "";
    width: 0;
    height: 0;
    border-bottom: 20px solid #e67e22;
    border-right: 6px solid transparent;
    position: absolute;
    bottom: 0;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.market .market-item {
    border-bottom: 1px dotted #000;
    margin-bottom: 20px;
}

.market .market-item h3.title {
    color: #333;
    font-weight: 600;
    line-height: 1.3;
    font-size: 18px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin: 15px 0;
    height: 70px;
}

/*-------------car----------*/
.car h2 {
    padding: 0 15px 0 20px;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    font-weight: 600;
    font-size: 25px;
    color: #333;
    margin-bottom: 25px;
}

.car .parent-cate::before {
    content: "";
    position: absolute;
    width: 5px;
    left: 0;
    bottom: 2px;
    background-color: #e67e22;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.car .parent-cate::after {
    content: "";
    width: 0;
    height: 0;
    border-bottom: 20px solid #e67e22;
    border-right: 6px solid transparent;
    position: absolute;
    bottom: 0;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.car h2.title {
    padding: 0;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    font-weight: 600;
    margin: 15px 0;
}

.car h2.title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 18px;
}

/*--------foooter----------*/
.footer .intro p {
    font-size: 14px;
}

.footer .logo {
    margin-bottom: 20px;
}
.footer .logo img {
    max-height: 150px;
}
/*-----------news-----------*/
.news-main {
    margin-bottom: 30px;
}

.news-list h1 {
    color: #333;
    text-align: center;
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 25px;
}

.news-list .news-main h3.title,
.news-list .news-extra h3.title {
    color: #333;
    font-weight: 600;
    line-height: 1.3;
    font-size: 18px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-top: 15px;
}

.news-list .news-main h3.title {
    font-size: 28px;
}

.news-list .news-extra {
    display: table;
    width: 100%;
}

.news-list .news-popular h2.main-title {
    height: 30px;
    line-height: 30px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    position: relative;
    border-top-right-radius: 6px;
    background-color: #e67e22;
    display: inline-block;
    padding: 0 12px;
    margin-top: 0;
    margin-bottom: 20px;
}

.news-list .news-popular h2.main-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 0;
    border-right: 12px solid transparent;
    border-top: 9px solid;
    border-top-color: #e67e22;
}

.news-list .news-popular .popular-item {
    display: table;
    width: 100%;
}

.popular-item .popular-img {
    display: table-cell;
    width: 150px;
    padding-right: 15px;
    padding-bottom: 25px;
}

.popular-item .popular-content {
    display: table-cell;
    vertical-align: top;
}

.popular-item .popular-content h3 {
    font-size: 17px;
    margin: 0;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.3;
    overflow: hidden;
}

.new-rela {
    display: table;
    width: 100%;
    border-bottom: 1px solid #eee;
}

.new-rela .rela-img {
    display: table-cell;
    width: 250px;
    padding: 15px 15px 15px 0;
}

.new-rela .rela-content {
    display: table-cell;
    vertical-align: top;
    padding: 15px 0;
}

.new-rela .rela-content h3 {
    font-size: 20px;
    margin: 0 0 10px 0;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.3;
    overflow: hidden;
}

.new-rela .rela-content p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    overflow: hidden;
}

.time {
    font-size: 11px;
    color: #575757;
}

.btn-viewmore {
    color: #F09C42;
    background-color: #ebf1fd;
    border-color: #ebf1fd;
    font-size: 14px;
    font-weight: 600;
}

.news-box-footer .btn-viewmore:hover {
    background-color: #ff0909;
    color: #fff;
}

/*---------new-detail------*/
.new-detail .col-md-1.col-cus {
    padding: 15px 8px;
    background-color: #f7f7f7;
    width: 10%;
}

.new-detail .col-md-11.col-cus {
    width: 90%;
}

.share-sidebar {
    text-align: center;
    margin-top: 10px;
}

.share-btn-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
}

.share-btn-list li {
    margin-bottom: 15px;
}

.share-btn-list li svg {
    margin: 0;
}

.share-btn {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    /* Hình tròn */
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
    text-decoration: none !important;
}

.share-btn:hover {
    opacity: 0.8;
    color: #fff;
}

.new-detail .news-popular h3.main-title {
    height: 30px;
    line-height: 30px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    position: relative;
    border-top-right-radius: 6px;
    background-color: #e67e22;
    display: inline-block;
    padding: 0 12px;
    margin-top: 0;
    margin-bottom: 20px;
}

.new-detail .news-popular h3.main-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 0;
    border-right: 12px solid transparent;
    border-top: 9px solid;
    border-top-color: #e67e22;
}

/* Màu sắc cụ thể cho từng nút */
.btn-home-share {
    background-color: #f09e2b;
}

/* Cam */
.btn-fb-share {
    background-color: #3b5998;
}

/* Xanh Facebook */
.btn-email-share {
    background-color: #999;
}

/* Xám */
.btn-print-share {
    background-color: #999;
}

.btn-alert-share {
    background-color: #999;
}

/* Nội dung bài viết */
.article-title {
    font-size: 32px;
    font-weight: bold;
    margin-top: 0;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #333;
}

.article-meta {
    color: #999;
    font-size: 12px;
    margin-bottom: 15px;
}
.article-content {
    color: #333;
}
.article-content a{
    color: #0782C1;
}
.article-content img {
    /* width: auto !important; */
    max-width: 100% !important;
    height: auto !important;
}
.article-content table {
    max-width: 100% !important;
}
.fb-like-placeholder {
    display: inline-block;
    background-color: #1877f2;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 10px;
    font-weight: bold;
    float: right;
}

.fb-like-placeholder a {
    color: #fff;
}

.article-sapo {
    font-weight: bold;
    font-size: 15px;
    color: #333;
    margin-bottom: 20px;
}


.article-image {
    margin: 20px 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    height: auto;
}

.image-caption {
    font-style: italic;
    font-size: 13px;
    color: #666;
    margin-top: 5px;
    text-align: center;
    display: block;
}

/*-----------breadcumb-----*/
.breadcrumb-page li {
    font-size: 14px;
    font-weight: 400;
    display: inline-block;
}

.breadcrumb-page li a {
    color: #888;
    font-weight: 700;
}

.breadcrumb-page li:first-child:after {
    content: url(./images/icon-next1.png);
    margin: 0 15px;
    vertical-align: top;
}

.breadcrumb-page li:last-child {
    display: none;
}

/* --- 5. RIGHT SIDEBAR STYLES (MỚI) --- */
.sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-title {
    background-color: #f09e2b;
    color: white;
    padding: 10px 15px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    margin-top: 0;
}

.sidebar-list {
    list-style: none;
    padding: 0;
}

.sidebar-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
}

.sidebar-thumb {
    width: 100px;
    height: 70px;
    background-color: #ddd;
    margin-right: 10px;
    flex-shrink: 0;
    overflow: hidden;
}

.sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-link {
    font-size: 13px;
    color: #333;
    font-weight: bold;
    line-height: 1.4;
    text-decoration: none !important;
}

.sidebar-link:hover {
    color: #f09e2b;
}

.new-detail .source {
    margin: 15px 0;
}

.new-detail .source a {
    color: #888;
    box-sizing: border-box;
    background: #f2f2f2;
    border-radius: 100px;
    padding: 9px 11px;
    display: block;
    margin: 0 auto;
    width: fit-content;
}

/* CSS cho phần Search Box ẩn */
.search-box-wrapper {
    background-color: #ffffff;
    /* Nền trắng */
    padding: 20px 10px;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 4px 6px -6px #222;
    /* Đổ bóng nhẹ phía dưới cho đẹp */
    /* Hoặc relative tuỳ layout cha */
    width: 100%;
    position: relative;

}

/* Tùy chỉnh ô Input */
.search-box-wrapper .form-control {
    background-color: #f1f1f1;
    border: none;
    box-shadow: none;
    border-radius: 0;
    /* Vuông góc */
    height: 35px;
    /* Chiều cao giống hình */
    font-size: 16px;
}

/* Tùy chỉnh nút Tìm kiếm */
.search-box-wrapper .search-btn-custom {
    background-color: #f0ad4e;
    /* Màu cam Bootstrap (btn-warning) hoặc chỉnh mã màu #ed9c28 */
    color: #fff;
    border: none;
    border-radius: 0;
    /* Vuông góc */
    height: 35px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    padding: 0 30px;
    /* Chữ hoa nếu cần */
}

.search-box-wrapper .search-btn-custom:hover {
    background-color: #ec971f;
    /* Màu cam đậm khi hover */
}

/* Thêm con trỏ chuột vào icon search để người dùng biết click được */
.search-trigger {
    cursor: pointer;
}

.box-navi-news {
    margin: 10px 0;
}

/* Layout header-menu cần position relative để search-box định vị đúng */


.tmp-title-large {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.3;
    overflow: hidden;
    color: #333;
    font-weight: 600;
    margin: 15px 0;
    height: 60px;

}

/*--------pagning----------*/
.paging {
    margin-top: 15px;
}

.paging span {
    background-color: #eaeaea;
    border: solid 1px #eaeaea;
    display: inline-block;
    font: bold 12px / 29px tahoma;
    margin: 5px;
    padding: 0 10px;
}

.paging a {
    color: white;
}

.paging span.active,
.paging span.current {
    background-color: #f88c00;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .share-sidebar {
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }

    .share-btn-list li {
        display: inline-block;
        margin: 0 5px;
    }

    .article-title {
        font-size: 22px;
    }

    #search-box-area {
        position: absolute !important;
    

        left: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;

        background: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        /* border-top: 2px solid #e67e22; (Tùy chọn) */
    }
}

/*-------new-popu-------*/
.new-popu .popu-content {
    border-radius: 0 0 10px 10px;
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
}

.new-popu .popu-content h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
    margin-top: 0;
    overflow: hidden;
    line-height: 1.3;
}

.new-popu h2,
.newest-detail h2 {
    padding: 0 15px 0 20px;
    text-transform: uppercase;
    margin: 20px 0;
    position: relative;
    font-weight: 600;
    font-size: 25px;
    color: #e67e22;
}

.new-popu .popu-item p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 70px;
}

.new-popu .popu-img {
    position: relative;
}

.new-popu .cat-in-thumb {
    position: absolute;
    top: auto;
    bottom: 10px;
    left: 10px;
    background-color: #777575;
    color: #fff;
    border-color: #777575;
    padding: 1px 5px;
    font-size: 11px;
    opacity: .9;
}

/*---------newest-detail---------*/
.newest-detail .newest-item {
    display: table;
    width: 100%;
    margin-bottom: 30px;
}

.newest-detail .newest-img {
    display: table-cell;
    width: 155px;
    padding-right: 20px;
}

.newest-detail .newest-content {
    display: table-cell;
    vertical-align: top;
}

.newest-detail .newest-content h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-top: 0;
    font-weight: 600;
    overflow: hidden;
}

.newest-detail .newest-content h3.title a {
    color: #222b45;
    font-size: 26px;
}

.newest-detail .newest-content p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.newest-detail .newest-content .time a {
    position: relative;
}

.newest-detail .newest-content .time a::after {
    content: "";
    background: #e67e22;
    width: 5px;
    height: 5px;
    position: absolute;
    left: -15px;
    top: 50%;
    border-radius: 100%;
    transform: translate(-50%, -50%);
}

.newest-detail .newest-content .time span {
    margin-right: 25px;

}

@media (max-width: 769px) {
    .mbb {
        display: block;
    }

    .pcc {
        display: none;
    }

    a {
        font-size: 16px;
    }

    h2 a {
        font-size: 25px;
    }

    .info-list li {

        padding: 0 8px;

    }

    .logo-mb {
        padding: 10px 0;
    }

    .info-list li.btn-menu {
        padding-right: 0;
    }

    .info-list {
        border-bottom: none;
        padding: 20px 0;
    }

    .newest h2.title a {
        font-size: 26px;
        letter-spacing: -1px;
    }

    .newest h3.title {
        padding-bottom: 15px;
        border-bottom: 1px solid #333;
    }

    h3.title {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.3;
        color: #333;
        font-weight: 600;
        font-size: 16px;
        margin-top: 0;
    }

    .new-extra .new-img {
        margin-bottom: 15px;
    }

    .busi-mb-item,
    .fina-mb-item,
    .bds-mb-item,
    .market-mb-item {
        padding-bottom: 20px;
        float: left;
        margin-bottom: 20px;
        border-bottom: 1px solid #ddd;
    }

    .market-content h3.title {
        margin-top: 15px;
    }

    .news-list h1 {
        font-size: 26px;
    }

    .news-main .news-content h3.title a {
        font-size: 28px;
    }

    .new-rela .rela-img {
        width: 160px;
    }

    .new-detail .col-xs-12.col-cus {
        width: 100%;
    }

    .newest-detail .newest-content h3.title a {
        font-size: 15px;
    }

    .newest-detail .newest-content p {
        font-size: 14px;
    }

    /* Khung bao menu mobile */
    .mobile-menu-drawer {
        position: fixed;
        top: 0;
        left: -320px;
        /* Ẩn menu sang bên trái */
        width: 300px;
        /* Độ rộng của menu */
        height: 100%;
        background-color: #fff;
        z-index: 1001;
        /* Cao hơn cả backdrop (900) và search (999) */
        transition: all 0.3s ease-in-out;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        /* Cho phép cuộn nếu menu dài */
    }

    /* Class này được JS thêm vào để hiện menu */
    .mobile-menu-drawer.active {
        left: 0;
    }

    /* Header chứa nút đóng */
    .mobile-menu-drawer .menu-header {
        text-align: center;
        padding: 10px;
        border-bottom: 1px solid #eee;
        border-top: 4px solid #f39c12;
        /* Viền cam trên cùng cho đẹp */
    }

    /* Nút đóng (X) */
    .mobile-menu-drawer .close-menu-btn {
        font-size: 40px;
        line-height: 30px;
        color: #f39c12;
        /* Màu cam */
        cursor: pointer;
        font-weight: 300;
    }

    /* Danh sách menu */
    .mobile-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-menu-list li {
        border-bottom: 1px solid #eee;
        /* Đường kẻ mờ giữa các mục */
    }

    .mobile-menu-list li a {
        display: block;
        padding: 15px 20px;
        color: #f39c12;
        /* Màu chữ cam */
        text-transform: uppercase;
        text-decoration: none;
        font-weight: 500;
        font-size: 14px;
        transition: background 0.2s;
    }

    .mobile-menu-list li a:hover {
        background-color: #f9f9f9;
        color: #d35400;
    }

    /* Tùy chỉnh nút kích hoạt menu (nút 3 gạch của bạn) */
    .btn-menu {
        cursor: pointer;
    }

    .search-popup {
        position: absolute !important;
        top: 65px !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        z-index: 9990 !important;
    }
    .header.sticky-mobile {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    /* Ẩn nút Gọi (li đầu tiên) */
    /* .header.sticky-mobile .info-list li:nth-child(1) {
        display: none;
    }

    
    .header.sticky-mobile .info-list li.search-trigger {
        display: none;
    } */

    /* Giữ lại nút Menu, nhưng có thể chỉnh lại style cho gọn nếu muốn */
    .header.sticky-mobile .info-list li.btn-menu {
        display: inline-block;
    }

}