/* =====================================================
   THIẾT LẬP CHUNG
===================================================== */

.SliderFeature,
.SliderFeature * {
    box-sizing: border-box;
}

.SliderFeature {
    display: block;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
}

.SliderFeature .TableContent {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.SliderFeature .LeftCol,
.SliderFeature .RightCol {
    vertical-align: top;
}

.SliderFeature .LeftCol {
    width: 60%;
    position: relative;
    padding: 0;
}

.SliderFeature .RightCol {
    width: 40%;
    padding: 0 0 0 15px;
    background: #ffffff;
}

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

/* =====================================================
   KHUNG ẢNH CỘT TRÁI
===================================================== */

.SliderFeature .LeftPanel {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;

    width: 100% !important;
    height: 500px !important;
    min-height: 500px !important;

    position: relative;
    overflow: hidden;
    background: #f4f4f4;
}

.SliderFeature .LeftPanel > a {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;

    position: relative;
    overflow: hidden;
    background: #f4f4f4;
}

.SliderFeature .LeftCol .LeftPanel > a > img.Image,
.SliderFeature .LeftCol .LeftPanel > a > img {
    display: block;

    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    width: 100% !important;
    height: 100% !important;

    min-width: 0;
    min-height: 0;

    object-fit: contain;
    object-position: center;

    z-index: 0;
    background: #fff;
}

/* Ẩn tiêu đề trùng nằm trong thẻ liên kết */

.SliderFeature .LeftPanel > a > .Title {
    display: none !important;
}

/* =====================================================
   TIÊU ĐỀ BÊN DƯỚI ẢNH
===================================================== */

.SliderFeature .LeftCol .text {
    display: block;
    width: 100%;

    position: static;
    margin: 0;

    background: #fff;
    border-top: 1px solid #e5e5e5;

    z-index: 2;
    text-decoration: none;
}

.SliderFeature .LeftCol .text > div {
    display: block;
    width: 100%;

    padding: 10px 12px;
    margin: 0;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;

    text-align: left;
    color: #031739;
}

.SliderFeature .LeftCol .text-title {
    display: block;
    width: 100%;

    padding: 10px 12px !important;
    margin: 0;

    color: #0856bb;
    background: #ffff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

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

/* =====================================================
   DANH SÁCH TIN CỘT PHẢI
===================================================== */

.SliderFeature .ArticleList {
    width: 100%;
    margin: 0;
    padding: 0;

    list-style: none;
    color: #008175;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.SliderFeature .ArticleList li {
    margin: 0;
    padding: 0 0 5px;
    font-size: 13px;
}

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

.SliderFeature .ArticleList li a {
    display: flex;
    align-items: flex-start;

    width: 100%;
    padding: 4px;

    color: #222222;
    background: transparent;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;

    text-decoration: none;
    border-radius: 4px;

    transition: color 0.3s ease,
                background-color 0.3s ease,
                transform 0.3s ease,
                box-shadow 0.3s ease;
}

.SliderFeature .ArticleList li a:hover {
    color: #0856bb;
    background-color: #f9f9f9;
    text-decoration: none;

    transform: translateX(5px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.SliderFeature .ArticleList .Title {
    display: -webkit-box;
    flex: 1;
    min-width: 0;

    overflow: hidden;
    text-overflow: ellipsis;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    max-height: 66px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;

    text-align: justify;
}

.SliderFeature .ArticleList .ArticleItemSelected a {
    color: #0856bb;
}

.SliderFeature .ArticleList li .Image {
    display: block;
    flex: 0 0 100px;

    width: 100px;
    min-width: 100px;
    max-width: 100px;
    height: 60px;

    margin-right: 10px;

    object-fit: cover;
    object-position: center;

    border-radius: 3px;
}

/* =====================================================
   TIÊU ĐỀ CHUYÊN MỤC
===================================================== */

.SliderFeature .Header {
    display: block;
    width: 100%;
    height: 32px;

    position: relative;
    overflow: hidden;

    margin: 0 0 8px;
    padding: 0;

    border-bottom: 2px solid #0856bb;
    list-style: none;
}

.SliderFeature .Header .lblHeader {
    display: inline-block;
    height: 30px;

    position: relative;
    padding: 0 15px;

    color: #ffffff;
    background-color: #0856bb;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 30px;

    text-transform: uppercase;
    white-space: nowrap;
}

.SliderFeature .Header .lblHeader::after {
    content: "";

    display: block;
    width: 0;
    height: 0;

    position: absolute;
    top: 0;
    left: 100%;

    border-top: 30px solid transparent;
    border-left: 24px solid #0856bb;
}

/* =====================================================
   TABLET - DƯỚI 1024PX
===================================================== */

@media only screen and (max-width: 1023px) {

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

    .SliderFeature .LeftCol {
        width: 100% !important;
        min-height: 0;
    }

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

    .SliderFeature .LeftPanel {
        display: block;

        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;

        overflow: hidden;
    }

    .SliderFeature .LeftPanel > a {
        display: block;
        width: 100%;
        height: auto;

        position: relative;
        overflow: hidden;

        aspect-ratio: 16 / 9;
    }

    .SliderFeature .LeftCol .text {
        position: static;
    }

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

    .SliderFeature .ArticleList li .Image {
        flex-basis: 90px;

        width: 90px;
        min-width: 90px;
        max-width: 90px;
        height: 55px;
    }
}

/* =====================================================
   ĐIỆN THOẠI - DƯỚI 768PX
===================================================== */

@media only screen and (max-width: 768px) {

    .SliderFeature {
        padding-top: 10px;
    }

    .SliderFeature .LeftPanel > a {
        aspect-ratio: 16 / 9;
    }

    .SliderFeature .LeftCol .text > div,
    .SliderFeature .LeftCol .text-title {
        padding: 8px 10px !important;

        font-size: 16px;
        line-height: 1.4;
    }

    .SliderFeature .ArticleList .Title {
        max-height: 54px;

        font-size: 14px;
        line-height: 18px;

        -webkit-line-clamp: 3;
    }

    .SliderFeature .Header {
        height: 32px;
    }

    .SliderFeature .Header .lblHeader {
        max-width: calc(100% - 25px);

        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* =====================================================
   ĐIỆN THOẠI NHỎ - DƯỚI 480PX
===================================================== */

@media only screen and (max-width: 480px) {

    .SliderFeature .LeftPanel > a {
        aspect-ratio: 4 / 3;
    }

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

    .SliderFeature .ArticleList li .Image {
        flex-basis: 75px;

        width: 75px;
        min-width: 75px;
        max-width: 75px;
        height: 50px;

        margin-right: 8px;
    }

    .SliderFeature .ArticleList .Title {
        font-size: 13px;
        line-height: 18px;
    }

    .SliderFeature .Header .lblHeader {
        padding: 0 10px;
        font-size: 12px;
    }
}