/* ---------- Dwers in beeld: overzichten ---------- */
.dib-raster {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 24px;
	margin: 24px 0 32px;
}
.dib-raster .card { display: block; }

.dib-kruimels {
	margin: 4px 0 6px;
	font-size: .95rem;
	color: var(--ice, #98a6ae);
}
.dib-kruimels a { color: var(--teal, #00a5c9); text-decoration: none; }
.dib-kruimels a:hover { text-decoration: underline; }
.dib-kop { margin: 0 0 16px; }

/* ---------- Fotoraster ---------- */
.dib-fotos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 6px;
	margin: 16px 0 32px;
}
@media (min-width: 760px) {
	.dib-fotos { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
}
.dib-foto {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 6px;
	background: var(--ice-soft, #b8cdd6);
	cursor: zoom-in;
}
.dib-foto img {
	display: block;
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .3s ease, opacity .2s ease;
}
.dib-foto:hover img { transform: scale(1.05); }
.dib-foto.is-open img { opacity: 0; }   /* plekje van de vergrote foto */

/* ---------- Vergrote foto ---------- */
.dib-lb {
	position: fixed; inset: 0; z-index: 9999;
	background: rgba(25, 18, 30, .75);
	opacity: 0;
	transition: opacity .3s ease;
	cursor: zoom-out;
	-webkit-tap-highlight-color: transparent;
}
.dib-lb.is-zichtbaar { opacity: 1; }
.dib-lb[hidden] { display: none; }
.dib-lb__img {
	position: fixed;
	max-width: none;
	border-radius: 6px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
	transform-origin: 0 0;
	transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .2s ease;
	will-change: transform;
}
.dib-lb__pijl {
	position: fixed; top: 50%; z-index: 2;
	width: 60px; height: 60px;
	margin-top: -30px;
	padding: 0; border: 0; border-radius: 50%;
	background: transparent no-repeat center / contain;
	opacity: .8;
	cursor: pointer;
	transition: opacity .2s ease;
}
.dib-lb__pijl:hover { opacity: 1; }
.dib-lb__pijl--terug { left: 16px; }
.dib-lb__pijl--verder { right: 16px; }
.dib-lb__pijl[hidden] { display: none; }
.dib-lb__teller {
	position: fixed; left: 0; right: 0; bottom: 14px;
	text-align: center;
	color: rgba(255, 255, 255, .75);
	font-size: .9rem;
	pointer-events: none;
}
@media (max-width: 600px) {
	.dib-lb__pijl { width: 44px; height: 44px; margin-top: -22px; }
	.dib-lb__pijl--terug { left: 6px; }
	.dib-lb__pijl--verder { right: 6px; }
}
body.dib-lb-open { overflow: hidden; }
