/* Container responsiveness without CSS size containment, which can collapse
 * shortcode widgets inside shrink-to-fit Elementor containers. */
.ncrm-form-embed,
.elementor-shortcode.ncrm-has-native-form,
.elementor-widget-shortcode.ncrm-has-native-form,
.elementor-shortcode:has(.ncrm-form-embed),
.elementor-widget-shortcode:has(.ncrm-form-embed),
.elementor-widget-shortcode:has(.ncrm-form-embed) > .elementor-widget-container,
.elementor-widget-shortcode.ncrm-has-native-form > .elementor-widget-container {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
}

.elementor-widget-shortcode.ncrm-has-native-form,
.elementor-widget-shortcode:has(.ncrm-form-embed) {
	flex: 1 1 100% !important;
	align-self: stretch !important;
}

.ncrm-form-shell {
	container-type: normal !important;
	width: 100% !important;
	max-width: var(--ncrm-form-max-width, 760px) !important;
}

.ncrm-form-shell.ncrm-is-narrow .ncrm-grid {
	grid-template-columns: 1fr;
}

.ncrm-form-shell.ncrm-is-narrow .ncrm-width-half,
.ncrm-form-shell.ncrm-is-narrow .ncrm-width-full {
	grid-column: 1;
}

.ncrm-form-shell.ncrm-is-narrow.ncrm-preset-soft,
.ncrm-form-shell.ncrm-is-narrow.ncrm-preset-card,
.ncrm-form-shell.ncrm-is-narrow.ncrm-preset-dark {
	padding: 22px 18px;
}

.ncrm-form-shell.ncrm-is-narrow .ncrm-submit {
	width: 100%;
}
