/* Lightbox for images in post content (assets/lightbox.js). */

.jk-entry-content img.jk-zoomable {
	cursor: zoom-in;
}

.jk-entry-content img.jk-zoomable:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

html.jk-lightbox-open {
	overflow: hidden;
}

.jk-lightbox {
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	max-height: 100vh;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-out;
}

.jk-lightbox[open] {
	display: grid;
	place-items: center;
}

.jk-lightbox::backdrop {
	background: rgba(10, 10, 8, 0.92);
}

.jk-lightbox__image {
	display: block;
	width: auto;
	height: auto;
	max-width: 95vw;
	max-height: 92vh;
	background: #fff;
}

.jk-lightbox__close {
	position: fixed;
	top: 0.75rem;
	right: 0.75rem;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font: 400 2rem/1 Helvetica, Arial, sans-serif;
	cursor: pointer;
}

.jk-lightbox__close:hover,
.jk-lightbox__close:focus-visible {
	background: rgba(255, 255, 255, 0.3);
	outline: 2px solid #fff;
	outline-offset: 2px;
}
