.gated-download-wrap {
	display: flex;
}

.gated-download-btn {
	display: inline-block;
	border: none;
	cursor: pointer;
	font-family: inherit;
	line-height: 1;
	text-align: center;
}

.gated-download-placeholder {
	padding: 12px;
	border: 1px dashed #c3c4c7;
	color: #646970;
	font-size: 13px;
}

.gated-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gated-modal[hidden] {
	display: none;
}

.gated-modal__scrim {
	position: absolute;
	inset: 0;
	background: rgba( 17, 17, 17, 0.6 );
}

.gated-modal__panel {
	position: relative;
	z-index: 1;
	background: #fff;
	border-radius: 12px;
	max-width: 480px;
	width: calc( 100% - 40px );
	max-height: calc( 100vh - 40px );
	overflow-y: auto;
	padding: 32px;
	box-shadow: 0 20px 60px rgba( 0, 0, 0, 0.25 );
	opacity: 0;
	transform: translateY( 12px ) scale( 0.98 );
	transition: opacity 200ms ease, transform 200ms ease;
}

.gated-modal.is-open .gated-modal__panel {
	opacity: 1;
	transform: translateY( 0 ) scale( 1 );
}

@media ( prefers-reduced-motion: reduce ) {
	.gated-modal__panel {
		transition: none;
		transform: none;
	}
}

.gated-modal__close {
	position: absolute;
	top: 8px;
	right: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	padding: 10px;
	margin: 0;
	background: transparent !important;
	background-image: none !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	color: #111;
}

.gated-modal__heading {
	margin: 0 32px 8px 0;
	font-size: 18px;
}

.gated-modal__description {
	margin: 0 0 20px;
	color: #444;
}

.gated-modal__description:empty {
	display: none;
}

.gated-modal__form[hidden] {
	display: none;
}

body.gated-modal-open {
	overflow: hidden;
}
