/* Featured slider — viền blob đỏ template (service-border-layer) */
.vtv-featured-slider {
	position: relative;
}

.vtv-featured-visual {
	position: relative;
	padding: 0 48px;
	overflow: hidden;
}

.vtv-featured-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 30;
	width: 46px;
	height: 46px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(15, 18, 25, 0.55);
	color: #ffffff;
	font-size: 28px;
	line-height: 46px;
	text-align: center;
	cursor: pointer;
	transition: background 0.25s ease, transform 0.25s ease;
}

.vtv-featured-nav:hover {
	background: rgba(230, 0, 18, 0.9);
	transform: translateY(-50%) scale(1.05);
}

.vtv-featured-nav--prev {
	left: 0;
}

.vtv-featured-nav--next {
	right: 0;
}

.vtv-featured-nav .fa {
	line-height: 46px;
}

/* Giống hệt .services-section .image-column (ảnh mẫu blob viền đỏ) */
.vtv-featured-slider .image-column .inner-column {
	position: relative;
}

.vtv-featured-slider .image-column .color-layer {
	position: absolute;
	left: -15px;
	bottom: -15px;
	right: 60px;
	height: 100%;
	z-index: 0;
	background: url(../images/resource/service-pattern-layer.png) no-repeat;
	background-size: cover;
}

.vtv-featured-slider .image-column .border-layer {
	position: absolute;
	left: 30px;
	bottom: 40px;
	right: 0;
	top: -25px;
	z-index: 3;
	pointer-events: none;
	background: url(../images/resource/service-border-layer.png) no-repeat;
	background-size: 100% 100%;
	/* Nền đen PNG trong suốt → chỉ giữ viền đỏ blob */
	mix-blend-mode: screen;
}

.vtv-featured-slides {
	position: relative;
	z-index: 1;
	min-height: 380px;
}

.services-section .lower-section .vtv-featured-slider {
	padding-top: 0;
	overflow: hidden;
}

.services-section .lower-section .vtv-featured-slider .row.clearfix {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.vtv-featured-slide {
	display: none;
	opacity: 0;
	transition: opacity 0.45s ease;
}

.vtv-featured-slide.active {
	display: block;
	opacity: 1;
}

.vtv-featured-slider .image-column .image {
	position: relative;
	z-index: 1;
	line-height: 0;
}

.vtv-featured-slider .image-column .image img {
	position: relative;
	width: 100%;
	height: auto;
	display: block;
}

/* Nội dung phải */
.vtv-featured-slider .content-column .inner-column {
	padding-left: 30px;
	min-height: 380px;
	display: flex;
	align-items: center;
}

.vtv-featured-contents {
	position: relative;
	width: 100%;
	min-height: 260px;
}

.vtv-featured-content {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.45s ease, visibility 0.45s ease;
}

.vtv-featured-content.active {
	position: relative;
	opacity: 1;
	visibility: visible;
}

.vtv-featured-content .sec-title {
	margin-bottom: 18px;
}

.vtv-featured-content .sec-title .title {
	color: var(--main-color);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 10px;
}

.vtv-featured-content .sec-title h2 {
	font-size: clamp(24px, 2.8vw, 36px);
	line-height: 1.25;
	margin: 0;
}

.vtv-featured-content .bold-text {
	font-weight: 500;
	line-height: 1.7;
	color: var(--dark-color);
	font-size: 17px;
	margin-bottom: 18px;
}

.vtv-featured-content .bold-text.desc {
	margin-bottom: 0;
}

.vtv-watch-now-btn {
	display: inline-block;
	margin-top: 22px;
	padding: 12px 34px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	color: #ffffff;
	background-color: #e31837;
	border: 2px solid #e31837;
	border-radius: 28px;
	text-decoration: none;
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.vtv-watch-now-btn:hover,
.vtv-watch-now-btn:focus {
	color: #ffffff;
	background-color: #000000;
	border-color: #000000;
}

/* —— Tablet —— */
@media (max-width: 991px) {
	.services-section .lower-section {
		padding-top: 48px;
	}

	.services-section .lower-section .vtv-featured-slider .row.clearfix {
		flex-direction: column;
		align-items: stretch;
	}

	/* Ảnh trên, chữ dưới (override order mặc định của template) */
	.services-section .lower-section .vtv-featured-slider .image-column {
		order: 1;
		margin-bottom: 20px;
	}

	.services-section .lower-section .vtv-featured-slider .content-column {
		order: 2;
		margin-bottom: 0;
	}

	.vtv-featured-visual {
		padding: 0 44px;
		max-width: 520px;
		margin-left: auto;
		margin-right: auto;
	}

	.vtv-featured-slides {
		min-height: 0;
	}

	.vtv-featured-slider .content-column .inner-column {
		padding-left: 0;
		padding-top: 8px;
		min-height: 0;
		display: block;
	}

	.vtv-featured-contents {
		min-height: 0;
	}

	.vtv-featured-content .sec-title h2 {
		font-size: clamp(22px, 5vw, 30px);
	}

	.vtv-featured-content .bold-text {
		font-size: 16px;
		margin-bottom: 14px;
	}
}

/* —— Mobile —— */
@media (max-width: 767px) {
	.vtv-featured-visual {
		padding: 0 38px;
		max-width: 100%;
	}

	.vtv-featured-slider .image-column .color-layer {
		display: none;
	}

	.vtv-featured-slider .image-column .border-layer {
		left: 16px;
		right: 4px;
		bottom: 24px;
		top: -12px;
		background-size: 100% 100%;
	}

	.vtv-featured-contents {
		min-height: 0;
	}

	.vtv-featured-content {
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
	}

	.vtv-featured-content.active {
		position: relative;
	}

	.vtv-watch-now-btn {
		margin-top: 18px;
		padding: 11px 28px;
		font-size: 14px;
	}
}

/* —— Mobile nhỏ —— */
@media (max-width: 575px) {
	.vtv-featured-visual {
		padding: 0 34px;
	}

	.vtv-featured-nav {
		width: 36px;
		height: 36px;
		font-size: 20px;
		line-height: 36px;
	}

	.vtv-featured-nav .fa {
		line-height: 36px;
	}

	.vtv-featured-nav--prev {
		left: 2px;
	}

	.vtv-featured-nav--next {
		right: 2px;
	}

	.vtv-featured-slider .image-column .border-layer {
		left: 12px;
		right: 2px;
		bottom: 18px;
		top: -8px;
	}

	.vtv-featured-content .sec-title h2 {
		font-size: 22px;
	}

	.vtv-featured-content .bold-text {
		font-size: 15px;
		line-height: 1.6;
	}
}

/* Template ẩn .border-layer ở ≤479px — giữ viền cho slider VTV */
@media (max-width: 479px) {
	.vtv-featured-slider .image-column .border-layer {
		display: block !important;
		left: 10px;
		right: 0;
		bottom: 14px;
		top: -6px;
	}

	.vtv-featured-visual {
		padding: 0 30px;
	}

	.vtv-featured-nav {
		width: 34px;
		height: 34px;
		font-size: 18px;
		line-height: 34px;
	}

	.vtv-featured-nav .fa {
		line-height: 34px;
	}

	.vtv-featured-content .sec-title .title {
		font-size: 13px;
	}

	.vtv-featured-content .sec-title h2 {
		font-size: 20px;
	}

	.vtv-watch-now-btn {
		display: block;
		width: fit-content;
		max-width: 100%;
		text-align: center;
	}
}
