/* ==========================================================================
   Trang Lưu trữ Dự án + Danh mục/Thẻ dự án — PORT giao diện trang danh mục dự án
   của nahaki.com.vn (/bep-nha-hang/) sang innox.
   TẤT CẢ rule scope dưới body.vhm-portfolio-archive (chỉ áp trang archive Dự án).

   Cấu trúc & class tái tạo nguyên từ nahaki:
     .banner-projectss · .content-intro-project · .banner-support
     .project-hot > .vhm-project-list > .item-list-project-hot > .btn-project-hot
     .content-new > .text-top-intro-produtcs
   ========================================================================== */

/* Ẩn tiêu đề mặc định của Flatsome (ta tự dựng banner riêng). */
.vhm-portfolio-archive .portfolio-page-wrapper > .page-title {
	display: none;
}
.vhm-portfolio-archive .vhm-project-archive {
	overflow: hidden;
}

/* ----- Banner tiêu đề (giống .banner-projectss của nahaki) ----- */
.vhm-portfolio-archive .banner-projectss {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 210px;
	margin-bottom: 40px;
	padding: 30px 20px;
	background: linear-gradient(120deg, #1c1c1c 0%, #3d3d3d 60%, #4a4a4a 100%);
	border-bottom: 4px solid var(--fs-color-secondary);
	text-align: center;
}
.vhm-portfolio-archive .banner-projectss:after {
	/* Lớp vân mờ cho banner đỡ trống. */
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 80% 50%, color-mix(in srgb, var(--fs-color-secondary) 25%, transparent), transparent 55%);
	pointer-events: none;
}
.vhm-portfolio-archive .banner-projectss .text-banner-project {
	position: relative;
	z-index: 1;
	width: 90%;
	color: #fff;
}
.vhm-portfolio-archive .banner-projectss h1 {
	margin: 0;
	color: #fff;
	font-family: 'UTM Helve', UTMHelve, sans-serif;
	font-weight: bold;
	font-size: 44px;
	line-height: 1.2;
	text-transform: uppercase;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* ----- Breadcrumb (rank-math style của nahaki) ----- */
.vhm-portfolio-archive .content-intro-project {
	margin-bottom: 10px;
}
.vhm-portfolio-archive .rank-math-breadcrumb {
	margin: 6px 0 10px;
	font-size: 18px;
}
.vhm-portfolio-archive .rank-math-breadcrumb p {
	margin: 0;
	color: #333;
}
.vhm-portfolio-archive .rank-math-breadcrumb a {
	color: var(--fs-color-secondary);
	font-weight: 700;
}
.vhm-portfolio-archive .rank-math-breadcrumb .separator {
	margin: 0 4px;
	color: #999;
}

/* ----- Dải hotline (giống .banner-support của nahaki) ----- */
.vhm-portfolio-archive .banner-support {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 190px;
	margin-bottom: 45px;
	border-radius: 10px;
	overflow: hidden;
	background: linear-gradient(90deg, var(--fs-color-secondary) 0%, color-mix(in srgb, var(--fs-color-secondary) 72%, #000) 100%);
	box-shadow: 0 8px 26px color-mix(in srgb, var(--fs-color-secondary) 25%, transparent);
}
/* Hình trang trí bên phải (biểu tượng điện thoại lớn mờ). */
.vhm-portfolio-archive .banner-support .bg-banner-support {
	position: absolute;
	top: 50%;
	right: 36px;
	transform: translateY(-50%);
	width: 230px;
	height: 230px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.4 0 .8-.3 1l-2.2 2.2z'/%3E%3C/svg%3E") no-repeat center / contain;
	opacity: 0.14;
	pointer-events: none;
}
.vhm-portfolio-archive .banner-support .text-left-banner-support {
	position: relative;
	z-index: 1;
	width: 70%;
	color: #fff;
	padding: 22px 30px 22px 60px;
}
.vhm-portfolio-archive .banner-support .text-left-banner-support h3 {
	margin: 0;
	color: #fff;
	font-family: 'UTM Helve', UTMHelve, sans-serif;
	font-weight: bold;
	font-style: italic;
	font-size: 24px;
	text-transform: uppercase;
}
.vhm-portfolio-archive .banner-support .text-left-banner-support h2 {
	margin: 4px 0 12px;
	font-family: 'UTM Helve', UTMHelve, sans-serif;
	font-weight: bold;
	font-style: italic;
	font-size: 46px;
	line-height: 1;
}
.vhm-portfolio-archive .banner-support .text-left-banner-support h2 a {
	color: #fff;
}
.vhm-portfolio-archive .banner-support .btn-popup-project {
	display: inline-block;
	padding: 10px 28px;
	border-radius: 50px;
	background: #fff;
	color: var(--fs-color-secondary) !important;
	font-size: 16px;
	text-transform: uppercase;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vhm-portfolio-archive .banner-support .btn-popup-project:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.vhm-portfolio-archive .banner-support .text-left-banner-support p {
	margin: 12px 0 0;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.92);
}

/* ----- Lưới dự án (giống .project-hot / .item-list-project-hot của nahaki) ----- */
.vhm-portfolio-archive .project-hot {
	margin-bottom: 10px;
}
/* Lưới rộng hơn phần text (container-fluid), có đệm 2 bên, không tràn sát mép. */
.vhm-portfolio-archive .project-hot .container-fluid {
	width: 100%;
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 15px;
}
.vhm-portfolio-archive .vhm-project-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

/* Card: ảnh nền + hộp tiêu đề mờ phủ giữa (đặc trưng nahaki). */
.vhm-portfolio-archive .item-list-project-hot {
	position: relative;
	overflow: hidden;
	border-radius: 6px;
}
.vhm-portfolio-archive .item-list-project-hot .vhm-project-link {
	display: block;
	position: relative;
}
.vhm-portfolio-archive .item-list-project-hot img,
.vhm-portfolio-archive .item-list-project-hot .vhm-noimg {
	display: block;
	width: 100%;
	aspect-ratio: 490 / 331;
	object-fit: cover;
	background: #e6e6e6;
	transition: transform 0.5s ease;
}
.vhm-portfolio-archive .item-list-project-hot:hover img {
	transform: scale(1.06);
}
/* Lớp phủ chứa tiêu đề: phủ toàn ảnh, canh giữa. */
.vhm-portfolio-archive .item-list-project-hot .btn-project-hot {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px;
}
/* Hộp tiêu đề: nền đen mờ + viền trắng (phóng to khi hover). */
.vhm-portfolio-archive .item-list-project-hot .btn-project-hot span {
	display: block;
	width: 92%;
	padding: 22px 28px;
	background: rgba(0, 0, 0, 0.62);
	border: 1px solid #fff;
	color: #fff;
	font-family: 'UTM Helve', UTMHelve, sans-serif;
	font-weight: bold;
	font-size: 19px;
	line-height: 1.35;
	text-align: center;
	text-transform: uppercase;
	transition: transform 0.4s ease, background 0.3s ease;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.vhm-portfolio-archive .item-list-project-hot:hover .btn-project-hot span {
	transform: scale(1.08);
	background: color-mix(in srgb, var(--fs-color-secondary) 82%, transparent);
}

.vhm-portfolio-archive .vhm-no-project {
	padding: 40px 0;
	text-align: center;
	color: #777;
	font-size: 17px;
}

/* ----- Phân trang (ô số đỏ, giống các trang archive khác) ----- */
.vhm-portfolio-archive .vhm-project-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 30px 0 10px;
	padding: 0;
	list-style: none;
	border: 0;
}
.vhm-portfolio-archive .vhm-project-pagination li {
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}
.vhm-portfolio-archive .vhm-project-pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #fff;
	color: #333;
	font-weight: 600;
	line-height: 1;
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.vhm-portfolio-archive .vhm-project-pagination a.page-numbers:hover {
	border-color: var(--fs-color-secondary);
	color: var(--fs-color-secondary);
}
.vhm-portfolio-archive .vhm-project-pagination .page-numbers.current {
	border-color: var(--fs-color-secondary);
	background: var(--fs-color-secondary);
	color: #fff;
}

/* ----- Bài viết mô tả danh mục dưới lưới (.text-top-intro-produtcs) ----- */
.vhm-portfolio-archive .content-new {
	margin-top: 30px;
}
.vhm-portfolio-archive .content-new .container {
	max-width: 1230px;
}
.vhm-portfolio-archive .text-top-intro-produtcs {
	color: #333;
	font-size: 16px;
	line-height: 1.8;
}
.vhm-portfolio-archive .text-top-intro-produtcs h2,
.vhm-portfolio-archive .text-top-intro-produtcs h3,
.vhm-portfolio-archive .text-top-intro-produtcs h4 {
	margin: 26px 0 12px;
	color: var(--fs-color-secondary);
	font-weight: 700;
	line-height: 1.35;
}
.vhm-portfolio-archive .text-top-intro-produtcs h2 { font-size: 24px; }
.vhm-portfolio-archive .text-top-intro-produtcs h3 { font-size: 20px; }
.vhm-portfolio-archive .text-top-intro-produtcs h4 { font-size: 18px; }
.vhm-portfolio-archive .text-top-intro-produtcs p {
	margin: 0 0 16px;
}
.vhm-portfolio-archive .text-top-intro-produtcs img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}
.vhm-portfolio-archive .text-top-intro-produtcs ul,
.vhm-portfolio-archive .text-top-intro-produtcs ol {
	margin: 0 0 16px 4px;
	padding-left: 20px;
}
.vhm-portfolio-archive .text-top-intro-produtcs a {
	color: var(--fs-color-primary);
	text-decoration: underline;
}

/* ==========================================================================
   Responsive (theo các breakpoint của nahaki).
   ========================================================================== */
@media (max-width: 991px) {
	.vhm-portfolio-archive .banner-projectss h1 { font-size: 34px; }
	.vhm-portfolio-archive .banner-support .text-left-banner-support h2 { font-size: 38px; }
	.vhm-portfolio-archive .item-list-project-hot .btn-project-hot span {
		font-size: 17px;
		padding: 16px 20px;
	}
}

@media (max-width: 767px) {
	/* 2 cột như nahaki (col-6). */
	.vhm-portfolio-archive .vhm-project-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	.vhm-portfolio-archive .banner-projectss {
		min-height: 150px;
		margin-bottom: 26px;
	}
	.vhm-portfolio-archive .banner-projectss h1 { font-size: 26px; }
	.vhm-portfolio-archive .rank-math-breadcrumb { font-size: 15px; }

	/* Dải hotline: bỏ hình nền, chuyển khối đỏ đặc, canh giữa. */
	.vhm-portfolio-archive .banner-support {
		min-height: 0;
		margin-bottom: 28px;
	}
	.vhm-portfolio-archive .banner-support .bg-banner-support { display: none; }
	.vhm-portfolio-archive .banner-support .text-left-banner-support {
		width: 100%;
		padding: 18px;
		text-align: center;
	}
	.vhm-portfolio-archive .banner-support .text-left-banner-support h2 { font-size: 30px; }

	.vhm-portfolio-archive .item-list-project-hot .btn-project-hot span {
		font-size: 14px;
		padding: 12px 14px;
		width: 94%;
	}
}

@media (max-width: 479px) {
	.vhm-portfolio-archive .banner-projectss h1 { font-size: 22px; }
	.vhm-portfolio-archive .item-list-project-hot .btn-project-hot span {
		font-size: 12px;
		padding: 8px 10px;
		-webkit-line-clamp: 2;
	}
	.vhm-portfolio-archive .text-top-intro-produtcs { font-size: 15px; }
	.vhm-portfolio-archive .text-top-intro-produtcs h2 { font-size: 21px; }
	.vhm-portfolio-archive .text-top-intro-produtcs h3 { font-size: 18px; }
}
