/* Image lightbox. */

img.astute-zoom[role="button"] {
	cursor: zoom-in;
}

img.astute-zoom[role="button"]:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.astute-lightbox-open,
.astute-lightbox-open body {
	overflow: hidden;
}

.astute-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(10, 14, 18, 0.92);
}

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

.astute-lightbox__figure {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 56px 64px 64px;
	box-sizing: border-box;
}

.astute-lightbox__figure img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 4px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
	background: #fff;
}

.astute-lightbox button {
	position: absolute;
	border: 0;
	padding: 0;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font: 400 32px/1 sans-serif;
	cursor: pointer;
	border-radius: 999px;
	transition: background 0.15s;
}

.astute-lightbox button:hover,
.astute-lightbox button:focus-visible {
	background: rgba(255, 255, 255, 0.26);
	outline: none;
}

.astute-lightbox__close {
	top: 12px;
	right: 12px;
	width: 44px;
	height: 44px;
}

.astute-lightbox__nav {
	top: 50%;
	width: 44px;
	height: 64px;
	margin-top: -32px;
	font-size: 40px !important;
}

.astute-lightbox__prev {
	left: 10px;
}

.astute-lightbox__next {
	right: 10px;
}

.astute-lightbox.is-single .astute-lightbox__nav {
	display: none;
}

.astute-lightbox__bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 16px;
	display: flex;
	justify-content: center;
	gap: 18px;
	color: rgba(255, 255, 255, 0.85);
	font: 14px/1.4 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

.astute-lightbox__original {
	color: #fff;
	text-decoration: underline;
}

@media (max-width: 600px) {
	.astute-lightbox__figure {
		padding: 56px 8px 56px;
	}

	.astute-lightbox__nav {
		width: 36px;
		height: 52px;
		margin-top: -26px;
		background: rgba(0, 0, 0, 0.35) !important;
	}

	.astute-lightbox__prev {
		left: 4px;
	}

	.astute-lightbox__next {
		right: 4px;
	}
}

@media print {
	.astute-lightbox {
		display: none !important;
	}
}
