/* ============================================================
   HAZO CLONE – CSS cho mega menu + các trang con
   (dùng chung biến màu .hz- khai báo trong hazo-home.css)
   ============================================================ */

/* Mega menu đã chuyển hết sang hazo-home.css (header dùng chung).
   Chỉ giữ lại trạng thái active của mục menu ở trang con. */
.hz-nav > li.is-active > a { color: var(--hz-red); }

/* ---------- PAGE BANNER dùng chung ---------- */
.hz-page-hero {
	background: linear-gradient(120deg, var(--hz-navy) 0%, var(--hz-blue-dark) 100%);
	color: #fff; padding: 70px 0 64px; position: relative; overflow: hidden; text-align: center;
}
.hz-page-hero::before { content: ""; position: absolute; top: -100px; right: -80px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(212,35,40,.30), transparent 70%); }
.hz-page-hero .hz-container { position: relative; z-index: 2; }
.hz-crumb { font-size: .88rem; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.hz-crumb a { color: rgba(255,255,255,.7); }
.hz-crumb a:hover { color: #fff; }
.hz-page-hero h1 { font-family: var(--hz-font-d); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 16px; letter-spacing: -.02em; }
.hz-page-hero h1 .hz-hl { color: #ff8a8d; }
.hz-page-hero p { color: rgba(255,255,255,.82); max-width: 720px; margin: 0 auto; font-size: 1.05rem; }

/* Biến thể hero SÁNG (trang Dự án) – bám bản gốc: nền ảnh gradient, chữ căn trái
   trong nửa cột. Chỉ áp dụng khi có .is-light để trang Tin tức giữ hero nền tối. */
.hz-page-hero.is-light { background: none; color: var(--hz-ink); text-align: left; padding: 100px 0; }
.hz-page-hero.is-light::before { display: none; }
.hz-page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.hz-page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hz-page-hero.is-light .hz-page-hero-text { max-width: 50%; }
.hz-page-hero.is-light h1 { color: var(--hz-ink); margin-bottom: 18px; }
.hz-page-hero.is-light p { color: var(--hz-muted); max-width: 100%; margin: 0; }

/* ---------- TRANG DỰ ÁN ---------- */
/* Thanh tìm kiếm dự án: pill gradient đỏ nhạt, ô từ khoá bên trái, chọn lĩnh vực
   + nút tìm kiếm bên phải. */
.hz-proj-search {
	max-width: 900px; margin: 0 auto 30px; display: flex; align-items: center; gap: 10px;
	background: linear-gradient(90deg, #fa9296, #f2777c);
	border-radius: 999px; padding: 9px 9px 9px 26px;
	box-shadow: 0 10px 28px rgba(212, 35, 40, .18);
}
.hz-proj-search-kw { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; }
.hz-proj-search-kw i { color: #fff; font-size: 1.05rem; flex: 0 0 auto; }

/* Flatsome style input[type=search] rất "nặng" (nền trắng, viền, inset shadow) và
   riêng trạng thái :focus của nó là `input[type=search]:focus` – specificity CAO HƠN
   `.hz-proj-search-kw input`, nên nếu chỉ khai báo ở rule gốc thì lúc click vào ô
   sẽ bị Flatsome sơn lại thành hộp trắng (chữ trắng biến mất). Vì vậy phải ghi đè
   đủ mọi trạng thái với selector đính kèm [type="search"]. */
.hz-proj-search-kw input[type="search"] {
	flex: 1 1 auto; min-width: 0; width: 100%; height: 44px;
	border: 0; background: none; box-shadow: none; padding: 0; border-radius: 0;
	-webkit-appearance: none; appearance: none;
	font-family: inherit; font-size: 1rem; color: #fff;
}
.hz-proj-search-kw input[type="search"]:hover,
.hz-proj-search-kw input[type="search"]:focus,
.hz-proj-search-kw input[type="search"]:focus-visible,
.hz-proj-search-kw input[type="search"]:active {
	background: none; background-color: transparent;
	border: 0; box-shadow: none; outline: none; color: #fff;
}
.hz-proj-search-kw input[type="search"]::placeholder { color: rgba(255, 255, 255, .88); opacity: 1; }
/* Autofill của Chrome sơn nền vàng bằng background-color nội bộ – chỉ chặn được
   bằng inset shadow phủ kín ô. */
.hz-proj-search-kw input[type="search"]:-webkit-autofill {
	-webkit-text-fill-color: #fff;
	-webkit-box-shadow: inset 0 0 0 100px #f2777c;
	caret-color: #fff;
}
.hz-proj-search-kw input[type="search"]::-webkit-search-cancel-button { filter: invert(1); opacity: .75; cursor: pointer; }

.hz-proj-search-tools { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.hz-proj-industry { position: relative; }
.hz-proj-industry-btn {
	display: flex; align-items: center; gap: 8px; cursor: pointer;
	background: none; border: 0; padding: 0 10px;
	font-family: inherit; font-size: .95rem; color: #fff; white-space: nowrap;
	text-transform: none; letter-spacing: 0; /* Flatsome ép uppercase mọi <button> */
	margin: 0; min-height: 0; line-height: 1.5; font-weight: 500;
}
.hz-proj-industry-btn i { font-size: .7em; transition: transform .2s ease; }
.hz-proj-industry.is-open .hz-proj-industry-btn i { transform: rotate(180deg); }
.hz-proj-industry-menu {
	position: absolute; top: calc(100% + 12px); right: 0; z-index: 20;
	min-width: 220px; margin: 0; padding: 8px; list-style: none;
	background: #fff; border-radius: 16px; box-shadow: 0 14px 36px rgba(27, 37, 52, .16);
	opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .2s ease;
}
.hz-proj-industry.is-open .hz-proj-industry-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.hz-proj-industry-menu li { margin: 0; }
.hz-proj-industry-menu button {
	display: block; width: 100%; text-align: left; cursor: pointer;
	background: none; border: 0; border-radius: 10px; padding: 9px 14px;
	font-family: inherit; font-size: .92rem; color: #374151;
	text-transform: none; letter-spacing: 0; font-weight: 400; /* Flatsome ép uppercase + bolder */
	margin: 0; min-height: 0; line-height: 1.5;
}
.hz-proj-industry-menu button:hover { background: var(--hz-red-soft); color: var(--hz-red); }

.hz-proj-search-btn {
	display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
	height: 46px; padding: 0 26px; border: 0; border-radius: 999px;
	background: rgba(255, 255, 255, .26); color: #fff;
	font-family: inherit; font-size: .95rem; font-weight: 600; white-space: nowrap;
	text-transform: none; letter-spacing: 0; /* Flatsome ép uppercase mọi <button> */
	margin: 0; min-height: 0; line-height: 1;
	transition: background .2s ease, color .2s ease;
}
/* Mũi tên ↗: FA free không có fa-arrow-up-right nên xoay fa-arrow-right 45°. */
.hz-proj-search-btn i { font-size: .8em; transform: rotate(-45deg); }
.hz-proj-search-btn:hover { background: #fff; color: var(--hz-red); }

.hz-proj-empty { text-align: center; color: var(--hz-muted); padding: 30px 0; margin: 0; }

.hz-filter-wrap { display: flex; flex-direction: column; gap: 14px; margin-bottom: 34px; }
.hz-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
/* text-transform/letter-spacing: Flatsome ép uppercase mọi <button>. */
.hz-filter button { font-family: var(--hz-font); border: 1px solid var(--hz-border); background: #fff; color: #374151; padding: 9px 18px; border-radius: 999px; cursor: pointer; font-size: .9rem; transition: all .2s ease; text-transform: none; letter-spacing: 0; font-weight: 500; min-height: 0; line-height: 1.5; margin: 0; }
.hz-filter button:hover { border-color: var(--hz-red); color: var(--hz-red); }
.hz-filter button.is-active { background: var(--hz-red); color: #fff; border-color: var(--hz-red); }
.hz-pg-proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hz-pg-proj { border-radius: 16px; overflow: hidden; position: relative; box-shadow: var(--hz-shadow-sm); background: #0f1622; }
.hz-pg-proj img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease; }
.hz-pg-proj:hover img { transform: scale(1.06); }
.hz-pg-proj-cap { position: absolute; inset: auto 0 0 0; padding: 18px; background: linear-gradient(180deg, transparent, rgba(15,22,34,.92)); color: #fff; }
.hz-pg-proj-cap span { display: block; font-size: .78rem; color: #ff8a8d; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.hz-pg-proj-cap strong { font-family: var(--hz-font-d); font-weight: 700; font-size: 1.05rem; }

/* ---------- TRANG TIN TỨC ---------- */
.hz-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hz-blog-card { background: #fff; border: 1px solid var(--hz-border); border-radius: 16px; overflow: hidden; box-shadow: var(--hz-shadow-sm); display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.hz-blog-card:hover { transform: translateY(-6px); box-shadow: var(--hz-shadow); }
.hz-blog-card > a.hz-blog-thumb { display: block; overflow: hidden; }
.hz-blog-thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .5s ease; }
.hz-blog-card:hover .hz-blog-thumb img { transform: scale(1.05); }
.hz-blog-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.hz-blog-body h3 { font-family: var(--hz-font-d); font-weight: 700; font-size: 1.1rem; line-height: 1.35; color: var(--hz-navy); margin: 10px 0 12px; }
.hz-blog-body h3 a:hover { color: var(--hz-red); }
.hz-blog-body .hz-news-meta { margin-top: auto; }
.hz-blog-readmore { color: var(--hz-red); font-weight: 700; font-size: .9rem; margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; }
.hz-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.hz-pagination a, .hz-pagination span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--hz-border); color: #374151; font-weight: 600; }
.hz-pagination a:hover { border-color: var(--hz-red); color: var(--hz-red); }
.hz-pagination .is-current { background: var(--hz-red); color: #fff; border-color: var(--hz-red); }

/* Khối "Cam kết" (5 cột) trang Thiết kế website */
.hz-group-ic { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--hz-red), var(--hz-blue)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem; margin-bottom: 14px; }
.hz-commit-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.hz-commit-card { background: #fff; border: 1px solid var(--hz-border); border-radius: 16px; padding: 24px 20px; box-shadow: var(--hz-shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.hz-commit-card:hover { transform: translateY(-6px); box-shadow: var(--hz-shadow); }
.hz-commit-card h3 { font-family: var(--hz-font-d); font-weight: 800; font-size: 1.05rem; color: var(--hz-navy); line-height: 1.25; margin: 0 0 8px; }
.hz-commit-card p { color: var(--hz-muted); font-size: .9rem; margin: 0; }

/* ---------- TRANG THIẾT KẾ WEBSITE ---------- */
.hz-tk-hero { background: linear-gradient(180deg, #eef4fb 0%, #fff 100%); padding: 60px 0 70px; }
.hz-tk-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.hz-tk-hero h1 { font-family: var(--hz-font-d); font-weight: 800; font-size: clamp(2rem,4vw,3rem); line-height: 1.15; color: var(--hz-navy); margin: 6px 0 18px; letter-spacing: -.02em; }
.hz-tk-hero h1 .hz-hl { color: var(--hz-red); }
.hz-tk-hero-sub { font-size: 1.1rem; color: var(--hz-muted); margin-bottom: 20px; }
.hz-tk-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hz-tk-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--hz-border); border-radius: 999px; padding: 8px 16px; font-size: .88rem; font-weight: 600; color: var(--hz-navy); box-shadow: var(--hz-shadow-sm); }
.hz-tk-badge i { color: var(--hz-red); }
.hz-tk-hero-img img { border-radius: 20px; box-shadow: var(--hz-shadow); }

.hz-pain { background: var(--hz-soft); }
.hz-pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.hz-pain-card { background: #fff; border-radius: 16px; padding: 28px 22px; box-shadow: var(--hz-shadow-sm); border-top: 4px solid var(--hz-red); }
.hz-pain-ic { width: 54px; height: 54px; border-radius: 14px; background: var(--hz-red-soft); color: var(--hz-red); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; }
.hz-pain-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--hz-navy); margin: 0 0 8px; }
.hz-pain-card p { font-size: .92rem; color: var(--hz-muted); margin: 0; }

.hz-crit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.hz-crit-card { text-align: center; padding: 26px 18px; border-radius: 16px; border: 1px solid var(--hz-border); background: #fff; transition: all .3s ease; }
.hz-crit-card:hover { transform: translateY(-6px); box-shadow: var(--hz-shadow); border-color: transparent; }
.hz-crit-ic { width: 66px; height: 66px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(135deg, var(--hz-blue), var(--hz-red)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.hz-crit-card h3 { font-size: 1rem; font-weight: 700; color: var(--hz-navy); margin: 0 0 6px; }
.hz-crit-card p { font-size: .86rem; color: var(--hz-muted); margin: 0; }

.hz-tkpf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hz-tkpf { border-radius: 14px; overflow: hidden; box-shadow: var(--hz-shadow-sm); background: #fff; }
.hz-tkpf img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .5s ease; }
.hz-tkpf:hover img { transform: scale(1.05); }
.hz-tkpf-cap { padding: 14px 16px; font-family: var(--hz-font-d); font-weight: 700; font-size: .98rem; color: var(--hz-navy); text-align: center; }

.hz-process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hz-process-step { background: #fff; border: 1px solid var(--hz-border); border-radius: 16px; padding: 28px 24px; position: relative; box-shadow: var(--hz-shadow-sm); }
.hz-step-n { width: 46px; height: 46px; border-radius: 12px; background: var(--hz-red); color: #fff; font-family: var(--hz-font-d); font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.hz-process-step h3 { font-size: 1.08rem; font-weight: 700; color: var(--hz-navy); margin: 0 0 8px; }
.hz-process-step p { font-size: .92rem; color: var(--hz-muted); margin: 0; }

.hz-price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 900px; margin: 0 auto; }
.hz-price-card { background: #fff; border: 1px solid var(--hz-border); border-radius: 18px; padding: 34px 30px; box-shadow: var(--hz-shadow-sm); position: relative; }
.hz-price-card.is-featured { border-color: var(--hz-red); box-shadow: var(--hz-shadow); }
.hz-price-card.is-featured::before { content: "Phổ biến"; position: absolute; top: -13px; left: 30px; background: var(--hz-red); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.hz-price-card h3 { font-family: var(--hz-font-d); font-weight: 800; font-size: 1.4rem; color: var(--hz-navy); margin: 0 0 6px; }
.hz-price-sub { color: var(--hz-muted); font-size: .92rem; margin-bottom: 20px; }
.hz-price-list { list-style: none; padding: 0; margin: 0 0 24px; }
.hz-price-list li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px dashed var(--hz-border); font-size: .95rem; color: #374151; }
.hz-price-list li i { color: #10b981; margin-top: 3px; }

.hz-faq { max-width: 820px; margin: 0 auto; }
.hz-faq-item { background: #fff; border: 1px solid var(--hz-border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.hz-faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 600; color: var(--hz-navy); font-family: var(--hz-font-d); }
.hz-faq-q i { color: var(--hz-red); transition: transform .3s ease; flex: 0 0 auto; }
.hz-faq-item.is-open .hz-faq-q i { transform: rotate(180deg); }
.hz-faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.hz-faq-item.is-open .hz-faq-a { max-height: 400px; }
.hz-faq-a p { padding: 0 20px 20px; color: var(--hz-muted); margin: 0; }

@media (max-width: 1024px) {
	.hz-mega-inner { grid-template-columns: 1fr; gap: 8px; }
	.hz-pg-proj-grid, .hz-blog-grid, .hz-pain-grid, .hz-crit-grid, .hz-tkpf-grid, .hz-process-steps { grid-template-columns: repeat(2, 1fr); }
	.hz-commit-grid { grid-template-columns: repeat(3, 1fr); }
	.hz-tk-hero-grid, .hz-price-grid { grid-template-columns: 1fr; }
	.hz-page-hero.is-light { padding: 70px 0; }
	.hz-page-hero.is-light .hz-page-hero-text { max-width: 70%; }
}
@media (max-width: 640px) {
	.hz-pg-proj-grid, .hz-blog-grid, .hz-pain-grid, .hz-crit-grid, .hz-tkpf-grid, .hz-process-steps, .hz-commit-grid { grid-template-columns: 1fr; }
	.hz-page-hero { padding: 50px 0 44px; }
	.hz-page-hero.is-light { padding: 50px 0; }
	.hz-page-hero.is-light .hz-page-hero-text { max-width: 100%; }

	/* Pill 1 hàng không đủ chỗ: xếp dọc, bỏ bo tròn cực đại cho dễ bấm. */
	.hz-proj-search { flex-direction: column; align-items: stretch; gap: 14px; border-radius: 24px; padding: 16px; }
	.hz-proj-search-kw { padding: 0 8px; }
	.hz-proj-search-tools { justify-content: space-between; }
	.hz-proj-industry-menu { right: auto; left: 0; }
}

/* =========================================================================
   NỘI DUNG ĐỘNG (CPT Dự án + Bài viết)
   Thêm khi chuyển trang chủ / danh sách từ dữ liệu cứng sang CSDL.
   ====================================================================== */

/* Thẻ dự án giờ là <a> (trước là <div>) → chặn màu link mặc định của Flatsome. */
.hz-proj-card,
.hz-pg-proj {
	display: block;
	color: inherit;
	text-decoration: none;
}
.hz-proj-card:hover,
.hz-pg-proj:hover { color: inherit; text-decoration: none; }
.hz-pg-proj img { display: block; }

/* paginate_links() dùng class 'current'/'dots', không phải 'is-current'. */
.hz-pagination .page-numbers.current,
.hz-pagination .is-current {
	background: var(--hz-red);
	color: #fff;
	border-color: var(--hz-red);
}
.hz-pagination .dots { border-color: transparent; }

/* ---- Bài viết / dự án chi tiết ---- */
.hz-post-meta { color: rgba(255, 255, 255, .72); font-size: .92rem; margin: 0; }
.hz-post-meta i { margin-right: 6px; }

.hz-article-wrap { max-width: 860px; }
.hz-article-thumb { margin: 0 0 30px; border-radius: 16px; overflow: hidden; box-shadow: var(--hz-shadow-sm); }
.hz-article-thumb img { width: 100%; height: auto; display: block; }

.hz-article-body { color: #374151; font-size: 1.05rem; line-height: 1.8; }
.hz-article-body > *:first-child { margin-top: 0; }
.hz-article-body h2,
.hz-article-body h3,
.hz-article-body h4 {
	font-family: var(--hz-font-d);
	color: var(--hz-ink);
	font-weight: 700;
	margin: 34px 0 14px;
	line-height: 1.35;
}
.hz-article-body h2 { font-size: 1.6rem; }
.hz-article-body h3 { font-size: 1.3rem; }
.hz-article-body h4 { font-size: 1.1rem; }
.hz-article-body p { margin: 0 0 18px; }
.hz-article-body a { color: var(--hz-red); text-decoration: underline; }
.hz-article-body ul,
.hz-article-body ol { margin: 0 0 18px 22px; }
.hz-article-body li { margin-bottom: 8px; }
.hz-article-body img { max-width: 100%; height: auto; border-radius: 12px; }
.hz-article-body blockquote {
	margin: 24px 0;
	padding: 18px 22px;
	border-left: 4px solid var(--hz-red);
	background: var(--hz-red-soft);
	border-radius: 0 12px 12px 0;
	font-style: italic;
}
.hz-article-body table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.hz-article-body th,
.hz-article-body td { border: 1px solid var(--hz-border); padding: 10px 12px; text-align: left; }

.hz-article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.hz-article-tags a {
	font-size: .84rem;
	font-weight: 600;
	padding: 7px 14px;
	border-radius: 999px;
	border: 1px solid var(--hz-border);
	color: #374151;
	text-decoration: none;
}
.hz-article-tags a:hover { border-color: var(--hz-red); color: var(--hz-red); }

.hz-article-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hz-article-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid var(--hz-border);
}
.hz-article-nav a {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 18px;
	border: 1px solid var(--hz-border);
	border-radius: 14px;
	text-decoration: none;
	transition: border-color .2s ease, transform .2s ease;
}
.hz-article-nav a:hover { border-color: var(--hz-red); transform: translateY(-3px); }
.hz-article-nav span { font-size: .82rem; color: var(--hz-muted); font-weight: 600; }
.hz-article-nav strong { font-family: var(--hz-font-d); color: var(--hz-ink); font-size: .98rem; line-height: 1.4; }
.hz-article-nav-next { text-align: right; align-items: flex-end; }
/* Chỉ có bài sau (không có bài trước) → đẩy sang cột phải cho cân. */
.hz-article-nav > .hz-article-nav-next:first-child { grid-column: 2; }

.hz-related { background: #f8fafc; }

@media (max-width: 640px) {
	.hz-article-nav { grid-template-columns: 1fr; }
	.hz-article-nav-next { text-align: left; align-items: flex-start; }
	.hz-article-nav > .hz-article-nav-next:first-child { grid-column: 1; }
	.hz-article-cta { flex-direction: column; align-items: stretch; }
}

/* Hero nền tối: Flatsome đặt màu chữ tối cho h1 nên phải chỉ định rõ màu trắng,
   không thể trông vào việc kế thừa color từ .hz-page-hero.
   (.hz-page-hero.is-light h1 có độ ưu tiên cao hơn nên vẫn giữ màu mực đậm.) */
.hz-page-hero h1 { color: #fff; }

/* =========================================================================
   COMPONENT DÙNG CHUNG (parts/section-head.php, parts/icon-cards.php, ...)
   Thay cho các style="" viết trực tiếp trong template trước đây, để trang
   dịch vụ nào dùng lại component cũng ra đúng khoảng cách và màu chữ.
   ====================================================================== */

.hz-sec-head { margin-bottom: 40px; }
.hz-sec-head.is-tight { margin-bottom: 34px; }

/* Đầu khối nằm trên nền tối (khối dự án tiêu biểu của trang dịch vụ). */
.hz-sec-head.is-on-dark .hz-h2 { color: #fff; }
.hz-sec-head.is-on-dark .hz-eyebrow,
.hz-sec-head.is-on-dark .hz-h2 .hz-hl { color: #ff8a8d; }

/* Thẻ portfolio giờ là <a> (trước là <div>). */
.hz-tkpf { display: block; color: inherit; text-decoration: none; }
.hz-tkpf:hover { color: inherit; text-decoration: none; }

/* =========================================================================
   TỐI ƯU SAU KIỂM TOÁN 03/09/2026 – phần thuộc hazo-pages.css
   File này nạp SAU hazo-home.css nên các luật cùng độ ưu tiên phải đặt ở đây
   mới thắng được.
   ========================================================================= */

/* --- #28 Vùng bấm tối thiểu 44px ---------------------------------------- */
.hz-proj-industry-btn {
	min-height: 44px;
	padding: 0 16px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.hz-proj-industry-menu button { min-height: 44px; }
.hz-btn-ux { min-height: 44px; }
.hz-footer-bottom a { min-height: 44px; display: inline-flex; align-items: center; }
.hz-404-help a { min-height: 44px; display: inline-flex; align-items: center; }
.hz-blog-readmore { min-height: 44px; display: inline-flex; align-items: center; }

/* --- #09 Breadcrumb dạng <ol> trên nền tối của page-hero ----------------- */
.hz-crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hz-crumb li { display: inline-flex; align-items: center; gap: 6px; }
.hz-crumb li + li::before { content: "/"; opacity: .55; }
.hz-crumb span[aria-current] { color: #fff; }

/* --- Trang tĩnh (Chính sách bảo mật, Điều khoản...) ---------------------- */
.hz-prose { max-width: 78ch; }
.hz-prose h2 {
	font-family: var(--hz-font-d); font-size: 22px; font-weight: 700;
	margin: 34px 0 12px; color: var(--hz-ink);
}
.hz-prose h2:first-child { margin-top: 0; }
.hz-prose p { margin: 0 0 14px; color: var(--hz-muted); line-height: 1.75; }
.hz-prose ul { margin: 0 0 14px; padding-left: 22px; color: var(--hz-muted); line-height: 1.75; }
.hz-prose li { margin-bottom: 6px; }
.hz-prose strong { color: var(--hz-ink); }
.hz-prose a { color: var(--hz-red); text-decoration: underline; }

/* Nút mega menu kế thừa text-transform uppercase từ CSS button của Flatsome. */
.hz-nav > li > .hz-nav-toggle,
.hz-faq-q,
.hz-totop { text-transform: none; letter-spacing: normal; }

/* --- SỬA HỒI QUY: thẻ <main> chèn giữa header và section đầu tiên làm mất
   luật `.hz-header.is-transparent + .hz-top` (bộ chọn liền kề), khiến hero
   trượt lên nằm dưới header trong suốt. Khai báo lại qua <main>. --- */
.hz-header.is-transparent + main > .hz-top,
.hz-header.is-transparent + main > .hz-page-hero { padding-top: var(--hz-head); }

/* =========================================================================
   Khối "Khu vực phục vụ" (Local SEO) – parts/home/areas.php
   ========================================================================= */
.hz-areas { background: #fff6f4; }
.hz-areas-grid {
	list-style: none; margin: 34px 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.hz-area-card {
	display: flex; align-items: center; gap: 14px; height: 100%;
	background: #fff; border: 1px solid var(--hz-border); border-radius: 18px;
	padding: 18px 20px; min-height: 88px;
	transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
a.hz-area-card:hover {
	border-color: var(--hz-red);
	transform: translateY(-3px);
	box-shadow: 0 14px 30px -18px rgba(212, 35, 40, .45);
}
.hz-area-card.is-plain { background: #fffaf9; border-style: dashed; }
.hz-area-ic {
	flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px;
	background: #fdf1f1; color: var(--hz-red);
	display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.hz-area-card.is-plain .hz-area-ic { background: #f4f6f8; color: #98a1ae; }
.hz-area-txt { flex: 1 1 auto; min-width: 0; }
.hz-area-txt strong {
	display: block; font-family: var(--hz-font-d); font-size: 16px;
	font-weight: 600; line-height: 1.35; color: var(--hz-ink);
}
.hz-area-txt small { display: block; color: var(--hz-muted); font-size: 13px; margin-top: 3px; line-height: 1.45; }
a.hz-area-card:hover .hz-area-txt strong { color: var(--hz-red); }
.hz-area-go { flex: 0 0 auto; color: var(--hz-red); font-size: 14px; opacity: .55; transition: transform .25s ease, opacity .25s ease; }
a.hz-area-card:hover .hz-area-go { opacity: 1; transform: translateX(4px); }
.hz-areas-note { text-align: center; color: var(--hz-muted); margin: 26px 0 0; font-size: 15px; }
.hz-areas-note .hz-hl { color: var(--hz-red); font-weight: 600; }

@media (max-width: 1024px) {
	.hz-areas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.hz-areas-grid { grid-template-columns: 1fr; gap: 12px; }
	.hz-area-card { min-height: 0; padding: 15px 16px; }
}

/* --- Danh sách "khu vực lân cận" trên trang địa phương ------------------- */
.hz-local-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hz-local-list li { margin: 0; }
.hz-local-list a,
.hz-local-list span {
	display: inline-flex; align-items: center; gap: 7px; min-height: 44px;
	padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
	background: #fff; border: 1px solid var(--hz-border); color: var(--hz-ink);
}
.hz-local-list a:hover { border-color: var(--hz-red); color: var(--hz-red); }
.hz-local-list span { color: #98a1ae; border-style: dashed; }

/* Breadcrumb trên hero trang dịch vụ (nền sáng, khác page-hero nền tối) */
.hz-crumb-light { color: var(--hz-muted); font-size: .88rem; margin-bottom: 14px; }
.hz-crumb-light a { color: var(--hz-muted); }
.hz-crumb-light a:hover { color: var(--hz-red); }
.hz-crumb-light span[aria-current] { color: var(--hz-ink); font-weight: 500; }

/* --- SỬA HỒI QUY: thẻ <nav class="hz-nav-wrap"> (thêm để có landmark cho trình
   đọc màn hình) chen vào giữa .hz-header-inner và .hz-nav, làm mất flex-grow.
   Hệ quả: menu không giãn ra nữa và nút CTA không còn nằm sát mép phải. Lỗi này
   bị che khuất khi menu còn 6 mục (nội dung đủ rộng), chỉ lộ ra khi bỏ 2 mục
   "Sắp ra mắt" còn 4 mục. Chuyển flex-grow lên đúng thẻ bọc. --- */
.hz-nav-wrap { flex: 1 1 auto; min-width: 0; display: flex; }

@media (max-width: 1024px) {
	/* Menu đã ẩn (dùng hamburger) nên thẻ bọc không được chiếm chỗ của logo/CTA. */
	.hz-nav-wrap { flex: 0 0 auto; }
}
