/* El contenido son iframes en posición absoluta, así que el grid no aporta
   ancho intrínseco. Dentro de un contenedor flex (Editor V4) eso lo colapsa
   a cero, por lo que reclamamos el ancho disponible de forma explícita. */
.elementor-widget-videos_redes_pv4484 {
	width: 100%;
	align-self: stretch;
}

.elementor-widget-videos_redes_pv4484 > .elementor-widget-container {
	width: 100%;
}

.pv-grid {
	display: grid;
	width: 100%;
	min-width: 0;
	grid-template-columns: repeat(var(--pv-cols, 3), minmax(0, 1fr));
	gap: var(--pv-gap, 32px);
	align-items: start;
}

.pv-card {
	display: flex;
	flex-direction: column;
	gap: var(--pv-cap-gap, 14px);
	width: 100%;
	min-width: 0;
}

.pv-card__frame {
	position: relative;
	width: 100%;
	aspect-ratio: var(--pv-ratio, 16 / 9);
	overflow: hidden;
	background: #000000;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
	transition: transform .3s ease, box-shadow .3s ease;
}

.pv-grid--lift .pv-card:hover .pv-card__frame {
	transform: translateY(-4px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

.pv-card__frame iframe,
.pv-card__frame > iframe,
.pv-card__frame blockquote,
.pv-card__frame > div {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 0 !important;
	border: 0;
}

/* Instagram y TikTok imponen anchos mínimos propios: los neutralizamos */
.pv-card__frame .instagram-media,
.pv-card__frame .tiktok-embed {
	min-width: 0 !important;
	border-radius: 0 !important;
}

/* ---------- Texto debajo del video ---------- */
.pv-caption {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: #4b5563;
}

.pv-caption--clamp {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--pv-cap-lines, 3);
	line-clamp: var(--pv-cap-lines, 3);
	overflow: hidden;
}

.pv-empty {
	grid-column: 1 / -1;
	padding: 24px;
	border: 1px dashed #c3c4c7;
	border-radius: 4px;
	text-align: center;
	font-size: 14px;
	color: #767676;
	background: #fff;
}

.pv-card--error .pv-card__frame {
	background: #f6f7f7;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	text-align: center;
	font-size: 13px;
	color: #767676;
}
