/* =========================================
   SINGLE TAB
   ========================================= */

.SingleTab {
    display: inline-block;
    width: 100%;
    margin-bottom: 3px;
    position: relative;
}


/* =========================================
   HEADER
   ========================================= */

.SingleTab .Header {
    width: 100%;
    height: 35px;
    background: #c51553;
    border-radius: 5px 5px 0 0;
    border-bottom: 3px solid #a80f45;
    box-sizing: border-box;
    overflow: hidden;
}

.SingleTab .Header .HeaderWraper {
    height: 35px;
}

.SingleTab .Header .HeaderWrap {
    height: 35px;
    display: inline-flex;
    align-items: center;
}

.SingleTab .Header .HeaderWrap .text > a {
    display: inline-block;
    padding: 0 12px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 32px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}


/* =========================================
   HEADER TAB
   ========================================= */

.SingleTab .Header .HeadWraper ul {
    display: inline-flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.SingleTab .Header .HeadWraper li {
    display: inline-block;
    float: none;
    margin: 0;
    padding: 0;
}

.SingleTab .Header .HeadWraper li span {
    display: block;
    height: 30px;
    padding: 0 8px;
    line-height: 30px;
    white-space: nowrap;
}

.SingleTab .Header .HeadWraper .Primary span {
    background: #c51553;
    color: #ffffff;
    margin-right: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.SingleTab .Header .HeadWraper .Image {
    margin-right: 6px;
}


/* Hover tab */

.SingleTab .Header .HeadWraper li:hover span {
    background: #a80f45;
    color: #ffffff;
}


/* =========================================
   KHUNG NỘI DUNG
   ========================================= */

.SingleTab .Wrap {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    width: 100%;
    min-height: 370px;
    height: auto;

    margin: 0;
    padding: 10px;

    border: 1px solid #e0e0e0;
    border-top: none;

    box-sizing: border-box;
    background: #ffffff;
}


/* =========================================
   BÀI CHÍNH - CỘT TRÁI
   ========================================= */

.SingleTab .Wrap .first {
    position: static;

    flex: 0 0 500px;
    width: 500px;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


/* =========================================
   ẢNH CHÍNH
   ========================================= */

.SingleTab .Wrap .first .image {
    display: block;

    float: none;

    width: 100%;
    height: 290px;

    margin: 0 0 10px 0;
    padding: 0;

    object-fit: cover;

    border: none;
    border-radius: 0;

    box-sizing: border-box;
}


/* =========================================
   TIÊU ĐỀ BÀI CHÍNH
   ========================================= */

.SingleTab .Wrap .first .title {
    margin: 0;
    padding: 0;
}

.SingleTab .Wrap .first .title a {
    display: -webkit-box;

    margin: 0;
    padding: 0;

    color: #212529;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;

    text-align: justify;
    text-decoration: none;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.SingleTab .Wrap .first .title a:hover {
    color: #c51553;
}


/* =========================================
   MÔ TẢ BÀI CHÍNH
   ========================================= */

.SingleTab .Wrap .first p {
    margin: 5px 0 0;
    padding: 0;

    color: #495057;

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

    text-align: justify;
}


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

.SingleTab .Wrap .next {
    flex: 1;
    width: auto;
    margin: 0;
    padding: 0 5px 0 5px;
    list-style: none;
    box-sizing: border-box;
    font-size: 14px;
}

.SingleTab .Wrap .next li {
    margin: 0;
    padding: 4px 0;
    line-height: 1.4;
}

.SingleTab .Wrap .next li a {
    color: #212529;
  
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.SingleTab .Wrap .next li a:hover {
    color: #c51553;
}


/* Hover */

.SingleTab .Wrap .next li a:hover {
    color: #c51553;
}


/* =========================================
   CLEAR
   ========================================= */

.SingleTab .Wrap .clear {
    clear: both;
}


/* =========================================
   MOBILE
   ========================================= */

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

    .SingleTab {
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }


    /* Header */

    .SingleTab .Header {
        width: 100%;
        height: 35px;
    }

    .SingleTab .Header .HeaderWraper {
        height: 35px;
    }

    .SingleTab .Header .HeaderWrap .text > a {
        padding: 0 10px;
        font-size: 14px;
    }


    /* Nội dung */

    .SingleTab .Wrap {
        display: flex;
        flex-direction: column;

        gap: 10px;

        min-height: unset;
        height: auto;

        padding: 10px;
    }


    /* Bài chính */

    .SingleTab .Wrap .first {
        position: static;

        width: 100%;
        flex: none;

        padding: 0;
    }


    /* Ảnh */

    .SingleTab .Wrap .first .image {
        width: 100%;
        height: auto;

        min-height: 55vw;
        max-height: 290px;

        object-fit: cover;
    }


    /* Tiêu đề */

    .SingleTab .Wrap .first .title a {
        font-size: 15px;
        line-height: 1.4;
    }


    /* Mô tả */

    .SingleTab .Wrap .first p {
        font-size: 13px;
    }


    /* Danh sách */

    .SingleTab .Wrap .next {
        width: 100%;
        flex: none;

        margin: 0;

        padding: 0 5px 10px 20px;
    }


    .SingleTab .Wrap .next li {
        padding: 4px 0;
    }


    .SingleTab .Wrap .next li a {
        font-size: 14px;
    }

}


/* =========================================
   MOBILE NHỎ
   ========================================= */

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

    .SingleTab .Header .HeaderWrap .text > a {
        padding: 0 8px;
        font-size: 13px;
    }

    .SingleTab .Wrap {
        padding: 8px;
    }

    .SingleTab .Wrap .first .image {
        min-height: 50vw;
        max-height: 250px;
    }

    .SingleTab .Wrap .first .title a {
        font-size: 14px;
    }

    .SingleTab .Wrap .next li a {
        font-size: 13px;
    }

}