	
/* ============================================================
   ROOT VARIABLES — GOM DUY NHẤT
============================================================ */
:root {
  /* Brand */
  --xanhbien:#0073e6;
  --xanhnhat:#66b3ff;
  --xanhbiendam:#0c1795;
  --vang:#ffb400;
  --xanhla:#00a86b;
  --xanhladam:#0a6f08;
  --do:#cc0000;

  --trang:#fff;
  --nau:#938e8e;
  --naudam:#555;
  --den:#111;
  --denmo:#222;
  --dennhe:#f2f2f2;

  --color-border:#ddd;
  --color-link:#cc0000;
  --background-link:#938e8e;

  /* Typography */
  --size-trung:16px;
  --size-h1:2.25rem;
  --size-h2:1.75rem;
  --size-h3:1.5rem;
  --size-h4:1.25rem;
  --size-nho:.875rem;

  /* Spacing */
  --khoangcach-xs:.2rem;
  --khoangcach-sm:.5rem;
  --khoangcach-md:1.5rem;
  --khoangcach-lg:2rem;
  --khoangcach-xl:3rem;
  --khangcach-overflow:4px 4px 300px 4px;

  /* Breakpoints */
  --manhinh-sm:576px;
  --manhinh-md:768px;
  --manhinh-lg:992px;
  --manhinh-xl:1500px;

  /* UI */
  --bogoc:5px;
  --transition:all .25s ease-in-out;

  /* SEO PRO UI */
  --primary:#0b5ed7;
  --primary-dark:#0a4fc4;
  --accent:#ffb400;
  --danger:#cc0000;
  --primary-dark:#075906;
  --text:#1f2937;
  --muted:#6b7280;
  --bg:#f4f6fb;
  --card:#ffffff;
  --border:#e5e7eb;

  --radius:12px;
  --shadow:0 6px 20px rgba(0,0,0,.06);

  --fs-base:16px;
  --fs-h2:1.4rem;
  --fs-h3:1.15rem;
  --fs-small:.9rem;
}
/* ============================================================
   RESET + BASE — GOM DUY NHẤT
============================================================ */
*,
*::before,
*::after{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{
  font-size:var(--size-trung);
  scroll-behavior:smooth;
}

body{
  font-family:Roboto,"Helvetica Neue",Arial,system-ui,-apple-system,Segoe UI,sans-serif;
  background:var(--trang);
  color:var(--denmo);
  line-height:1.5;
  text-rendering:optimizeLegibility;
}

img{max-width:100%;height:auto;display:block}
ul{list-style:none}

/* ============================================================
   TYPOGRAPHY — GIỮ NGUYÊN
============================================================ */
h1,h2,h3,h4,h5,h6{
  font-weight:600;
  line-height:1.3;
  margin-bottom:var(--khoangcach-sm);
}
h1{font-size:var(--size-h1)}
h2{font-size:var(--size-h2)}
h3{font-size:var(--size-h3)}

p{
  color:var(--den);
  font-size:1rem;
}

a{
  color:var(--xanhbiendam);
  text-decoration:none;
  transition:var(--transition);
}

button:hover,
.btn:hover,
a:hover,
a:focus,
a:active{
  color:var(--do);
  background:var(--background-link);
  text-decoration:underline;
}

/* ============================================================
   CONTAINER / LAYOUT — GIỮ NGUYÊN
============================================================ */
.container{
  max-width:1700px;
  margin:auto;
}

main{
  padding:var(--khoangcach-xs) var(--khoangcach-xs);
}

	
/* ============================================================
   HEADER — GIỮ NGUYÊN
============================================================ */
#site-header{
  background:#fff;
  border-bottom:1px solid var(--border);
  top:0;
  z-index:1000;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.logo img{max-height:56px}

.thongtincongtyhalan{
  background:#f8f9fb;
  border-top:1px solid var(--border);
  padding:5px 5px;
  text-align:center;
  background-image: linear-gradient(white, yellow, green);
}

.thongtincongtyhalan .home-cty{	
  font-size:1rem;
  color:var(--xanhladam);
  margin-bottom:10px;
  font-weight:700;
}

.thongtincongtyhalan .home-diachi{
  display:block;
  color:var(--den);
  line-height:1.5;
  font-size:13px;
}

.thongtincongtyhalan a[itemprop="telephone"]{
  display:inline-block;
  margin:3px 10px 0;
  font-weight:600;
  color:var(--do);
}
@media (min-width:768px){
	.thongtincongtyhalan .home-cty{	
  font-size:1.4rem;
}
  .thongtincongtyhalan .home-diachi{font-size:15px;
}
}
/* =========================================================
   MAIN CONTENT
========================================================= */
.content-layout{
  display:grid;
  grid-template-columns:1fr;
  gap:22px;
}
.link-list a{
  display:block;
  padding:10px;
  margin-bottom:8px;
  background:#eef3ff;
  border-radius:10px;
  font-weight:600;
}

.link-list .primary-link{
  background:var(--primary);
  color:#fff;
}

/* posts */
.post-grid{
  display:grid;
  gap:16px;
}

.post-card{
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

.post-card h3{
  padding:12px;
  font-size:1rem;
}

.post-card p{
  padding:0 12px 14px;
  color:var(--muted);
}

/* ================= SIDEBAR ================= */
.sidebar{
  display:flex;
  flex-direction:column;
  gap:20px;
}

/* Widget */
.sidebar-widget{
  background:#fff;
  padding:4px;
  border-radius:14px;
  box-shadow:0 6px 20px rgba(0,0,0,.06);
}

.sidebar input{
  width:100%;
  padding:10px;
  border:1px solid var(--border);
  border-radius:8px;
}

/* Title */
.widget-title{
  font-size:1.2rem;
  color:#0a6f08;
  margin-bottom:12px;
  padding-left:8px;
  border-left:4px solid #ffb400;
}

/* ================= FLOAT IMAGE ================= */
.thumb-float{
  float:right;
  width:120px;
  margin:0 0 8px 12px;
}

.thumb-float img{
  width:100%;
  height:auto;
  display:block;
  border-radius:8px;
}

/* ================= CONTENT ================= */
.post-float,
.service-float{
  overflow:hidden; /* clear float */
  margin-bottom:14px;
}

.post-float h3,
.service-float h3{
  font-size:15px;
  margin:0 0 4px;
}

.post-float p,
.service-float p{
  line-height:1.5;
  color:#374151;
}

.post-float time{
  font-size:15px;
  color:#6b7280;
  display:block;
  margin-bottom:6px;
}

.read-more{
  display:inline-block;
  margin-top:6px;
  font-size:15px;
  font-weight:600;
  color:#c40000;
}

/* ================= LIST ================= */
.post-list{
  margin:12px 0;
}
.post-list li{
  margin-bottom:6px;
}
.post-list time{
  font-size:12px;
  color:#777;
}
.post-list .mndh_sidebar {
	 font-size:15px;
    align-items: center;
    padding: 10px;
    font-weight: 600;
    color: var(--xanhladam);
    border-radius: 10px;
}
/* ================= MORE ================= */
.sidebar-more{
  display:block;
  margin-top:12px;
  background:#0a6f08;
  color:#fff;
  padding:10px;
  text-align:center;
  border-radius:8px;
  font-weight:600;
}

/* ================= TABLET ================= */
@media (min-width:768px){
  .thumb-float{ width:140px; }
}

/* ================= DESKTOP ================= */
@media (min-width:992px){
  .thumb-float{ width:160px; }
  .sidebar{ position:sticky; top:90px; }
  .content-layout{
    grid-template-columns:3fr 1.2fr;
  }
}
/* ===============================
   SIDEBAR MENU – PREMIUM STYLE
================================ */
.sidebar-menu {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    font-size: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* ===== TITLE ===== */
.menu-title {
    margin: 0 0 14px;
    padding: 10px 12px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 8px;
    background: linear-gradient(90deg, #16a34a, #22c55e);
}

.menu-title a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    letter-spacing: 0.5px;
}

/* ===== RESET ===== */
.menu-root,
.menu-root ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ===== ROOT ITEM ===== */
.menu-root > li {
    margin-bottom: 8px;
}

/* ===== MAIN LINK ===== */
.menu-root > li > a {
    background: #c9c7c636;
    color: #064e3b;
    font-weight: 700;
    padding: 11px 14px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    border-left: 4px solid #22c55e;
    transition: all 0.25s ease;
}

.menu-root > li > a:hover {
    background: linear-gradient(90deg, #22c55e, #16a34a);
    color: #ffffff;
    transform: translateX(2px);
}

/* ===== SUB MENU ===== */
.menu-root li ul {
    display: none;
    margin-top: 6px;
    margin-left: 12px;
    padding-left: 6px;
    border-left: 2px dashed #bbf7d0;
}

/* ===== SUB LINK ===== */
.menu-root li ul a {
    background: #ffffff;
    color: #065f46;
    font-weight: 500;
    font-size: 15px;
    padding: 9px 12px;
    margin-bottom: 6px;
    border-radius: 6px;
    display: block;
    text-decoration: none;
    transition: all 0.25s ease;
}

.menu-root li ul a:hover {
    background: #fef3c7;
    color: #92400e;
    padding-left: 16px;
}

/* ===== ARROW ===== */
.has-sub > a::after {
    content: "▸";
    font-size: 15px;
    color: #047857;
    transition: transform 0.3s ease, color 0.3s ease;
}

.has-sub:hover > a::after {
    transform: rotate(90deg);
    color: #ffffff;
}

/* ===== SHOW SUB ===== */
.has-sub:hover > ul {
    display: block;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .sidebar-menu {
        font-size: 14px;
    }

    .menu-root > li > a {
        padding: 10px 12px;
    }
}


	/* ====================================menu--------------*/

/* ===== Cơ bản ===== */
.menu {
  background: var(--trang);
  padding: 0;
  position: fixed;
  width: 350px;
  z-index: 9999;
  top: 40px;
  left: 0;
  border-right: 1px solid #e5e7eb;
}

/* Thanh hamburger */
.mnHaLan {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(90deg, var(--xanhbien), var(--xanhbiendam));
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,.15);
  z-index: 9999;
}
.hamburger {
  font-size: 1.8rem;
  padding: 0 5px;
  cursor: pointer;
  user-select: none;
  color: var(--den);
}

/* ===== Menu chính ===== */
.menuchinh > ul {
  display: none;
  flex-direction: column;
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #f8fafc;
  overflow: auto;
  height: 500px;
}

.menuchinh > ul.open {
  display: flex;
}

.menuchinh li {
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #fff;
  margin-bottom: 6px;
}

/* Link */
.menuchinh a{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  font-size: var(--size-h4);
  font-weight: 600;
  color: #1f2937;
}
.menuchinh a:hover {
  background: #eef4ff;
  color: var(--xanhbien);
}

/* Arrow */
.arrow {
  margin-left: 4px;
  font-size: .75rem;
  transition: transform .3s ease;
  color: #64748b;
}
.menuchinh li.open > a .arrow {
  transform: rotate(90deg);
  color: var(--xanhbien);
}

/* ===== Dropdown nhiều cấp ===== */
.menuchinh li ul {
  display: none;
  flex-direction: column;
  background: #f9fafb;
  margin-top: 0;
}

.menuchinh li.open > ul {
  display: flex;
}

.menuchinh li ul a {
  color: #1f2937;
  font-weight: 500;
}

@media (max-width: 768px){
.menuchinh ul li a{
    border-left: 4px solid var(--xanhbien);
    border-radius: 8px;
}	
.menuchinh ul li ul li a{
    border-left: 4px solid var(--vang);
    border-radius: 8px;
    margin-left: 28px;
	padding: 5px 6px;
	font-size: 14px;
}
	.menuchinh > ul.open{
	border-radius: 8px;
    border: 4px solid #16a34a;
	}	
}
/* ================= DESKTOP ================= */
@media (min-width: 768px) {

  .menu {
    width: 100%;
    top: 0;
    border-right: none;
  }
  .hamburger {
    display: none;
  }
   .menuchinh a .arrow{
		 display:none;
	}
  .menuchinh > ul {
    display: flex;
    flex-direction: row;
    padding: 0 10px;
    background: linear-gradient(90deg, var(--xanhbien), var(--xanhbiendam));
    justify-content: center;
    height: auto;
    overflow: visible;
    border-radius: 0;
    border: none;
  }

  .menuchinh ul li {
    background: transparent;
    border: none;
    margin: 0 2px;
  }

  .menuchinh ul li a {
    color: #fff;
    font-size: var(--size-nho);
    padding: 12px 14px;
  }

  .menuchinh ul li a:hover {
    background: rgba(255,255,255,.15);
    color: var(--do);
  }

  /* Dropdown cấp 2 */
.menuchinh li ul {
    position: absolute;
    top: calc(100% - 1px); /* dính sát cấp 1 */
    left: 0;
    min-width: 280px;
    padding: 6px 0; /* bỏ padding ngoài, chỉ padding trong item */
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 16px rgba(0,0,0,.15);
    display: none;
    z-index: 1000;
}
.menuchinh li {
  padding-bottom: 2px; /* tạo vùng đệm hover liền mạch */
}

  .menuchinh li:hover > ul {
    display: block;
  }

  /* Dropdown cấp 3 */
  .menuchinh li ul li ul {
    top: 0;
    left: 100%;
  }

  .menuchinh ul li ul li a {
    background: #f8fafc;
    color: #1f2937;
  }

/* ===== Riêng menu Liên Hệ xổ qua TRÁI ===== */
  .menuchinh li.menu_tv > .menus_tv {
    left: auto !important;
    right: 0;
  }

}

/* =====================================================
MOBILE QUICK MENU – KHÔNG ẢNH HƯỞNG PHẦN KHÁC
===================================================== */

/* MOBILE ONLY */
  .mnHaLan {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 8px;
    background: linear-gradient(90deg, var(--xanhbien), var(--xanhbiendam));
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
  }

  /* Link nhanh */
  .mnHaLan .menu-left {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mnHaLan .menu-left a {
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    border: 1px solid var(--trang);
    padding: 4px;
    border-radius: 5px;
  }

  /* Hamburger */
  .mnHaLan .hamburger {
    margin-left: auto;
    font-size: 1.6rem;
    background: var(--naudam);
    border: none;
    color: #fff;
    cursor: pointer;
	text-decoration: none!important; 
  }

  /* Đẩy nội dung xuống dưới thanh mobile */
  body {
    padding-top: 40px;
  }

/* Mặc định ẨN */
@media (min-width: 768px)  {
.mnHaLan {
  display: none;
}
	  body {
    padding-top: 50px;
  }
}

 /* --------------------footer--------------*/
footer {
  background: var(--denmo);
  color: var(--trang);
  padding-top: 10px;
}
.thongtin{
color: var(--den);
}
.mobi_footer,  .halan_footer {
  padding: var(--khoangcach-sm) var(--khoangcach-sm);
}

.mobi_footer {
  margin: 0 auto;
}

.halan_footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--khoangcach-sm);
}
section#footer_a {
  background: var(--dennhe);
}

.column_footer {
  flex: 1;
  min-width: 300px;
  background: var(--trang);
  padding: var(--khoangcach-lg);
  border-radius: var(--bogoc);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
@media (min-width: var(--manhinh-md)) {
  .halan_footer {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--khoangcach-lg);
  }
}

/*-----------------slider-----------------*/
/* ===== HERO ===== */
.hero{background:#009933}
.hero-wrap{
  display:flex;
  flex-direction:column;
}
.hero-item{flex:1}
.hero-slider .slide{display:none}
.hero-slider .slide.active{display:block}

/* ===== HOTLINE ===== */
.hotline-float{
  right:15px;
  bottom:15px;
  z-index:999;
}
.hotline-float img{
	margin: auto;
	}

/* ===== SERVICE MENU (FLEX:1) ===== */
.service-menu{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  background:#f2f2f2;
}

.service-box{
  flex:1;
  min-width:300px;
  background:#fff;
  border-radius:6px;
  box-shadow:0 2px 6px rgba(0,0,0,.1);
}

.service-box h3{
  background:#0b5b09;
  color:#fff;
  padding:10px;
  font-size:20px;
  text-align:center;
}

.service-box ul{
	list-style:none;
	padding:10px;
}
.service-box li{
	margin-bottom:4px;
}
.service-box a{
	color:var(--xanhladam);
	font-weight:600;
}
.service-box a:hover{color:#cc0000}


/* ===== DESKTOP ===== */
@media(min-width:768px){
  .hero-wrap{
    flex-direction:row;
    padding: 10px;
    background: #f2f2f2;
	}
}

/* ===== INTRO – GIỚI THIỆU ===== */
.service-box.intro{
  flex:1;
  min-width:300px;
}

.intro-scroll{
  display:block;
  height:220px;
  overflow:auto;
  padding:10px;
  font-size:16px;
  line-height:1.5;
  font-weight:500;
  color:#130587;
  background:url("uploads/2023/02/anh-nen-gioi-thieu-e1675611489969.jpg") center/cover no-repeat;
}

/* Widget spacing */
.intro-scroll .widget{
  margin-bottom:10px;
}

/* Gallery 2 cột */
.gallery-2{
  display:flex;
  gap:6px;
}
.gallery-2 figure{
  flex:1;
}

/* Gallery 3 cột */
.gallery-3{
  display:flex;
  gap:6px;
}
.gallery-3 figure{
  flex:1;
}

/* Image */
.intro-scroll img{
  width:100%;
  border-radius:4px;
}

/* Mobile tối ưu */
@media(max-width:576px){
  .intro-scroll{
    font-size:15px;
    height:200px;
  }
}
/*-----------------end slider-----------------*/
a.read-more{
	display: inline-block;
	padding: 5px 15px;
	background: #260B97;
	color: #FFFFFF;
	border-radius: 5px;
	margin-bottom: 5px;
	margin-left: 10px;
}
a.read-more:hover{
	background:#19ABF1;	
}	

/*-----------------breadcrumb-----------------*/
.breadcrumb {
  margin: 12px 0 20px;
  font-size: 14px;
padding-left: 10px;	
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  color: #666;
}

.breadcrumb li + li::before {
  content: "›";
  margin: 0 8px;
  color: #aaa;
}

.breadcrumb a {
  color: #0073aa;
  text-decoration: none;
}

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

.breadcrumb li:last-child span {
  color: #000;
  font-weight: 500;
}
/* =========================================================
   15. search tìm kếm
========================================================= */
		.search-form{
    display:flex;
    gap:8px;
}
.search-form input{
    flex:1;
    padding:10px;
    border:1px solid var(--den);
    border-radius:6px;
}
.search-form button{
    padding:10px 16px;
    background:#e53935;
    color:#fff;
    border:none;
    border-radius:6px;
    font-weight:600;
}
/* =========================================================
   16. FLEX 2 / 3 / 4 COLUMNS (SEO SAFE) 
========================================================= */
.rte-flex {
  display: flex;
  gap: 20px;
  margin: 25px 0;
}
.rte-flex .rte-col {
  flex: 1;
}
@media (max-width: 768px) {
  .rte-flex {
    flex-direction: column;
	gap: 5px;
    margin: 10px 0; 
  }
}

.pagination{
 background-color:var(--dennhe);
 padding: 40px 0px;
}
