.UITabArticle_tab_thong_bao .SingleTab .Wrap {
    min-height: 0;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Di động: hiển thị toàn bộ nội dung, không giới hạn chiều cao */
@media (max-width: 767px) {
    .UITabArticle_tab_thong_bao .SingleTab .Wrap {
        max-height: none;
        overflow-y: visible;
    }
}


.UITabArticle_tab_thong_bao .SingleTab {
        display: inline-block;
        margin-bottom: 15px;
        width: 100%;
        padding: 0;
        container-type: inline-size;
}
.UITabArticle_tab_thong_bao .SingleTab .Header {
        display: block;
        height: 40px;
        overflow: hidden;
        padding-left: 0px;
}
.UITabArticle_tab_thong_bao .SingleTab .Header .HeaderWrap{
        text-transform: uppercase;
        display: inline-block;
        position: relative;
        font-size: 14px;
        min-width: 40%;
        color: #FFEB3B;
    	width: 100%;

}
.UITabArticle_tab_thong_bao .SingleTab .Header .HeaderWrap{
	padding: 10px 13px;
    background-color: #bf0800;
    text-transform: uppercase;

    background-image: url("https://storage-vnportal.vnpt.vn/gov-tnn/7350/icons/title_trong-dong.png");
        background-position: right top;
    background-repeat: no-repeat;
}
/*HeaderWrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background-color: #DA251D;
  margin-left: 0px;
}*/
.UITabArticle_tab_thong_bao .SingleTab .Header .HeaderWrap img{
        display: none;
}
.UITabArticle_tab_thong_bao .SingleTab .Header .HeaderWrap .text > a {
            color: white;
    font-size: 17px;
    text-transform: uppercase;
    font-weight: 600;
    text-align: left;
    display: inline-block;
}
.UITabArticle_tab_thong_bao .SingleTab .Header .HeaderWrap .text > a::after {
        content: "";
        display: none;
        width: 40px;
        border-bottom: 1px solid #fdca7b;
        position: absolute;
        bottom: 0;
        left: 0;
}
.UITabArticle_tab_thong_bao .SingleTab .Header .HeadWraper ul {
        display: inline-block;
        list-style: outside none none;
        margin: 0;
        padding: 0;
}
.UITabArticle_tab_thong_bao .SingleTab .Header .HeadWraper li {
        display: inline-block;
        float: left;
}
.UITabArticle_tab_thong_bao .SingleTab .Header .HeadWraper li {
        display: block;
        height: 28px;
        line-height: 28px;
}
.UITabArticle_tab_thong_bao .SingleTab .Header .HeadWraper span {
        height: 28px;
        line-height: 28px;
        background-color: #DA251D ;
  padding: 4px 10px ;
  font-size: 14px ;
  display: inline-block;
}
.UITabArticle_tab_thong_bao .SingleTab .Header .HeadWraper .Primary span {
        background: #cecece none repeat scroll 0 0;
        margin-right: 4px;
}
.UITabArticle_tab_thong_bao .SingleTab .Header .HeadWraper .Image {
        margin-right: 6px;
}
.UITabArticle_tab_thong_bao .SingleTab .Wrap {
        /* border: 1px solid #e0e0e0; */
        min-height: 300px;
        margin: 0;
        /* padding: 10px 0; */
        /*added*/
        display: flex;
                padding: 5px;
                border: 1px solid #bf080038;
        flex-direction: column;
}
}
.UITabArticle_tab_thong_bao .SingleTab .Wrap .first {
        position: relative;
        display: flex;
        flex-direction: column;
        height: fit-content;
        /*border-bottom: 1px solid #e0e0e0;*/
        /*added*/
        width: 170%;
}
.UITabArticle_tab_thong_bao .SingleTab .Wrap .first .image {
        /* float: left; */
        height: fill;
        /* margin-right: 10px; */
        width: 100%;
        object-fit: cover;
        /* margin-bottom: 10px; */
        /* border-radius: 4px; */
        overflow: hidden;
}
.UITabArticle_tab_thong_bao .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: 10px 0;
        padding-bottom: 10px;
        border-radius: 4px;
}
.UITabArticle_tab_thong_bao .SingleTab .Wrap .first .date{
        font-size: 12px;
        color: #6c757d;
        /* position: absolute; */
        left: 0;
        bottom: 0;
        padding: 0;
}
div.UITabArticle_tab_thong_bao .SingleTab .Wrap .first p {
        margin: 0;
        font-size: 14px;
        font-weight: normal;
        line-height: 1.4;
        color: #333;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 0;
        text-align: left;
        -webkit-line-clamp: 6;
        text-align: justify;
        margin-top: 0;
        order: 9;
        /* display: none; */
        /* padding-bottom: 10px; */
}
.UITabArticle_tab_thong_bao .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;
}
.UITabArticle_tab_thong_bao .SingleTab .Wrap .clear {
        clear: both;
}
.UITabArticle_tab_thong_bao .SingleTab .Wrap .next {
        color: #ce1110;
        list-style: square;
        /*margin: 10px 0px;*/
        padding: 0;
        font-size: 14px;
        padding-left: 15px;
        /*added*/
        margin: 0px;
}
.UITabArticle_tab_thong_bao .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;
}
.UITabArticle_tab_thong_bao .SingleTab .Wrap .next li{
        /* border-top: 1px dashed #ddd; */
       	  display: grid;
          grid-template-columns: 1fr;
          /*gap: 12px;*/
          align-items: flex-start;
        /*added*/
        column-gap:12px;
}
.UITabArticle_tab_thong_bao .SingleTab .Wrap .next li a {
        text-decoration: none;
        font-size: 14px;
        font-weight: 400;
        display: -webkit-box;
        /* -webkit-line-clamp: 2; */
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: #202122;
        text-align: justify; 
        /*added*/
  -webkit-line-clamp: 3;             
  text-overflow: ellipsis;     
}
.UITabArticle_tab_thong_bao .SingleTab .Wrap .next li .date{
        font-size: 12px;
        margin-top: 5px;
        color: #6c757d;
}
.UITabArticle_tab_thong_bao .SingleTab .Wrap .next li img{
        width: 0px;
        height: fit-content;
        object-fit: cover;
        float: left;
        margin-right: 20px;
        grid-row: 1 / span 2;

	display: none;
	visibility: hidden;
}
@media only screen and (max-width: 1023px){
        .UITabArticle_tab_thong_bao .SingleTab ul.next{
        	padding-left:10px !important;
        }
}
@media only screen and (max-width: 768px){
        .UITabArticle_tab_thong_bao .SingleTab .Wrap .first .image{
                height: 55vw;
        }
        div.TabArticleControl .UITabArticle_tab_thong_bao .SingleTab .Wrap{
                padding: 5px 0;
        }
        div.UITabArticle_tab_thong_bao .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;
          }
        .first {
        	padding-left:0 !important;
        }
        .UITabArticle_tab_thong_bao .SingleTab ul.next{
        	padding-left:0px !important;
        }
}
@container  (max-width: 700px){
          .Wrap {
            flex-direction: column ;
          }
        .UITabArticle_tab_thong_bao .SingleTab .Wrap .first .title{
        	padding:0 0 5px 0  ;
        }
        .UITabArticle_tab_thong_bao .SingleTab .first .title{
        	padding:0 0 5px 0  ;
                
        }
        .UITabArticle_tab_thong_bao  .SingleTab .Wrap .next{
        	padding-left:5px; !important
        }
          .UITabArticle_tab_thong_bao .SingleTab .first,
          ul.next {
            flex: 0 0 100% !important;
            max-width: 100% !important;
                  padding:5px;
          }
         .UITabArticle_tab_thong_bao .SingleTab .first {  
                min-height: fit-content;
                margin-bottom:5px;
        }
        .UITabArticle_tab_thong_bao .SingleTab .first .image{
                height: 0px ;
        }
}
.UITabArticle_tab_thong_bao .SingleTab .Wrap .next li:not(:has(img)) {
  display: block;
}

.UITabArticle_tab_thong_bao .SingleTab .Wrap .next li:not(:has(img)) a {
  display: block;
        
background:url(images/gachdaudong.png) no-repeat;
        background-size:5px;
        background-position-y:5px;
        text-indent: 10px;
}
.UITabArticle_tab_thong_bao .SingleTab .Wrap .next li:not(:has(img)) a::before {
  content: "";
}
.UITabArticle_tab_thong_bao .SingleTab .Wrap  a:hover{
        color:red !important;
 }
.UITabArticle_tab_thong_bao .SingleTab .Header .summary {
        overflow: hidden;
}



.UITabArticle_tab_thong_bao .SingleTab .Wrap .first img {
    display: none;
    visibility: hidden !important; 
}

.UITabArticle_tab_thong_bao .SingleTab .Wrap .first .image {
    min-height: 0px;
    height: 0px !important;
}


.UITabArticle_tab_thong_bao .SingleTab .Wrap .first img {
    display: none;
    visibility: hidden !important; 
}

.UITabArticle_tab_thong_bao .SingleTab .Wrap .first .image {
    min-height: 0px;
    height: 0px !important;
}

div.UITabArticle_tab_thong_bao .SingleTab .Wrap .first .summary {
    display: none;
}

/*

 */

.merged-source {
    display: none !important;
}

.merged-notification-news,
.merged-notification-news * {
    box-sizing: border-box;
}

.merged-notification-news {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0 0 15px;
    padding: 0;
    overflow-x: hidden;
    font-size: 14px;
    color: #202122;
    container-type: inline-size;
}

/* Tiêu đề đỏ, cùng phong cách với HeaderWrap cũ. */
.merged-notification-news .merged-header {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 40px;
    padding: 10px 13px;
    overflow: hidden;
    color: #fff;
    background-color: #bf0800;
    background-image: url("https://storage-vnportal.vnpt.vn/gov-tnn/7350/icons/title_trong-dong.png");
    background-position: right top;
    background-repeat: no-repeat;
    font-size: 17px;
    font-weight: 600;
    line-height: 20px;
    text-align: left;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

/* Phần thân tương đương .SingleTab .Wrap cũ. */
.merged-notification-news .merged-featured,
.merged-notification-news .merged-list {
    margin: 0;
}

.merged-notification-news .merged-featured {
    display: block;
    min-width: 0;
    padding: 10px 10px 8px;
    overflow: hidden;
    border: 1px solid rgb(191 8 0 / 22%);
    border-bottom: 0;
}

.merged-notification-news .merged-info {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 8px;
}

/* File CSS cũ đang ẩn ảnh và mô tả của tin đầu; giữ hành vi đó. */
.merged-notification-news .merged-featured > a:first-child,
.merged-notification-news .merged-featured > a > img,
.merged-notification-news .merged-featured .merged-info > p {
    display: none;
    visibility: hidden;
}

.merged-notification-news .merged-title {
    min-width: 0;
    color: #202122;
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.merged-notification-news .merged-featured .merged-title {
    display: -webkit-box;
    width: 100%;
    overflow: hidden;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-align: justify;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.merged-notification-news time {
    color: #6c757d;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
}

.merged-notification-news .merged-source {
    display: inline-block;
    padding: 2px 6px;
    border: 1px solid rgb(191 8 0 / 25%);
    border-radius: 3px;
    color: #bf0800;
    background: rgb(191 8 0 / 5%);
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    white-space: nowrap;
}

.merged-notification-news .merged-list {
    min-width: 0;
    padding: 0 10px 4px;
    overflow: hidden;
    border: 1px solid rgb(191 8 0 / 22%);
    border-top: 0;
}

.merged-notification-news .merged-item {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 5px 10px;
    align-items: start;
    padding: 10px 0 10px 12px;
    border-top: 1px dashed #ddd;
}

.merged-notification-news .merged-item::before {
    position: absolute;
    top: 17px;
    left: 0;
    width: 5px;
    height: 5px;
    background: #ce1110;
    content: "";
}

.merged-notification-news .merged-item .merged-title {
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-align: justify;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

@media (hover: hover) and (pointer: fine) {
    .merged-notification-news .merged-title:hover {
        color: red;
    }
}

/*
 * Nhiều layout cũ đặt khung nội dung cố định 1170px. Quy tắc này ngăn
 * riêng khối tin mới tràn ngang trên tablet và màn hình nhỏ hơn desktop.
 */
@media only screen and (max-width: 1199px) {
    .merged-notification-news {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
    }
}

@media only screen and (max-width: 768px) {
    .merged-notification-news {
        width: calc(100vw - 16px);
        max-width: calc(100vw - 16px);
    }

    .merged-notification-news .merged-header {
        min-height: 40px;
        height: auto;
        padding: 9px 10px;
        font-size: 15px;
    }

    .merged-notification-news .merged-item {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .merged-notification-news .merged-item time {
        grid-column: 2;
    }
}

@media only screen and (max-width: 480px) {
    .merged-notification-news {
        width: calc(100vw - 10px);
        max-width: calc(100vw - 10px);
    }

    .merged-notification-news .merged-header {
        padding: 8px;
        font-size: 14px;
        line-height: 19px;
    }

    .merged-notification-news .merged-featured,
    .merged-notification-news .merged-list {
        padding-right: 6px;
        padding-left: 6px;
    }

    .merged-notification-news .merged-featured .merged-title {
        font-size: 15px;
        -webkit-line-clamp: 4;
    }

    .merged-notification-news .merged-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .merged-notification-news .merged-item .merged-source {
        justify-self: start;
    }

    .merged-notification-news .merged-item time {
        grid-column: 1;
    }
}

@container (max-width: 500px) {
    .merged-notification-news .merged-featured,
    .merged-notification-news .merged-list {
        padding-right: 5px;
        padding-left: 5px;
    }

    .merged-notification-news .merged-source {
        padding-right: 4px;
        padding-left: 4px;
    }
}

.merged-notification-news .merged-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
}

.merged-notification-news .merged-item .merged-title {
    grid-column: 1;
    grid-row: 1;
}

.merged-notification-news .merged-item time {
    grid-column: 1;
    grid-row: 2;
    margin-top: 1px;
}

.merged-notification-news .merged-source {
    display: none;
}

