/*
 * Loaded only on the classic pages converted with tools/build-content.php,
 * after Elementor's stylesheets and before dadsquad-neon.css.
 *
 * On those pages functions.php puts every Elementor stylesheet into a CSS
 * cascade layer, so any unlayered rule (this file, neon.css, pages.css) beats
 * Elementor's regardless of specificity. These low specificity rules turn
 * Elementor's containers and widget wrappers back into the plain block
 * elements the old stylesheet was written for. Anything neon.css says about
 * a class (grid, flex, padding, widths) still wins because it loads later.
 */
.e-con,
.e-con-inner {
	display: block;
	width: auto;
	max-width: none;
	min-height: 0;
	margin: 0;
	padding: 0;
	gap: 0;
	--width: auto;
	--content-width: 100%;
	--container-max-width: 100%;
	--margin-left: 0;
	--margin-right: 0;
	/* Elementor's flex defaults (column, stretch) must not leak into the old
	 * stylesheet's own flex rows, which rely on the CSS initial values. */
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: normal;
	justify-content: normal;
	align-content: normal;
	--flex-direction: row;
	--flex-wrap: nowrap;
	--align-items: normal;
	--justify-content: normal;
}
.elementor-widget {
	margin: 0;
	width: auto;
	max-width: none;
}
.elementor-widget > .elementor-widget-container,
.elementor-widget-text-editor,
.elementor-widget-html,
.elementor-widget-shortcode {
	display: contents;
}
.elementor-widget-text-editor {
	font-family: inherit;
	font-weight: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

/* Elementor reserves ::before on every container for its background overlay
 * and positions it absolutely. The old stylesheet draws real things with
 * ::before (the numbered cards, textures), so put the pseudo-element back in
 * normal flow; any neon rule that wants it absolute says so itself. */
.e-con::before,
.e-con::after {
	position: static;
	inset: auto;
	z-index: auto;
	width: auto;
	height: auto;
	pointer-events: auto;
	background: none;
	mix-blend-mode: normal;
	opacity: 1;
}
