.parish-news-gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	clear: both;
	margin: 2rem 0;
}

.parish-news-gallery__item {
	margin: 0;
	min-width: 0;
}

.parish-news-gallery__item img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0.5rem;
}

.parish-news-gallery__link {
	display: block;
	cursor: zoom-in;
}

.parish-news-lightbox[hidden] {
	display: none;
}

.parish-news-lightbox {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 1rem;
	background: rgba(0, 0, 0, 0.9);
}

.parish-news-lightbox__dialog {
	position: relative;
	display: grid;
	grid-template-columns: 3rem minmax(0, 1fr) 3rem;
	align-items: center;
	width: min(96vw, 1400px);
	height: min(92vh, 950px);
}

.parish-news-lightbox__image {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 92vh;
	object-fit: contain;
}

.parish-news-lightbox button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font: 700 2rem/1 sans-serif;
	cursor: pointer;
}

.parish-news-lightbox__close {
	position: absolute;
	z-index: 2;
	top: 0;
	right: 0;
}

.parish-news-lightbox-open {
	overflow: hidden;
}

@media (max-width: 600px) {
	.parish-news-gallery {
		grid-template-columns: 1fr;
	}

	.parish-news-lightbox__dialog {
		grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
	}
}
