/*
|--------------------------------------------------------------------------
| VidooHub Elementor Videos
|--------------------------------------------------------------------------
*/

/*
|--------------------------------------------------------------------------
| Main Wrapper
|--------------------------------------------------------------------------
*/

.vh-elementor-videos {
	width: 100%;
}


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

.vh-videos-header {
	width: 100%;
	margin-bottom: 20px;
}

.vh-videos-heading {
	margin: 0;
}


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

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


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

.vh-videos-grid .vh-video-card {
	display: block;
	width: 100%;
	min-width: 0;
	text-decoration: none;
}


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

.vh-videos-grid .vh-video-card-thumb {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.vh-videos-grid .vh-video-card-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}


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

.vh-videos-grid .vh-video-card-duration {
	position: absolute;
	right: 8px;
	bottom: 8px;
	z-index: 2;
}


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

.vh-videos-grid .vh-video-card-content {
	width: 100%;
}

.vh-videos-grid .vh-video-card-title {
	margin: 0;
}

.vh-videos-grid .vh-video-card-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}


/*
|--------------------------------------------------------------------------
| Load More
|--------------------------------------------------------------------------
*/

.vh-videos-load-more-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 35px;
}

.vh-videos-load-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	min-height: 44px;
	padding: 10px 24px;
	border: 0;
	outline: 0;
	cursor: pointer;
	text-decoration: none;
	transition:
		color .2s ease,
		background-color .2s ease,
		opacity .2s ease,
		transform .2s ease;
}

.vh-videos-load-more:hover {
	transform: translateY(-1px);
}

.vh-videos-load-more:disabled {
	cursor: wait;
	opacity: .65;
}

.vh-videos-load-more-loading {
	display: none;
}


/*
|--------------------------------------------------------------------------
| Advertisement
|--------------------------------------------------------------------------
*/

.vh-videos-ad-template {
	display: none !important;
}

.vh-videos-ad-row {
	grid-column: 1 / -1;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vh-videos-ad {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.vh-videos-ad iframe,
.vh-videos-ad img,
.vh-videos-ad video {
	max-width: 100%;
}


/*
|--------------------------------------------------------------------------
| Categories + Tags
|--------------------------------------------------------------------------
*/

.vh-videos-taxonomies {
	width: 100%;
	margin-top: 50px;
}

.vh-videos-taxonomies-heading {
	margin: 0 0 20px;
}

.vh-videos-taxonomy-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 10px;
	width: 100%;
}

.vh-videos-taxonomy {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 40px;
	padding: 8px 12px;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition:
		color .2s ease,
		background-color .2s ease,
		border-color .2s ease,
		transform .2s ease;
}

.vh-videos-taxonomy:hover {
	transform: translateY(-1px);
}


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

.vh-videos-empty {
	width: 100%;
	padding: 30px 20px;
	text-align: center;
}


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

.vh-video-card-no-thumb {
	width: 100%;
	height: 100%;
	min-height: 150px;
}


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

@media (max-width: 1024px) {

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

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

}


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

@media (max-width: 767px) {

	.vh-videos-header {
		margin-bottom: 15px;
	}

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

	.vh-videos-load-more-wrap {
		margin-top: 25px;
	}

	.vh-videos-load-more {
		width: 100%;
	}

	.vh-videos-taxonomies {
		margin-top: 35px;
	}

	.vh-videos-taxonomy-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.vh-videos-taxonomy {
		min-height: 38px;
		padding: 7px 10px;
	}

}