.gr-mix {
	display: grid;
	grid-template-columns: repeat(var(--gr-cols, 1), minmax(0, 1fr));
	grid-template-rows: repeat(var(--gr-rows, 1), minmax(0, 1fr));
	gap: var(--gr-gap, 0);
	width: 100%;
	height: 100%;
}

.gr-mix-cell {
	position: relative;
	overflow: hidden;
	min-width: 0;
	min-height: 0;
}

.gr-mix-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	opacity: 0;
	transition: opacity var(--gr-fade, 0.5s) ease;
}

.gr-mix-img.is-active {
	opacity: 1;
}

.gr-mix-root {
	width: 100%;
	height: 100%;
}
