.acf-popup-wrapper {
	position: fixed;
	inset: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 99999;
}

.acf-popup {
	background: #fff;
	border: 1px solid #1c3ab0;
	width: 100%;
	max-width: 720px;
	position: relative;
	padding-bottom: 63px;
}

.acf-popup-head {
	display: flex;
	border-bottom: 1px solid #1c3ab0;
	padding: 32px;
}

.acf-popup-close {
	margin-left: auto;
	cursor: pointer;
	padding: 0;
	outline: 0;
	background-color: transparent;
	border: 0;
}

.acf-popup-content {
	padding: 40px 63px 30px;
	color: #1c3ab0;
}

.acf-popup-content h1,
.acf-popup-content h2,
.acf-popup-content h3,
.acf-popup-content h4,
.acf-popup-content h5,
.acf-popup-content h6 {
	margin-bottom: 16px;
	color: #1c3ab0;
	font-weight: 700;
}
.acf-popup-content h1:last-child,
.acf-popup-content h2:last-child,
.acf-popup-content h3:last-child,
.acf-popup-content h4:last-child,
.acf-popup-content h5:last-child,
.acf-popup-content h6:last-child {
	margin-bottom: 0;
}
.acf-popup-content h1 {
	font-size: 42px;
}
.acf-popup-content h2 {
	font-size: 36px;
}
.acf-popup-content h3 {
	font-size: 30px;
}
.acf-popup-content h4 {
	font-size: 24px;
}
.acf-popup-content h5 {
	font-size: 18px;
}

.acf-popup-content h6 {
	font-size: 12px;
}

.acf-popup-content p {
	margin-bottom: 10px;
	color: #1c3ab0;
}
.acf-popup-content p:last-child {
	margin-bottom: 0;
}

.acf-popup-link {
	display: flex;
	gap: 16px;
	padding: 0 63px;
}

.acf-popup-btn {
	font-weight: 700;
	font-size: 20px;
	text-transform: uppercase;
	color: #1c3ab0;
	text-decoration: none;
	padding-bottom: 16px;
	border-bottom: 1px solid #1c3ab0;
}
.acf-popup-btn:hover {
	color: #1c3ab0;
	border-bottom: 1px solid transparent;
}


@media (max-width: 720px) {
	.acf-popup {
		width: calc(100% - 32px);
		max-width: none;
		padding-bottom: 20px;
		display: flex;
		flex-direction: column;
		max-height: 80vh;
	}

	.acf-popup-head {
		padding: 20px;
	}

	.acf-popup-content {
		padding: 24px 20px;
		max-height: 100%;
		overflow-x: auto;
		margin-bottom: 20px;
	}

	.acf-popup-link {
		padding: 0 20px;
	}
}
