 div[class*=UIHotnewsModule_tin_thong_bao] {
    border-radius: 5px;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    margin-bottom: 5px;
}

div[class*=UIHotnewsModule_tin_thong_bao] .HotnewsControl .HotnewsList .HotnewsItem .ArticleTitle::before {
    font-family: "Font Awesome 6 Free";
    content: "\f05d";
    width: auto;
    height: auto;
    border-radius: 0px;
    background: none;
    vertical-align: initial;
    margin-right: 10px;
    color: #379c32;
    font-weight: 400;
    font-size: 12px;
}

div[class*=UIHotnewsModule_tin_thong_bao] .HotnewsControl .Header  {
    padding: 10px 13px;
    background-color: #1e73be;
    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;
    text-align: center;
        border-top: 2px solid #ddd;
}

div[class*=UIHotnewsModule_tin_thong_bao] .HotnewsControl .Header a span  {
    color: #fff;
}

div[class*=UIHotnewsModule_tin_thong_bao] .HotnewsControl .Header a span::before {
    margin-right: 6px; 
    display: inline-block;
    color: #fff !important;
        
    font-family: "Font Awesome 6 Free" !important;
    content: "\f028" !important;
    
    width: auto;
    height: auto;
    border-radius: 0px;
    background: none;
    vertical-align: initial;
    margin-right: 10px;
    color: #fff;
    font-weight: 900;
}

.UIHotnewsModule_tin_thong_bao {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    box-shadow: var(--box-category);
}

.UIHotnewsModule_tin_thong_bao .Header {
    /*display: flex;*/
    justify-content: space-between;
    align-items: center;
}


.UIHotnewsModule_tin_thong_bao .Header span {
    
    font-weight: bold;
    color: #000;
    padding-left: 0px;
}


.UIHotnewsModule_tin_thong_bao .Header a {
    font-size: 14px;
    color: #0075c1;
    text-decoration: none;
    
}


.UIHotnewsModule_tin_thong_bao .HotnewsList {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.UIHotnewsModule_tin_thong_bao .HotnewsItem {
    border-top: 1px solid #eee;
    padding-top: 12px;
}

.UIHotnewsModule_tin_thong_bao .HotnewsItem:first-child {
    border-top: none;
    padding-top: 0;
}

.UIHotnewsModule_tin_thong_bao .HotnewsItem a {
    display: block;
    text-decoration: none;
    color: inherit;
    font-family: "Arial", "Tahoma", "Verdana", "Helvetica", sans-serif;
    padding-bottom: 5px;
    padding-top: 5px;
}

.UIHotnewsModule_tin_thong_bao .HotnewsItem a:hover {
    text-decoration: none;       
}

.UIHotnewsModule_tin_thong_bao .HotnewsItemContent {
    display: flex;
    flex-direction: column;
}

.UIHotnewsModule_tin_thong_bao .ArticleTitle {
    font-size: 14px;
    font-weight: normal;
    color: #000;
    margin-bottom: 4px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.UIHotnewsModule_tin_thong_bao .ArticlePostDate {
    font-size: 13px;
    color: #555;
    line-height: 1;
}

.UIHotnewsModule_tin_thong_bao .HotnewsItem:hover .ArticleTitle {
    color: #0075c1;
    
}

/* Ẩn ảnh nếu có */
.UIHotnewsModule_tin_thong_bao .HotnewsItem img.HotnewsItemImage {
    display: none;
}

.UIHotnewsModule_tin_thong_bao .HotnewsControl .HotnewsList {
    
    max-height: 420px;
    overflow-y: auto;
}



/*
.UIHotnewsModule_tin_thong_bao .HotnewsControl .HotnewsScroll::-webkit-scrollbar {
    width: 3px;   
    height: 3px;  
}

.UIHotnewsModule_tin_thong_bao .HotnewsControl .HotnewsScroll {
    scrollbar-width: thin;
}
*/

div[class*=UIHotnewsModule_tin_thong_bao] .view-more {
    padding-left: 3px;
    padding-right: 3px;
}

/* Áp dụng cho phần tử cụ thể */
.UIHotnewsModule_tin_thong_bao .HotnewsControl .HotnewsList {
  /* overflow: auto; */

  /* Firefox */
  /* scrollbar-width: thin; */
  /* scrollbar-color: #cbd5e1 transparent; */
}

/* Chrome, Edge, Safari */
.UIHotnewsModule_tin_thong_bao .HotnewsControl .HotnewsList::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.UIHotnewsModule_tin_thong_bao .HotnewsControl .HotnewsList::-webkit-scrollbar-track {
  background: transparent;
}

.UIHotnewsModule_tin_thong_bao .HotnewsControl .HotnewsList::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 999px;
}

.UIHotnewsModule_tin_thong_bao .HotnewsControl .HotnewsList::-webkit-scrollbar-thumb:hover {
  background-color: #94a3b8;
}


.UIHotnewsModule_tin_thong_bao .HotnewsControl .HotnewsList::-webkit-scrollbar-thumb {
  background-color: transparent;
  transition: background-color 0.3s;
}


.UIHotnewsModule_tin_thong_bao .HotnewsControl:hover .HotnewsList::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
}

.UIHotnewsModule_tin_thong_bao .HotnewsControl:hover .HotnewsList::-webkit-scrollbar-thumb:hover {
  background-color: #94a3b8;
}
@supports not selector(::-webkit-scrollbar) {
        .UIHotnewsModule_tin_thong_bao .HotnewsControl .HotnewsList {
          /* Firefox */
          scrollbar-width: thin;
          scrollbar-color: transparent transparent; /* thumb | track */
          transition: scrollbar-color 0.3s;
        }

        .UIHotnewsModule_tin_thong_bao .HotnewsControl:hover .HotnewsList {
          /* Firefox — hiện scrollbar khi hover vào container cha */
          scrollbar-color: #cbd5e1 transparent;
        }
}

@media only screen and (min-width: 0px) {
    .HotnewsControl .HotnewsScroll {
        min-height: unset !important;
    }
}

@media only screen and (max-width: 767px) {
        div[class*=UIHotnewsModule_tin_thong_bao] .HotnewsControl .Header {
			width: 100vw;
        }
}
