.ArticleSlider {
    padding: 0 10px;
}

.SliderFeature {
    border: 1px solid #ddd;
    border-radius: 3px;
    margin: 0 0 10px;
    padding: 5px;
    position: relative;
    overflow: hidden; /* Đảm bảo hiệu ứng zoom không bị tràn ra ngoài */
}

/* --- CỘT PHẢI (RIGHT COL) --- */
.SliderFeature .RightCol {
    background: #ffffff none repeat scroll 0 0;
    vertical-align: top;
    width: 45%;
}

.SliderFeature .RightCol .tab button.active {
    background: #c9a680;
    color: #fff;
    font-weight: 600;
}

/* Thêm hiệu ứng hover cho button tab */
.SliderFeature .RightCol .tab button:hover {
    background: #016d3e;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.SliderFeature .RightCol .bottomAti {
    height: 450px;
}

.SliderFeature .RightCol .tabcontent1 {
    padding: 10px 5px;
}

/* --- CỘT TRÁI (LEFT COL) --- */
.SliderFeature .LeftCol {
    padding-right: 10px !important;
    text-align: justify;
    vertical-align: top;
    width: 70%;
    position: relative;
    overflow: hidden; /* Quan trọng cho hiệu ứng zoom */
    cursor: pointer;
}

.SliderFeature .LeftPanel {
    height: 450px !important;
    overflow: hidden;
    position: relative;
    width: 100% !important;
}

.SliderFeature .LeftCol .LeftPanel img {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
    /* Thêm transition để hiệu ứng mượt mà */
    transition: transform 0.5s ease;
}

/* Hiệu ứng: Zoom ảnh khi rê chuột vào khung trái */
.SliderFeature .LeftCol:hover .LeftPanel img {
    transform: scale(1.05);
}

.SliderFeature .LeftCol .text {
    background-color: #fff;
    bottom: 0;
    color: #016d3e;
    font: bold 14px Arial;
    left: 0;
    margin-bottom: 0;
    position: absolute;
    text-align: left;
    width: 100%;
    z-index: 1;
    transition: all 0.3s ease; /* Hiệu ứng mượt cho box text */
}

.SliderFeature .LeftCol .text div {
    color: #016d3e;
    display: inline-block;
    padding: 6px;
    transition: color 0.3s ease;
}

/* Hiệu ứng: Đổi màu chữ tiêu đề khi hover vào ảnh lớn */
.SliderFeature .LeftCol:hover .text div {
    color: #c9a680; /* Đổi sang màu vàng đồng giống button active */
}
.SliderFeature .LeftCol:hover .text {
    border-top: 2px solid #c9a680; /* Thêm viền trên để nổi bật */
}

/* --- DANH SÁCH TIN (ARTICLE LIST) --- */
.SliderFeature .ArticleList {
    list-style: outside none none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.SliderFeature .ArticleList li {
    border-bottom: 1px dotted #ddd;
    display: inline-block;
    padding: 10px 5px;
    width: 100%;
    font: 16px arial;
    /* Thêm transition cho hiệu ứng trượt và đổi màu */
    transition: all 0.3s ease;
    border-left: 3px solid transparent; /* Tạo chỗ cho viền trái */
}

.SliderFeature .ArticleList li a {
    font: 16px arial;
    color: #016d3e;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Hiệu ứng: Hover vào dòng tin */
.SliderFeature .ArticleList li:hover {
    background-color: #f9f9f9; /* Màu nền xám nhẹ */
    padding-left: 10px; /* Trượt nhẹ sang phải */
    border-left: 3px solid #016d3e; /* Hiện viền trái màu xanh */
}

/* Hiệu ứng: Đổi màu chữ link khi hover */
.SliderFeature .ArticleList li:hover a {
    color: #c9a680; /* Đổi màu chữ sang vàng đồng */
}

.SliderFeature .ArticleList .ArticleItemSelected a {
    color: #016d3e;
    display: inline-block;
    font: 16px arial;
}

.SliderFeature .ArticleList li .Image {
    display: none;
    float: left;
    height: 86px;
    margin-right: 10px;
    text-align: left;
    width: 120px;
}

.SliderFeature .Header {
    display: none;
}

.SliderFeature .Header .lblHeader {
    display: none;
}

@media only screen and (max-width:768px) {
    .SliderFeature .RightCol .bottomAti {
        height: auto;
    }
}

/* --- RESPONSIVE MOBILE (Dưới 768px) --- */
@media only screen and (max-width: 768px) {
    
    /* 1. Cấu trúc khung chính: Chuyển sang Flex cột dọc */
    .SliderFeature {
        display: flex;
        flex-direction: column; /* Xếp chồng cột trái lên trên cột phải */
        padding: 0;
        border: none;
    }

    /* 2. Cột trái (Ảnh chính): Full chiều rộng */
    .SliderFeature .LeftCol {
        width: 100% !important;
        padding-right: 0 !important;
        margin-bottom: 10px;
        min-height: auto; /* Bỏ chiều cao tối thiểu nếu có */
    }

    /* QUAN TRỌNG: Giảm chiều cao ảnh trên mobile */
    .SliderFeature .LeftPanel {
        height: 220px !important; /* Giảm từ 450px xuống 220px cho vừa mắt */
    }

    .SliderFeature .LeftCol .LeftPanel img {
        object-fit: cover; /* Đảm bảo ảnh không bị méo khi đổi kích thước */
    }

    /* Chỉnh lại chữ tiêu đề trên ảnh cho gọn */
    .SliderFeature .LeftCol .text {
        font-size: 13px !important;
    }
    
    .SliderFeature .LeftCol .text div {
        padding: 5px 10px;
        width: 100%;
        box-sizing: border-box;
        text-align: left;
    }

    /* 3. Cột phải (Danh sách tin): Full chiều rộng */
    .SliderFeature .RightCol {
        width: 100% !important;
        background: #fff;
    }

    /* Bỏ chiều cao cố định của khung chứa danh sách tin */
    .SliderFeature .RightCol .bottomAti {
        height: auto !important;
        padding-bottom: 10px;
    }

    /* Tinh chỉnh danh sách bài viết */
    .SliderFeature .ArticleList li {
        width: 100%;
        padding: 8px 0; /* Giảm khoảng cách cho gọn */
        font-size: 14px; /* Giảm cỡ chữ chút cho hợp mobile */
    }

    /* Xử lý lỗi hiển thị nếu có icon ảnh nhỏ */
    .SliderFeature .ArticleList li .Image {
        display: none !important; /* Ẩn ảnh nhỏ trong list để tiết kiệm chỗ */
    }
    
    /* Hiệu ứng Hover trên mobile (Touch): Giữ nguyên nhưng đảm bảo không bị lỗi */
    .SliderFeature .LeftCol:hover .LeftPanel img {
        transform: scale(1.02); /* Zoom nhẹ hơn trên mobile để đỡ giật */
    }
}