/*
 * Child-theme structural ownership for the stored [mk_custom_box] contract.
 * Per-instance colors, spacing and imagery are emitted by native-custom-box.php.
 */

.mk-custom-box .box-holder {
	position: relative;
}

.mk-custom-box .mk-custom-box--overlay {
	position: absolute !important;
	top: 0;
	left: 0;
	z-index: 2 !important;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.mk-custom-box .box-holder::after,
.mk-custom-box.hover-effect-image.image-effect-blur .box-holder::before {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	content: "";
}

.mk-custom-box .box-holder > * {
	position: relative;
	z-index: 3;
}

.mk-custom-box.hover-effect-image,
.mk-custom-box.hover-effect-image.image-effect-blur .box-holder {
	overflow: hidden;
}
