.pfp-popup-wrapper {
	position: fixed;
	left: clamp(12px, 2.2vw, 24px);
	bottom: clamp(12px, 2.2vw, 24px);
	z-index: 99999;
	max-width: calc(100vw - 24px);
}

.pfp-popup-close {
	position: absolute;
	top: -12px;
	right: -12px;
	width: 28px;
	height: 28px;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: #1d3176;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.24s ease, transform 0.24s ease;
	z-index: 1000;
}

.pfp-popup-close:hover,
.pfp-popup-close:focus-visible {
	background-color: #152450;
	transform: scale(1.1);
}

.pfp-popup-close:active {
	transform: scale(0.95);
}

.pfp-popup-close svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
}

.pfp-popup-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.pfp-popup-card {
	width: min(96vw, 335px);
	padding: 16px 16px 14px;
	border-radius: 16px;
	background: #fff;
	border: 3px solid #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-rows: auto;
	column-gap: 12px;
	row-gap: 10px;
	align-items: end;
	transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

.pfp-popup-link:hover .pfp-popup-card,
.pfp-popup-link:focus-visible .pfp-popup-card {
	background: #fff;
	border-color: #1d3176;
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.pfp-popup-copy {
	grid-column: 1;
	min-width: 0;
}

.pfp-popup-title {
	grid-column: 1 / -1;
	width: 100%;
	margin: 0 0 2px;
	font-size: clamp(18px, 1.5vw, 20px);
	line-height: 1.15;
	font-weight: 500;
	color: #1f1f1f;
	letter-spacing: -0.01em;
}

.pfp-popup-meta {
	margin-bottom: 6px;
	font-size: 16px;
	line-height: 1.2;
	font-weight: 500;
	color: #1f1f1f;
}

.pfp-popup-location {
	font-size: 16px;
	line-height: 1.25;
	color: #1f1f1f;
	margin-bottom: 10px;
}

.pfp-popup-cta {
	display: inline-block;
	min-width: 92px;
	padding: 8px 18px;
	border-radius: 8px;
	background: #1d3176;
	color: #fff;
	font-size: 24px;
	line-height: 1;
	font-weight: 600;
	text-align: center;
}

.pfp-popup-logo {
	grid-column: 2;
	justify-self: end;
	align-self: end;
	min-width: 0;
}

.pfp-popup-logo img {
	display: block;
	max-width: 160px;
	max-height: 92px;
	width: min(100%, 160px);
	height: auto;
	object-fit: contain;
}

.pfp-popup-card--no-logo .pfp-popup-copy {
	grid-column: 1 / -1;
}

.pfp-popup-wrapper.pfp-popup-hidden {
	display: none;
}

@media (max-width: 640px) {
	.pfp-popup-close {
		position: absolute;
	top: -12px;
	right: -12px;
	width: 28px;
	height: 28px;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: #1d3176;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.24s ease, transform 0.24s ease;
	z-index: 1000;


	}

	.pfp-popup-close svg {
		width: 18px;
		height: 18px;
	}
	.pfp-popup-card {
		padding: 14px;
		column-gap: 10px;
		row-gap: 8px;
	}

	.pfp-popup-title {
		font-size: 18px;
		line-height: 1.18;
	}

	.pfp-popup-meta,
	.pfp-popup-location {
		font-size: 15px;
	}

	.pfp-popup-cta {
		font-size: 20px;
		padding: 8px 14px;
	}

	.pfp-popup-logo img {
		max-width: 110px;
		max-height: 80px;
		width: min(100%, 110px);
	}
}
