/* De Onsemhoeve — fotogalerij (vervangt DJ-MediaTools masonry, gemeten op de oude site: 150×100, 1px tussenruimte, 8 per rij op 1207px) */
.onsem-galerij { display: flex; flex-wrap: wrap; gap: 1px; padding: 0; }
.onsem-galerij .og-item { display: block; width: 150px; height: 100px; overflow: hidden; line-height: 0; }
.onsem-galerij .og-item img { width: 150px; height: 100px; object-fit: cover; transition: transform .3s; }
/* zoals DJ-MediaTools masonry: bij hover/focus zoomt de foto 0,3s naar 110% binnen het kader */
.onsem-galerij .og-item:hover img, .onsem-galerij .og-item:focus img { transform: scale(1.1); }

/* lightbox (zoals Magnific Popup van DJ-MediaTools: donkere achtergrond, foto gecentreerd, pijlen, teller) */
.og-lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; background: transparent; }
.og-lightbox::backdrop { background: rgba(11, 11, 11, .8); }
.og-lightbox .og-fig { position: absolute; inset: 40px 50px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0; }
.og-lightbox img { max-width: 100%; max-height: calc(100vh - 120px); box-shadow: 0 0 8px rgba(0, 0, 0, .6); background: #444; }
.og-lightbox .og-teller { color: #ccc; font-size: 12px; line-height: 18px; align-self: flex-end; margin-top: 4px; }
.og-lightbox button { position: absolute; background: transparent; border: 0; color: #fff; opacity: .65; cursor: pointer; padding: 0; font-family: Arial, sans-serif; }
.og-lightbox button:hover, .og-lightbox button:focus { opacity: 1; }
.og-lightbox .og-sluit { top: 0; right: 0; width: 44px; height: 44px; font-size: 28px; line-height: 44px; }
.og-lightbox .og-vorige, .og-lightbox .og-volgende { top: 50%; width: 90px; height: 110px; margin-top: -55px; font-size: 60px; }
.og-lightbox .og-vorige { left: 0; }
.og-lightbox .og-volgende { right: 0; }
@media (max-width: 767px) {
  /* oud (DJ-MediaTools) houdt op smalle schermen ook 150×100 aan: 2 per rij op 375px */
  .og-lightbox .og-fig { inset: 40px 6px; }
}
