/* Kết hợp Inter + Poppins + Nunito */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@500;600;700;800&family=Nunito:wght@400;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --primary:      #0057D9;
  --primary-dark: #003ea3;
  --secondary:    #00B4DB;
  --accent:       #005C97;
  --gradient:     linear-gradient(135deg, #00B4DB 0%, #0057D9 50%, #005C97 100%);
  --gradient-h:   linear-gradient(135deg, #005C97 0%, #0057D9 100%);
  --glass-bg:     rgba(0, 87, 217, 0.85);
  --glass-blur:   blur(18px);
  --shadow-sm:    0 2px 12px rgba(0,87,217,0.10);
  --shadow-md:    0 8px 32px rgba(0,57,163,0.18);
  --shadow-lg:    0 16px 48px rgba(0,57,163,0.24);
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --transition:   all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.contentstyle {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Tiêu đề */
.contentstyle h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #0a7d3b;
  border-bottom: 2px solid #0a7d3b;
  padding-bottom: 5px;
}

.contentstyle h3 {
  font-size: 18px;
  margin-top: 30px;
  color: #0a7d3b;
}

/* Menu */
.contentstyle ul {
  padding-left: 20px;
}

.contentstyle a {
  color: #0a7d3b;
  text-decoration: none;
}

.contentstyle a:hover {
  text-decoration: underline;
}

/* Box menu */
.contentstyle > div:first-child {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 12px;
}

/* Code block */
.contentstyle pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 12px;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 13px;
}

/* Inline code */
.contentstyle code {
  background: #e2e8f0;
  padding: 2px 5px;
  border-radius: 4px;
  color: #111827;
}

/* Table (nếu sau này bạn thêm) */
.contentstyle table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.contentstyle table th,
.contentstyle table td {
  border: 1px solid #ddd;
  padding: 8px;
}

.contentstyle table th {
  background: #f3f4f6;
}

/* HR */
.contentstyle hr {
  margin: 30px 0;
  border: none;
  border-top: 1px solid #e5e7eb;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

* {
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.3;
}
body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}
.top-nav{
	z-index: 11;
}
a{
	cursor: pointer;
	text-decoration: none;
}
a:focus,a:active{
	color: var(--secondary);
}
.logofake{
	height: 60px;
}
/* ===== TAGS SECTION ===== */
.div-tags {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 0 10px 0;
    flex-wrap: wrap;
    border-top: 1px solid rgba(0,87,217,0.08);
    margin-top: 18px;
}
.span-tags {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
    padding-top: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.span-tags i {
    color: var(--primary);
    font-size: 14px;
}
.ul_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.ul_tags li {
    display: inline-flex;
}
.ul_tags li a {
    display: inline-block;
    padding: 4px 13px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--primary);
    background: rgba(0,87,217,0.06);
    border: 1px solid rgba(0,87,217,0.25);
    border-radius: 20px;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.2px;
}
.ul_tags li a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 3px 10px rgba(0,87,217,0.25);
    transform: translateY(-1px);
}
.row-tags {
    padding-top: 20px;
}

/* ===== SCROLL NAV (fixed, xuất hiện khi cuộn) ===== */
#scroll-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    z-index: 1000;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    box-shadow: 0 4px 24px rgba(0,57,163,0.18);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

#scroll-nav.show {
    transform: translateY(0);
    opacity: 1;
}
.fa-bars,.fa-times{
	font-size: 26px;
}

/* ===== HOTLINE BAR ===== */
.hotline-bar {
    background: var(--gradient);
    position: relative;
    z-index: 15;
    overflow: hidden;
}
.hotline-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
    animation: shimmer 3s infinite;
}
@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.hotline-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 9px 0;
    position: relative;
    z-index: 1;
}
.hotline-icon {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #fff;
    animation: pulse-ring 2s infinite;
    flex-shrink: 0;
}
@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
    70%  { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.hotline-text {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.2px;
}

/* ===== CONTAINER HEADER ===== */
.container-header {
    position: absolute;
    left: 0;
    top: 46px;   /* chiều cao hotline-bar */
    z-index: 20;
    width: 100%;
}
.thuvien-row{
	border-bottom: 1px solid rgba(51,51,51,0.12);
	padding: 30px 0;
}

/* ===== MAIN HEADER ROW ===== */
.row-header{
	padding: 18px 80px 0 80px;
	transition: var(--transition);
	background: transparent;
}
.row-header:hover{
	background-color: rgba(245,248,255,0.97);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: var(--transition);
}

/* ===== NAVBAR INNER (mobile toggle row) ===== */
.navbar-inner {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: space-between;
}

/* Logo link */
.logo-link {
    display: inline-block;
    transition: var(--transition);
}
.logo-link:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

/* Search container trong header chính (desktop) */
.row-header .search-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 8px;
}
.row-header input[type=text] {
  padding: 7px 40px 7px 14px;
  font-size: 14px;
  border: none;
  width: 210px;
  outline: none;
  border-bottom: 1.5px solid rgba(255,255,255,0.7);
  background-color: transparent;
  color: #fff;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  position: relative;
  top: auto;
  right: auto;
}
.row-header:hover input[type=text]{
	border-bottom: 1.5px solid var(--primary);
	color: #111;
}
.row-header input[type=text]::placeholder {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
}
.row-header:hover input[type=text]::placeholder {
  color: #aaa;
}
.logo-black{
	display: none;
}
.row-header:hover .logo-white{
	display: none;
}
.row-header:hover .logo-black{
	display: block;
}

.row-header .search-container button {
  padding: 6px 11px;
  font-size: 17px;
  border: 1.5px solid rgba(255,255,255,0.7);
  cursor: pointer;
  border-radius: var(--radius-sm);
  background-color: transparent;
  color: #fff;
  transition: var(--transition);
  position: absolute;
  right: 0;
  top: 8px;
  height: 34px;
}
.row-header:hover .search-container button{
	color: var(--primary);
	border: 1.5px solid var(--primary);
}

.logo-res{
	padding-top: 10px;
}
a{
	cursor: pointer;
}
.show-4anh{
	padding: 20px 15px;
	position: relative;
}
.show-4anh img{
	object-fit: cover;
	width: 100%;
	border-radius: 8px 8px 0 0;
	box-shadow: 0px 0px 5px 0px #bdbdbd;
}
.show-4anh h3{
	padding: 15px;
	font-size: 19px;
}
.xemanh-nho{
	position:absolute;
  left: 8%;top:53%;
  color: #fff;

}
.show-4anh:hover .xemanh-nho{
	transform: scale(1.3);
	transition: all 0.4s ease;
	color: #fff;
}
.show-4-1{
	margin: 10px;
	width: 22%;
	padding: 0;
	position: relative;
	border-radius: 12px;
	border-bottom-left-radius: 0px;
	box-shadow: 0px 0px 5px 0px #bdbdbd;
}
.show-4-1 .title{
	position: absolute;
	top: 7%;
	left: 10%;
	right: 10%;
	color: #fff;
	font-weight: 600;

}
.show-4-1 img{
	object-fit: cover;
	width: 100%;
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
}

.show-2-1{
	display: none;
	margin: 12px;
	width: 42%;
	padding: 0;
	position: relative;
	border-radius: 12px;
	box-shadow: 0px 0px 5px 0px #bdbdbd;
}

.slick-slide{
	height: auto !important;
}
.content-item{
	padding: 3px 10px 0px 10px;
	background-color: #fff;
	border: 1px solid rgba(51,51,51,0.2);
	border-top-left-radius: 30px;
	border-bottom-right-radius: 15px;
	position: absolute;
	z-index: 5;
	margin: 0 10px 0 10px;
	top: 56%;
	left: 0;

}

.item-slider img{
	width: 100%;
		border: 1px solid rgba(51,51,51,0.2);
		border-radius: 8px 8px 0 0;
}

.item-slider img{
	width: 100%;
	border: 1px solid rgba(51,51,51,0.2);
	border-radius: 8px 8px 0 0 ;
}

.item-slider{
	padding:0 15px;
	position: relative;
	
}

.product-slider{
	margin-top: 30px;
}

.item-slider{
	position: relative;
}
.blog-slider{
	position: relative;
}
.show-3-1{
	position: relative;
	margin-top: 15px;
}
.show-3-1 img{
	width: 100%;
		border: 1px solid rgba(51,51,51,0.2);
		border-radius: 15px;
}
.tinkhac{
	padding-top: 45px;
}
.blog-container{
	padding:30px 0px;
}
.top-title{
	display:flex;
	justify-content: space-between;
	padding-bottom: 30px;
}
.category-container{
	padding: 30px 80px;
}
.product-container{
	padding:40px 80px
}
ul.info-field{
	display: flex;
}
ul.info-field li{
	margin: 0 12px;
	border: 1px solid #d1d1d1;
	border-radius: 8px;
	padding: 7px;
	width: calc(100% / 2 - 30px);
	overflow: hidden;
}
.info-field h5{
	font-size: 16px;
}
.info-field p{
	font-size: 20px;
	font-weight: 600;
	margin-top: 0;
   margin-bottom: 0rem;
}
.mobile{
	display: none;
}
.khuvuctimkiem{
	position:relative;
	top: 12px;
	display: none;
	z-index: 999;
}

/* ===== SEARCH POPUP FORM ===== */
.form-timkiem{
	position: absolute;
	top: 0px;
	right: 0px;
	z-index: 999;
	box-shadow: var(--shadow-md);
	border-radius: var(--radius-md);
	overflow: hidden;
}
#form-timkiem2{
	display: none;
}
#form-timkiem3{
	display: none;
}

.form-timkiem input{
    border: none !important;
    height: 44px;
    width: 340px;
    padding: 0 0 0 18px;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    color: #111 !important;
    background: #fff !important;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
}
.form-timkiem input::placeholder {
    color: #999;
    font-size: 13px;
}
.form-timkiem button{
    background: var(--gradient);
    color: #fff;
    border: none;
    height: 44px;
    padding: 0 14px;
    cursor: pointer;
    position: absolute;
    right: 38px;
    top: 0;
    font-size: 16px;
    transition: var(--transition);
}
.form-timkiem button:hover {
    background: var(--gradient-h);
}
.form-timkiem .dongtimkiem{
    background: #f0f3fa;
    color: #555;
    border: none;
    height: 44px;
    width: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 15px;
    transition: var(--transition);
}
.form-timkiem .dongtimkiem:hover {
    background: #e0e6f5;
    color: var(--primary);
}
.opensearch{
	position: relative;
	cursor: pointer;
	z-index: 99999;
	transition: var(--transition);
}
.opensearch:hover i {
	color: rgba(255,255,255,0.75) !important;
}
.tieudecacgoi{
		background: #29ad8d;
		color: white;
		border-top-left-radius:5px ;
		border-top-right-radius: 5px;
		font-weight: bold;
		padding: 5px 30px 5px 30px;
		position: absolute;
		left: 0;
		bottom:0;
		font-size: 21px;
	}
	.tieudecacgoi:hover{
		color: yellow;
	}
	.menu-mobile{
	width: 85%;
	display: none;
}
.chitietsp{
		background: #ff3f55;
		color: white;
		border-top-left-radius:5px ;
		border-top-right-radius: 5px;
		font-weight: bold;
		padding: 5px 30px 5px 30px;
		position: absolute;
		font-size: 21px;
		left: 0;
		bottom:0;
	}
	.tieudedm{
	color: #1a2b4a;
	font-weight: 700;
	font-size: 22px;
	text-align: left;
	padding: 12px 0 8px 0;
	border-bottom: 2px solid rgba(0,87,217,0.15);
	margin-bottom: 12px;
	letter-spacing: 0.2px;
}

.tintuc-field{
	padding: 0px;
	background-color: #fff;
	border-radius: 0 0 8px 8px;
}
.tintuc-field .h5{
	font-weight: 600;
	padding: 10px 10px 0 10px;
	margin: 0;
	font-size: 17px;

}
.tintuc-field .mota{
	padding: 10px;
	margin: 0;
	font-size:15px ;
}
.viewtime-field{
	padding: 0 10px 10px 10px;
	display: flex;
	justify-content: space-between;
}
.viewtime-field .thoigian{
	font-size: 14px;
	color: #0083B0;
}
.viewtime-field .luotxem{
	font-size: 14px;
	color: #0083B0;
}
.xemthem{
	padding: 7px 17px 7 17px;
	border-radius: 8px;
	border: 1px solid rgba(51,51,51,0.2);
	font-weight: 600;
	vertical-align: middle;
}
.xemthem:hover{
	color: #fff;
	background-color: #0057D9;
}
.xemthem-mobile{
	padding: 7px 17px;
	border-radius: 8px;
	border: 1px solid rgba(51,51,51,0.2);
	font-weight: 600;
	display: none;
	width: 30%;
	margin-top: 15px;
	text-align: center;
	font-size: 14px;
}
.xemthem-mobile:hover{
	color: #fff;
	background-color: #0057D9;
}
.tindocnhieu{
		background: #ec1b30;
		color: white;
		border-top-left-radius:5px ;
		border-top-right-radius: 5px;
		font-weight: bold;
		padding: 5px 15px 5px 15px;
		position: absolute;
		font-size: 18px;
		left: 0;
		bottom:0;
	}
	.dm-row{
		padding: 60px 0 30px 0;
	}
	.showmucluc{
	padding: 3px 20px;
	color:#000 ;
	font-size: 18px;
	border:1px solid rgba(51,51,51,0.2);
	font-weight: 600;
}
#myDIV{
	padding: 5px 10px;
	margin: 5px 0 8px 0;
	
	
}
#myDIV ul li{
	margin: 7px 0 7px 20px;
	list-style-type: disc;
}
#myDIV ul li a{
	color: #000;	
	font-weight: 600;
}

#myDIV ul ul li{
	margin: 5px 0 5px 15px;
	list-style-type: circle;
}
#myDIV ul ul li a{
	color: #000;	
	font-weight: normal;
}

.row-menu{
	margin: 0 20px;
	padding: 15px 0;
	box-shadow: 0px 0px 5px 0px #bdbdbd;
}
.row-ct{
	margin: 0 20px;
	margin-top: 10px;
	padding: 10px 0;
	background-color: #fff;
	box-shadow: 0px 0px 5px 0px #bdbdbd;
	border-radius: 5px;
}
.row-menu-details{
	padding: 15px 0;
	box-shadow: 0px 0px 5px 0px #bdbdbd;
}
.row-ct-details{
	margin-top: 10px;
	padding: 10px 0;
	background-color: #fff;
	box-shadow: 0px 0px 5px 0px #bdbdbd;
	border-radius: 5px;
}
.cat-container{
		padding: 25px 0px;
	}
	.mucluc-nho {
    position: fixed;
    z-index: 990;
    top: 10px;
    left: 10px;
    width: 40%;
    height: calc(100% - 20px);
    overflow-y: scroll;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0px 0px 5px 0px #bdbdbd;
    display: none;
}
.btn-mucluc{
	border: 1px solid rgba(51,51,51,0.2);
	position: fixed;
	top: 40%;
	left: 10px;
	z-index: 991;
	border-radius: 3px;
	background-color: #fff;
}
.cauhoi{
	scroll-margin-top: 80px;
}
.cautraloi{
	scroll-margin-top: 80px;
}
.gioithieu{
	background-color: #ed954d;
	color: #fff;	
	padding:3px 10px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 8px;
	font-size: 14px;
	border-bottom-left-radius: 0px;
}
.gioithieu:hover{
	color: #ed954d;
	background-color:#fff ;
	border: 1px solid #ed954d;
}
.col-links {
  display: flex;
  padding: 0;
  padding-left: 10px;
  overflow-x: auto;
}

.col-links > * {
  white-space: nowrap;
}
.col-links .bi-house-door{
	color:  #0083B0;
}
.col-links a{
	font-weight: 600;
	color:  #0083B0;
	padding:6px 10px;
	font-size: 13px;
}
.col-links span{
	font-weight: 600;
	color: #000;
	padding:6px 4px;
	font-size: 13px;
}
.col-links a:first-child{
	padding-left: 0;
}
.slick-slider .slick-list{
	height: auto !important;
}
.logo1{
	width: 100px;
}

/*----------------------------------- responsive 1200 -------------------------------- */
@media screen and (min-width: 1069px) {
  


}

@media screen and (max-width: 1400px) {
	.tintuc-field .h5{
		font-size: 14px;
	}
	.tintuc-field .mota{
		font-size: 12px;
	}
	.viewtime-field .thoigian{
		font-size: 11px;
	}
	.viewtime-field .luotxem{
		font-size: 11px;
	}
	
}

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

	
}

@media screen and (max-width: 1200px) {
  
 ul.main-menu li a{
	font-size: 14px;	
	padding:0 15px;
}
.top-nav ul li{
	padding: 5px;
}
.show-4-1{
	width: 20%;
}
.container-slider{
	padding: 0;
}
.index-container{
	padding: 0;
}
.show-3-1{
	width: 50%;
}
	.tintuc-field .h5{
	font-size: 13px;
}
.tintuc-field .mota{
	font-size: 11px;
}
.viewtime-field .thoigian{
	font-size: 10px;
}
.viewtime-field .luotxem{
	font-size: 10px;
}
	.logo-res{
		left: 3%;
	}
	.tindocnhieu{
		font-size: 16px;
	}

}
.res-search{
	display: none;
}


/*----------------------------------- responsive 986 -------------------------------- */

@media screen and (max-width: 1068px) {
	.logofake{
		height: 0;
	}
	.hero{
		padding-top: 80px;
	}
	.res-search{
	display: block;
}
.show-4-1{
	width: 42%;
}
.two-button{
	display: block;
	width: 100%;
}

.tinkhac{
	padding-top: 70px;
}
.blog-container{
	padding:30px 20px;
}
.category-container{
	padding: 25 20px;
}
.product-container{
	padding:40px 20px
}

.right-content{
	padding-top: 15px;
}
	.logo-res{
		display: none;
	}
	.canphaian{
		display: none;
	}
	.blogdetails-4{
		padding-top: 25px;
	}
	.tintuc-field .h5{
		font-size: 19px;
	}
	.tintuc-field .mota{
		font-size: 17px;
	}
	.viewtime-field .thoigian{
		font-size: 15px;
	}
	.viewtime-field .luotxem{
		font-size: 15px;
	}
	.row-header{
		padding: 0 0 10px 0;
		background-color: white;
	}
	.row-header .col-4{
		width: 100%;
	}
	.search-field{
		display: none;
	}
	.menu-mobile{
		display: block;
	}
	.menu-pc{
		display: none;
	}
	.khuvuctimkiem{
		display: flex;
		align-items: center;
		top: 0;
		margin-right: 8px;
	}
	.form-timkiem {
		top: 50px;
		right: 0;
		left: 0;
		right: 0;
		width: 100%;
		border-radius: 0;
	}
	.form-timkiem input{
		width: calc(100% - 76px);
		border-radius: 0;
	}
	.form-timkiem button{
		position: absolute;
		top: 0;
		right: 38px;
		height: 44px;
	}
	.form-timkiem .dongtimkiem{
		position: absolute;
		top: 0;
		right: 0;
	}
.logo1{
	width: 60px;
}
}

@media screen and (max-width: 775px) {
  
.show-3-1{
	position: relative;
	margin-top: 25px;
}

}



/*----------------------------------- responsive 768 -------------------------------- */

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

	.container-slider{
	margin-top: 5px;padding: 0;
}
.index-container{
	padding: 0 ;
}
.blog-container{
	padding:30px 0px;
}
.category-container{
	padding: 15 0px;
}
.product-container{
	padding:40px 0px
}
.tintuc-field .h5{
		font-size: 15px;
	}
	.tintuc-field .mota{
		font-size: 14px;
	}
	.viewtime-field .thoigian{
		font-size: 13px;
	}
	.viewtime-field .luotxem{
		font-size: 13px;
	}
	.mucluc-nho{
		width: 70%;
	}
	
	
}

/*----------------------------------- responsive 576 -------------------------------- */

@media screen and (max-width: 576px) {
	.show-4-1{
		margin: 17px 25px ;
		width: 86%;
	}
		.show-4anh{
		padding: 8px 10px;
	}
	.show-4anh h3{
		font-size: 15px;
	}
	.xemanh-nho{
	  top:67%;
	}
	.row-ct,.row-menu{
		margin: 0;
	}
	.cat-container{
		padding: 25px 10px;
	}
	.content-container{
		padding: 25px 10px;
	}
	.dm-row{
		padding-top: 15px 0 8px 0;
	}
	.show-3-1{
	width: 100%;
	margin-top: 0;
}
.blog-container{
	padding:20px 10px;
}
.category-container{
	padding: 20 10px;
}
.product-container{
	padding:40px 10px
}
.tintuc-field .h5{
	font-size: 18px;
}
.tintuc-field .mota{
	font-size: 16px;
}
.viewtime-field .thoigian{
	font-size: 15px;
}
.viewtime-field .luotxem{
	font-size: 15px;
}
	.show-4-1{
	display: none;
}
.show-2-1{
	display: block;
}
.pc{
	display: none;
}
.mobile{
	display: block;
}
.tieudecacgoi{
	font-size: 15px;
}
.chitietsp{
	font-size: 15px;
}
.xemthem{
		display: none;
	}
	.xemthem-mobile{
		display: block;
	}
	.mucluc-nho{
		width: 90%;
	}

}
@media screen and (max-width: 476px) {
	ul.info-field li{
		margin: 0 3px;
		padding: 3px;
	}
	.info-field h5{
		font-size: 9px;
	}
	.info-field p{
		font-size: 12px;
		font-weight: 600;
		margin-top: 0;
    margin-bottom: 0rem;
	}
	.mucluc-nho{
		width: 95%;
	}
	.container-header{
		top: 40px;
	}
	
}

@media screen and (max-width: 376px) {
	.show-3-1{
	margin-top: 25px;
}
	.dangky{
	font-size: 10px;
	
}
.chitiet{
	font-size: 12px;
}
.content-field .tengoi{
	font-size: 14px;
}
.content-field .gia{
	font-size: 12px;
}
.content-field .thoihan{
	font-size: 10px;
}
.show-4anh h3{
		font-size: 13px;
	}
.info-field h5{
		font-size: 7px;
	}
	.info-field p{
		font-size: 10px;
		font-weight: 600;
		margin-top: 0;
    margin-bottom: 0rem;
	}
	.tieudecacgoi{
	font-size: 13px;
}
.tindocnhieu{
		font-size: 14px;
	}
.chitietsp{
	font-size: 13px;
}
}
@media screen and (max-width: 300px) {
	ul.info-field li{
		margin: 0 2px;
		padding: 1px;
	}
	.info-field h5{
		font-size: 5px;
	}
	.info-field p{
		font-size: 8px;
		font-weight: 600;
		margin-top: 0;
    margin-bottom: 0rem;
	}
	.tieudecacgoi{
	font-size: 11px;
}
.chitietsp{
	font-size: 11px;
}
	
}


/*//goi cuoc responsive*/

@media screen and (max-width: 515px) {
	.show-2-1{
	margin: 12px;
	width: 42%;
}
.tengoi-res{
	font-size: 18px;
}
.gia-res{
	font-size: 15px;
}
.thoihan-res{
	font-size: 15px;
}
.dangky-res{
	font-size: 15px;
}

.chitiet-res{
	font-size: 14px;
}

	
	
}

@media screen and (max-width: 462px) {
	.show-2-1{
	margin: 10px;
	width: 42%;
}
.tengoi-res{
	font-size: 16px;
}
.gia-res{
	font-size: 13px;
}
.thoihan-res{
	font-size: 13px;
}
.dangky-res{
	font-size: 13px;
}

.chitiet-res{
	font-size: 13px;
}

	
	
}

@media screen and (max-width: 409px) {
.show-2-1{
	margin: 7px;
	width: 42%;
}
.tintuc-field .h5{
		font-size: 15px;
	}
	.viewtime-field .thoigian{
		font-size: 12px;
	}
	.viewtime-field .luotxem{
		font-size: 12px;
	}
	.tintuc-field .mota{
		font-size: 13px;
	}

	
	
}
@media screen and (max-width: 356px) {
	.show-2-1{
	margin: 7px;
	width: 42%;
}
.tengoi-res{
	font-size: 13px;
}
.gia-res{
	font-size: 10px;
}
.thoihan-res{
	font-size: 10px;
}
.dangky-res{
	padding:5px 25px;
	font-size: 9px;
}

.chitiet-res{
	font-size: 9px;
}

	
	
}
@media screen and (max-width: 329px) {
	.show-2-1{
	margin: 7px;
	width: 42%;
}
.viewtime-field{
		padding: 3px 10px;
	}
	.tintuc-field .h5{
		font-size: 13px;
	}
	.viewtime-field .thoigian{
		font-size: 11px;
	}
	.viewtime-field .luotxem{
		font-size: 10px;
	}
	.tintuc-field .mota{
		font-size: 10px;
	}

	
	
}


#container {
	margin: 0 auto;
	max-width: 890px;
}

/* ===== ẨN toggle & checkbox trên desktop ===== */
.toggle,
[id^=drop] {
	display: none;
}

/* ===== MAIN NAV (desktop) ===== */
nav { 
	margin:0;
	padding-top: 6px;
	background-color: transparent;
	display: flex;
	justify-content: center;
	align-items: center;
}

nav:after {
	content:"";
	display:table;
	clear:both;
}

nav ul {
	float: right;
	padding:0;
	margin:0;
	list-style-type: none;
	position: relative;
}

nav ul li {
	margin: 0px;
	display:inline-block;
	float: left;
	position: relative;
}

nav ul>li:hover .ul12{
	border-top: 3px solid var(--secondary);
}
nav ul li:hover .bi.bi-caret-down-fill{
	transform: rotate(180deg);
	transition: var(--transition);
	color: #fff;
}
.row-header:hover nav a{
	color: #222;
}

/* Nav link với underline animation */
nav a {
	display: block;
	padding: 10px 14px;
	color: #fff;
	font-size: 15px;
	text-decoration: none;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	position: relative;
	transition: var(--transition);
}
nav > ul > li > a::after {
	content: '';
	position: absolute;
	bottom: 4px;
	left: 14px;
	right: 14px;
	height: 2px;
	background: var(--secondary);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.3s ease;
	border-radius: 2px;
}
nav > ul > li:hover > a::after,
nav > ul > li > a.active::after {
	transform: scaleX(1);
}

nav ul li ul li{
	border-bottom: 1px solid rgba(0,87,217,0.07);
}
/* Background color change on Hover */
nav a:hover { color: #fff; }

/* Dropdown items */
nav ul ul li a{
	color: #fff !important;
	padding: 10px 18px;
	font-size: 14px;
	background-color: var(--accent);
	text-transform: none;
	font-weight: 500;
	letter-spacing: 0;
	transition: var(--transition);
}
nav ul ul li a:hover{
	color: var(--accent) !important;
	background-color: #f0f5ff;
	padding-left: 24px;
}
nav ul ul ul li a{
	color: #fff !important;
	padding: 10px 18px;
	font-size: 13px;
	background-color: var(--secondary);
	text-transform: none;
}
nav ul ul ul li a:hover{
	color: var(--secondary) !important;
	background-color: #f5fbff;
	transition: var(--transition);
}

/* Bridge hover: padding-bottom giúp chuột đi từ nav li xuống dropdown mà không bị mất */
nav > ul > li {
    padding-bottom: 8px;
    margin-bottom: -8px;
}

/* Dropdown container - giảm top để sát vào nav li hơn */
nav ul ul {
	display: none;
	position: absolute;
	top: 100%;
	border-radius: 0 0 var(--radius-md) var(--radius-md);
	background: #fff;
	box-shadow: var(--shadow-md);
	border-top: 3px solid var(--secondary);
	min-width: 230px;
	overflow: hidden;
	margin-top: 0;
}

/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display: inherit;
	animation: dropFadeIn 0.22s ease;
}

@keyframes dropFadeIn {
	from { opacity:0; transform: translateY(-8px); }
	to   { opacity:1; transform: translateY(0); }
}

nav ul li:hover{
	background: rgba(0, 57, 150, 0.35);
	transition: var(--transition);
}
nav ul ul li:hover, nav ul ul ul li:hover{
	background: #f0f5ff;
	transition: var(--transition);
}
nav ul li:hover a{
	color: #fff !important;
	transition: var(--transition);
}
nav ul li:hover .bi-chevron-down{
	color: #fff !important;
	transition: var(--transition);
}
nav ul ul li:hover > ul {
	display: inherit;
}
nav ul ul ul {
	display: none;
	position: absolute;
	top: 0;
	left: 230px;
	background: #fff;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
}
/* First Tier Dropdown */
nav ul ul li {
	width: 240px;
	float: none;
	display: list-item;
	position: relative;
}
nav ul ul ul li {
	width: 240px;
	float: none;
	display: list-item;
	position: relative;
}

/* Second, Third and more Tiers	
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/


	
/* Change ' +' in order to change the Dropdown symbol */
li > a:after { content:  ''; }
li > a:only-child:after { content: ''; }

@media all and (max-width : 1400px) {
	nav a {
		padding:8px 13px;	
		font-size:14px;
	}
	nav ul ul li a{
		padding: 6px 13px;
		font-size: 12px;
	}
	nav ul ul ul li a{
		padding: 6px 13px;
		font-size: 11px;
	}
	nav ul ul {
		top: 35px; 	
	}	
}
@media all and (max-width : 1200px) {
	nav a {
		padding:6px 11px;	
		font-size:12px;
	}
	nav ul ul li a{
		padding: 5px 11px;
		font-size: 10px;
	}
	nav ul ul ul li a{
		padding: 5px 11px;
		font-size: 9px;
	}
	nav ul ul {
		top: 28px; 	
	}	
}
/* Media Queries
--------------------------------------------- */

@media all and (max-width : 1068px) {

	nav {
		margin: 0;
		display: block;
    background-color: white;
    padding: 0;
	}

	/* Hide the navigation menu by default */
	/* Also hide the  */
	.toggle + a,
	.menu {
		display: none;
	}
	
	.row-header a{
		font-size: 15px;
		padding-left: 20px;
	}

	/* Stylinf the toggle lable */
	.toggle {
		display: block;
		padding:10px 20px;	
		color:black;
		font-size:15px;
		text-decoration:none;
	}

	.toggle:hover {
		cursor: pointer;
	}
    
    nav ul>li:hover{
        border-bottom: none;
    }
    nav ul>li:hover .ul12{
        border-top: none;
    }
    nav ul li ul li{
	    border-bottom: none;
    }

	/* Display Dropdown when clicked on Parent Lable */
	[id^=drop]:checked + ul {
		display: block;
	}

	/* Change menu item's width to 100% */
	nav ul li {
		display: block;
		width: 100%;
		}
	/* Hide Dropdowns by Default */
	nav ul ul {
		float: none;
		position:static;
		color: #ffffff;
		/* has to be the same number as the "line-height" of "nav a" */
	}
	.toggle3{
		border-bottom: 1px solid #fff;
	}
	.mobile-type{
		background-color: #0083B0;
	}
	.mobile-type:hover{
		background-color: #fff;
	}
	.mobile-type:hover a{
		color: #0083B0 !important;
		background-color:#fff ;
	}
	.mobile-type:hover i{
		color: #0083B0 !important;
		background-color: #fff;
	}
		
	/* Hide menus on hover */
	nav ul ul li:hover > ul,
	nav ul li:hover > ul {
		display: none;
	}
		
	/* Fisrt Tier Dropdown */
	nav ul ul li {
		display: block;
		width: 100%;
    border: none;
	}

	nav ul ul li a{
		margin-left: 0;
		padding: 4px 40px;
		border-bottom: 1px solid #eeeee4;
	}

	nav ul ul ul .toggle{
		background-color: #255783;
	}

	/* Hide Dropdowns by Default */
	nav ul ul ul {
		float: none;
		position:static;
		color: #ffffff;
		/* has to be the same number as the "line-height" of "nav a" */
	}
		
		
	/* Fisrt Tier Dropdown */
	nav ul ul ul li {
		display: block;
		width: 100%;
    border: none;
	}

	nav ul ul ul li a{
		margin-left: 0;
		padding: 4px 40px;
		border-bottom: 1px solid #eeeee4;
	}

}

@media all and (max-width : 330px) {

	nav ul li {
		display:block;
		width: 94%;
	}

}






/* nav scroll ------------------------------------------------------------------------*/
.nav1 { 

	margin:0;
	padding-top: 0px;
	background-color: none;
	display: flex;
	justify-content: center;
	align-items: center;
	
}

/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

.nav1:after {
	content:"";
	display:table;
	clear:both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
.nav1 ul {
	float: right;
	padding:0;
	margin:0;
	list-style: none;
	position: relative;
	
	}
	
/* Positioning the navigation items inline */
.nav1 ul li {
	margin: 0px;
	display:inline-block;
	float: left;
	
	}

.nav1 ul>li:hover{

}
.nav1 ul>li:hover .ul12{
	border-top: 2px solid rgba(51,51,51,0.2);
}
.nav1 ul>li:hover .fa.fa-chevron-down{
	transform: rotate(180deg);
	transition: all 0.4s ease;
}

/* Styling the links */
.nav1 a {
	display:block;
	padding:10px 15px;	
	color:#fff;
	font-size:16px;
	text-decoration:none;
	font-weight: 600;
	text-transform: uppercase;
}
.nav1 ul li ul li{
	border-bottom: 1px solid rgba(51,51,51,0.2);
}
.nav1 ul ul li a{
	color: #0083B0 !important;
	padding: 8px 15px;
	font-size: 14px;
	background-color: #fff;
	text-transform: none;
}
.nav1 ul ul li a:hover{
	color: #fff !important;
	background-color: #0083B0;
	transition: all 0.5s ease;
}
.nav1 ul ul ul li a{
	color: #87CEEB !important;
	padding: 8px 15px;
	font-size: 13px;
	background-color: #fff;
	text-transform: none;
}
.nav1 ul ul ul li a:hover{
	color: #fff !important;
	background-color: #87CEEB;
	transition: all 0.5s ease;
}
/* Hide Dropdowns by Default
 * and giving it a position of absolute */
.nav1 ul ul {
	display: none;
	position: absolute; 
	top: 43px; 
	background-color: white;	
}	
/* Display Dropdowns on Hover */
.nav1 ul li:hover > ul {
	display:inherit;	
}	
.nav1 ul li:hover{
	background: #fff;  
	transition: all 0.4s ease-in-out;
}
.nav1 ul ul li:hover, .nav1 ul ul ul li:hover{
	background: #005C97;  
	transition: all 0.4s ease-in-out;
}
.nav1 ul li:hover a{
	color: #005C97 !important;
	transition: all 0.4s ease-in-out;
}
.nav1 ul li:hover .bi-chevron-down{
	color: #005C97 !important;
	transition: all 0.4s ease-in-out;
}
.nav1 ul ul li:hover > ul {
	display:inherit;	
}	
.nav1 ul ul ul {
	display: none;
	position: absolute; 
	top: 0px; 
	left: 270px;
	background-color: white;	
}
/* Fisrt Tier Dropdown */
.nav1 ul ul li {
	width:270px;
	float:none;
	display:list-item;
	position: relative;

}
.nav1 ul ul ul li {
	width:270px;
	float:none;
	display:list-item;
	position: relative;

}
@media all and (max-width : 1400px) {
	.nav1 a {
		padding:8px 13px;	
		font-size:14px;
	}
	.nav1 ul ul li a{
		padding: 6px 13px;
		font-size: 12px;
	}
	.nav1 ul ul ul li a{
		padding: 6px 13px;
		font-size: 11px;
	}
	.nav1 ul ul {
		top: 35px; 	
	}	
}
@media all and (max-width : 1200px) {
	.nav1 a {
		padding:6px 11px;	
		font-size:12px;
	}
	.nav1 ul ul li a{
		padding: 5px 11px;
		font-size: 10px;
	}
	.nav1 ul ul ul li a{
		padding: 5px 11px;
		font-size: 9px;
	}
	.nav1 ul ul {
		top: 28px; 	
	}	
}







/*style chi tiet sp, chi tiet tin tuc*/
.noidungstyle h2,.noidungstyle h3,.noidungstyle h4{
		margin-bottom: 15px;
    line-height: normal;
    font-weight: 600;
	}
	.noidungstyle h2{
		font-size: 1.5rem;
	}
	.noidungstyle h3{
		background: #29ad8d;
    color: #FFF;
    padding: 5px 15px;
    border-radius: 5px;
    display: inline-block;
    margin: 10px 0px;
    font-size: 16px;
	}
	.noidungstyle h4{
		font-size: 15px;
		padding-top:10px ;
	}
	.noidungstyle p{
		text-align: center;
	}
	.noidungstyle table a{
		background-color: #ff3f55 ;
		color: white;
		padding: 5px 10px;
		font-weight: 600;
		margin: 0 5px;
		border-radius:50px;
		width:max-content ;
		display: inline-block;
	}
	.noidungstyle table a:hover{
		background-color: #29ad8d;
		color: white;

	}
	.noidungstyle .table_sp {
    overflow-x: auto;
	}
	.noidungstyle .table_sp table{
		width: 100%;
    border-collapse: collapse;
    min-width: 600px;
	}
	
	.noidungstyle ul{		
  margin: 0;
  padding: 0;
	}
	.noidungstyle table,td,th{
		border: 1px solid rgba(51,51,51,0.2);
		font-size: 15px;
		vertical-align: middle;
		text-align: center;
	}
	.noidungstyle td span{
		font-weight: 600;
	}
	.noidungstyle a{
		color: #428bca;
	}
	.noidungstyle tr:nth-child(even) {background-color: #f2f2f2;}
	.noidungstyle li{
		border-bottom: none;
		list-style-type: disc;
		margin-left: 20px;
		display: list-item;
	}

	@media screen and (max-width: 1068px) {
    /*.noidungstyle table{	
    
		display: block;
  	overflow-x: auto;
  	min-width: 550px;
	}*/
	.col-tinkhac{
		display: none;
	}
}
	@media screen and (max-width: 1403px) {
    .anh_tengoi{
    	font-size: 16px;
    }
    .anh_thongtin{
    	font-size: 13px;
    }

}
@media screen and (max-width: 1203px) {
    .anh_tengoi{
    	font-size: 13px;
    }
    .anh_thongtin{
    	font-size: 9px;
    }

}
@media screen and (max-width: 991px) {
    .anh_tengoi{
    	font-size: 22px;
    }
    .anh_thongtin{
    	font-size: 18px;
    }

}
@media screen and (max-width: 467px) {
    .anh_tengoi{
    	font-size: 18px;
    }
    .anh_thongtin{
    	font-size: 15px;
    }

}
@media screen and (max-width: 400px) {
    .anh_tengoi{
    	font-size: 15px;
    }
    .anh_thongtin{
    	font-size: 11px;
    }

}
@media screen and (max-width: 302px) {
    .anh_tengoi{
    	font-size: 13px;
    }
    .anh_thongtin{
    	font-size: 10px;
    }

}



/*style chi tiet sp, chi tiet tin tuc*/
.contentstyle h2,.contentstyle h3,.contentstyle h4{
    line-height: normal;
    font-weight: 600;
	}
	.contentstyle h2{
		font-size: 22px;
	}
	.contentstyle h3{
    font-size: 18px;
	}
	.contentstyle h4{
		font-size: 15px;
	}
	.contentstyle img{
		width: auto !important;
		height: auto !important;
	}

	.contentstyle table a{
		background-color: #ff3f55 ;
		color: white;
		padding: 5px 10px;
		font-weight: 600;
		margin: 0 5px;
		border-radius:50px;
		width:max-content ;
		display: inline-block;
	}
	.contentstyle table a:hover{
		background-color: #29ad8d;
		color: white;

	}
	.contentstyle .table_sp {
    overflow-x: auto;
	}
	.contentstyle .table_sp table{
		width: 100%;
    border-collapse: collapse;
    min-width: 600px;
	}
	
	.contentstyle ul{		
  margin: 0;
  padding: 0;
	}
	.contentstyle table,td,th{
		border: 1px solid rgba(51,51,51,0.2);
		font-size: 15px;
		vertical-align: middle;
		text-align: center;
	}
	.contentstyle td span{
		font-weight: 600;
	}
	.contentstyle a{
		color: #428bca;
	}
	.contentstyle tr:nth-child(even) {background-color: #f2f2f2;}
	.contentstyle li{
		border-bottom: none;
		list-style-type: disc;
		margin-left: 20px;
		display: list-item;
	}


	input:focus ~ label, textarea:focus ~ label, input:valid ~ label, textarea:valid ~ label {
    font-size: 0.75em;
    color: #000;
    top: -5px;
    -webkit-transition: all 0.225s ease;
    transition: all 0.225s ease;
}

.styled-input {
    float: left;
    width: 293px;
    margin: 1rem 0;
    position: relative;
    border-radius: 4px;
}

@media only screen and (max-width: 768px){
    .styled-input {
        width:100%;
    }
}

.styled-input label {
    color: #000;
    padding: 1.3rem 30px 1rem 30px;
    position: absolute;
    top: 10px;
    left: 0;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    pointer-events: none;
}

.styled-input.wide { 
    width: 650px;
    max-width: 100%;
}

.input-container input,
textarea {
    padding: 30px;
    border: 0;
    width: 100%;
    font-size: 1rem;
    background-color: #fff;
    box-shadow: 0px 0px 5px 0px #14304F;
    color: #000;
    border-radius: 4px;
}

.input-container input:focus,
textarea:focus { outline: 0; }

.input-container input:focus ~ span,
textarea:focus ~ span {
    width: 100%;
    -webkit-transition: all 0.075s ease;
    transition: all 0.075s ease;
}

.input-container textarea {
    width: 100%;
    min-height: 13em;
}

.input-container {
    width: 650px;
    max-width: 100%;
    margin: 20px auto 25px auto;
}


.input-container input[type=checkbox] + label {
  color: #000;
  font-style: italic;
} 

.input-container input[type=checkbox]:checked + label {
  color: #000;
  font-style: normal;
}





header {
  overflow: hidden;
}

.hero-text h2 {
  margin-bottom: 50px;
}

.hero-text .hero {
  position: relative;
  height: 45vh; /* Cố định chiều cao container */
}

.hero-text .hero .hero-slide {
  height: 45vh; /* Cố định chiều cao slide */
  position: relative;
  overflow: hidden; /* Ẩn phần ảnh tràn */
}

.hero-text .hero .hero-slide a:hover span {
  color: #033a71;
}

.btn-three {
  color: #FFF;
  transition: all 0.5s;
  position: relative;
  font-size: 21px;
}
.btn-three::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgba(255,255,255,0.1);
  transition: all 0.3s;
}
.btn-three:hover::before {
  opacity: 0 ;
  transform: scale(0.5,0.5);
}
.btn-three::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.5);
  transform: scale(1.2,1.2);
}
.btn-three:hover::after {
  opacity: 1;
  transform: scale(1,1);
}

.hero .hero-slide img {
  width: 100%;
  height: 75vh; /* Cố định chiều cao ảnh */
  object-fit: cover;
  object-position: center center; /* Căn giữa ảnh */
  filter: brightness(70%);
}

.hero .hero-slide .header-content {
  top: 40%;
  margin-left: 8rem;
  max-width: 550px;
  width: 100%;
  padding: 2rem;
}

.slide-content {
  padding: 10px 20px 10px 0;
}

.slide-content .h1 {
  font-size: 62px;
}

.btn-primary {
  background-color: #5302FE;
  border: #111;
  border-radius: 0;
}

/** Text Animation **/

@-webkit-keyframes fadeInUpSD {
  0% {
    opacity: 0;
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInUpSD {
  0% {
    opacity: 0;
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInUpSD {
  -webkit-animation-name: fadeInUpSD;
  animation-name: fadeInUpSD;
}

.slick-active .slide-content {
  animation-name: fadeInUpSD;
  animation-duration: 1s;
  opacity: 1;
  width: 100%;
  padding: 10px 20px 30px 0;
}

/* Text Animation End */

.slick-dots {
  position: absolute;
  bottom: 10px;
  display: block;
  width: 100%;
  padding: 0;
  list-style: none;
  text-align: center;
}

.slick-dots li {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
}

.slick-active button {
  background: #d60e96;
}

.slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 20px;
  height: 20px;
  padding: 5px;
  cursor: pointer;
  border-radius: 50%;
  border: 0;
  outline: none;
}

.slick-dots li button::before {
  font-size: 18px;
  color: #fff;
  opacity: 1;
}
.header-content p{
  text-align: justify;
  padding-top: 10px;
}


/* Media Queries */

@media (max-width: 768px) {
  
  .hero-text .hero .hero-slide a {
    padding-top: 0.8rem;
  }

  .hero-text .hero .hero-slide a span {
    font-size: 20px;
    margin-top: 0.5rem;
  }
  .hero .hero-slide .header-content {
    top: 35%;
    margin-left: 1rem;
    max-width: 500px;
    width: 100%;
    padding: 1rem;
  }
}

@media (max-width: 576px) {
    .hero-text .hero {
    height: 65vh; /* Giảm chiều cao trên tablet */
  }
  
  .hero-text .hero .hero-slide {
    height: 65vh;
  }
  
  .hero .hero-slide img {
    height: 65vh;
  }
  .hero .hero-slide .header-content {
    top: 30%;
    margin-left: 1rem;
    max-width: 360px;
    width: 100%;
    padding: 1rem;
  }
  .header-content h1{
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 2px !important;
  }
  .header-content p{
    font-size: 14px;
    margin-bottom: 2px !important;
  }
  .btn-three-black{
    font-size: 13px;
  }
  .hero-text .hero .hero-slide a span {
    font-size: 14px;
    margin-top: 0.5rem;
  }
}

@media (max-width: 430px) {
    .hero-text .hero {
    height: 55vh; /* Giảm chiều cao trên tablet */
  }
  
  .hero-text .hero .hero-slide {
    height: 55vh;
  }
  
  .hero .hero-slide img {
    height: 55vh;
  }
  
  .hero .hero-slide .header-content {
    top: 25%;
    margin-left: 1rem;
    max-width: 300px;
    width: 100%;
    padding: 1rem;
  }
  .header-content h1{
    font-size: 16px;
    font-weight: 600;
  }
  .header-content p{
    font-size: 11px;
  }
  .hero-text .hero .hero-slide a span {
    font-size: 12px;
    margin-top: 0.5rem;
  }
}

@media (max-width: 330px) {

  
  .hero .hero-slide .header-content {
    top: 20%;
    margin-left: 6px;
    max-width: 250px;
    width: 100%;
    padding: 5px;
  }
  .header-content h1{
    font-size: 16px;
    font-weight: 600;
  }
  .header-content p{
    font-size: 12px;
  }
  .btn-three-black{
    font-size: 12px;
  }
}


.glow-on-hover {
    width: 150px;
    height: 40px;
    border: none;
    outline: none;
    color: #fff;
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
    margin-top: 15px;
}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.glow-on-hover:active {
    color: #000
}

.glow-on-hover:active:after {
    background: transparent;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

.slick-prev,
.slick-next {
    width: 50px;
    height: 50px;
    background: rgba(220, 53, 69, 0.9);
    border-radius: 50%;
    z-index: 10;
}

.slick-prev:before,
.slick-next:before {
    font-size: 21px;
    color: white;
}

.slick-prev {
    left: -25px;
}

.slick-next {
    right: -25px;
}

.slick-prev:hover,
.slick-next:hover {
    background: #dc3545;
}

@media (max-width: 768px) {
    .slick-prev,
    .slick-next {
        display: none !important;
    }
    
    .hocvien-card {
        margin: 0 10px;
    }
}


/* ============================================================
   SIDEBAR MENU CỐ ĐỊNH BÊN TRÁI (productcategory, productdetails)
   ============================================================ */

/* Layout tổng: sidebar + main content */
.page-layout {
    display: flex;
    align-items: flex-start;
    gap: 0;
    min-height: 60vh;
    background: #f7f8fc;
}

/* Sidebar cố định */
.page-sidebar {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;       /* cách top để không bị che bởi header */
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    background: #fff;
    border-right: 1px solid rgba(0,87,217,0.08);
    box-shadow: 2px 0 16px rgba(0,57,163,0.07);
    padding: 24px 0 32px 0;
    transition: var(--transition);
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) transparent;
}
.page-sidebar::-webkit-scrollbar {
    width: 4px;
}
.page-sidebar::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}

/* Tiêu đề sidebar */
.sidebar-title {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    margin: 0 16px 12px 16px;
    background: var(--gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Menu trong sidebar */
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-menu > li > a {
    display: block;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    border-left: 3px solid transparent;
    transition: var(--transition);
    line-height: 1.4;
}
.sidebar-menu > li > a:hover,
.sidebar-menu > li > a.active {
    color: var(--primary);
    border-left-color: var(--primary);
    background: rgba(0,87,217,0.05);
    padding-left: 24px;
}
.sidebar-menu > li > ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-menu > li > ul > li > a {
    display: block;
    padding: 7px 20px 7px 32px;
    font-size: 13px;
    color: #555;
    border-left: 2px solid transparent;
    transition: var(--transition);
    position: relative;
}
.sidebar-menu > li > ul > li > a::before {
    content: '–';
    position: absolute;
    left: 20px;
    color: var(--secondary);
}
.sidebar-menu > li > ul > li > a:hover {
    color: var(--primary);
    background: rgba(0,87,217,0.04);
    padding-left: 36px;
}

/* Main content bên phải */
.page-main {
    flex: 1;
    min-width: 0;
    padding: 28px 32px;
}

/* ---- BREADCRUMB đẹp hơn ---- */
.breadcrumb-bar {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,57,163,0.07);
    padding: 10px 0;
    margin-bottom: 0;
}
.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 0 20px;
    font-size: 13px;
}
.breadcrumb-inner a {
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
}
.breadcrumb-inner a:hover { color: var(--secondary); }
.breadcrumb-inner .sep { color: #bbb; }
.breadcrumb-inner span:last-child { color: #555; }

/* ---- CARD SẢN PHẨM đẹp hơn ---- */
.product-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: var(--transition);
}
.product-card:hover img {
    transform: scale(1.04);
}
.product-card .card-body {
    padding: 12px 14px 16px;
}
.product-card .card-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .card-desc {
    font-size: 12px;
    color: #777;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- MỤC LỤC TRONG NỘI DUNG ---- */
.mucluc-box {
    background: linear-gradient(135deg, #f0f5ff 0%, #e8f0fe 100%);
    border: 1px solid rgba(0,87,217,0.12);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 24px;
}
.mucluc-box .mucluc-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mucluc-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.mucluc-box > ul > li {
    margin: 5px 0;
}
.mucluc-box > ul > li > a {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    transition: var(--transition);
    display: block;
    padding: 2px 0;
}
.mucluc-box > ul > li > a:hover { color: var(--primary); padding-left: 4px; }
.mucluc-box ul ul { padding-left: 16px; }
.mucluc-box ul ul li { margin: 3px 0; }
.mucluc-box ul ul li a {
    font-size: 12px;
    color: #666;
    transition: var(--transition);
}
.mucluc-box ul ul li a:hover { color: var(--primary); }

/* ---- SEARCH RESULTS ---- */
.search-page {
    background: #f7f8fc;
    min-height: 60vh;
    padding: 32px 0 48px;
}
.search-header {
    margin-bottom: 28px;
}
.search-keyword {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    font-family: 'Poppins', sans-serif;
}
.search-keyword span {
    color: var(--primary);
}
.search-empty {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}
.search-empty i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 16px;
    display: block;
}

/* Responsive sidebar */
@media screen and (max-width: 1068px) {
    .page-layout {
        flex-direction: column;
    }
    .page-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        max-height: none;
        border-right: none;
        border-bottom: 1px solid rgba(0,87,217,0.08);
        box-shadow: 0 2px 12px rgba(0,57,163,0.07);
        padding: 16px 0;
    }
    .page-main {
        padding: 20px 16px;
    }
}
@media screen and (max-width: 576px) {
    .page-main {
        padding: 16px 10px;
    }
    .product-card img {
        height: 150px;
    }
}

/* ================================================================
   DOCS LAYOUT  –  Phong cách PostgreSQL Documentation
   ================================================================ */

/* ---- Variables bổ sung ---- */
:root {
  --docs-topnav-h:      56px;
  --docs-subnav-h:      36px;
  --docs-header-total:  92px;   /* topnav + subnav */
  --docs-sidebar-w:     272px;
  --docs-topnav-bg:     #1a2b4a;
  --docs-topnav-border: #2c3e5e;
  --docs-subnav-bg:     #243551;
  --docs-subnav-border: #324a6e;
  --docs-sidebar-bg:    #f7f8fc;
  --docs-sidebar-border:#e2e6ef;
  --docs-active-bg:     #e8eefa;
  --docs-active-color:  #0057D9;
  --docs-hover-bg:      #edf0fa;
  --docs-text:          #2c3345;
  --docs-muted:         #6b7a99;
}

body.docs-layout {
  margin: 0; padding: 0;
  background: #f4f6fb;
}

/* ================================================================
   TOP NAV
   ================================================================ */
.docs-topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--docs-topnav-h);
  background: var(--docs-topnav-bg);
  border-bottom: 1px solid var(--docs-topnav-border);
  z-index: 2000;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.docs-topnav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 20px;
  gap: 0;
}
.docs-topnav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 24px;
}
.docs-logo-wrap { display: flex; align-items: center; }
.docs-logo-img {
  height: 36px !important;
  width: 100px;
  background: rgba(255,255,255,.1);
  border-radius: 6px;
}
.docs-brand-name {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .3px;
  white-space: nowrap;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.docs-topnav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
  flex: 1;
}
.docs-topnav-links li a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 0 14px;
  height: var(--docs-topnav-h);
  border-bottom: 2px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}
.docs-topnav-links li a:hover,
.docs-topnav-links li a.active {
  color: #fff;
  background: #0b2040;             /* xanh đậm solid, chữ trắng rõ */
  border-bottom-color: #4fc3f7;
}
.docs-topnav-search { margin-left: auto; flex-shrink: 0; }
.docs-search-form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  overflow: hidden;
  transition: background .2s;
}
.docs-search-form:focus-within {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.4);
}
.docs-search-form input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13.5px;
  padding: 7px 14px;
  width: 200px;
  font-family: 'Inter', sans-serif;
}
.docs-search-form input::placeholder { color: rgba(255,255,255,.55); }
.docs-search-form button {
  background: transparent;
  border: none;
  color: rgba(255,255,255,.75);
  padding: 7px 14px;
  cursor: pointer;
  font-size: 14px;
  transition: color .2s;
}
.docs-search-form button:hover { color: #fff; }
.docs-hamburger {
  display: none;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  color: #fff;
  font-size: 20px;
  padding: 5px 10px;
  cursor: pointer;
  margin-left: 12px;
  transition: background .2s;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}
.docs-hamburger:hover { background: rgba(255,255,255,.2); }

/* ================================================================
   WRAPPER
   ================================================================ */
.docs-wrapper {
  display: flex;
  margin-top: var(--docs-topnav-h);
  min-height: calc(100vh - var(--docs-topnav-h));
  position: relative;
}

/* ================================================================
   SIDEBAR
   ================================================================ */
.docs-sidebar {
  position: fixed;
  top: var(--docs-topnav-h);
  left: 0;
  width: var(--docs-sidebar-w);
  height: calc(100vh - var(--docs-topnav-h));
  background: var(--docs-sidebar-bg);
  border-right: 1px solid var(--docs-sidebar-border);
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: #c9d3ea transparent;
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.docs-sidebar::-webkit-scrollbar { width: 5px; }
.docs-sidebar::-webkit-scrollbar-thumb { background: #c9d3ea; border-radius: 4px; }

.docs-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--docs-sidebar-border);
  flex-shrink: 0;
  background: var(--docs-sidebar-bg);
  position: sticky; top: 0; z-index: 10;
}
.docs-sidebar-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--docs-muted);
}
.docs-sidebar-close {
  display: none;
  background: none;
  border: none;
  color: var(--docs-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background .2s;
}
.docs-sidebar-close:hover { background: #e2e6ef; }
.docs-sidebar-search { display: none; padding: 10px 12px; border-bottom: 1px solid var(--docs-sidebar-border); }
.docs-sidebar-search form { display: flex; border: 1px solid #cdd4e3; border-radius: 8px; overflow: hidden; }
.docs-sidebar-search input { flex:1; border:none; outline:none; padding:7px 10px; font-size:13px; background:#fff; color:var(--docs-text); }
.docs-sidebar-search button { background:var(--docs-active-color); border:none; color:#fff; padding:0 10px; cursor:pointer; font-size:13px; }

/* ================================================================
   TOC – Danh mục dọc, luôn mở hết (không toggle)
   ================================================================ */
.docs-toc { padding: 6px 0 24px; }
.docs-toc-root { list-style: none; margin: 0; padding: 0; }
.docs-toc-item { margin: 0; }

/* Link chung */
.docs-toc-link {
  display: block;
  color: var(--docs-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  transition: background .15s, color .15s;
  line-height: 1.5;
  word-break: break-word;
}
.docs-toc-link:hover {
  background: var(--docs-hover-bg);
  color: var(--docs-active-color);
}
.docs-toc-link.active {
  background: var(--docs-active-bg);
  color: var(--docs-active-color);
  font-weight: 600;
  border-left: 3px solid var(--docs-active-color);
  padding-left: 13px;
}

/* Trang chủ / Liên hệ */
.docs-toc-home .docs-toc-link {
  padding: 8px 16px;
  font-size: 13.5px;
}

/* Danh mục CHA */
.docs-toc-parent-item {
  border-top: 1px solid rgba(226,230,239,0.7);
  margin-top: 2px;
}
.docs-toc-parent-item:first-child { border-top: none; }

.docs-toc-parent-link {
  font-size: 13px;
  font-weight: 700;
  color: #1a2b4a;
  padding: 9px 16px 6px;
  letter-spacing: .1px;
  text-transform: uppercase;
  font-size: 11.5px;
  color: var(--docs-muted);
}
.docs-toc-parent-link:hover {
  background: var(--docs-hover-bg);
  color: var(--docs-active-color);
}
.docs-toc-parent-link.active {
  color: var(--docs-active-color);
  background: var(--docs-active-bg);
  border-left: 3px solid var(--docs-active-color);
  padding-left: 13px;
}

/* Danh mục CON */
.docs-toc-children {
  list-style: none;
  margin: 0;
  padding: 0 0 4px 0;
  display: block !important;  /* luôn hiển thị */
}
.docs-toc-child-item { margin: 0; }
.docs-toc-child-link {
  font-size: 13px;
  font-weight: 400;
  color: #3d4a65;
  padding: 6px 16px 6px 28px;  /* indent sang phải để thụt vào */
  border-left: 2px solid transparent;
  position: relative;
}
.docs-toc-child-link::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #b0bdd4;
  transition: background .15s;
}
.docs-toc-child-link:hover {
  background: var(--docs-hover-bg);
  color: var(--docs-active-color);
}
.docs-toc-child-link:hover::before { background: var(--docs-active-color); }
.docs-toc-child-link.active {
  background: var(--docs-active-bg);
  color: var(--docs-active-color);
  font-weight: 600;
  border-left-color: var(--docs-active-color);
  padding-left: 26px;
}
.docs-toc-child-link.active::before { background: var(--docs-active-color); }

/* ================================================================
   CONTENT AREA
   ================================================================ */
.docs-content {
  margin-left: var(--docs-sidebar-w);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  min-height: calc(100vh - var(--docs-topnav-h));
  padding-top: 38px;   /* bằng chiều cao subnav để không bị che */
}
.docs-hero-wrap { width: 100%; }

/* ================================================================
   OVERLAY (mobile)
   ================================================================ */
.docs-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1400; }
.docs-overlay.show { display: block; }

/* ================================================================
   FOOTER trong docs content
   ================================================================ */
.docs-content .footer { margin-top: auto; border-top: 1px solid var(--docs-sidebar-border); }

/* ================================================================
   TƯƠNG THÍCH với các component cũ
   ================================================================ */
body.docs-layout #scroll-nav,
body.docs-layout .hotline-bar,
body.docs-layout .container-header { display: none !important; }

body.docs-layout .category-container { padding: 20px 30px; }
body.docs-layout .product-container   { padding: 20px 30px; }

/* ================================================================
   SUB NAV – fixed, nằm bên phải sau sidebar, không đè lên sidebar
   ================================================================ */
.docs-subnav {
  position: fixed;
  top: var(--docs-topnav-h);         /* ngay dưới topnav */
  left: var(--docs-sidebar-w);       /* bắt đầu từ sau sidebar */
  right: 0;
  height: 38px;
  z-index: 1800;                     /* dưới topnav (2000), trên content */
  background: #1e3a5f;
  border-bottom: 1px solid #2a4f7c;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.docs-subnav::-webkit-scrollbar { display: none; }

.docs-subnav-inner {
  display: flex;
  flex-direction: row;               /* luôn nằm ngang 1 hàng */
  flex-wrap: nowrap;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  gap: 0;
  white-space: nowrap;
}

.docs-subnav-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;                    /* không bao giờ co lại */
  gap: 5px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  padding: 0 13px;
  height: 38px;
  border-bottom: 2px solid transparent;
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}
.docs-subnav-link:hover {
  color: #fff;
  background: #0b2040;
  border-bottom-color: #4fc3f7;
}
.docs-subnav-link.active {
  color: #fff;
  font-weight: 600;
  background: #0d2d5e;
  border-bottom-color: #4fc3f7;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media screen and (max-width: 1200px) {
  :root { --docs-sidebar-w: 240px; }
  .docs-brand-name { max-width: 150px; font-size: 14px; }
  .docs-search-form input { width: 160px; }
}

@media screen and (max-width: 1023px) {
  :root { --docs-sidebar-w: 280px; }
  .docs-sidebar { transform: translateX(-100%); box-shadow: 4px 0 24px rgba(0,0,0,.18); }
  .docs-sidebar.open { transform: translateX(0); }
  .docs-sidebar-close { display: flex; }
  .docs-sidebar-search { display: block; }
  .docs-content { margin-left: 0; }
  .docs-hamburger { display: flex; }
  .docs-topnav-links { display: none; }
  .docs-search-form input { width: 130px; }
  body.docs-layout .category-container { padding: 16px; }
  body.docs-layout .product-container   { padding: 16px; }
  /* subnav chiếm full width khi sidebar ẩn */
  .docs-subnav { left: 0; }
}

@media screen and (max-width: 640px) {
  .docs-topnav-inner { padding: 0 12px; }
  .docs-brand-name { display: none; }
  .docs-logo-img { width: 70px; }
  .docs-search-form input { width: 100px; font-size: 12px; }
}

@media screen and (max-width: 480px) {
  .docs-search-form { display: none; }
}

/* ================================================================
   TƯƠNG THÍCH: page-sidebar / page-layout bên trong docs-content
   (productcategory.php, productdetails.php)
   ================================================================ */

/* Bên trong docs layout, page-layout nằm trong docs-content
   nên sticky sidebar chỉ cần offset = 0 (đã có docs-content xử lý scroll) */
body.docs-layout .page-sidebar {
  top: 10px;
  max-height: calc(100vh - var(--docs-header-total) - 20px);
}

/* Breadcrumb bar điều chỉnh cho docs layout */
body.docs-layout .breadcrumb-bar {
  position: static;      /* không fixed, nằm luồng bình thường */
  background: #f0f3fa;
  border-bottom: 1px solid #dde3f0;
  padding: 8px 0;
}

/* page-layout mở rộng hết chiều rộng content */
body.docs-layout .page-layout {
  min-height: calc(100vh - var(--docs-header-total) - 50px);
}

/* page-main điều chỉnh padding trong docs-content */
body.docs-layout .page-main {
  padding: 24px 28px;
  min-width: 0;
}

@media screen and (max-width: 1023px) {
  body.docs-layout .page-sidebar {
    top: 0;
    max-height: none;
    width: 100%;
    position: static;
  }
  body.docs-layout .page-layout {
    flex-direction: column;
  }
  body.docs-layout .page-main {
    padding: 16px;
  }
}

/* ================================================================
   SIDEBAR .sb – ĐƠN GIẢN: chỉ là cột dọc các <a> tag
   ================================================================ */
.sb {
  position: fixed;
  top: var(--docs-topnav-h);
  left: 0;
  width: var(--docs-sidebar-w);
  height: calc(100vh - var(--docs-topnav-h));
  background: #f7f8fc;
  border-right: 1px solid #e2e6ef;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1500;
  scrollbar-width: thin;
  scrollbar-color: #c9d3ea transparent;
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.sb::-webkit-scrollbar { width: 4px; }
.sb::-webkit-scrollbar-thumb { background: #c9d3ea; border-radius: 4px; }

.sb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #1a2b4a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  flex-shrink: 0;
}
.sb-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 16px;
  cursor: pointer;
  padding: 2px 4px;
  display: none;
  line-height: 1;
}
.sb-close:hover { color: #fff; }

/* Tất cả link = display:block, xếp dọc */
.sb-link {
  display: block;
  text-decoration: none;
  transition: background .14s, color .14s;
  line-height: 1.45;
  word-break: break-word;
}
.sb-home {
  color: #1a2b4a;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-bottom: 1px solid #e9ecf4;
}
.sb-home:hover { background: #edf0fa; color: #0057D9; }
.sb-home.sb-active { background: #e0eaff; color: #0057D9; border-left: 3px solid #0057D9; padding-left: 13px; }

.sb-parent {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 8px 16px 4px;
  color: #6b7a99;
  margin-top: 4px;
}
.sb-parent:hover { background: #edf0fa; color: #0057D9; }
.sb-parent.sb-active { color: #0057D9; background: #e8eefa; border-left: 3px solid #0057D9; padding-left: 13px; }

.sb-child {
  color: #3d4a65;
  font-size: 13px;
  font-weight: 400;
  padding: 6px 16px 6px 28px;
  border-left: 2px solid transparent;
  border-left-color: transparent;
}
.sb-child:hover { background: #edf0fa; color: #0057D9; }
.sb-child.sb-active { background: #e8eefa; color: #0057D9; font-weight: 600; border-left: 2px solid #0057D9; }

/* Xóa padding-top thừa ở docs-content */
body.docs-layout .docs-content { padding-top: 0 !important; }

@media screen and (max-width: 1023px) {
  .sb { transform: translateX(-100%); box-shadow: 4px 0 24px rgba(0,0,0,.18); }
  .sb.open { transform: translateX(0); }
  .sb-close { display: block; }
}

/* ================================================================
   SIMPLE MENU LIST – Thay thế product-slider
   kieuhienthi=1: phân cấp, chữ to dần (tendm con → tiêu đề bài viết)
   kieuhienthi=2: danh sách phẳng tiêu đề bài viết
   ================================================================ */

.simple-menu-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

/* ---- kieuhienthi=1: bài viết tầng cha – font lớn nhất ---- */
.simple-menu-list:not(.simple-menu-child) > .simple-menu-item > a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4a;
    border-left: 4px solid #0057d9;
    background: #f0f5ff;
    border-radius: 0 6px 6px 0;
    margin-bottom: 7px;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1.45;
}
.simple-menu-list:not(.simple-menu-child) > .simple-menu-item > a::before {
    content: '›';
    font-size: 22px;
    font-weight: 700;
    color: #0057d9;
    flex-shrink: 0;
    line-height: 1.1;
}
.simple-menu-list:not(.simple-menu-child) > .simple-menu-item > a:hover {
    background: #dde9ff;
    color: #0057d9;
    padding-left: 22px;
    border-left-color: #dc3545;
}

/* ---- kieuhienthi=1: bài viết trong danh mục con – font nhỏ hơn ---- */
.simple-menu-list.simple-menu-child {
    margin: 4px 0 14px 12px;
    padding: 6px 0 6px 0;
    border-left: 2px solid rgba(0,87,217,0.15);
}
.simple-menu-list.simple-menu-child > .simple-menu-item > a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #2c3345;
    border-left: 3px solid transparent;
    border-radius: 0 4px 4px 0;
    background: transparent;
    margin-bottom: 3px;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1.4;
}
.simple-menu-list.simple-menu-child > .simple-menu-item > a::before {
    content: '–';
    font-size: 14px;
    color: #dc3545;
    flex-shrink: 0;
    font-weight: 700;
}
.simple-menu-list.simple-menu-child > .simple-menu-item > a:hover {
    color: #0057d9;
    border-left-color: #0057d9;
    background: rgba(0,87,217,0.05);
    padding-left: 18px;
}

/* ---- kieuhienthi=2: danh sách phẳng tiêu đề bài viết ---- */
/* selector phân biệt: nằm trong .dm-row của kieuhienthi=2
   (không có .simple-menu-child) */
.dm-row > div > .simple-menu-list:not(.simple-menu-child) > .simple-menu-item > a,
.dm-row .col-lg-12 > .simple-menu-list:not(.simple-menu-child) > .simple-menu-item > a {
    font-size: 14.5px;
    font-weight: 500;
    padding: 9px 16px;
    border-left-width: 3px;
    background: transparent;
    border-bottom: 1px solid rgba(0,87,217,0.07);
    border-radius: 0;
    margin-bottom: 0;
    color: #333;
}
.dm-row > div > .simple-menu-list:not(.simple-menu-child) > .simple-menu-item:first-child > a,
.dm-row .col-lg-12 > .simple-menu-list:not(.simple-menu-child) > .simple-menu-item:first-child > a {
    border-top: 1px solid rgba(0,87,217,0.07);
}
.dm-row > div > .simple-menu-list:not(.simple-menu-child) > .simple-menu-item > a:hover,
.dm-row .col-lg-12 > .simple-menu-list:not(.simple-menu-child) > .simple-menu-item > a:hover {
    background: #f0f5ff;
    color: #0057d9;
    padding-left: 22px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .simple-menu-list:not(.simple-menu-child) > .simple-menu-item > a {
        font-size: 14px;
        padding: 9px 12px;
    }
    .simple-menu-list.simple-menu-child > .simple-menu-item > a {
        font-size: 13px;
    }
}
