.nwm-masonry-gallery-wrap { width: 100%; }
.nwm-masonry-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: var(--nwm-row-unit, 90px);
	column-gap: 6px;
	row-gap: 6px;
	align-items: stretch;
}
.nwm-masonry-gallery__item { min-width: 0; min-height: 0; height: 100%; margin: 0; overflow: hidden; }
.nwm-masonry-gallery .nwm-masonry-gallery__image { display: block; width: 100%; height: 100% !important; max-height: none; object-fit: cover; }
.nwm-masonry-gallery__link { display: block; width: 100%; height: 100%; overflow: hidden; }
.nwm-masonry-gallery-empty { padding: 18px; border: 1px dashed #aaa; color: #555; }
.nwm-masonry-gallery__sentinel { width: 100%; height: 1px; }
.nwm-masonry-gallery__loading { min-height: 0; padding-top: 8px; text-align: center; font-size: 14px; }
.nwm-masonry-gallery__loading:empty { display: none; }
