.elementor .mk-content-gallery .gallery {
	--mk-gallery-columns: 1;
	display: grid;
	grid-template-columns: repeat(var(--mk-gallery-columns), minmax(0, 1fr));
	align-items: start;
	gap: 45px 30px;
	margin: 0;
}
.elementor .mk-content-gallery .gallery-columns-2 { --mk-gallery-columns: 2; }
.elementor .mk-content-gallery .gallery-columns-3 { --mk-gallery-columns: 3; }
.elementor .mk-content-gallery .gallery-columns-4 { --mk-gallery-columns: 4; }
.elementor .mk-content-gallery .gallery-columns-5 { --mk-gallery-columns: 5; }
.elementor .mk-content-gallery .gallery-columns-6 { --mk-gallery-columns: 6; }
.elementor .mk-content-gallery .gallery .gallery-item {
	display: block;
	min-width: 0;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}
.elementor .mk-content-gallery .gallery-item img {
	display: block;
	width: 100%;
	height: auto;
}
.elementor .mk-content-gallery .mk-gallery-crop .gallery-item img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.elementor .mk-content-gallery .mk-gallery-open {
	position: relative;
	display: block;
	isolation: isolate;
}
.elementor .mk-content-gallery .mk-gallery-open-zoom { overflow: hidden; }
.elementor .mk-content-gallery .mk-gallery-open::before {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 0;
	background: #b7aa96;
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease;
}
.elementor .mk-content-gallery .mk-gallery-open-zoom::before { background: #000; }
.elementor .mk-content-gallery [data-mk-gallery-action]::after {
	content: attr(data-mk-gallery-action);
	content: attr(data-mk-gallery-action) / "";
	position: absolute;
	z-index: 2;
	inset: 50% auto auto 50%;
	transform: translate(-50%, -50%);
	padding: 5px 11px;
	border-radius: 2px;
	background: #252525;
	color: #fff;
	font: 400 12px/1.25 var(--mk-font);
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease;
}
.elementor .mk-content-gallery .mk-gallery-open-zoom img { transition: transform .35s ease; }
.elementor .mk-content-gallery .mk-gallery-open:focus-visible {
	outline: 2px solid #6c5b2f;
	outline-offset: 4px;
}
.elementor .mk-content-gallery .mk-gallery-open:focus-visible::before { opacity: .6; }
.elementor .mk-content-gallery [data-mk-gallery-action]:focus-visible::after { opacity: 1; }

@media (hover: hover) {
	.elementor .mk-content-gallery .mk-gallery-open:hover::before { opacity: .6; }
	.elementor .mk-content-gallery [data-mk-gallery-action]:hover::after { opacity: 1; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.elementor .mk-content-gallery .mk-gallery-open-zoom:hover img { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
	.elementor .mk-content-gallery .mk-gallery-open::before,
	.elementor .mk-content-gallery [data-mk-gallery-action]::after { transition: none; }
}
@media (max-width: 999px) {
	.elementor .mk-content-gallery .gallery {
		grid-template-columns: repeat(min(var(--mk-gallery-columns), 2), minmax(0, 1fr));
	}
}
@media (max-width: 689px) {
	.elementor .mk-content-gallery .gallery { grid-template-columns: minmax(0, 1fr); }
}
