.ec-dual-image-wrapper {
	display: grid;
	clip-path: inset(1px);
	width: 100%;
	overflow: hidden;
}
.ec-dual-image-wrapper > .ec-dual-image-wrap {
	--dip: calc(-1 * var(--digap));
	grid-area: 1/1;
	aspect-ratio: 1;
	cursor: pointer;
	transition: 0.4s 0.1s;
	width: 100%;
}
.ec-dual-image-wrapper > .ec-dual-image-1-wrap {
	clip-path: polygon(0 0, calc(100% + var(--dip)) 0, 0 calc(100% + var(--dip)));
}
.ec-dual-image-wrapper > .ec-dual-image-2-wrap {
	clip-path: polygon(
		100% 100%,
		100% calc(0% - var(--dip)),
		calc(0% - var(--dip)) 100%
	);
}