/* pokerbro lightbox - replaces the wp-fancybox plugin stylesheet. */
.pbx {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.92);
	padding: 48px 16px 72px;
}

.pbx.is-open {
	display: flex;
}

body.pbx-lock {
	overflow: hidden;
}

.pbx__stage {
	max-width: 100%;
	max-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pbx__media {
	max-width: 100%;
	max-height: 80vh;
	display: block;
	border-radius: 4px;
}

.pbx__media--video {
	width: min(90vw, 1100px);
	height: min(50.6vw, 619px);
	border: 0;
}

.pbx__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 20px;
	text-align: center;
	color: #fff;
	font-size: 15px;
	line-height: 1.4;
	padding: 0 24px;
}

.pbx__close,
.pbx__nav {
	position: absolute;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	border: 0;
	cursor: pointer;
	line-height: 1;
	border-radius: 50%;
	transition: background 0.15s ease;
}

.pbx__close:hover,
.pbx__nav:hover {
	background: rgba(255, 255, 255, 0.28);
}

.pbx__close {
	top: 12px;
	right: 12px;
	width: 44px;
	height: 44px;
	font-size: 30px;
}

.pbx__nav {
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	font-size: 32px;
}

.pbx__nav--prev {
	left: 12px;
}

.pbx__nav--next {
	right: 12px;
}

@media (max-width: 767px) {
	.pbx {
		padding: 56px 8px 64px;
	}

	.pbx__nav {
		width: 40px;
		height: 40px;
		font-size: 26px;
	}

	.pbx__media--video {
		height: min(56.25vw, 300px);
	}
}
