.aecom-popup-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0, 0, 0, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	box-sizing: border-box;
}

.aecom-popup-dialog {
	background: #fff;
	color: #1d2327;
	max-width: min(92vw, 56rem);
	width: 100%;
	max-height: min(90vh, 48rem);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	border-radius: 4px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.aecom-popup-header {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 0.5rem 0.5rem 0;
	flex-shrink: 0;
}

.aecom-popup-close {
	flex-shrink: 0;
	margin: 0;
	padding: 0.15em 0.35em;
	font-size: 1.5rem;
	line-height: 1;
	border: none;
	background: transparent;
	color: inherit;
	cursor: pointer;
	border-radius: 2px;
}

.aecom-popup-close:hover,
.aecom-popup-close:focus-visible {
	background: rgba(0, 0, 0, 0.06);
	outline: none;
}

.aecom-popup-body {
	padding: 1.25rem 1.5rem 1.5rem;
	overflow-y: auto;
	flex: 1;
	min-height: 0;
}

.aecom-popup-body > *:first-child {
	margin-top: 0;
}

.aecom-popup-body > *:last-child {
	margin-bottom: 0;
}

.aecom-popup-body img,
.aecom-popup-body video {
	max-width: 100%;
	height: auto;
}

.aecom-popup-body iframe {
	max-width: 100%;
}

html.aecom-popup-open body {
	overflow: hidden;
}
