/* BlueCode Elementor Video Background
 * Camadas:
 * 0 = vídeo
 * 1 = overlay nativo do Elementor / overlay opcional do plugin
 * 2 = conteúdo da seção/container/coluna
 */
.elementor-element.bc-ebv-active {
	position: relative;
	overflow: hidden;
}

.elementor-element.bc-ebv-active > .bc-ebv-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	border-radius: inherit;
}

.elementor-element.bc-ebv-active > .bc-ebv-bg video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	display: block;
	object-fit: cover;
	object-position: center center;
	pointer-events: none;
	min-width: 100%;
	min-height: 100%;
}

.elementor-element.bc-ebv-active > .bc-ebv-bg .bc-ebv-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: transparent;
	pointer-events: none;
}

/* Mantém a sobreposição/gradient nativa do Elementor acima do vídeo. */
.elementor-element.bc-ebv-active > .elementor-background-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

/* Mantém o conteúdo acima do vídeo e acima dos overlays. */
.elementor-element.bc-ebv-active > :not(.bc-ebv-bg):not(.elementor-background-overlay) {
	position: relative;
	z-index: 2;
}

.elementor-element.bc-ebv-active > .e-con-inner,
.elementor-element.bc-ebv-active > .elementor-container,
.elementor-element.bc-ebv-active > .elementor-widget-wrap,
.elementor-element.bc-ebv-active > .elementor-column-wrap,
.elementor-element.bc-ebv-active > .elementor-element-populated,
.elementor-element.bc-ebv-active > .elementor-widget-container {
	position: relative;
	z-index: 2;
}


/* Mobile: preserva a proporção do vídeo e evita distorção. */
@media (max-width: 767px) {
	.elementor-element.bc-ebv-active > .bc-ebv-bg video {
		width: 100%;
		height: 100%;
		max-width: none;
		object-fit: cover;
		object-position: center center;
	}
}
