/* Basic gallery styles */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 12px;
	align-items: start;
}

.gallery-item {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	cursor: pointer;
	display: flex;
	flex-direction: column;
}

.gallery-item img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	display: block;
}

.gallery-caption {
	padding: 8px;
	font-size: 13px;
	color: #333;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gallery-loading,
.gallery-error {
	padding: 12px;
	color: #666;
}

/* lightbox tweaks */
.gallery-lightbox img {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
	border-radius: 6px;
}

.gallery-close {
	background: transparent;
}
