/*
 * Elementor compatibility layer.
 *
 * The original design lives in site.css. These rules only adapt the theme's
 * wrappers to Elementor's container markup and keep the editor usable.
 */

/* The theme's .wrap element used inside Elementor containers. */
.elementor .wrap {
	width: min(1280px, calc(100% - 72px));
	max-width: none;
	margin-left: auto;
	margin-right: auto;
}

/* Section utilities used by the imported layouts. */
.elementor .os-warm {
	background: var(--warm);
}

/* Elementor resets container overflow; keep the decorative rings contained. */
.elementor .e-con.chapter-band {
	overflow: hidden;
}

.elementor .os-pt-0 {
	padding-top: 0;
}

.elementor .os-embed,
.elementor .os-embed > .e-con-inner {
	width: 100%;
}

.os-intro-dark {
	color: #d0d0d0;
}

/* Stacked venture cards keep the original spacing. */
.os-venture-stack .venture-card + .venture-card {
	margin-top: 16px;
}

/* Reveal elements must stay visible in the editor canvas only; the front end
 * keeps the original scroll-in animation. */
.elementor-editor-active .reveal,
.elementor-editor-preview .reveal,
.elementor-html .reveal {
	opacity: 1 !important;
	transform: none !important;
}

/* Keep the theme's button and card links above Elementor's link resets. */
.elementor .article-card a,
.elementor .article-link,
.elementor .venture-feature,
.elementor .venture-tile {
	text-decoration: none;
}

@media (max-width: 720px) {
	.elementor .wrap {
		width: calc(100% - 38px);
	}
}

@media (max-width: 420px) {
	.elementor .wrap {
		width: calc(100% - 30px);
	}
}
