.pf-popup[hidden] { display: none; }

html.pf-popup-open { overflow: hidden; }

.pf-popup {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	opacity: 0;
	transition: opacity 200ms ease;
}

.pf-popup.is-open { opacity: 1; }

.pf-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, 0.6);
}

.pf-popup__dialog {
	position: relative;
	background: #fff;
	border-radius: 16px;
	max-width: 480px;
	width: 100%;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 32px 28px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	transform: translateY(10px) scale(0.98);
	transition: transform 200ms ease;
	text-align: center;
	box-sizing: border-box;
}

.pf-popup.is-open .pf-popup__dialog {
	transform: translateY(0) scale(1);
}

.pf-popup__close {
	position: absolute;
	top: 10px;
	right: 14px;
	background: transparent;
	border: 0;
	font-size: 28px;
	line-height: 1;
	color: #666;
	cursor: pointer;
	padding: 4px 8px;
}

.pf-popup__close:hover { color: #111; }

.pf-popup__image {
	margin: 0 0 16px;
}

.pf-popup__image img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
	border-radius: 8px;
}

.pf-popup__title {
	font-size: 22px;
	line-height: 1.25;
	margin: 0 0 12px;
	color: #2B255C;
}

.pf-popup__content {
	font-size: 15px;
	line-height: 1.5;
	color: #333;
	margin: 0 0 20px;
}
.pf-popup__content p{
	margin-bottom: 16px;
}

.pf-popup__content p:last-child { margin-bottom: 0; }

.pf-popup__cta {
	display: inline-block;
	background-color: #2a255c;
    border-bottom: 5px solid #4bbdcf;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	padding: 12px 24px;
	
	transition: background 150ms ease;
}

.pf-popup__cta:hover,
.pf-popup__cta:focus {
	background-color: #ffffff;
	border: solid #2a255c;
	border-width: 1px 1px 5px;
	color: #2a255c;
}

@media (max-width: 480px) {
	.pf-popup__dialog { padding: 24px 20px; }
	.pf-popup__title { font-size: 19px; }
}
