  /**
 * Codex template — isolate pasted HTML/CSS from theme defaults.
 * Header/footer use normal theme styles; pasted content owns everything inside .codex-root.
 */

body.codex-page .searchbar-container {
	display: none;
}

body.codex-page .codex-root {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	min-height: 0;
	overflow: visible;
	background: transparent;
}

/*
 * Do not blanket-reset descendants. Pasted Codex pages ship their own scoped
 * stylesheet (e.g. #asbury-mission-page { all: initial }) including ::before
 * hero backgrounds. A global all:revert here can win on production depending
 * on cache/minify load order and break CSS variables / pseudo-elements.
 */
body.codex-page .codex-root > :not([id]):not(style):not(script):not(link) {
	all: revert;
	box-sizing: border-box;
}

body.codex-page .codex-root [id] img,
body.codex-page .codex-root [id] video,
body.codex-page .codex-root [id] svg {
	max-width: 100%;
	height: auto;
}
