.bpu-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(20, 20, 20, 0.75);
	z-index: 99999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.bpu-overlay.bpu-active {
	display: flex;
}

body.bpu-no-scroll {
	overflow: hidden;
}

/* Parent wrapper: holds the close/prev/next icons AND the popup box as
   siblings, so the icons can sit outside the box's edges without being
   clipped by the box's own padding/overflow. */
.bpu-modal-wrapper {
	position: relative;
	width: 100%;
	max-width: 720px;
}

.bpu-modal {
	position: relative;
	background: #ffffff;
	width: 100%;
	max-height: 85vh;
	overflow-y: auto;
	border-radius: 6px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	padding: 55px 55px 45px;
}

.bpu-close {
	position: absolute;
	top: -18px;
	right: -18px;
	background: #ffffff;
	border: 1px solid #dddddd;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	font-size: 24px;
	line-height: 1;
	color: #333333;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.bpu-close:hover {
	color: #000000;
	background: #f5f5f5;
}

.bpu-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid #dddddd;
	color: #333333;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.bpu-nav:hover {
	background: #ffffff;
	color: #000000;
}

.bpu-prev {
	left: -63px;
}

.bpu-next {
	right: -63px;
}

.bpu-popup-title {
	font-size: 30px;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0 0 22px;
	line-height: 1.25;
}

.bpu-popup-content {
	color: #2b3245;
	font-size: 16px;
	line-height: 1.65;
}

.bpu-popup-content p {
	margin: 0 0 14px;
}

.bpu-popup-content ul,
.bpu-popup-content ol {
	margin: 0 0 14px;
	padding-left: 20px;
}

.bpu-popup-content li {
	margin-bottom: 8px;
}

@media (max-width: 782px) {
	.bpu-modal {
		padding: 45px 22px 30px;
	}

	.bpu-close {
		top: -14px;
		right: 6px;
	}

	.bpu-prev {
		left: 6px;
	}

	.bpu-next {
		right: 6px;
	}

	.bpu-nav {
		width: 38px;
		height: 38px;
		font-size: 20px;
	}

	.bpu-popup-title {
		font-size: 24px;
	}
}
