
/* =========================================================
   4. BLOCK – CARD SEO
========================================================= */
.block{
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border-top: 4px solid var(--xanhladam);
  padding:8px;
}

.block + .block{margin-top:16px}

.block h2{
  font-size:var(--fs-h2);
  color:var(--primary-dark);
  margin-bottom:10px;
}

/* =========================================================
   5. NỘI DUNG BÀI VIẾT
========================================================= */
.fost-content p{
  margin-bottom:12px;
  font-size:1rem;
}

.fost-content em{color:#374151}

/* =========================================================
   6. ĐIỀU HƯỚNG PHƯƠNG PHÁP
========================================================= */
#mn_dieuhuong_schema{
  margin-top:12px;
  display:grid;
  gap:8px;
}

.dieu_huong_schema{
  display:flex;
  background:#f1f5f9;
  border:1px solid var(--border);
  border-radius:10px;
  transition:.25s;
}

.dieu_huong_schema:hover{
  background:#e0f2fe;
}

.mndh_schema{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px;
  font-weight:600;
  color:var(--xanhladam);
}

.mndh_schema em{
  font-weight:400;
  font-size:var(--fs-small);
  color:var(--muted);
}

.mnmoca{
  color:var(--do);
}

/* nút tổng */
#dieu_huong_tong{
  background:var(--xanhladam);
}
#dieu_huong_tong span,
#dieu_huong_tong .mnmoca{color:#fff}

/* =========================================================
   7. LƯU Ý
========================================================= */
.luu_y{
  margin-top:14px;
  background:#fff7ed;
  border-left:4px solid var(--vang);
  padding:12px;
  border-radius:8px;
  font-size:.95rem;
}
/* =========================================================
 Hỗ trợ
========================================================= */
.luu_y_hotro {
    background: #fff7ed;
    border-left: 4px solid var(--vang);
    border-right: 4px solid var(--vang);
    padding: 12px;
    border-radius: 8px;
    font-size: .95rem;
    margin: 14px 20px;
}
/* =========================================================
   8. HÌNH ẢNH
========================================================= */
figure{margin-top:16px}
figcaption{
  margin-top:6px;
  font-size:.9rem;
  color:var(--muted);
  text-align:center;
}

/* =========================================================
   9. GRID DỊCH VỤ
========================================================= */
.home-post-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}

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

.home-post-item img{aspect-ratio:16/9;object-fit:cover}

.home-post-item h3{
  font-size:var(--fs-h3);
  padding:10px;
  color:var(--primary-dark);
}

.home-post-item p{
  padding:0 10px 12px;
}

/* =========================================================
   10. DANH SÁCH QUẬN – TỰ CHẠY
========================================================= */
.dichvuquan{
  background:#1e3a8a;
  padding:10px 0;
  overflow:hidden;
  height:160px;
}

.dichvuquan_list{
  display:inline-block;
  column-count:2;
  column-gap:16px;
  animation:dichvu-scroll 28s linear infinite;
}

.dichvu_map{
  break-inside:avoid;
  display:flex;
  gap:6px;
}

.dichvu_map span{color:#ff4d4d;font-weight:700}

.dichvu_map a{
  color:#fff;
  font-weight:600;
  font-size:.95rem;
}

@keyframes dichvu-scroll{
  from{transform:translateX(40%)}
  to{transform:translateX(-100%)}
}

/* =========================================================
   11. FAQ – SEO + UX
========================================================= */
#dietmoihalan_schema .cauhoidietmoi{
  max-height:320px;
  overflow:auto;
}

.dietmoi_schema{
  border:1px solid var(--border);
  border-radius:10px;
  margin-bottom:6px;
}

.dietmoitangoc_schema{
  padding:5px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-weight:600;
  color:var(--xanhladam);
  cursor:pointer;
  font-size: 15px;
}

.dietmoi_schema_hl{
  display:none;
  padding:10px;
  font-size:.95rem;
  background:#f9fafb;
}

.mora{color:var(--do)}
@media(min-width:768px){
	.dietmoitangoc_schema{
		font-size: 16px;
		padding:10px;
	}
}
/* =========================================================
   12. SIDEBAR
========================================================= */
.sidebar .widget{
  background:#fff;
  padding:14px;
  border-radius:10px;
  box-shadow:var(--shadow);
}

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

/* =========================================================
   13. TABLET ≥768px
========================================================= */
@media(min-width:768px){
  main{padding:20px}

  .home-post-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .dichvuquan_list{column-count:3}
}

/* =========================================================
   14. DESKTOP ≥992px
========================================================= */
@media(min-width:992px){
  .content-layout{
    grid-template-columns:3fr 1.2fr;
  }

  .home-post-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .dichvuquan_list{column-count:6}
}


/*-----------------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-----------------*/