body.msa-gated {
	overflow: hidden;
}

#msa-gate-lock {
	display: none;
}

body.msa-gated #msa-gate-lock {
	display: block;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
	z-index: 200000;
	pointer-events: auto;
	cursor: pointer;
}

/* Elementor popups must sit above the lock or the dimmer covers the modal. */
body.msa-gated .elementor-popup-modal,
body.msa-gated .dialog-type-lightbox.elementor-popup-modal,
body.msa-gated [id^="elementor-popup-modal-"] {
	z-index: 200010 !important;
}

body.msa-gated .elementor-popup-modal .dialog-widget-content,
body.msa-gated [id^="elementor-popup-modal-"] .dialog-widget-content {
	z-index: 200011 !important;
	pointer-events: auto;
}

/* Theme/Elementor often set -webkit-text-fill-color on links, which ignores `color`. */
.elementor-popup-modal a.msa-paid-btn,
.elementor-popup-modal a.msa-paid-btn:link,
.elementor-popup-modal a.msa-paid-btn:visited,
.elementor-popup-modal a.msa-paid-btn:hover,
.elementor-popup-modal a.msa-paid-btn:focus,
.elementor-popup-modal a.msa-paid-btn:active,
.msa-paid a.msa-paid-btn,
.msa-paid a.msa-paid-btn:link,
.msa-paid a.msa-paid-btn:visited,
.msa-paid a.msa-paid-btn:hover,
.msa-paid a.msa-paid-btn:focus,
.msa-paid a.msa-paid-btn:active,
a.msa-paid-btn {
	color: #fff5e5 !important;
	-webkit-text-fill-color: #fff5e5 !important;
	background-image: none !important;
	-webkit-background-clip: padding-box !important;
	background-clip: padding-box !important;
	font-size: 1.05rem !important;
	line-height: 1.2 !important;
	opacity: 1 !important;
}

/* Discovery visitors: no in-course hopping. Breadcrumbs and Return to Lesson List stay. */
body.msa-discovery #ld-focus-sidebar,
body.msa-discovery .ld-focus-sidebar,
body.msa-discovery .ld-focus-sidebar-trigger,
body.msa-discovery .ld-mobile-nav,
body.msa-discovery .ld-trigger-mobile-nav,
body.msa-discovery .ld-content-actions,
body.msa-discovery .ld-course-navigation,
body.msa-discovery .learndash_next_prev_link {
	display: none !important;
}

body.msa-discovery .ld-focus-main,
body.msa-discovery.ld-in-focus-mode .ld-focus-main {
	margin-left: 0 !important;
	width: 100% !important;
}
