@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

.SliderFeature {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.SliderFeature .RightCol {
    width: 40%;
    background: #fff;
    padding-left: 15px;
    box-sizing: border-box;
}

.SliderFeature .text-summary {
    display: none;
}

/* --- CẤU HÌNH CỘT TRÁI (LEFT COL) --- */
.SliderFeature .LeftCol {
    width: 60%;
    position: relative;
    /* Đặt chiều cao tối thiểu cho khung bao ngoài */
    min-height: 500px; 
}

.SliderFeature .LeftPanel {
    overflow: hidden;
    position: relative;
    /* Thay height cố định bằng min-height để đảm bảo luôn cao ít nhất 500px */
    min-height: 500px !important; /* <--- Đã sửa */
    height: 100% !important;      /* <--- Đã sửa */
    width: 100% !important;
}

.SliderFeature .LeftCol .LeftPanel img {
    /* Thiết lập chiều cao tối thiểu cho ảnh */
    min-height: 500px;  /* <--- Quan trọng: Ảnh luôn cao ít nhất 500px */
    height: 100%;       /* <--- Lấp đầy khung chứa */
    width: 100%;
    
    left: 0;
    position: absolute;
    top: 0;
    z-index: 0;
    
    /* Quan trọng: Giúp ảnh tự cắt để lấp đầy khung 500px mà không bị méo */
    object-fit: cover;  
}

.SliderFeature .LeftCol .text {
    width: 100%;
    margin-bottom: 0;
    background-color: #fff;
    bottom: 0;
    left: 0;
    position: absolute;
    z-index: 1;
    text-decoration: none;
}

.SliderFeature .LeftCol .text div {
    padding: 10px 0;
    font-family: Arial;
    font-size: 18px;
    font-weight: 700;
    text-align: justify;
    color: #031739;
    display: inline-block;
}

.SliderFeature .LeftCol .text-title {
    color: #0856BB;
    display: inline-block;
    padding-top: 10px;
    padding: 10px !important;
    font-size: 18px;
    line-height: 1.4;
    background: #f6f6f6;
    width: 100%;
}

.SliderFeature .LeftCol .lnk {
    color: #fff;
}

.SliderFeature .ArticleList li a:hover {
    text-decoration: none;
}

.SliderFeature .ArticleList {
    margin: 0;
    padding: 0;
    width: 100%;
    color: #008175;
    padding-right: 0;
    padding-left: 10px;
    font-size: 14px;
    list-style: none;
    padding: 0px 0 0px 20px;
}

.SliderFeature .ArticleList .Title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-family: 'Roboto';
    font-size: 15px;
    font-weight: normal;
    line-height: 22px;
    text-align: justify;
    overflow: hidden;
    max-height: 86px;
    text-overflow: ellipsis;
}

.SliderFeature .ArticleList li:hover a {
    color: #0856BB;
}

/* Hiệu ứng Hover */
.SliderFeature .ArticleList li a:hover {
    text-decoration: none;
    background-color: #f9f9f9;
    transform: translateX(5px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.SliderFeature .ArticleList li {
    font-size: 13px;
    padding-bottom: 10px;
}

.SliderFeature .ArticleList li a {
    display: flex;
    align-items: flex-start;
    font-weight: 600;
    font-size: 14px;
    color: #222;
    line-height: 1.4;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.SliderFeature .ArticleList li+li {
    border-top: 1px dashed #ddd;
    padding-top: 10px;
}

.SliderFeature .ArticleList .ArticleItemSelected a {
    color: #0856BB;
    font-size: 13px;
}

.SliderFeature .ArticleList li .Image {
    max-width: 120px;
    height: 60px;
    margin-right: 10px;
    text-align: left;
    width: 100px;
    min-width: 100px;
    object-fit: cover;
}

/* --- KHUNG CHỨA TIÊU ĐỀ --- */
.SliderFeature .Header {
   overflow: hidden;
        border-bottom: 2px solid #0856BB;
        display: inline-block;
        height: 32px;
        list-style: outside none none;
        margin: 0 0 5px;
        padding: 0;
        position: relative;
        width: 100%;
}

/* --- PHẦN CHỮ TIÊU ĐỀ (LBLHEADER) --- */
.SliderFeature .Header .lblHeader {
    display: block;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    background-color: #0856BB;
    padding: 0 15px;
    line-height: 30px;
    color: #fff;
    font-size: 13px;
    position: relative;
    font-family: Arial;
}

/* Ẩn phần icon cũ nếu không cần thiết nữa để tránh vỡ bố cục dọc */
.SliderFeature .Header .lblHeader:after {
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-left: 24px solid #0856BB;
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 100%;
}
/*.SliderFeature .Header .lblHeader:after {
    content: '';
    margin-left: 10px;
    flex: 1;
    overflow: hidden;
    background: url(images/tnb.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left bottom 6px;
}*/
/* --- RESPONSIVE CHO MÁY TÍNH BẢNG (Dưới 1024px) --- */
@media only screen and (max-width: 1023px) {
    .SliderFeature .LeftCol {
        width: 100%;
        min-height: auto; /* Reset chiều cao trên tablet */
    }

    /* Reset lại chiều cao ảnh trên tablet/mobile để không bị quá cao */
    .SliderFeature .LeftPanel,
    .SliderFeature .LeftCol .LeftPanel img {
        min-height: unset !important; /* <--- Quan trọng: Bỏ giới hạn 500px trên mobile */
        height: auto !important;
    }

    .SliderFeature .RightCol {
        width: 100%;
        padding: 20px 0 0 0;
    }

    .SliderFeature .ArticleList {
        padding-left: 0;
    }

    .SliderFeature .ArticleList li .Image {
        display: block;
        width: 80px;
        min-width: 80px;
        height: 50px;
    }
}

/* --- RESPONSIVE CHO ĐIỆN THOẠI (Dưới 768px) --- */
@media only screen and (max-width: 768px) {
    .SliderFeature {
        padding-top: 10px;
    }

    /* Đặt chiều cao ảnh mobile theo tỉ lệ màn hình */
    .SliderFeature .LeftCol .LeftPanel img {
        height: 55vw !important; /* <--- Giữ nguyên tỉ lệ ảnh mobile của bạn */
        min-height: unset;       /* <--- Đảm bảo không bị ép 500px */
    }

    .SliderFeature .LeftCol .text-title {
        font-size: 16px;
        padding: 8px !important;
    }

    .SliderFeature .LeftCol .text div {
        font-size: 16px;
        padding: 5px 0;
    }

    .SliderFeature .ArticleList .Title {
        font-size: 14px;
        line-height: 1.3;
    }

    .SliderFeature table,
    .SliderFeature tbody,
    .SliderFeature tr,
    .SliderFeature td {
        display: block !important;
        width: 100% !important;
    }
}

/* --- TỐI ƯU CỰC NHỎ (Dưới 480px) --- */
@media only screen and (max-width: 480px) {
    .SliderFeature .LeftCol {
        min-height: auto;
    }

    .SliderFeature .LeftCol .LeftPanel img {
         height: 60vw !important;
    }

    .SliderFeature .ArticleList li a {
        flex-direction: row;
    }

    .SliderFeature .ArticleList li .Image {
        width: 70px;
        min-width: 70px;
        height: 45px;
    }
}