.tjc-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(20, 16, 13, 0.92);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease;
}

.tjc-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.tjc-lightbox__figure {
	position: relative;
	max-width: 90vw;
	max-height: 88vh;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tjc-lightbox__img {
	max-width: 90vw;
	max-height: 88vh;
	width: auto;
	height: auto;
	display: block;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.tjc-lightbox__img.is-loaded {
	opacity: 1;
}

.tjc-lightbox__close,
.tjc-lightbox__prev,
.tjc-lightbox__next {
	position: fixed;
	background: transparent;
	border: 0;
	color: #faf7f2;
	cursor: pointer;
	padding: 12px;
	line-height: 1;
	opacity: 0.8;
	transition: opacity 0.2s ease;
}

.tjc-lightbox__close:hover,
.tjc-lightbox__prev:hover,
.tjc-lightbox__next:hover {
	opacity: 1;
}

.tjc-lightbox__close {
	top: 16px;
	right: 24px;
	font-size: 2rem;
}

.tjc-lightbox__prev,
.tjc-lightbox__next {
	top: 50%;
	transform: translateY(-50%);
	font-size: 2.5rem;
}

.tjc-lightbox__prev {
	left: 12px;
}

.tjc-lightbox__next {
	right: 12px;
}

.tjc-lightbox__counter {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	color: #faf7f2;
	opacity: 0.7;
	font-size: 0.85rem;
	letter-spacing: 0.5px;
}

@media (max-width: 600px) {
	.tjc-lightbox__prev,
	.tjc-lightbox__next {
		font-size: 1.75rem;
		padding: 8px;
	}
}
