.er-popup {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
}
.er-popup.is-visible {
	display: flex;
}
.er-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}
.er-popup__panel {
	position: relative;
	display: flex;
	max-width: 950px;
	width: 90vw;
	max-height: 85vh;
	background: #F4F4FF;
	border-radius: 30px;
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}
.er-popup__close {
	position: absolute;
	top: 12px;
	right: 16px;
	background: transparent;
	border: none;
	color: var(--er-dark-green, #1F3D2B);
	cursor: pointer;
	z-index: 2;
	padding: 6px;
}
.er-popup__content {
	flex: 1;
	padding: 60px 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	justify-content: center;
	gap: 16px;
}
.er-popup__content h2 {
	margin: 0;
	font-family: Nunito, sans-serif;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--er-dark-green, #1F3D2B);
}
.er-popup__title-accent {
	color: var(--er-sage, #C3E4B3);
}
.er-popup__content p {
	margin: 0;
	color: var(--er-secondary, #54595F);
	font-size: 18px;
	max-width: 340px;
}
.er-popup__cta {
	display: inline-block;
	background: var(--er-dark-green, #1F3D2B);
	color: var(--er-gold, #E3BA61);
	border: 1px solid var(--er-dark-green, #1F3D2B);
	border-radius: 6px;
	padding: 16px 25px;
	font-family: Nunito, sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.2px;
	text-decoration: none;
}
.er-popup__image {
	flex: 1;
	min-height: 400px;
}
.er-popup__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 767px) {
	.er-popup__panel {
		flex-direction: column;
		max-height: 90vh;
		overflow-y: auto;
	}
	.er-popup__image {
		flex: none;
		width: 100%;
		height: 220px;
		order: -1;
	}
	.er-popup__content {
		flex: none;
		width: 100%;
		padding: 32px 24px;
	}
	.er-popup__content h2 {
		font-size: 24px;
	}
}
