.bmz-mosaic {
	display: grid;
	max-width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	background: #111;
}
.bmz-tile {
	position: relative;
	overflow: hidden;
	border-radius: var(--bmz-radius, 0);
	min-width: 0;
	min-height: 0;
}
.bmz-tile img {
	position: absolute !important;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	object-fit: cover;
	display: block;
	image-rendering: auto;
}

/* Klikbaar mozaïek / volledig scherm */
.bmz-mosaic { position: relative; }
.bmz-mosaic.bmz-clickable { cursor: pointer; }
.bmz-mosaic:focus-visible { outline: 2px solid #2271b1; outline-offset: 2px; }

.bmz-close {
	position: absolute;
	z-index: 10;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .55);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.bmz-hint {
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 10;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 11px 6px 9px;
	border-radius: 999px;
	background: rgba(0, 0, 0, .55);
	color: #fff;
	font: 500 12px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	letter-spacing: .01em;
	opacity: .85;
	transition: opacity .2s;
	pointer-events: none;
	white-space: nowrap;
}
.bmz-hint svg { flex: none; display: block; }
.bmz-mosaic:hover .bmz-hint,
.bmz-mosaic:focus-visible .bmz-hint { opacity: 1; }
.bmz-close { top: 12px; right: 12px; display: none; cursor: pointer; font-size: 26px; line-height: 1; }
.bmz-close:hover { background: rgba(0, 0, 0, .8); }
.bmz-open .bmz-close { display: flex; }
.bmz-open .bmz-hint { display: none; }

.bmz-mosaic:fullscreen { width: 100vw !important; height: 100vh !important; max-width: none !important; }
.bmz-mosaic:-webkit-full-screen { width: 100vw !important; height: 100vh !important; max-width: none !important; }
/* Terugval voor browsers zonder Fullscreen API op elementen (o.a. iPhone) */
.bmz-mosaic.bmz-fs {
	position: fixed !important;
	top: 0; right: 0; bottom: 0; left: 0;
	width: 100vw !important;
	height: 100vh !important;
	height: 100dvh !important;
	max-width: none !important;
	z-index: 2147483000;
}
