popup-overlay {
	display: block;
}
popup-body {
	display: flex;
}
.popup-overlay {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	display: none;
	opacity: 0;
	backdrop-filter: blur(4px);
	transition: opacity .3s ease;
	z-index: 100000000000;
}
.popup {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 80vw;
    max-width: 1000px;
    height: 100%;
    max-height: max-content;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
	transform: translate(-50%, -50%);
	background-color: var(--color-dark);
	padding: 40px;
	border-radius: 20px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	display: none;
	opacity: 0;
	transition: opacity .3s ease, transform .3s ease;
	will-change: opacity, transform;
}
.popup__form {
	width: 70%;
}
.popup h1,
.popup p,
.popup button {
	color: white;
}
.popup__close {
	position: absolute;
    right: 0;
    top: 0;
    font-size: 60px;
    line-height: 0.5;
    margin: 20px 20px 0 0;
	cursor: pointer;
	transform: none;
	transition: transform 0.3s ease;
}
.popup__close:hover {
	transform: scale(1.2) rotate(calc(-22.5deg - 45deg));
}
.popup-overlay.is-open,
.popup.is-open {
	display: block;
}
.popup img {
	image-rendering: -webkit-optimize-contrast;
	image-rendering: crisp-edges;
}
/* html:has(.popup-overlay.is-open) {
	overflow-y: hidden;
} */
.popup:has(.wpforms-confirmation-container-full) {
	padding: 30px;
}
.popup:has(.wpforms-confirmation-container-full) .cta__text-wrapper {
	display: none;
}
.popup:has(.wpforms-confirmation-container-full) .cta__wpforms-wrapper {
	width: 100%;
}
.popup:has(.wpforms-confirmation-container-full) .wpforms-confirmation-container-full {
	margin-bottom: unset !important;
	border: 2px solid var(--color-medium) !important;
	background-color: var(--color-light) !important;
	border-radius: 30px;
    overflow: hidden;
    text-align: center;
}
.popup:has(.wpforms-confirmation-container-full) .wpforms-confirmation-container-full p {
	font-weight: 700;
	font-size: 40px;
	line-height: 120%;
	letter-spacing: normal;
	color: var(--color-dark) !important;
}
.popup:has(.wpforms-confirmation-container-full) .popup__description {
	display: none;
}
.popup .popup__heading {
	font-size: 54px;
    line-height: 120%;
	font-weight: 400;
    letter-spacing: normal;
	color: white;
}



@media screen and (max-width: 800px) {
	.popup__form { width: 100%; }
}
@media screen and (max-width: 500px) {
	.popup { width: 100vw; }
}
@media screen and (max-width: 400px) {
	.popup { padding: 20px; }
	.popup h1 { margin-right: auto; }
}