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

.vh-video-card {
	display: block;
	width: 100%;
	text-decoration: none;
	color: inherit;
	overflow: hidden;
}

.vh-video-card:hover {
	text-decoration: none;
	color: inherit;
}


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

.vh-video-card-thumb {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 8px;
	background: #1a1a1a;
}

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

.vh-video-card:hover .vh-video-card-thumb img {
	transform: scale(1.03);
}


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

.vh-video-card-no-thumb {
	width: 100%;
	height: 100%;
	background: #1a1a1a;
}


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

.vh-video-card-duration {
	position: absolute;
	right: 8px;
	bottom: 8px;
	display: inline-flex;
	align-items: center;
	padding: 3px 6px;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
}


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

.vh-video-card-content {
	padding: 10px 2px 0;
}


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

.vh-video-card-title {
	margin: 0;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;

	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}


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

.vh-video-card-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 7px;
	color: #8f8f8f;
	font-size: 12px;
	line-height: 1.3;
}

.vh-video-card-date,
.vh-video-card-views {
	display: inline-flex;
	align-items: center;
}


/*
|--------------------------------------------------------------------------
| Views
|--------------------------------------------------------------------------
*/

.vh-video-card-views {
	gap: 4px;
}

.vh-video-card-eye {
	font-size: 13px;
	line-height: 1;
}


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

@media (max-width: 767px) {

	.vh-video-card-thumb {
		border-radius: 6px;
	}

	.vh-video-card-content {
		padding-top: 8px;
	}

	.vh-video-card-title {
		font-size: 14px;
	}

	.vh-video-card-meta {
		margin-top: 5px;
		font-size: 11px;
	}

	.vh-video-card-duration {
		right: 6px;
		bottom: 6px;
		font-size: 11px;
		padding: 3px 5px;
	}

}