body.thumbnail-overlay-open {
	overflow: hidden;
}

.thumbnail-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 2000;
}

.thumbnail-overlay.is-open {
	display: block;
}

.thumbnail-overlay__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	cursor: pointer;
}

.thumbnail-overlay__content {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 16px 16px;
	pointer-events: none;
}

.thumbnail-overlay__img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
	pointer-events: auto;
	cursor: default;
}

.thumbnail-overlay__close {
	position: absolute;
	top: 8px;
	right: 12px;
	z-index: 1;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 40px;
	line-height: 1;
	cursor: pointer;
	padding: 4px 8px;
	opacity: 0.85;
}

.thumbnail-overlay__close:hover,
.thumbnail-overlay__close:focus {
	opacity: 1;
}
