/* ============================================================
   Crown — Elementor page integration
   Pages are built with a single Elementor section > column >
   Shortcode widget. This neutralises Elementor's layout chrome
   so the theme's own Bootstrap markup fills the full width.
   ============================================================ */

.crown-site .elementor-widget-container {
	margin: 0;
	padding: 0;
}

.crown-site .elementor-section,
.crown-site .elementor-container,
.crown-site .elementor-column,
.crown-site .elementor-widget {
	margin: 0;
}

.crown-site .elementor-section > .elementor-container {
	max-width: none !important;
	width: 100% !important;
	margin-left: auto;
	margin-right: auto;
}

.crown-site .elementor-container > .elementor-column {
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.crown-site .elementor-column > .elementor-element-populated {
	padding: 0 !important;
}

.crown-site .elementor-widget,
.crown-site .elementor-widget-container,
.crown-site .elementor-shortcode,
.crown-site .elementor-shortcode > div,
.crown-site .elementor-shortcode > section {
	max-width: none !important;
}

/* The page body shortcode is the direct child of the shortcode widget. */
.crown-site .crown-main {
	margin: 0;
	padding: 0;
}

/* Elementor's `.elementor img { height: auto }` (specificity 0,1,1) overrides
   theme logo/icon sizing (0,1,0). Re-assert with scoped selectors that win. */
.crown-site .elementor .crown-brand__logo {
	display: block;
	width: auto;
	height: 56px;
	max-width: min(220px, 52vw);
	object-fit: contain;
}

.crown-site .elementor .crown-brand__logo--footer {
	height: 72px;
	max-width: min(240px, 70vw);
}

.crown-site .elementor .crown-icon-img {
	display: inline-block;
	width: auto;
	height: 1.05rem;
	object-fit: contain;
	flex-shrink: 0;
	vertical-align: middle;
}

.crown-site .elementor .crown-icon-img--box {
	height: 1.35rem;
}

.crown-site .elementor .crown-factory-flagship__eyebrow .crown-icon-img {
	height: 1.1rem;
}

/* Theme Builder header/footer wrappers */
.elementor-location-header .elementor-section,
.elementor-location-header .elementor-container,
.elementor-location-header .elementor-column,
.elementor-location-header .elementor-widget-container,
.elementor-location-footer .elementor-section,
.elementor-location-footer .elementor-container,
.elementor-location-footer .elementor-column,
.elementor-location-footer .elementor-widget-container {
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
}

.crown-site .elementor-widget-html {
	max-width: none !important;
}
