/* ==========================================================================
   Elementor compatibility — loaded only when Elementor is active, after
   main.css. Corrects only what Elementor's resets reshape; never out-specifies
   the design's own rules.
   ========================================================================== */

/* 1. Let full-bleed sections go full bleed. */
.elementor .bj-section-widget,
.elementor .bj-section-widget > .elementor-widget-container {
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: none;
}

/* 2. No clipping ancestors: the envelope is position: fixed and the hero
      relies on viewport height. */
.elementor,
.elementor .e-con,
.elementor .e-con-inner,
.elementor .elementor-section,
.elementor .elementor-container,
.elementor .elementor-column,
.elementor .elementor-widget-wrap {
	overflow: visible;
}

/* 3. Images. Elementor's `.elementor img { height: auto }` (0,1,1) would
      collapse photos that fill a fixed-ratio frame. */
.elementor .bj-section-widget .bj-photo img,
.elementor .bj-section-widget img.bj-hero__bg,
.elementor .bj-section-widget .bj-gift-item__art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	max-width: none;
	border-radius: 0;
}

.elementor .bj-section-widget svg.bj-orn {
	height: auto;
}

/* Elementor zeroes figure margins with (0,4,1); restore centring and the
   gallery stagger with one more class. */
.elementor .elementor-widget.bj-section-widget .bj-vows figure.bj-vows__photo,
.elementor .elementor-widget.bj-section-widget .bj-gift figure.bj-gift__photo {
	margin-left: auto;
	margin-right: auto;
}

.elementor .elementor-widget.bj-section-widget .bj-vows figure.bj-vows__photo {
	margin: 0;
}

/* 4. Typography: Elementor's kit can set heading fonts, colours and margins. */
.elementor .bj-section-widget .bj-title,
.elementor .bj-section-widget .bj-dialog__title {
	font-family: var(--bj-display);
	font-weight: 400;
	color: var(--ink-strong);
}

/* Light type on the photo banner and the dark emerald band. */
.elementor .bj-section-widget .bj-band .bj-title {
	color: var(--ivory);
}

/* 5. Editor preview only: keep the canvas reachable. */
.elementor-editor-active .bj-section-widget .bj-hero,
.elementor-editor-preview .bj-section-widget .bj-hero {
	min-height: 70vh;
}

.elementor-editor-active .bj-section-widget [data-reveal],
.elementor-editor-active .bj-section-widget [data-hero-step] {
	opacity: 1 !important;
	transform: none !important;
}

.elementor-editor-active .elementor-widget-empty {
	background: rgba(31, 90, 58, 0.06);
}
