/**
 * Optional grid overlay (::before) for layout blocks.
 * Enable via sidebar: Background overlay → Grid.
 */

.dmp-grid-overlay {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.dmp-grid-overlay::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
	background-size: 75px 75px;
	opacity: 0.65;
}

.dmp-grid-overlay > * {
	position: relative;
	z-index: 1;
}
