/* Lightbox for the photo archive (/gallery/). Replaces wp-featherlight. */
.gallery-lightbox {
	max-width: 90vw;
	max-height: 90vh;
	padding: 0;
	border: 0;
	background: #fff;
	overflow: visible;
}

.gallery-lightbox::backdrop {
	background: rgba(0, 0, 0, 0.8);
}

.gallery-lightbox__figure {
	margin: 0;
	padding: 10px;
}

.gallery-lightbox__image {
	display: block;
	max-width: calc(90vw - 20px);
	max-height: calc(90vh - 70px);
	width: auto;
	height: auto;
	margin: 0 auto;
}

.gallery-lightbox__caption {
	padding-top: 10px;
	text-align: center;
	color: #000;
}

.gallery-lightbox__close {
	position: absolute;
	top: -40px;
	right: 0;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 32px;
	line-height: 36px;
	cursor: pointer;
}
