@keyframes openDialog {
	from {
		opacity: 0;
		translate: 0 -20px;
	}

	to {
		opacity: 1;
		translate: 0 0;
	}
}

@keyframes closeDialog {
	to {
		opacity: 0;
		translate: 0 -20px;
	}
}

body:has(dialog[open]) {
	overflow: hidden;
}

body dialog {
	border: none;
	padding: 0;
	border: none;
	background: #01031A;
	overflow-x: clip;
	overflow-y: scroll;
}

body dialog:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	background: url('/wp-content/uploads/2025/05/Ellipse-2.svg') no-repeat top left;
	width: 1032px;
	height: 1032px;
	pointer-events: none;
	opacity: 0.5;

}

body dialog:after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="482" height="957" viewBox="0 0 482 957" fill="none"><path d="M482.182 684.117L241.241 353.326L482.182 17.2003L482.182 -302.92L0.300873 358.662L482.182 1009.57L482.182 684.117Z" fill="white" fill-opacity="0.08"/></svg>') no-repeat top right;
	pointer-events: none;
	height: 100%;
	width: 482px;
}

body dialog>svg {
	position: absolute;
	right: 30px;
	top: 30px;
	cursor: pointer;
	height: 13px;
	width: 13px;
}

body dialog>svg path {
	transition: fill 0.3s ease-in-out;
}

body dialog>svg:hover path {
	fill: #FFEA3B;
}

body dialog>.dialog-wrapper {
	width: calc(100vw - 40px);
	max-width: 1160px;
	padding: 60px 100px;

}

body dialog[open] {
	animation: openDialog 0.5s ease normal;
	-webkit-animation: openDialog 0.5s ease normal;
}

body dialog.hideDialog {
	animation: closeDialog 0.5s ease normal;
	-webkit-animation: closeDialog 0.5s ease normal;
}

body dialog.hideDialog::backdrop {
	opacity: 0;
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="1512" height="1097" viewBox="0 0 1512 1097" fill="none"><foreignObject x="-16.002" y="-12.1983" width="1553.25" height="1573.81"><div xmlns="http://www.w3.org/1999/xhtml" style="backdrop-filter:blur(5px);clip-path:url(%23bgblur_0_376_8749_clip_path);height:100%;width:100%"></div></foreignObject><path data-figma-bg-blur-radius="10" d="M-6.00195 -2.19835H1527.25V1551.61C928.475 1551.61 592.768 1551.61 -6.00195 1551.61V-2.19835Z" fill="%2302030E" fill-opacity="0.5"/><defs><clipPath id="bgblur_0_376_8749_clip_path" transform="translate(16.002 12.1983)"><path d="M-6.00195 -2.19835H1527.25V1551.61C928.475 1551.61 592.768 1551.61 -6.00195 1551.61V-2.19835Z"/></clipPath></defs></svg>');
	backdrop-filter: blur(0px);
}

body dialog::backdrop {
	transition: background-image 0.5s ease-in-out, backdrop-filter 0.5s ease-in-out, opacity 0.5s ease-in-out;
	opacity: 1;
	backdrop-filter: blur(5px);
}

body dialog>.dialog-wrapper .dialog-content {
	position: relative;
	z-index: 1;
}

body dialog>.dialog-wrapper .dialog-content .dialog-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
	position: sticky;
	top: 0;
}

body dialog>.dialog-wrapper .dialog-content .dialog-header p,
body dialog>.dialog-wrapper .dialog-content .dialog-header h2 {
	color: #fff;
}

body dialog>.dialog-wrapper .dialog-content .dialog-header p {
	font-size: clamp(20px, 2.48vw, 24px);
	line-height: 120%;
	margin-bottom: 40px;
}

body dialog>.dialog-wrapper .dialog-content .dialog-header .quote p {
	font-size: clamp(20px, 2.48vw, 24px);
	line-height: 120%;
	border-left: 2px solid #FFEA3B;
	padding-left: 36px;
	color: #fff;
	margin: 0;
}

body dialog>.dialog-wrapper .dialog-content .dialog-header .header-image img {
	width: 304px;
	height: 339px;
	border-radius: 5px;
	object-fit: cover;
}

body dialog>.dialog-wrapper .dialog-content .dialog-body {
	background: #fff;
	border-radius: 5px;
	padding: 80px 160px 80px 48px;
	margin-top: 60px;
	color: #04082D;
	z-index: 2;
	position: relative;
}

body dialog>.dialog-wrapper .dialog-content .dialog-body h2 {
	font-size: clamp(24px, 2.48vw, 28px);
	margin-bottom: 24px;
}

body dialog>.dialog-wrapper .dialog-content .dialog-body .dialog-cta {
	margin-top: 56px;
	border-radius: 5px;
	background: #FFEA3B;
	padding: 40px;
}

body dialog>.dialog-wrapper .dialog-content .dialog-body .dialog-cta h3 {
	font-size: clamp(24px, 2.48vw, 32px);
	line-height: 120%;
	margin-bottom: 8px;
}

body dialog>.dialog-wrapper .dialog-content .dialog-body .dialog-cta p {
	margin-bottom: 0;
	font-size: 16px;
	line-height: 160%;
}


@media screen and (max-width: 1200px) {
	body dialog>.dialog-wrapper {
		padding: 60px 60px;
	}
}

@media screen and (max-width: 992px) {
	body dialog>.dialog-wrapper {
		padding: 60px 40px;
	}

	body dialog>.dialog-wrapper .dialog-content .dialog-header {
		flex-direction: column;
		align-items: flex-start;
	}

	body dialog>.dialog-wrapper .dialog-content .dialog-body {
		padding: 40px;
		margin-top: 40px;
	}

	body dialog>.dialog-wrapper .dialog-content .dialog-body .dialog-cta {
		margin-top: 40px;
	}

}

@media screen and (max-width: 767px) {
	body dialog>.dialog-wrapper {
		padding: 40px 20px;
	}

	body dialog>.dialog-wrapper .dialog-content .dialog-body {
		padding: 20px;
	}

	body dialog>.dialog-wrapper .dialog-content .dialog-body .dialog-cta {
		margin-top: 20px;
		padding: 20px;
	}

}