/*
|--------------------------------------------------------------------------
| VidooHub Category Videos
|--------------------------------------------------------------------------
*/

.vh-elementor-category-videos {
	width: 100%;
	color: #ffffff;
}

/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/

.vh-cv-header {
	width: 100%;
	margin: 0 0 24px;
}

.vh-cv-heading {
	margin: 0;
	color: #ffffff;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
}

/*
|--------------------------------------------------------------------------
| Video Grid
|--------------------------------------------------------------------------
*/

.vh-cv-videos-grid {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 20px;
	row-gap: 25px;
}

/*
|--------------------------------------------------------------------------
| Video Item
|--------------------------------------------------------------------------
*/

.vh-cv-video-item {
	min-width: 0;
	width: 100%;
}

/*
|--------------------------------------------------------------------------
| Video Card
|--------------------------------------------------------------------------
*/

.vh-elementor-category-videos .vh-video-card {
	width: 100%;
	overflow: hidden;
	background: #111111;
	border: 1px solid #222222;
	border-radius: 8px;
	box-shadow: none;
	transition:
		transform 0.25s ease,
		border-color 0.25s ease,
		box-shadow 0.25s ease;
}

.vh-elementor-category-videos .vh-video-card:hover {
	transform: translateY(-3px);
	border-color: #e50914;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

/*
|--------------------------------------------------------------------------
| Thumbnail
|--------------------------------------------------------------------------
*/

.vh-elementor-category-videos .vh-video-card-thumb {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #080808;
}

.vh-elementor-category-videos .vh-video-card-thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.vh-elementor-category-videos .vh-video-card:hover
.vh-video-card-thumb img {
	transform: scale(1.04);
}

/*
|--------------------------------------------------------------------------
| Duration
|--------------------------------------------------------------------------
*/

.vh-elementor-category-videos .vh-video-card-duration {
	position: absolute;
	right: 8px;
	bottom: 8px;
	z-index: 2;
	padding: 4px 7px;
	background: rgba(0, 0, 0, 0.85);
	color: #ffffff;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

/*
|--------------------------------------------------------------------------
| Card Content
|--------------------------------------------------------------------------
*/

.vh-elementor-category-videos .vh-video-card-content {
	padding: 12px;
	background: #111111;
}

/*
|--------------------------------------------------------------------------
| Video Title
|--------------------------------------------------------------------------
*/

.vh-elementor-category-videos .vh-video-card-title {
	margin: 0;
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
}

.vh-elementor-category-videos .vh-video-card-title a {
	color: inherit;
	text-decoration: none;
}

.vh-elementor-category-videos .vh-video-card:hover
.vh-video-card-title {
	color: #e50914;
}

/*
|--------------------------------------------------------------------------
| Meta
|--------------------------------------------------------------------------
*/

.vh-elementor-category-videos .vh-video-card-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
	color: #888888;
	font-size: 12px;
	line-height: 1.4;
}

/*
|--------------------------------------------------------------------------
| Pagination
|--------------------------------------------------------------------------
*/

.vh-cv-pagination {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 32px;
}

.vh-cv-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #292929;
	border-radius: 5px;
	background: #151515;
	color: #cccccc;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.vh-cv-page:hover {
	background: #e50914;
	border-color: #e50914;
	color: #ffffff;
	transform: translateY(-1px);
}

.vh-cv-page.active {
	background: #e50914;
	border-color: #e50914;
	color: #ffffff;
	cursor: default;
}

/*
|--------------------------------------------------------------------------
| Tags
|--------------------------------------------------------------------------
*/

.vh-cv-tags {
	width: 100%;
	margin-top: 38px;
	padding-top: 24px;
	border-top: 1px solid #222222;
}

.vh-cv-tags-list {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(
		var(--vh-cv-tags-desktop),
		minmax(0, 1fr)
	);
	gap: 8px;
}

.vh-cv-tag {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 32px;
	padding: 6px 10px;
	border: 1px solid #292929;
	border-radius: 4px;
	background: #151515;
	color: #bbbbbb;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.vh-cv-tag:hover {
	background: #e50914;
	border-color: #e50914;
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-1px);
}

/*
|--------------------------------------------------------------------------
| Empty / Notice
|--------------------------------------------------------------------------
*/

.vh-cv-empty,
.vh-cv-notice {
	width: 100%;
	padding: 40px 20px;
	border: 1px solid #222222;
	border-radius: 8px;
	background: #111111;
	color: #888888;
	text-align: center;
}

/*
|--------------------------------------------------------------------------
| Responsive - Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 1024px) {

	.vh-cv-videos-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.vh-cv-tags-list {
		grid-template-columns: repeat(
			var(--vh-cv-tags-tablet),
			minmax(0, 1fr)
		);
	}

}

/*
|--------------------------------------------------------------------------
| Responsive - Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 767px) {

	.vh-cv-header {
		margin-bottom: 18px;
	}

	.vh-cv-heading {
		font-size: 20px;
	}

	.vh-cv-videos-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 12px;
		row-gap: 18px;
	}

	.vh-elementor-category-videos .vh-video-card-content {
		padding: 9px;
	}

	.vh-elementor-category-videos .vh-video-card-title {
		font-size: 13px;
	}

	.vh-elementor-category-videos .vh-video-card-meta {
		font-size: 11px;
	}

	.vh-elementor-category-videos .vh-video-card-duration {
		right: 6px;
		bottom: 6px;
		padding: 3px 5px;
		font-size: 10px;
	}

	.vh-cv-pagination {
		margin-top: 24px;
		gap: 6px;
	}

	.vh-cv-page {
		min-width: 36px;
		height: 36px;
		padding: 0 10px;
		font-size: 13px;
	}

	.vh-cv-tags {
		margin-top: 30px;
		padding-top: 20px;
	}

	.vh-cv-tags-list {
		grid-template-columns: repeat(
			var(--vh-cv-tags-mobile),
			minmax(0, 1fr)
		);
		gap: 6px;
	}

	.vh-cv-tag {
		min-height: 30px;
		padding: 5px 8px;
		font-size: 11px;
	}

}

/*
|--------------------------------------------------------------------------
| Small Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 480px) {

	.vh-cv-videos-grid {
		column-gap: 10px;
		row-gap: 15px;
	}

	.vh-elementor-category-videos .vh-video-card-content {
		padding: 8px;
	}

	.vh-elementor-category-videos .vh-video-card-title {
		font-size: 12px;
	}

}