/* VTVgo Hero — full banner image, content overlay left */
.vtv-hero {
	position: relative;
	overflow: hidden;
	background: #0a0e1a;
}

/* Không dùng padding/slide của template .main-slider */
.vtv-hero.main-slider {
	overflow: hidden;
}

.vtv-hero-box {
	position: relative;
	width: 100%;
	line-height: 0;
	background: #0a0e1a;
}

/* Chiều cao box = ảnh (width 100%, height auto) → không cắt góc đỏ */
.vtv-hero-bg {
	position: relative;
	z-index: 0;
}

.vtv-hero-bg img {
	width: 100%;
	height: auto;
	max-width: 100%;
	display: block;
	vertical-align: top;
}

/* Overlay — không dùng gradient, chỉ giữ lớp cho cấu trúc */
.vtv-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: none;
	pointer-events: none;
}



/* Hide residual sparkle bottom-right */
.vtv-hero-box::after {
	content: '';
	position: absolute;
	right: 0;
	bottom: 0;
	width: 72px;
	height: 72px;
	z-index: 2;
	background: radial-gradient(circle at 100% 100%, #1a1048 0%, #12082e 45%, transparent 72%);
	pointer-events: none;
}

.vtv-hero-content-wrap {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	align-items: flex-start;
	box-sizing: border-box;
	padding: clamp(20px, 3.5vw, 36px) 15px 48px;
	/* Căn trái cùng hàng với header (margin box = 0, chỉ padding) */
	padding-left: max(15px, calc((100vw - 1320px) / 2 + 15px));
}

.vtv-hero-content-wrap .auto-container {
	position: static;
	width: 100%;
	max-width: 1320px;
	margin: 0;
	padding: 0;
}

.vtv-hero-content {
	position: relative;
	max-width: 560px;
	transform: translate(-150px, 8px);
}

/* Override slider animation — h1 must always show */
.vtv-hero.main-slider .vtv-hero-title,
.vtv-hero.main-slider h1.vtv-hero-title {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

.vtv-hero-title {
	display: block;
	font-family: 'Poppins', sans-serif;
	font-size: clamp(32px, 4.2vw, 54px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: #ffffff;
	margin: 0 0 24px;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

.vtv-hero-title-line {
	display: block;
}

.vtv-hero-title-nowrap {
	white-space: nowrap;
}

.vtv-hero-title .text-accent {
	color: #ff4522;
	font-weight: 800;
}

.vtv-hero-desc {
	font-family: 'Poppins', sans-serif;
	font-size: clamp(14px, 1.3vw, 17px);
	font-weight: 400;
	line-height: 1.65;
	color: #d8dce6;
	margin: 0 0 28px;
	max-width: 500px;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.vtv-hero-btns {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-bottom: 28px;
}

.vtv-hero-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 26px;
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 50px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
	white-space: nowrap;
}

.vtv-hero-btn-primary {
	color: #ffffff;
	background: linear-gradient(90deg, #e60012 0%, #ff4d1a 100%);
	box-shadow: 0 4px 18px rgba(230, 0, 18, 0.4);
}

.vtv-hero-btn-primary:hover {
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 6px 22px rgba(230, 0, 18, 0.5);
}

.vtv-hero-btn-secondary {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.28);
}

.vtv-hero-btn-secondary:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.16);
	transform: translateY(-2px);
}

.vtv-hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.vtv-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	font-family: 'Poppins', sans-serif;
	font-size: 12px;
	font-weight: 500;
	color: #e8eaef;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 50px;
	backdrop-filter: blur(4px);
}

.vtv-hero-badge .fa {
	color: #ff4d1a;
	font-size: 14px;
}

/* —— Tablet —— */
@media (max-width: 991px) {
	.vtv-hero-overlay {
		background: linear-gradient(
			180deg,
			transparent 0%,
			rgba(1, 12, 58, 0.35) 35%,
			rgba(1, 12, 58, 0.88) 65%,
			rgba(1, 12, 58, 0.96) 100%
		);
	}

	.vtv-hero-content-wrap {
		align-items: flex-end;
		padding: 28px 20px 36px;
		padding-left: max(16px, calc((100vw - 1320px) / 2 + 16px));
	}

	.vtv-hero-content {
		max-width: 100%;
		transform: none;
	}

	.vtv-hero-title {
		font-size: clamp(26px, 6.5vw, 38px);
		margin-bottom: 16px;
	}

	.vtv-hero-title-nowrap {
		white-space: normal;
	}

	.vtv-hero-desc {
		max-width: 100%;
		margin-bottom: 22px;
		font-size: clamp(14px, 2.8vw, 16px);
	}

	.vtv-hero-btns {
		margin-bottom: 22px;
	}

	.vtv-hero-badges {
		gap: 8px;
	}

	.vtv-hero-badge {
		font-size: 11px;
		padding: 7px 12px;
	}
}

/* —— Mobile —— */
@media (max-width: 767px) {
	.vtv-hero-bg img {
		width: 100%;
		height: auto;
		min-height: 200px;
		object-fit: cover;
		object-position: center top;
	}

	.vtv-hero-content-wrap {
		padding: 24px 16px 32px;
		padding-left: 16px;
		padding-right: 16px;
	}

	.vtv-hero-title {
		font-size: clamp(24px, 7vw, 32px);
		line-height: 1.15;
	}

	.vtv-hero-desc {
		line-height: 1.55;
		margin-bottom: 20px;
	}

	.vtv-hero-btns {
		gap: 10px;
	}

	.vtv-hero-btn {
		padding: 12px 22px;
		font-size: 14px;
	}

	.vtv-hero-box::after {
		width: 48px;
		height: 48px;
	}
}

/* —— Mobile nhỏ: ảnh trên, nội dung dưới (tránh chữ đè banner) —— */
@media (max-width: 575px) {
	.vtv-hero-box {
		display: flex;
		flex-direction: column;
	}

	.vtv-hero-bg {
		position: relative;
		flex-shrink: 0;
	}

	.vtv-hero-bg img {
		min-height: 0;
		max-height: 220px;
		object-fit: cover;
		object-position: center center;
	}

	.vtv-hero-overlay {
		display: none;
	}

	.vtv-hero-content-wrap {
		position: relative;
		inset: auto;
		flex: 1;
		align-items: stretch;
		background: linear-gradient(180deg, #0c1428 0%, #0a0e1a 100%);
		padding: 22px 16px 28px;
	}

	.vtv-hero-content {
		transform: none;
	}

	.vtv-hero-title {
		font-size: 24px;
		margin-bottom: 14px;
		text-shadow: none;
	}

	.vtv-hero-desc {
		font-size: 14px;
		margin-bottom: 18px;
		text-shadow: none;
	}

	.vtv-hero-btns {
		flex-direction: column;
		align-items: stretch;
		margin-bottom: 18px;
	}

	.vtv-hero-btn {
		justify-content: center;
		width: 100%;
		white-space: normal;
	}

	.vtv-hero-badges {
		justify-content: flex-start;
	}

	.vtv-hero-badge {
		font-size: 11px;
	}

	.vtv-hero-box::after {
		display: none;
	}
}

@media (max-width: 479px) {
	.vtv-hero-bg img {
		max-height: 190px;
	}

	.vtv-hero-content-wrap {
		padding: 20px 14px 24px;
	}

	.vtv-hero-title {
		font-size: 22px;
	}

	.vtv-hero-desc {
		font-size: 13px;
	}

	.vtv-hero-badge {
		padding: 6px 10px;
		font-size: 10px;
	}

	.vtv-hero-badge .fa {
		font-size: 12px;
	}
}
