.SingleTab {
        display: inline-block;
        margin-bottom: 15px;
        width: 100%;
        padding: 0;
        /* padding-right: 15px; */
        container-type: inline-size;
}
.SingleTab .Header {
        display: block;
        margin-bottom: 5px;
        padding-left: 35px;
        height: 100%;
}
.SingleTab .Header {
        overflow: hidden;
        padding-left: 0px!important;
        border-bottom: 2px solid #166b41 !important;
}
.SingleTab .Header .HeaderWrap{
        text-transform: uppercase;
        display: inline-block;
        position: relative;
        font-size: 14px;
        min-width: 40%;
        color: #af292e;
        width: 100%;
        height: 100%;
        margin-bottom: 5px;
        /* padding-bottom: 10px; */
}

.SingleTab .Header .HeaderWrap img{
        display: none;
}
.SingleTab .Header .HeaderWrap .text > a {color: white !important;font-weight: bold !important;line-height: normal;background: #166b41 !important;border-radius: 5px;padding-bottom: 10px !important;padding-left: 10px !important;padding-right: 10px !important;padding-top: 10px !important;/* margin-bottom: -1px !important; */font-size: 18px;/* margin-top: 10px; */display: inline-flex;               /* QUAN TRỌNG */align-items: center;                /* căn giữa dọc */justify-content: center;            /* căn giữa ngang */}
.SingleTab .Header .HeaderWrap .text > a::after {
        content: "";
        display: none;
        width: 40px;
        border-bottom: 1px solid #fdca7b;
        position: absolute;
        bottom: 0;
        left: 0;
}
.SingleTab .Header .HeadWraper ul {
        display: inline-block;
        list-style: outside none none;
        margin: 0;
        padding: 0;
}
.SingleTab .Header .HeadWraper li {
        display: inline-block;
        float: left;
}
.SingleTab .Header .HeadWraper li {
        display: block;
        height: 28px;
        line-height: 28px;
}
.SingleTab .Header .HeadWraper span {
        height: 28px;
        line-height: 28px;
        background-color: #DA251D !important;
  padding: 4px 10px !important;
  font-size: 14px !important;
  display: inline-block;
}
.SingleTab .Header .HeadWraper .Primary span {
        background: #cecece none repeat scroll 0 0;
        margin-right: 4px;
}
.SingleTab .Header .HeadWraper .Image {
        margin-right: 6px;
}
.SingleTab .Wrap {
        /* border: 1px solid #e0e0e0; */
        min-height: 300px;
        margin: 0;
        /* padding: 10px 0; */
        /*added*/
        display: flex;
}
.SingleTab .Wrap .first {
        position: relative;
        display: flex;
        flex-direction: column;
        /* height: 350px; */
        /*border-bottom: 1px solid #e0e0e0;*/
        /*added*/
        /* width: 150%; */
        flex: 0 0 50%;
        max-width: 50%;
        width: 50%;
}
.SingleTab .Wrap .first .image {
        /* float: left; */
        height: 100%;
        /* margin-right: 10px; */
        width: 100%;
        object-fit: cover;
        /* margin-bottom: 10px; */
        /* border-radius: 4px; */
        overflow: hidden;
}
.SingleTab .Wrap .first .title {
        margin: 0;
        padding: 0;
        font-size: 13px;
        /* position: absolute; */
        left: 0;
        bottom: 0;
        /* background: rgba(0, 0, 0, 0.4); */
        padding: 5px 0;
        padding-bottom: 5px;
        border-radius: 4px;
}
.SingleTab .Wrap .first .date{
        font-size: 12px;
        color: #6c757d;
        /* position: absolute; */
        left: 0;
        bottom: 0;
        padding: 0;
        font-family: Arial, sans-serif !important;
}
div.SingleTab .Wrap .first p {
        margin: 0;
        font-size: 13px;
        font-weight: normal;
        line-height: 17px;
        max-height:51px;
        color: #333;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 3;
        text-align: justify;
        margin-top: 0;
        min-height:fit-content;
        order: 1;
        /* display: none; */
        /* padding-bottom: 10px; */
        font-family: Arial, sans-serif !important;
}
.SingleTab .Wrap .first .title a {
        color: #202122;
        text-decoration: none;
        font-size: 16px;
        font-weight: 600;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-family: Arial, sans-serif !important;
}
.SingleTab .Wrap .clear {
        clear: both;
}
.SingleTab .Wrap .next {
        color: #ce1110;
        list-style: square;
        /*margin: 10px 0px;*/
        padding: 0;
        font-size: 14px;
        padding-left: 15px;
        /*added*/
        margin-top: 0px;
        /* width:100%; */
        flex: 0 0 50%;
        max-width: 50%;
        width: 50%;
}
.SingleTab .Wrap .next li {
        padding-bottom: 10px;
        font-size: 14px;
        /* min-height: 90px; */
        /* background: url(images/arrow2.png) no-repeat 0px 18px; */
        padding-left: 0;
}
.SingleTab .Wrap .next li{
        /* border-top: 1px dashed #ddd; */
        display: grid;
        /* grid-template-columns: 100px 1fr; */
        /*gap: 12px;*/
        align-items: flex-start;
        /*added*/
        column-gap: 5px;
        grid-template-columns: minmax(200px, 205px) 1fr;
}
.SingleTab .Wrap .next li a {
        text-decoration: none;
        font-size: 16px;
        font-weight: bold;
        display: -webkit-box;
        /* -webkit-line-clamp: 2; */
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: #212121;
        text-align: justify; 
        /*added*/
        /* -webkit-line-clamp: 3; */
        /* text-overflow: ellipsis; */
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.SingleTab .Wrap .next li .date{
        font-size: 12px;
        margin-top: 5px;
        color: #6c757d;
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-style: italic;
}
.SingleTab .Wrap .next li img{
        width: 199px;
        height: auto;
        object-fit: contain;
        float: left;
        /* margin-right: 20px; */
        grid-row: 1 / span 2;
}
@media only screen and (max-width: 1023px){
	ul.next {
            padding-left:10px !important;
          }
        .SingleTab .Wrap .first .image{
                height: 100%;
        }
        .SingleTab .Wrap .first {
                height: 270px;
        }
}
@media only screen and (max-width: 768px){
        .SingleTab .Wrap .first {
                height: 350px;
        }
        .SingleTab .Wrap .first .image{
                height: 250px;
        }
        div.TabArticleControl .SingleTab .Wrap{
                padding: 5px 0;
        }
        div.SingleTab{
                padding-right: 0;
                background: unset;
        }
         .Wrap {
            flex-direction: column !important;
            padding-right:10px;
          }

          .first,
          ul.next {
            flex: 0 0 100% !important;
            max-width: 100% !important;
                    padding-left:0px!important;          
          }
        .first {
        	padding-left:0 !important;
                margin-bottom:10px!important;
        }
}
@container  (max-width: 500px){
          .Wrap {
            flex-direction: column !important;
          }

          .first,
          ul.next {
            flex: 0 0 100% !important;
            max-width: 100% !important;
                  padding-left:0px!important;          
          }
        .first {  
            height:300px !important;
                min-height:280px!important;
                margin-bottom:10px!important;
        }
        .first .image{
                height:200px !important;
        }
}
.SingleTab .Wrap .next li:not(:has(img)) {
  display: block;
}

.SingleTab .Wrap .next li:not(:has(img)) a {
  display: block;
}
.SingleTab .Wrap .next li:not(:has(img)) a::before {
  /* content: url('https://storage-vnportal.vnpt.vn/gov-tnn/themes/mausotaichinhmaudo/uitabarticle/singletab/images/icon2.png'); */
  color: #DA251D;
  margin-right: 6px;
  font-weight: bold;
  display: inline-block;
}
.SingleTab .Wrap  a:hover{
        color:red !important;
 }
.SingleTab .Header .summary {
        overflow: hidden;
}