.node-detail ul{
   padding-left: 20px;
}
.node-detail ul li{
   list-style: disc;
}
/* === Chiều ngang trang tin === */
@media (min-width: 1200px) {
    .container {
        width: 1536px;
    }
}
@media (min-width: 991px){
  header.header-v3 .header-main {
      height: 150px;
  }
}

/* ==== Cố định sub menu màn hình nhỏ === */
@media (max-width: 991px) {
    	.gva-offcanvas-inner .gva-navigation .gva_menu > li ul.menu.sub-menu {
        display: block;
    }
	.gva-offcanvas-inner .gva-navigation .gva_menu li a .icaret {
        display:none;
	}
}

/* === FIX menu cấp 3 === */
@media (min-width: 991px) {

  /* Cho phép hiển thị menu con cấp 2 */
  .menu-hover .navigation .gva_menu > li:hover > .sub-menu {
    visibility: visible !important;
    opacity: 1 !important;
    transform: rotateX(0deg) !important;
    z-index: 999 !important;
  }

  /* Cho phép hiển thị menu cấp 3 khi hover cấp 2 */
  .menu-hover .navigation .gva_menu .sub-menu > li:hover > ul {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
    top: 0 !important;
    left: 100% !important;
    z-index: 9999 !important;
    transform: none !important;
  }

  /* Gỡ giới hạn ẩn của Gavias */
  .menu-hover .navigation .gva_menu .sub-menu > ul,
  .menu-hover .navigation .gva_menu .sub-menu > li,
  .menu-hover .navigation .gva_menu .sub-menu > div {
    visibility: visible !important;
    z-index: 99 !important;
  }

  /* Style cơ bản cho menu cấp 3 */
  .menu-hover .navigation .gva_menu .sub-menu > li > ul {
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
    min-width: 250px;
    background: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    border-top: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
  }

  /* Đảm bảo không bị che */
  .main-menu, .navigation, .area-inner {
    overflow: visible !important;
  }
}

header.header-v3 {
    background: url(/sites/default/files/other/lmhtx-header.jpg) #ffffff no-repeat center top;
    background-size: 1536px 80%;
}
@media (min-width: 991px){
  	/*header.header-v3 {
    	background-size: 1188px 72%;
	}*/
  	header.header-v3 .main-menu .area-inner ul.gva_menu > li > a {
        color: #ffffff;
    }
  	.menu-item--active-trail{
  		background-color: #ffffff;
  	}
    header.header-v3 .main-menu .area-inner ul.gva_menu > li > a:hover {
        color: #1b3469;
      	background-color: #ffffff;
    }
  	.menu-hover .navigation .gva_menu > li > a {
        font-size: 15px;
    }
  	header.header-v3 .gva-search-region {
    	right: 0px;
	}
  	#block-gavias-batiz-main-menu .gva-navigation .gva_menu_main > li.menu-item:not(.menu-home) {
    	border-left: 1px solid #3b6091 !important;
  	}
  	.main-menu .area-main-menu .area-inner {
    	min-height: 43px;
	}
}
@media (max-width: 425px){
  	header.header-v3 {
    	background: url(/sites/default/files/other/lmhtx-header-mobile.jpg) no-repeat left top;
    	background-size: 130% 72%;
	}
  	
}
@media (min-width: 425px) and (max-width: 1366px){
  	header.header-v3 {
    	background: url(/sites/default/files/other/lmhtx-header-mobile.jpg) no-repeat left top;
    	background-size: 100% 77%;
	}
  	
}
.banner .main-title{
  	color: #013791;
}
.banner .sub-title{
  	color: #197841;
}
.banner .text {
    position: relative;
    z-index: 1;
}

/*.banner .main-title::before {
    content: "";
    position: absolute;
    inset: -5px -10px;
    background: rgba(255, 255, 255, 0.25);
    filter: blur(10px);
    z-index: -1;
    border-radius: 5px;
}
.banner .sub-title::before {
    content: "";
    position: absolute;
    inset: -5px -10px;
    background: rgba(255, 255, 255, 0.25);
    filter: blur(10px);
    z-index: -1;
    border-radius: 5px;
}*/
@media only screen and (max-width: 768px) {
    .banner .main-title {
        font-size: 10px !important;
    }
}
header.header-v3 .main-menu {
    position: relative;
    z-index: 99;
    margin-bottom: 0;
    border-top: 1px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    background: #006eda;
}
.footer .footer-inner {
    background: url(/sites/default/files/other/bg-footer.png) no-repeat center #006eda;
}
.copyright {
    background: #0063d8;
}
.post-summary{
 	font-weight: 600; 
}
.field--name-field-tac-gia{
 	font-weight: 600; 
  	text-align: right;
}
figcaption {
	text-align: center;
	font-size: 13px;
	padding: 5px;
	color: #ffffff;
	background-color: #80808091;
	font-weight: 600;
}
@media(min-width: 767px){
	figcaption {
    	width: 600px;
    	margin: auto;
	}
}
.banner-cot-phai img {
    width: 100%;
    height: auto;
}

/* Zalo */
.zalo {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 10px;  
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    margin-right: 8px;
    background: #0068FF;
}

/* ===FOOTER=== */
.footer .footer-center {
    padding: 14px 0 10px;
}
.footer {
  	font-family: nunito, sans-serif;
}
.tableinfo {
	width: 100%; 
}
.tableinfo .logo-img{
	width: 20%;
}
.name-slogan .ft-name {
 	 font-weight: 600;
  	font-size: 17px;
}
.name-slogan .ft-slogan {
 	 font-weight: 100;
  	font-size: 13px;
}

table.tableinfo,
table.tableinfo th,
table.tableinfo td,
table.tableinfo tr {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
.footer .fa, .zalo{
 	border-radius: 50%; 
}
.footer .fa-play{
 	font-size: 10px; 
}
.footer .fa-facebook {
    margin-left: 10px;
}
/* === Card chuyên mục trên phải === */
.card-chuyenmuc {
 	list-style: none; 
}
.card-chuyenmuc li{
 	padding: 8px;
  	margin-bottom:5px;
  	border-radius: 10px;
}
.card-chuyenmuc .card1{
 	background: #007ff4;
      padding: 0px;
}
.card-chuyenmuc .card2{
 	background: #1c9560;
      padding: 0px;
}
.card-chuyenmuc .card3{
 	background: #f77d27;
     padding: 0px;
}
.card-chuyenmuc .card4{
 	background: #5f28c2;
      padding: 0px;
}
.card-chuyenmuc .card5{
 	background: #028bba;
      padding: 0px;
}
.card-chuyenmuc a{
 	font-size: 20px;
  	color: #ffffff;
}
.card-chuyenmuc .card-icon {
  font-size: 25px;
  width: 60px;            /* chiều rộng cố định, chỉnh theo ý */
  height: 70px;           /* chiều cao cố định */
  display: inline-flex;   /* căn giữa icon */
  align-items: center;
  justify-content: center;
  padding: 0;             /* bỏ padding cũ */
  margin-right: 15px;
  background: rgba(128, 128, 128, 0.5);
  border-radius: 10px 0 0 10px;
  vertical-align: middle;
  box-sizing: border-box;
}
.card-chuyenmuc li[class^="card"] {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding-right: 15px;
  	box-shadow: inset 0 1px 0 #ffffff59,
  	inset 0 -2px 0 #0003,
  	0 1px 2px #0006,
  	0 8px 24px -6px #5b5bf099;
}

.card-chuyenmuc .icon-end {
    margin-left: auto;
}

/* === Card văn bản === */
.card-vanban {
 	display: grid;
    width: 100%;
    gap: 8px;
    padding: 0;
    list-style: none;
}

@media (min-width: 991px){
  	.card-vanban {
    	grid-template-columns: repeat(6, 1fr);
	}	
}

.card-vanban > a {
    flex: 1 1 0;
    min-width: 0;
}

.card-vanban > a > li {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}
.card-vanban li{
  	margin-bottom:5px;
  	border-radius: 10px;
}
.card-vanban :is(.card1, .card2, .card3){
 	background: #ddeffd;
    padding: 0px;
  	color:#153483;
}
.card-vanban :is(.card4, .card5){
 	background: #f7f2ee;
    padding: 0px;
    color: #e50000;
}
.card-vanban .card6{
 	background: #efeeff;
    padding: 0px;
    color: #5c25c7;
}
.card-vanban :is(.card2, .card3, .card4, .card5, .card6) .card-icon {
    margin-right: -5px;
}
.card-vanban .card1 .card-icon {
    margin-right: 15px;
}
.card-vanban a{
 	font-size: 20px;
  	color: #ffffff;
}
.card-vanban .card-icon {
  font-size: 25px;
  width: 60px;            /* chiều rộng cố định, chỉnh theo ý */
  height: 52px;           /* chiều cao cố định */
  display: inline-flex;   /* căn giữa icon */
  align-items: center;
  justify-content: center;
  padding: 0;             /* bỏ padding cũ */
  border-radius: 10px 0 0 10px;
  vertical-align: middle;
  box-sizing: border-box;
}
.card-vanban .card1 .card-icon {
  background: rgba(0, 79, 184, 1);
  color: white;
  border-radius: 10px 10px 10px 10px;
}
.card-vanban li[class^="card"] {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding-right: 15px;
}

.card-vanban .icon-end {
    margin-left: auto;
}

/* === SLIDE TIN NỔI BẬT === */

/* Khung tin nổi bật */
.one-post {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #222;
  line-height: 1.4;
}

/* Khung bao nội dung */
.one-post > .content-inner {
  position: relative;
}

/* Ảnh nền */
.one-post .post-thumbnail {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.one-post .post-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.one-post:hover .post-thumbnail img {
  transform: scale(1.03);
}

/* Nhãn tin nổi bật */
.one-post .tag-tinnoibat {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 14px;
  padding: 7px 15px;
  color: #fff;
  background: #08794c;
  font-size: 13px;
  font-weight: 700;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Nội dung đè lên ảnh */
.one-post .post-content {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 35px 16px 10px;
  color: #fff;
}

.one-post .post-content{
  background: rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(1px); /* Safari */
  backdrop-filter: blur(1px);
}

/* Tiêu đề */
.one-post .post-title {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow:
    1px 2px 4px rgba(0, 0, 0, 0.95),
    0 0 10px rgba(0, 0, 0, 0.65);
}

.one-post .post-title a {
  color: #fff;
  text-decoration: none;
}

/* Mô tả */
.one-post .tinnoibat-description {
  margin-bottom: 7px;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 1px 1px 4px #000;
}

.one-post .tinnoibat-description p {
  margin: 0;
}

/* Ngày đăng và xem chi tiết */
.one-post .tinnoibat-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #fff;
  font-size: 12px;
  text-shadow: 1px 1px 3px #000;
}

.one-post .tinnoibat-meta i {
  margin-right: 4px;
}

.one-post .tinnoibat-detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
}

.one-post .tinnoibat-detail:hover {
  color: yellow;
}


.one-post .tinnoibat-detail i {
  font-size: 15px;
  transition: transform 0.2s ease;
}

.one-post:hover .tinnoibat-detail i {
  transform: translateX(4px);
}

.layout-one-post .one-post {
    height: 358px;
}

.layout-one-post .post-thumbnail {
    height: 358px !important;
}

/* Điện thoại */
@media (max-width: 767px) {
  .one-post .post-thumbnail {
    height: 220px;
  }

  .one-post .post-content {
    padding: 30px 12px 10px;
  }

  .one-post .post-title {
    font-size: 16px;
    -webkit-line-clamp: 3;
  }

  .one-post .tinnoibat-description {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }

  .one-post .tinnoibat-meta {
    gap: 8px;
    font-size: 11px;
  }

  .one-post .tag-tinnoibat {
    top: 10px;
    left: 10px;
    padding: 6px 10px;
    font-size: 11px;
  }
}

/* === MENU === */
header.header-v3 .main-menu {
    box-shadow: inset 0 1px 0 #ffffff59, inset 0 -2px 0 #0003, 0 1px 2px #0006, 0 8px 24px -6px #5b5bf099;
}
.layout-one-post .post-title a:hover {
    color: yellow;
}
/* ======= */

.vanban .field__label {
    font-size: 25px;
    font-weight: 700;
}

/* === THẺ CHUYÊN MỤC TRANG CHỦ === */
.htx-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
}

.card-htx {
    width: 100%;
    height: 240px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.card-htx a {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-decoration: none !important;
}

.card-htx-image {
    height: 160px;
    overflow: hidden;
}

.card-htx-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-htx-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: linear-gradient(135deg, #087c62, #005c49);
}

.card-htx-content span {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
}

.card-htx-content i {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

/* Tablet */
@media (max-width: 768px) {
    .htx-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 480px) {
    .htx-container {
        grid-template-columns: 1fr;
    }
  .card-htx {
    width: 100%;
    height: 135px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
}


/* Thanh tiêu đề */
.widget.block-view .block-heading {
    position: relative;
    display: flex;
    align-items: center;
    height: 42px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #dceeff, #f3f9ff);
    border-radius: 5px;
    overflow: hidden;
}

/* Tiêu đề */
.widget.block-view.title-block-trang-chu .block-heading h2.block-title {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
  	width: 335px;
    margin: 0;
    padding: 5px 35px 0 5px;
    clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
    z-index: 1;
}
/* Màu tiêu đề */
.widget.block-view.title-block-trang-chu.blue .block-heading h2.block-title {
    background: linear-gradient(90deg, #0865c5, #2589e9);
}
.widget.block-view.title-block-trang-chu.red .block-heading h2.block-title {
    background: linear-gradient(90deg, #a80000, #ff0505);
}
.widget.block-view.title-block-trang-chu.orange .block-heading h2.block-title {
    background: linear-gradient(90deg, #a84c00, #ff7300);
}
.widget.block-view.title-block-trang-chu.green .block-heading h2.block-title {
    background: linear-gradient(90deg, #186c00, #4eb830);
}

/* Chữ tiêu đề */
.widget.block-view.title-block-trang-chu .block-heading h2.block-title a {
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}

/* Biểu tượng bên trái 
.widget.block-view.title-block-trang-chu .block-heading h2.block-title::before {
    content: "\f19c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 23px;
    border-right: 1px solid rgba(255,255,255,0.3);
}*/

