/* Trang chu Nha Viet (S2B — giong trang cu). */
.nv-khoi {
	padding: 48px 0;
}
.nv-khoi-tieu-de {
	text-align: center;
	text-transform: uppercase;
	font-family: "Roboto Condensed", sans-serif;
	font-weight: 400;
	font-size: 36px;
	color: #09a250;
	margin: 0 0 48px;
}
.nv-khoi-tieu-de::after {
	display: none;
}
.nv-giua {
	text-align: center;
	margin: 0;
}
.nv-nut-xem-tat-ca {
	display: inline-block;
	background: #09a250;
	color: #fff;
	font-size: 14px;
	padding: 8px 20px;
	margin-top: 25px;
	border: 0;
	border-radius: 0;
	cursor: pointer;
}
a.nv-nut-xem-tat-ca {
	color: #fff;
}
.nv-nut-xem-tat-ca:hover {
	color: #fff;
	opacity: 0.9;
}

/* ---------- Khoi 1: Banner ---------- */
.nv-banner-khoi {
	padding: 0;
}
.nv-banner {
	position: relative;
	overflow: hidden;
	width: 100%;
	background: #f2f2f2;
}
.nv-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.6s ease;
	pointer-events: none;
}
.nv-slide.hien {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}
.nv-slide a {
	display: block;
	width: 100%;
	height: 100%;
}
.nv-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
/* Ti le 1425x664, khong chu, khong lop phu. */
.nv-banner,
.nv-slide a {
	aspect-ratio: 1425 / 664;
}
.nv-banner-cham {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 12px;
	z-index: 2;
	display: flex;
	gap: 8px;
	justify-content: center;
}
.nv-banner-cham button {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, 0.7);
	cursor: pointer;
	padding: 0;
}
.nv-banner-cham button.hien {
	background: #fff;
}

/* ---------- Khoi 2: Gioi thieu ---------- */
.nv-gioi-thieu-tieu-de {
	text-align: center;
	text-transform: uppercase;
	font-weight: 500;
	font-size: 30px;
	color: #000;
	margin: 0 0 48px;
	line-height: 1.4;
}
.nv-gioi-thieu-tieu-de span {
	color: #09a250;
}
.nv-3o {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 24px;
}
.nv-o {
	background: #fff;
	border: 0;
	text-align: center;
}
.nv-o img {
	display: block;
	margin: 0 auto 16px;
	max-width: 100px;
	height: auto;
}
.nv-o h3 {
	font-family: "Roboto Condensed", sans-serif;
	text-transform: uppercase;
	font-size: 18px;
	font-weight: 400;
	color: #09a250;
	margin: 0 0 12px;
}
.nv-o p {
	font-size: 13px;
	color: #000;
	text-align: justify;
	margin: 0 0 12px;
	line-height: 1.7;
}
.nv-o a {
	font-size: 13px;
	color: #09a250;
}

/* ---------- Carousel 3 the (khoi 3, khoi 6) ---------- */
.nv-carousel {
	position: relative;
}
.nv-carousel-cua {
	overflow: hidden;
	margin: 0 48px;
}
.nv-carousel-ray {
	display: flex;
	gap: 30px;
	transition: transform 0.5s ease;
}
.nv-carousel-ray .nv-the,
.nv-carousel-ray .nv-tin {
	flex: 0 0 calc((100% - 60px) / 3);
	max-width: calc((100% - 60px) / 3);
	margin-bottom: 0;
}
.nv-carousel-nut {
	position: absolute;
	top: 35%;
	z-index: 2;
	background: none;
	border: 0;
	color: #999;
	font-size: 44px;
	line-height: 1;
	cursor: pointer;
	padding: 0 6px;
}
.nv-carousel-truoc {
	left: 0;
}
.nv-carousel-sau {
	right: 0;
}
.nv-carousel-nut:hover {
	color: #09a250;
}

/* ---------- Khoi 4, 5: dai tieu de nen toi ---------- */
.nv-khoi-dai {
	padding-top: 0;
}
.nv-dai {
	position: relative;
	background-size: cover;
	background-position: center;
	min-height: 140px;
	display: flex;
	align-items: center;
	margin-bottom: 40px;
}
.nv-dai::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}
.nv-dai .nv-khung {
	position: relative;
	z-index: 1;
	width: 100%;
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
}
.nv-dai-tieu-de {
	color: #fff;
	text-transform: uppercase;
	font-family: "Roboto Condensed", sans-serif;
	font-weight: 400;
	font-size: 36px;
	margin: 0 0 10px;
}
.nv-tab-trang {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
}
.nv-tab-trang button {
	background: none;
	border: 0;
	color: #fff;
	font-family: "Roboto Condensed", sans-serif;
	text-transform: uppercase;
	font-size: 18px;
	cursor: pointer;
	padding: 4px 6px;
}
.nv-tab-trang button.chon {
	text-decoration: underline;
	text-underline-offset: 4px;
}
.nv-tab-ngan {
	color: #fff;
	font-size: 18px;
}

/* ---------- Khoi 6: tin tuc ---------- */
.nv-tin {
	background: #fff;
}
.nv-tin-anh {
	display: block;
	aspect-ratio: 380 / 255;
	overflow: hidden;
	background: #f2f2f2;
}
.nv-tin-anh img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}
.nv-tin:hover .nv-tin-anh img {
	transform: scale(1.05);
}
.nv-tin-hop {
	background: #fff;
	padding: 10px 15px;
	height: 60px;
	overflow: hidden;
}
.nv-tin-hop h3 {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.nv-tin-hop h3 a {
	color: #000;
}

/* ---------- Khoi 7: SEO ---------- */
.nv-seo-rut-gon {
	position: relative;
	max-height: 220px;
	overflow: hidden;
	font-size: 14px;
	line-height: 1.8;
	color: #000;
}
.nv-seo-rut-gon::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 80px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
	pointer-events: none;
}
.nv-seo-rut-gon.mo {
	max-height: none;
}
.nv-seo-rut-gon.mo::after {
	display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
	.nv-3o {
		grid-template-columns: 1fr 1fr;
	}
	.nv-carousel-ray .nv-the,
	.nv-carousel-ray .nv-tin {
		flex: 0 0 calc((100% - 30px) / 2);
		max-width: calc((100% - 30px) / 2);
	}
}
@media (max-width: 767px) {
	.nv-khoi {
		padding: 36px 0;
	}
	.nv-khoi-tieu-de {
		font-size: 26px;
		margin-bottom: 32px;
	}
	.nv-gioi-thieu-tieu-de {
		font-size: 22px;
		margin-bottom: 32px;
	}
	.nv-dai-tieu-de {
		font-size: 26px;
	}
	.nv-tab-trang button,
	.nv-tab-ngan {
		font-size: 15px;
	}
	.nv-3o {
		grid-template-columns: 1fr;
		max-width: 520px;
		margin: 0 auto;
	}
	/* Bang chuyen 1 the, luoi 1 cot tren di dong. */
	.nv-carousel-cua {
		margin: 0 40px;
	}
	.nv-carousel-ray .nv-the,
	.nv-carousel-ray .nv-tin {
		flex: 0 0 100%;
		max-width: 100%;
	}
}
