/* Estilos para Elementor Video Grid */
.evg-video-grid {
	width: 100%;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.evg-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	grid-template-rows: auto auto;
	gap: 10px;
	height: 400px;
}

.evg-grid-item {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.evg-grid-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.evg-grid-item.evg-featured {
	grid-column: 1;
	grid-row: 1 / span 2;
}

.evg-grid-item.evg-regular {
	grid-column: auto;
	grid-row: auto;
}

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

.evg-grid-item.evg-featured .evg-video-thumbnail {
	height: 70%;
}

.evg-grid-item.evg-regular .evg-video-thumbnail {
	height: 60%;
}

.evg-video-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.evg-grid-item:hover .evg-video-thumbnail img {
	transform: scale(1.05);
}

.evg-play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0.9;
	transition: opacity 0.3s ease;
}

.evg-grid-item:hover .evg-play-button {
	opacity: 1;
}

.evg-play-button svg {
	width: 60px;
	height: 60px;
}

.evg-grid-item.evg-featured .evg-play-button svg {
	width: 80px;
	height: 80px;
}

.evg-video-info {
	padding: 15px;
	background: #fff;
}

.evg-grid-item.evg-featured .evg-video-info {
	height: 30%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.evg-grid-item.evg-regular .evg-video-info {
	height: 40%;
}

.evg-video-title {
	margin: 0 0 8px 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	color: #333;
}

.evg-grid-item.evg-featured .evg-video-title {
	font-size: 18px;
}

.evg-video-excerpt {
	margin: 0;
	font-size: 14px;
	color: #666;
	line-height: 1.4;
}

/* Lightbox Styles */
.evg-lightbox {
	display: none;
	position: fixed;
	z-index: 999999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.9);
	animation: fadeIn 0.3s;
}

.evg-lightbox-content {
	position: relative;
	margin: 5% auto;
	width: 80%;
	max-width: 800px;
	height: 80%;
	animation: slideIn 0.3s;
}

.evg-close {
	position: absolute;
	top: -40px;
	right: 0;
	color: #fff;
	font-size: 35px;
	font-weight: bold;
	cursor: pointer;
	z-index: 100000;
	line-height: 1;
}

.evg-close:hover {
	color: #ccc;
}

.evg-video-container {
	width: 100%;
	height: 100%;
	background: #000;
	border-radius: 8px;
	overflow: hidden;
}

.evg-no-videos {
	text-align: center;
	padding: 40px;
	background: #f8f9fa;
	border-radius: 8px;
	color: #666;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes slideIn {
	from { transform: translateY(-50px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 1024px) {
	.evg-grid {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto auto auto;
		height: auto;
	}
	
	.evg-grid-item.evg-featured {
		grid-column: 1 / span 2;
		grid-row: 1;
		height: 300px;
	}
}

@media (max-width: 768px) {
	.evg-grid {
		grid-template-columns: 1fr;
		grid-template-rows: repeat(4, auto);
	}
	
	.evg-grid-item.evg-featured {
		grid-column: 1;
		grid-row: 1;
	}
	
	.evg-lightbox-content {
		width: 95%;
		height: 50%;
		margin: 10% auto;
	}
	
	.evg-grid-item.evg-featured .evg-play-button svg,
	.evg-grid-item.evg-regular .evg-play-button svg {
		width: 50px;
		height: 50px;
	}
}