body,
.site-main-container,
.content-wrapper {
	background: transparent !important;
}

.site-main-container {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0 0 2rem 0;
}

.content-wrapper {
	display: flex;
	gap: 1%;
	align-items: stretch;
}

.post-wrapper {
	flex: 0 0 75%;
	background: #fff;
	padding: 0.5rem;
	display: flex;
	flex-direction: column;
}

.sidebar-wrapper {
	flex: 0 0 24%;
	background: #fff;
	padding: 0.5rem;
	display: flex;
	flex-direction: column;
}

.video-archive-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: space-between;
	padding: 0.5rem;
}

.video-item {
	flex: 0 0 calc(33.333% - 0.5rem);
	position: relative;
	overflow: hidden;
	height: 200px;
}

.video-thumb {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.video-thumb img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	filter: unset;
}

.video-info {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	color: #fff;
	padding: 0.5rem;
	text-align: center;
	padding-bottom: 0;
	z-index:99;
}
.video-item::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 50%;
	background: linear-gradient(to top, rgb(0, 0, 0), rgba(0, 0, 0, 0));
	z-index: 1;
}
.video-title {
	font-size: 1rem;
	margin-bottom: 0.2rem;
}

.video-meta {
	font-size: 0.75rem;
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
	color: #fff;
}

.video-meta span {
	padding: 14px 0;
}

.sidebar-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 0.8rem;
}

.sidebar-btn {
	display: block;
	width: 100%;
	text-align: center;
	padding: 8px 0;
	border: 1px solid #d60000;
	background: #fff;
	color: #4e4e4e;
	font-size: 13px;
	font-weight: 400;
	border-radius: 6px;
	transition: all 0.3s ease;
}

.sidebar-btn:hover {
	background: #d60000;
	color: #fff;
}

.load-more-wrapper {
	margin-top: 1.5rem;
	text-align: center;
}

footer {
	margin-top: 2rem !important;
}

@media (max-width: 1024px) {
	html, body {
		margin: 0 !important;
		padding: 0 !important;
		width: 100% !important;
	}

	.content-wrapper {
		flex-direction: column;
		gap: 1rem;
		padding: 0 !important;
		width: 100% !important;
	}

	.post-wrapper,
	.sidebar-wrapper {
		width: 100% !important;
		flex: 0 0 100%;
		margin: 0 !important;
		padding: 0 !important;
	}

	.video-item {
		flex: 0 0 calc(50% - 0.5rem);
		height: 180px;
		margin: 0 !important;
	}

	.video-title {
		font-size: 0.9rem;
	}

	.video-meta {
		font-size: 0.7rem;
	}
}

@media (max-width: 768px) {
	html, body {
		margin: 0 !important;
		padding: 0 !important;
	}

	.content-wrapper {
		flex-direction: column;
		gap: 0.5rem;
		margin: 3rem 0 0 0 !important;
		padding: 0 !important;
		width: 100% !important;
	}

	.post-wrapper {
		width: 100% !important;
		flex: 0 0 100%;
		margin: 0 !important;
		padding: 0 !important;
	}

	.sidebar-wrapper {
		display: none !important;
	}

	.video-item {
		flex: 0 0 100%;
		height: 170px;
		margin: 0 !important;
	}

	.video-title {
		font-size: 0.85rem;
	}

	.video-meta {
		font-size: 0.7rem;
		gap: 0.5rem;
	}

	.sidebar-btn {
		font-size: 12px;
		padding: 7px 0;
	}
	 .content-wrapper {
		margin: 60px 0 26px 0 !important;
	}
	.video-item {
		margin: 0 !important;
		width: 100%;
		max-width: 100%;
		height: 230px !important;
		object-fit: cover;
	}
	.video-meta{
		justify-content: space-around !important;
	}
	#video-container {
		gap: 10px !important;
	}

}
	.video-thumb::after {
		content: url("/wp-content/themes/hello-elementor/assets/images/video-ply.svg");
		position: absolute;
		width: 40px;
		z-index: 9;
		top: calc(50% - 20px);
		transform: translate(50%,-50%);
		right: 50%;
	}
@media (max-width: 480px) {
	html, body {
		margin: 0 !important;
		padding: 0 !important;
	}

	.content-wrapper {
		padding: 0 !important;
		margin: 3rem 0 0 0 !important;
		width: 100% !important;
	}


	.video-title {
		font-size:14px !important;
	}

	.video-meta {
		font-size: 0.65rem;
	}


	.sidebar-btn {
		padding: 6px 0;
		font-size: 11.5px;
	}
}
