.gallery--section {
	display: grid;
	grid-template-columns: 1fr;
	gap: 15px;
}

@media (min-width: 768px) {
	.gallery--section {
		grid-template-columns: 1fr 1fr;
	}	
}

.gallery--item {
	display: block;
	width: 100%;
	position: relative;
}

.gallery--item:before {
	content: "";
	display: block;
	padding-bottom: 65%;
}

.gallery--item img {
	position: absolute;
	top: 0;
	left: 0;
}

/* Monogram tile — fills the empty cell on the desktop 2-col grid when the
   image count is odd. Stretches to match the height of its row neighbour. */
.gallery--monogram {
	display: none;
}

@media (min-width: 768px) {
	.gallery--monogram {
		display: flex;
		align-items: center;
		justify-content: center;
		background-color: var(--color-hero-grey);
	}

	.gallery--monogram img {
		width: 38%;
		max-width: 200px;
		height: auto;
	}
}

.pswp__custom-caption {
	background: var(--theme-cream-bg);
	font-size: 16px;
	color: var(--theme-dk-brown);
	font-family: bourton-base, sans-serif;
	width: calc(100% - 32px);
	max-width: 1200px;
	padding: 4px 8px 1px;
	border-radius: 4px;
	position: absolute;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	line-height: 1.15;
}
.pswp__custom-caption a {
	color: #fff;
	text-decoration: underline;
}
.hidden-caption-content {
	display: none;
}

.pswp__custom-caption:empty{
	display: none;
}