.c-statistic-block {
    background-color: #f5f5f5;
    margin-bottom: 30px;
}

.c-statistic-box .c-statistic-box__left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 10px;
}

.c-statistic-slider {
    flex: 1 !important;
    min-width: 0 !important;
    width: auto !important;
    overflow: hidden !important;
    position: relative;
    z-index: 1;
}

/* Ensure the gap between slick slides is 20px */
.c-statistic-slider .slick-slide {
    margin-right: 20px !important;
}

.c-statistic-slider a {
    display: inline-block !important;
    white-space: nowrap !important;
    font-size: 14px;
    height: 38px;
    line-height: 38px;
    font-family: var(--font-family2);
}


/* Avoid unstyled content layout shift before Slick initializes */
.c-statistic-slider:not(.slick-initialized) {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
}

.c-statistic-slider:not(.slick-initialized) a {
    margin-right: 20px;
}

.hd-event-name {
    display: flex;
    color: #007E00;
}

.hot-news {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: start;
}

.l-main-grid {
    display: grid;
    grid-template-columns: calc(60% - 15px) calc(40% - 15px);
    gap: 30px;
}

/* Column 1: Big Featured Article */
.featured-big__item {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.featured-big__img .wrap-img {
    padding-bottom: 66.7%;
}

.featured-big__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.featured-big__desc {
    font-size: 15px;
    line-height: 1.4;
}

/* Column 2: 6 List Articles */
.featured-list {
    display: flex;
    flex-direction: column;
}

.featured-list__item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    gap: 15px;
    padding-bottom: 11px;
    margin-bottom: 11px;
    border-bottom: 1px solid #ddd;
}

.featured-list__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.featured-list__content {
    flex: 1;
}

.featured-list__title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.featured-list__img {
    width: 100px;
}

.featured-list__img .wrap-img {
    padding-bottom: 66.7%;
}

/* Column 3: Kỷ Nguyên Vươn Mình Box */
.ky-nguyen-box {
    border: 1px solid #E72C20;
    /* background-color: #047d01; */
    background-color: #FFF6D6;
}

.ky-nguyen-header {
    padding: 42px 10px 10px 88px;
    background-image: url('../../images/era-growth-title.png');
    background-repeat: no-repeat;
    background-position: top left;
    min-height: 65px;
    margin-bottom: 10px;
}

.ky-nguyen-box-title {
    font-family: var(--font-family2);
    text-transform: uppercase;
    line-height: 1.2;
    font-size: 18px;
    color: #E72C20;
    font-weight: 900;
}

.ky-nguyen-box-title a {
    color: #E72C20;
}

.ky-nguyen-box.is-blue .ky-nguyen-box-title a {
    color: #FFF;
}

.ky-nguyen-wrap {
    padding: 0 15px 15px;
}

.ky-nguyen-lead {
    display: flex;
    gap: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.ky-nguyen-box.is-blue .ky-nguyen-lead {
    border-bottom: 1px solid #ffffff50;
}

.ky-nguyen-lead__img {
    width: 116px;
}

.ky-nguyen-lead__img .wrap-img {
    padding-bottom: 66.7%;
}

.ky-nguyen-lead__content {
    flex: 1;
}

.ky-nguyen-lead__title {
    font-family: var(--font-family2), serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.ky-nguyen-box.is-blue .ky-nguyen-lead__title a {
    color: #FFF;
}

.ky-nguyen-box.is-blue .ky-nguyen-lead__title a:hover {
    color: #d8d8d8;
}

.ky-nguyen-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ky-nguyen-list li {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.ky-nguyen-box.is-blue {
    padding-bottom: 15px;
}

.ky-nguyen-box.is-blue .ky-nguyen-list li {
    border-bottom: 1px solid #ffffff50;
}

.ky-nguyen-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.ky-nguyen-list li a {
    font-family: var(--font-family2), serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    display: block;
    transition: color 0.15s ease;
}

.ky-nguyen-box.is-blue .ky-nguyen-list li a {
    color: #FFF;
}

.ky-nguyen-box.is-blue .ky-nguyen-list li a:hover {
    color: #d8d8d8;
}

/* Responsive CSS - Hot News Section */
@media (max-width: 991px) {

    /* Tablet: keep sidebar next to main but stack below main */
    .hot-news {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .l-main-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 20px;
    }

    .featured-big__title {
        font-size: 22px;
    }

    .ky-nguyen-box {
        margin-top: 0;
    }

    /* Tablet: show ky-nguyen-box in a 2-col row */
    .hot-news>.l-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .hot-news>.l-sidebar .ky-nguyen-box {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .l-main-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .featured-big__title {
        font-size: 18px;
    }

    .featured-big__desc {
        display: none;
    }

    .featured-list__item {
        gap: 10px;
    }

    /* .featured-list__img {
        width: 80px;
        min-width: 80px;
    } */

    /* .featured-list__title {
        font-size: 13px;
    } */

    /* Mobile: stack ky-nguyen-box single column */
    .hot-news>.l-sidebar {
        display: block;
    }

    /* 
    .ky-nguyen-header {
        padding: 35px 10px 10px 10px;
        background-position: top center;
    } */

    .ky-nguyen-lead__img {
        width: 90px;
        min-width: 90px;
    }
}

/* Highlights & Energy Security Section */
.highlights-section {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: start;
    margin-top: 50px;
}

@media (min-width: 992px) {
    .highlights-section {
        align-items: stretch;
    }

    .highlights-section .l-sidebar {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .highlights-section .l-sidebar .ky-nguyen-box {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
    }

    /* .highlights-section .l-sidebar .ky-nguyen-box .ky-nguyen-wrap {
        flex: 1;
        min-height: 0;
        max-height: none;
        overflow-y: auto;
    } */
}

.highlights-block {
    position: relative;
    background-color: #DEDEDE;
    padding: 30px;
    border-radius: 20px 0px;
}

.highlights-header {
    position: absolute;
    top: 0;
    transform: translateY(-50%);
    left: 30px;
}

.highlights-label {
    display: inline-block;
    background-color: #F43333;
    color: #fff;
    font-family: var(--font-family2), sans-serif;
    font-size: 20px;
    font-weight: 700;
    padding: 7px 12px;
    text-transform: uppercase;
    border-radius: 3px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.highlights-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

/* Vertical divider lines between columns */
.highlights-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -15px;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.15);
}

.highlights-item__img .wrap-img {
    padding-bottom: 66.7%;
}

.highlights-item__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

/* Shared Energy Security Card Custom Color Scheme (Light Blue) */
.ky-nguyen-box.is-blue {
    /* background: linear-gradient(90deg, #BFEAFF 0%, #D7F3FF 30%, #E6F6FF 50%, #D7F3FF 70%, #BFEAFF 100%);
    border-color: #F43333; */
    background: #037d01;
    border: none;
}

.ky-nguyen-box.is-blue .ky-nguyen-header {
    padding: 15px;
    min-height: auto;
    background-image: none;
    margin-top: 0;
}

.ky-nguyen-box.is-blue .ky-nguyen-box-title {
    font-size: 18px;
    color: red;
    text-align: center;
}

.ky-nguyen-box.is-blue .ky-nguyen-wrap {
    padding: 0;
    max-height: 240px;
    overflow-y: scroll;
    margin: 0 15px 0px;
}

.scroll-custom::-webkit-scrollbar {
    width: 7px;
}

.scroll-custom::-webkit-scrollbar-track {
    background: transparent;
}

.scroll-custom::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
}

.scroll-custom:hover::-webkit-scrollbar-thumb {
    background: #d8d8d8;
}

.local-news .scroll-custom::-webkit-scrollbar-thumb {
    background: #044973;
}

/* Responsive updates for the Highlights section */
@media (max-width: 991px) {
    .highlights-section {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Tablet: 2-column highlights grid */
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .highlights-item:nth-child(2)::after {
        display: none;
    }

    .highlights-label {
        font-size: 17px;
    }
}

@media (max-width: 767px) {
    .highlights-section {
        margin-top: 35px;
    }

    .highlights-block {
        padding: 25px 15px 15px;
        border-radius: 15px 0;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .highlights-item:not(:last-child)::after {
        display: none;
    }

    .highlights-item {
        display: grid;
        grid-template-columns: 100px 1fr;
        gap: 12px;
        border-bottom: 1px solid #ccc;
        padding-bottom: 12px;
    }

    .highlights-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .highlights-item__img .wrap-img {
        padding-bottom: 66.7%;
    }

    .highlights-item__title {
        font-size: 14px;
    }
}

/* ==========================================================================
   Góc Nhìn Section
   ========================================================================== */
.goc-nhin-section {
    margin-top: 35px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.goc-nhin-header {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #000;
    padding-bottom: 6px;
    margin-bottom: 15px;
    overflow: hidden;
}

.goc-nhin-title {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    /* white-space: nowrap; */
}

.goc-nhin-header__left {
    flex-shrink: 0;
}

.goc-nhin-header__right {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* Nav scroll wrapper */
.goc-nhin-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
}

.goc-nhin-nav-scroll {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.goc-nhin-nav {
    display: flex;
    list-style: none;
    gap: 15px;
    flex-wrap: nowrap;
    justify-content: flex-end;
    transition: transform 0.3s ease;
}

.goc-nhin-nav a {
    font-family: var(--font-family2);
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    white-space: nowrap;
}

.goc-nhin-nav a:hover {
    color: #044973;
}

.goc-nhin-nav li:not(:first-child) {
    padding-left: 15px;
    border-left: 1px solid #ccc;
}

/* Prev/Next scroll buttons */
.goc-nhin-nav-btn {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 1px solid #ccc;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    color: #555;
    font-size: 11px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.goc-nhin-nav-btn.is-visible {
    display: flex;
}

.goc-nhin-nav-btn:hover {
    background: #044973;
    color: #fff;
    border-color: #044973;
}

.goc-nhin-grid {
    display: grid;
    grid-template-columns: 0.58fr 0.42fr;
    gap: 30px;
}

/* Column 1: Featured (Left) */
.goc-nhin-featured__img .wrap-img {
    padding-bottom: 66.7%;
    margin-bottom: 15px;
}

.goc-nhin-featured__title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 7px;
}

.goc-nhin-featured__desc {
    font-size: 15px;
    color: #333;
}

/* Column 2: Middle (Center) */
.goc-nhin-middle__featured {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.goc-nhin-middle__img .wrap-img {
    padding-bottom: 66.7%;
    margin-bottom: 10px;
}

.goc-nhin-middle__title {
    font-size: 15px;
}

.goc-nhin-middle__list-item:not(:last-child) {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.goc-nhin-list-item__title {
    font-size: 15px;
    font-weight: 400;
}

/* Column 3: Ads (Right) */
.goc-nhin-col__ads {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.goc-nhin-ad-item a {
    display: flex;
}

.goc-nhin-col__middle {
    position: relative;
}

.goc-nhin-col__middle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -15px;
    background-color: #E5E5E5;
    width: 1px;
    height: 100%;
}

.goc-nhin-container {
    margin-bottom: 35px;
}

/* Responsive Styles for Góc Nhìn Section */
@media (max-width: 991px) {
    .goc-nhin-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 25px;
    }

    .goc-nhin-col__ads {
        grid-column: span 2;
        flex-direction: row;
        gap: 20px;
        margin-top: 15px;
    }

    .goc-nhin-ad-item {
        flex: 1;
    }
}

@media (max-width: 767px) {
    .goc-nhin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .goc-nhin-nav {
        gap: 12px;
        flex-wrap: wrap;
    }

    .goc-nhin-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .goc-nhin-col__ads {
        grid-column: span 1;
        flex-direction: column;
    }
}

.c-trade-block {
    padding: 20px;
    margin-bottom: 35px;
    background-color: #044973;
}

.c-box__title {
    margin-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
}

.c-box__title a {
    color: #FFF;
    font-size: 17px;
}

.c-trade-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.c-trade-item {
    padding: 7px;
    min-height: 80px;
    border: 1px solid #003454;
    border-radius: 5px;
    background: linear-gradient(to top, #ABDFFF, #FFFFFF);
}

.c-trade-item .c-trade-item__row {
    margin-bottom: 7px;
}

.c-trade-item .c-trade-item__row a {
    color: #044973;
}

.c-trade-item .c-trade-item__row a:after {
    content: ", ";
    color: #333303;
}

.c-trade-item .c-trade-item__line {
    height: 1px;
    background-color: #999;
    margin-bottom: 10px;
    margin-top: 10px;
}

/* ==========================================================================
   Custom News & Sidebar Section (Responsive)
   ========================================================================== */
.c-news-main-sidebar-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: start;
    margin-top: 35px;
    margin-bottom: 35px;
}

.c-news-main-sidebar-grid__left {
    min-width: 0;
    overflow-x: clip;
    /* Chứa overflow từ các phần tử con có negative margin */
}

/* Left Column: News horizontal items */
.c-news-horizontal-list {
    margin-bottom: 35px;
}

.c-news-horizontal-item {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.c-news-horizontal-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.c-news-horizontal-img .wrap-img {
    padding-bottom: 66.7%;
}

.c-news-horizontal-title {
    font-size: 22px;
    margin-bottom: 7px;
}

.c-news-horizontal-excerpt {
    font-size: 14px;
    color: #333303;
}

/* Right Column: Sidebar blocks */
.c-news-main-sidebar-grid__right {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
    overflow-x: clip;
    /* Chứa overflow ngang, không cắt scroll dọc */
}

.c-sidebar-section {
    padding: 15px;
    border: 1px solid #E5E5E5;
    background-color: #044973;
}

.c-sidebar-title {
    font-size: 18px;
    text-transform: uppercase;
    border-bottom: 1px solid #ffffff50;
    padding-bottom: 6px;
    margin-bottom: 15px;
    color: #FFF;
}

.c-sidebar-list li:not(:last-child) {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ffffff50;
}

.c-sidebar-list li {
    list-style: none;
}

.c-sidebar-list li a {
    font-size: 15px;
    color: #FFF;
    line-height: 1.4;
    font-family: var(--font-family2);
}

.c-sidebar-list li a:hover {
    color: #d8d8d8;
}

/* Local News Block with Light Blue Background */
.c-sidebar-section.local-news {
    background: linear-gradient(90deg, #BFEAFF 0%, #D7F3FF 30%, #E6F6FF 50%, #D7F3FF 70%, #BFEAFF 100%);
    border: 1px solid #E5E5E5;
}

.c-sidebar-title-red {
    font-size: 18px;
    color: red;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 15px;
}

.c-sidebar-thumb-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 15px;
}

.c-sidebar-thumb-item:not(:last-child) {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.c-sidebar-thumb-img {
    width: 100%;
}

.c-sidebar-thumb-img .wrap-img {
    padding-bottom: 66.7%;
}

.c-sidebar-thumb-title {
    font-size: 14px;
}

.c-sidebar-thumb-list {
    max-height: 215px;
    overflow-y: scroll;
}

/* Responsive Styles - News Main Sidebar Grid */
@media (max-width: 991px) {
    .c-news-main-sidebar-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .c-news-main-sidebar-grid__right {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* History event & stock widgets span full width on tablet */
    .c-news-main-sidebar-grid__right .history-event,
    .c-news-main-sidebar-grid__right .lai-suat {
        grid-column: 1 / -1;
    }

    .c-news-horizontal-item {
        grid-template-columns: 200px 1fr;
    }

    .c-news-horizontal-img {
        width: 200px;
        min-width: 200px;
    }

    .c-news-horizontal-title {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .c-news-main-sidebar-grid__right {
        grid-template-columns: 1fr;
    }

    .c-news-horizontal-item {
        grid-template-columns: 120px 1fr;
        gap: 12px;
    }

    .c-news-horizontal-img {
        width: 120px;
        min-width: 120px;
    }

    .c-news-horizontal-title {
        font-size: 15px;
        margin-bottom: 5px;
    }

    .c-news-horizontal-excerpt {
        font-size: 13px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .c-news-horizontal-list {
        margin-bottom: 20px;
    }
}

/* ==========================================================================
   Đặc Sắc Section (Slick Slider)
   ========================================================================== */
.c-special-section {
    background-color: #044973;
    padding: 15px 20px;
    margin-bottom: 35px;
    color: #FFF;
    overflow: hidden;
    /* Chứa .c-special-slider có margin: 0 -15px */
}

.c-special-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.c-special-header__left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.c-special-title {
    font-size: 24px;
    font-weight: 700;
    color: #FFF;
    text-transform: uppercase;
}

.c-special-nav {
    display: flex;
    align-items: center;
    list-style: none;
}

.c-special-nav li a {
    color: #FFF;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    font-family: var(--font-family2);
    padding: 0 10px;
}

.c-special-nav li a:hover {
    color: #007E00;
}

.c-special-nav li:not(:first-child) a {
    border-left: 1px solid #E5E5E5;
}

.c-special-header__right {
    display: flex;
    gap: 10px;
}

.c-special-arrow {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #FFF;
    color: #044973;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.c-special-arrow:hover {
    background-color: #033454;
    color: #FFF;
}

/* Slick Slider Custom Styles */
.c-special-slider {
    margin: 0 -15px;
}

.c-special-slide {
    padding: 0 15px;
}

.c-special-img .wrap-img {
    padding-bottom: 66.7%;
    margin-bottom: 10px;
}

.c-special-card__title {
    font-size: 18px;
}

.c-special-card__title a {
    color: #FFF;
}

.c-special-card__title a:hover {
    opacity: 0.8;
}


/* Slick Slide arrows override */
.c-special-slider .slick-arrow {
    display: none !important;
}

/* Responsive Đặc Sắc Section */
@media (max-width: 991px) {
    .c-special-header {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .c-special-header__left {
        flex: 1;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .c-special-header__right {
        align-self: center;
        margin-top: 0;
    }

    .c-special-card__title {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .c-special-section {
        padding: 12px;
        margin-bottom: 20px;
    }

    .c-special-header {
        margin-bottom: 15px;
    }

    .c-special-title {
        font-size: 18px;
    }

    .c-special-nav {
        flex-wrap: wrap;
    }

    .c-special-nav li a {
        font-size: 12px;
        padding: 0 6px;
    }

    .c-special-header__right {
        margin-top: 0;
        align-self: center;
    }

    .c-special-card__title {
        font-size: 14px;
    }
}

.h-box {
    padding: 15px;
    border: 1px solid #E5E5E5;
    overflow-x: clip;
    /* Chứa negative margin overflow ngang, không cắt scroll dọc */
}

.h-title {
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.h-title.is-small {
    font-size: 16px;
}

.c-widget-stock {
    margin: 0 -15px;
    /* Negative margin kéo rộng ra khỏi padding của .h-box để table header sát mép */
    overflow-x: hidden;
}

/* Khi vừa là c-widget-stock vừa là scroll container, cho phép scroll ngang */
.c-widget-stock.c-widget-stock__scroll,
.c-widget-stock__scroll {
    max-height: 250px;
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    caption-side: bottom;
    border-collapse: collapse;
    width: 100%;
}

table td {
    vertical-align: middle;
}

.c-widget-stock table thead th {
    border-bottom: 1px solid #E5E5E5;
    background-color: #ececec;
}


.c-widget-stock table th,
.c-widget-stock table td {
    padding: 7px 5px;
    font-size: 13px;
    color: #666;
    text-align: left;
}

.c-widget-stock table th {
    color: #333303;
}


.c-widget-stock table th:first-child,
.c-widget-stock table td:first-child {
    padding-left: 15px;
}

.c-widget-stock table th:last-child,
.c-widget-stock table td:last-child {
    padding-right: 15px;
}

.c-widget-stock table.is-table tbody tr:nth-child(2n) {
    background-color: #ececec;
}

.c-widget-stock__scroll::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

.c-widget-stock__scroll::-webkit-scrollbar-track {
    background: transparent;
}

.c-widget-stock__scroll::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
}

.c-widget-stock__scroll:hover::-webkit-scrollbar-thumb {
    background: #6C6E71;
}

.khuyen-nghi-item {
    display: grid;
    grid-template-columns: 100px auto;
    gap: 10px;
}

.khuyen-nghi-item .wrap-img {
    padding-bottom: 66.7%;
}

.khuyen-nghi-title {
    font-size: 15px;
}

.khuyen-nghi-item:not(:last-child) {
    margin-bottom: 12px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 12px;
}

.c-widget-stock__hint {
    padding-top: 10px;
    font-size: 12px;
    line-height: 1.3;
    color: #666;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

/* Reusable Tab Navigation Styling */
.c-tabs-nav {
    display: flex;
    list-style: none;
    padding: 4px;
    margin: 0 0 15px 0;
    background-color: #f1f5f9;
    border-radius: 6px;
    gap: 4px;
    border: 1px solid #e2e8f0;
}

.c-tabs-nav li {
    flex: 1;
    position: relative;
}

.c-tabs-nav li a {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    color: #64748b;
    font-family: var(--font-family2), serif;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.c-tabs-nav li.active a {
    background-color: #044973;
    color: #FFF;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.c-tabs-nav li:not(.active) a:hover {
    background-color: #e2e8f0;
    color: #044973;
}

.tab-pane {
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

.c-topic-area {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    /* margin-bottom: 30px; */
    position: relative;
}

.c-topic-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0.8px;
    height: 100%;
    background-color: #E5E5E5;
}

.template-first-news .wrap-img {
    padding-bottom: 66.7%;
    margin-bottom: 15px;
}

.template-first-news .content .title {
    font-size: 22px;
}

.template-first-news {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #ddd;
}

.c-template-list .item:not(:last-child) {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.c-template-list .item-title {
    font-size: 16px;
    font-weight: 400;
}

/* Thị trường widget */

.thitruong table {
    width: 100%;
    border-collapse: collapse;
}

.thitruong table tr {
    border-bottom: 1px solid #EBEBEB;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 7px 0;
    transition: background-color 0.15s ease;
}

.thitruong table tr:first-child {
    border-top: 1px solid #EBEBEB;
}

.thitruong table td {
    vertical-align: middle;
    font-size: 13px;
}

/* Cột 1: Tên chỉ số */
.thitruong table td:first-child {
    width: 30%;
    padding-left: 0;
}

.thitruong table td:first-child .text-primary {
    font-size: 13px;
    color: #044973;
}

/* Cột 2: Biểu đồ mini */
.thitruong table td:nth-child(2) {
    width: 40%;
    text-align: left;
    padding: 0 5px;
}

.thitruong .c-widget-stock__image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.thitruong .c-widget-stock__image canvas {
    display: block;
    border-radius: 2px;
}

.thitruong .c-widget-stock__image img {
    height: 38px;
}

/* Cột 3: Giá và biến động */
.thitruong table td:last-child {
    width: 30%;
    text-align: right;
    padding-right: 0;
    line-height: 1.4;
}

.thitruong table td:last-child span:first-child,
.thitruong table td:last-child .value {
    display: block;
    font-size: 13px;
    white-space: nowrap;
}

.thitruong table td:last-child .text-danger,
.thitruong table td:last-child .change.text-danger {
    display: block;
    font-size: 13px;
    color: #d0021b;
    white-space: nowrap;
}

.thitruong table td:last-child .text-success,
.thitruong table td:last-child .change.text-success {
    display: block;
    font-size: 12px;
    color: #007d00;
    white-space: nowrap;
}

.c-widget-stock-grid {
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.c-widget-stock-grid .c-box {
    padding: 15px;
    border: 1px solid #E5E5E5;
}

.c-widget-stock-grid .c-box .title {
    margin-bottom: 15px;
    font-size: 16px;
    text-transform: uppercase;
}

.c-widget-search {
    margin-bottom: 10px;
}

.form-select {
    display: block;
    width: 100%;
    padding: 6px 36px 6px 12px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    appearance: none;
    background-color: #FFF;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid #dee2e6;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    word-wrap: normal;
}

.c-widget-stock-grid .c-box .title-table {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
    color: #666;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.c-widget-stock-grid .c-tabs-nav li a {
    font-size: 13px;
    text-transform: unset;
    font-family: var(--font-family);
}

.c-box-body {
    margin-bottom: 15px;
}

.bg-chung-khoan {
    /* background-color: #F5F5F5; */
    padding: 20px 0;
    margin-bottom: 30px;
}

.thitruong-ads {
    margin-top: 30px;
}

/* ==========================================================================
   RESPONSIVE: Góc Nhìn Section
   ========================================================================== */
@media (max-width: 991px) {
    .goc-nhin-section {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .goc-nhin-col__ads {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 20px;
    }

    .goc-nhin-ad-item {
        flex: 1;
        min-width: calc(50% - 10px);
    }

    .goc-nhin-ad-item img {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .goc-nhin-section {
        gap: 0;
    }

    .goc-nhin-col__ads {
        flex-direction: column;
    }

    .goc-nhin-ad-item {
        min-width: 100%;
    }
}

/* ==========================================================================
   RESPONSIVE: c-topic-area (Chứng khoán section)
   ========================================================================== */
@media (max-width: 991px) {
    .c-topic-area {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .c-topic-area::before {
        display: none;
    }

    .c-topic-area .left {
        padding-bottom: 20px;
        margin-bottom: 20px;
        border-bottom: 1px solid #E5E5E5;
    }

    .chung-khoan-wrap .goc-nhin-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .thitruong table {
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .c-topic-area .left {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .template-first-news .content .title {
        font-size: 17px;
    }

    .c-template-list .item-title {
        font-size: 14px;
    }

    /* .thitruong table td:nth-child(2) {
        display: none;
        
    } */

    .thitruong table td:first-child {
        width: 45%;
    }

    .thitruong table td:last-child {
        width: 55%;
    }
}

/* ==========================================================================
   RESPONSIVE: c-widget-stock-grid (3 cột phân tích kỹ thuật)
   ========================================================================== */
@media (max-width: 991px) {
    .c-widget-stock-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* ==========================================================================
   RESPONSIVE: c-trade-grid (3 cột Fitrade)
   ========================================================================== */
@media (max-width: 991px) {
    .c-trade-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .c-trade-block {
        padding: 15px;
    }
}

@media (max-width: 767px) {
    .c-trade-block {
        padding: 12px;
        margin-bottom: 20px;
    }

    .c-box__title a {
        font-size: 15px;
    }
}

/* ==========================================================================
   RESPONSIVE: img-ads
   ========================================================================== */
.img-ads img {
    width: 100%;
    height: auto;
    display: block;
}

.thitruong-ads img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   RESPONSIVE: bg-chung-khoan section
   ========================================================================== */
@media (max-width: 991px) {
    .bg-chung-khoan {
        padding: 15px 0;
    }

    .goc-nhin-title {
        font-size: 18px;
    }

    .goc-nhin-nav a {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .goc-nhin-title {
        font-size: 16px;
    }

    .goc-nhin-featured__title {
        font-size: 17px;
    }

    .goc-nhin-nav {
        gap: 8px;
        flex-wrap: wrap;
    }

    .goc-nhin-nav a {
        font-size: 13px;
    }

    .goc-nhin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-bottom: 8px;
        margin-bottom: 12px;
    }

    .goc-nhin-container {
        margin-bottom: 20px;
    }
}