.khanhnq-video-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(var(--khanhnq-video-cols-pc, 4), 1fr);
	margin: 24px 0;
}

.khanhnq-video-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	overflow: hidden;
	transition: box-shadow 0.2s, transform 0.2s;
	display: flex;
	flex-direction: column;
}

.khanhnq-video-card:hover {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

.khanhnq-video-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.khanhnq-video-card__thumb {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #0f172a;
	overflow: hidden;
}

.khanhnq-video-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.khanhnq-video-card__thumb .khanhnq-video-card__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 48px;
	color: rgba(255, 255, 255, 0.4);
}

.khanhnq-video-card__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: #fff;
	background: rgba(0, 0, 0, 0.55);
	border: 2px solid rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	transition: background 0.2s;
}

.khanhnq-video-card:hover .khanhnq-video-card__play {
	background: rgba(34, 113, 177, 0.85);
}

.khanhnq-video-card__duration {
	position: absolute;
	right: 8px;
	bottom: 8px;
	padding: 2px 6px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	background: rgba(0, 0, 0, 0.75);
	border-radius: 4px;
}

.khanhnq-video-card__title {
	margin: 12px 12px 6px;
	font-size: 15px;
	line-height: 1.4;
	font-weight: 600;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.khanhnq-video-card:hover .khanhnq-video-card__title {
	color: #2271b1;
}

.khanhnq-video-card__desc {
	margin: 0 12px 12px;
	font-size: 13px;
	line-height: 1.5;
	color: #6b7280;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.khanhnq-video-empty {
	text-align: center;
	color: #6b7280;
	padding: 40px 0;
}

.khanhnq-video-grid-pagination {
	text-align: center;
	margin: 24px 0;
}

.khanhnq-video-grid-pagination .page-numbers {
	display: inline-block;
	padding: 6px 12px;
	margin: 0 2px;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	text-decoration: none;
	color: #374151;
	background: #fff;
}

.khanhnq-video-grid-pagination .page-numbers.current {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

.khanhnq-video-player {
	margin: 24px 0;
}

.khanhnq-video-player video {
	width: 100%;
	height: auto;
	max-height: 70vh;
	border-radius: 10px;
	background: #000;
	display: block;
}

.khanhnq-video-single-wrapper {
	padding: 24px 0;
}

.khanhnq-video-single {
	max-width: 1120px;
	margin: 0 auto;
}

.khanhnq-video-single__main {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}

.khanhnq-video-single__player {
	min-width: 0;
}

.khanhnq-video-single__player .khanhnq-video-player {
	margin: 0;
}

.khanhnq-video-single__info {
	min-width: 0;
}

.khanhnq-video-single__title {
	font-size: 26px;
	line-height: 1.35;
	margin: 0 0 8px;
}

.khanhnq-video-single .khanhnq-video-player {
	margin: 16px 0;
}

.khanhnq-video-single__keywords {
	margin-top: 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.khanhnq-video-single__keywords-label {
	font-weight: 600;
	color: #374151;
}

.khanhnq-video-single__tag {
	display: inline-block;
	padding: 4px 12px;
	font-size: 13px;
	line-height: 1.4;
	color: #2271b1;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 999px;
}

.khanhnq-video-single__related {
	margin-top: 40px;
}

.khanhnq-video-slider-block {
	margin: 24px 0;
}

.khanhnq-video-single__related-title {
	font-size: 20px;
	line-height: 1.3;
	margin: 0 0 16px;
}

.khanhnq-video-slider {
	position: relative;
}

.khanhnq-video-slider__track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding: 4px 2px 12px;
	scrollbar-width: none;
}

.khanhnq-video-slider__track::-webkit-scrollbar {
	display: none;
}

.khanhnq-video-slider__track .khanhnq-video-card {
	flex: 0 0 260px;
	scroll-snap-align: start;
}

.khanhnq-video-slider__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e5e7eb;
	border-radius: 50%;
	background: #fff;
	color: #374151;
	font-size: 15px;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	transition: background 0.2s, color 0.2s;
}

.khanhnq-video-slider__btn:hover {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

.khanhnq-video-slider__btn--prev {
	left: -18px;
}

.khanhnq-video-slider__btn--next {
	right: -18px;
}

@media (max-width: 600px) {
	.khanhnq-video-single__title {
		font-size: 20px;
	}
}

@media (max-width: 900px) {
	.khanhnq-video-single__main {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.khanhnq-video-slider__track .khanhnq-video-card {
		flex-basis: 220px;
	}
}

@media (max-width: 600px) {
	.khanhnq-video-slider__btn {
		display: none;
	}

	.khanhnq-video-slider__track .khanhnq-video-card {
		flex-basis: 200px;
	}
}

@media (max-width: 1024px) {
	.khanhnq-video-grid {
		grid-template-columns: repeat(var(--khanhnq-video-cols-tablet, 3), 1fr);
		gap: 16px;
	}
}

@media (max-width: 600px) {
	.khanhnq-video-grid {
		grid-template-columns: repeat(var(--khanhnq-video-cols-mobile, 2), 1fr);
		gap: 10px;
	}

	.khanhnq-video-card__title {
		margin: 8px 8px 4px;
		font-size: 13px;
	}

	.khanhnq-video-card__desc {
		margin: 0 8px 8px;
		font-size: 12px;
		-webkit-line-clamp: 1;
	}
}