.epb-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	padding: 20px;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.epb-overlay.epb-visible {
	opacity: 1;
}

.epb-overlay[hidden] {
	display: none;
}

.epb-popup {
	position: relative;
	background: #fff;
	border-radius: 12px;
	max-width: 440px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
	text-align: center;
	transform: scale(0.9);
	transition: transform 0.25s ease;
}

.epb-overlay.epb-visible .epb-popup {
	transform: scale(1);
}

.epb-close {
	position: absolute;
	top: 8px;
	right: 12px;
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #444;
	padding: 4px;
	z-index: 1;
}

.epb-close:hover {
	color: #000;
}

.epb-image {
	width: 100%;
	max-height: 220px;
	object-fit: cover;
	display: block;
	border-radius: 12px 12px 0 0;
}

.epb-content {
	padding: 24px 28px 28px;
}

.epb-heading {
	margin: 0 0 12px;
	font-size: 24px;
	font-weight: 700;
	color: #1a1a1a;
}

.epb-text {
	margin: 0 0 20px;
	font-size: 15px;
	line-height: 1.5;
	color: #555;
}

.epb-cta {
	display: inline-block;
	background: #1a1a1a;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 12px 28px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease;
}

.epb-cta:hover {
	background: #333;
}

@media (max-width: 480px) {
	.epb-popup {
		max-width: 100%;
	}

	.epb-heading {
		font-size: 20px;
	}

	.epb-content {
		padding: 20px 20px 24px;
	}
}
