/* Photo Fetcher — Pinterest-style masonry grid.
   Images keep their natural/original aspect ratio (no forced cropping).
   4 columns on desktop, 2 columns on mobile — fully theme-independent. */

.pfg-grid {
	column-count: 4;
	column-gap: 12px;
	margin: 20px 0;
	width: 100%;
}

.pfg-grid .pfg-item {
	display: inline-block;
	width: 100%;
	margin: 0 0 12px;
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	border-radius: 6px;
	overflow: hidden;
	background: #f0f0f0;
}

.pfg-grid .pfg-item img {
	width: 100%;
	height: auto;
	display: block;
	border: 0;
	margin: 0;
	padding: 0;
	max-width: 100%;
}

@media (max-width: 782px) {
	.pfg-grid {
		column-count: 2;
		column-gap: 8px;
	}
	.pfg-grid .pfg-item {
		margin-bottom: 8px;
	}
}
