/* ==========================================================================
   Elementor compatibility — loaded only when Elementor is active.
   The BAM section widgets output the theme's own full-width <section>
   markup, so Elementor's wrapper containers must add no spacing or width
   limits of their own.
   ========================================================================== */

.elementor .bam-el-wrap {
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--margin-top: 0px;
	--margin-bottom: 0px;
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	padding: 0;
	margin: 0;
	width: 100%;
	max-width: none;
}

.elementor .bam-el-wrap > .elementor-widget,
.elementor .bam-el-wrap > .elementor-widget > .elementor-widget-container {
	width: 100%;
	margin: 0;
	padding: 0;
}

/* Elementor resets: keep theme image/link/heading behaviour inside the sections. */
.elementor .bam-el-wrap img { max-width: 100%; }
.elementor .bam-el-wrap .page-banner__art img,
.elementor .bam-el-wrap .hero__art img { height: 100%; }
.elementor .bam-el-wrap a { text-decoration: none; }

/* Site header / footer built in Elementor: flatten every wrapper so the
   <header> stays sticky against the page (not against a short wrapper) and
   the <footer> sits directly in the page flow, exactly like the theme default. */
.bam-el-part,
.bam-el-part .elementor,
.bam-el-part .e-con,
.bam-el-part .elementor-widget,
.bam-el-part .elementor-widget-container {
	display: contents;
}

/* Editor-only note shown where a section is switched off. */
.bam-el-hidden-note {
	margin: 8px;
	padding: 18px;
	border: 2px dashed #E87B3A;
	border-radius: 8px;
	background: #FFF7F0;
	color: #92351C;
	font: 600 14px/1.4 sans-serif;
	text-align: center;
}
