html.shift-slideshow-is-open,
body.shift-slideshow-is-open {
	overflow: hidden;
}

.shift-slideshow-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.78);
	box-sizing: border-box;
	opacity: 0;
	transition: opacity 160ms ease;
}

.shift-slideshow-lightbox.is-open {
	display: flex;
	opacity: 1;
}

.shift-slideshow-lightbox__stage {
	position: relative;
	display: inline-block;
	max-width: calc(100vw - 40px);
	max-height: calc(100vh - 40px);
	line-height: 0;
}

.shift-slideshow-lightbox__image {
	display: block;
	width: auto;
	height: auto;
	max-width: calc(100vw - 40px);
	max-height: calc(100vh - 40px);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
	object-fit: contain;
	user-select: none;
	-webkit-user-drag: none;
}

.shift-slideshow-lightbox__hotspots {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.shift-slideshow-lightbox__hotspot {
	position: absolute;
	display: block;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	font: inherit;
	line-height: 1;
	text-decoration: none;
	pointer-events: auto;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.shift-slideshow-lightbox__hotspot:hover,
.shift-slideshow-lightbox__hotspot:focus {
	background: transparent;
	border: 0;
	box-shadow: none;
}

.shift-slideshow-lightbox__hotspot:focus-visible {
	outline: 3px solid #fff;
	outline-offset: -3px;
}

@media (max-width: 600px) {
	.shift-slideshow-lightbox {
		padding: 10px;
	}

	.shift-slideshow-lightbox__stage,
	.shift-slideshow-lightbox__image {
		max-width: calc(100vw - 20px);
		max-height: calc(100vh - 20px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.shift-slideshow-lightbox {
		transition: none;
	}
}
