/**
 * Homepage hero layout fixes — Elementor page 6371.
 * Overrides column widths >100%, fixed image px widths, and unconstrained H1.
 */

body.elementor-page-6371 {
	overflow-x: clip;
}

/* Hero row: contain overflow from wave divider and columns */
.elementor-6371 .elementor-element.elementor-element-093fdbf {
	overflow-x: clip;
}

.elementor-6371 .elementor-element.elementor-element-093fdbf > .e-con-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	width: 100%;
	max-width: 1140px;
	margin-inline: auto;
}

/* Columns: 50/50, allow shrink (Elementor had 55.14% + 50% with flex-shrink:0) */
@media (min-width: 768px) {
	.elementor-6371 .elementor-element.elementor-element-1ebd454.e-con {
		--width: 50% !important;
		--flex-shrink: 1 !important;
		flex: 1 1 0 !important;
		min-width: 0 !important;
		max-width: 50% !important;
	}

	.elementor-6371 .elementor-element.elementor-element-c8a00f1.e-con {
		--width: 50% !important;
		flex: 1 1 0 !important;
		min-width: 0 !important;
		max-width: 50% !important;
	}
}

/* Hero images: responsive (Elementor had width:728px) */
.elementor-6371 .elementor-element.elementor-element-f1ddb6b img,
.elementor-6371 .elementor-element.elementor-element-c982591 img,
.elementor-6371 .elementor-element.elementor-element-f1ddb6b picture,
.elementor-6371 .elementor-element.elementor-element-c982591 picture {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
}

.elementor-6371 .elementor-element.elementor-element-c8a00f1 {
	align-items: center !important;
}

/* H1: constrain measure on desktop */
.elementor-6371 .elementor-element.elementor-element-014857e .elementor-heading-title {
	font-size: clamp(1.25rem, 2.8vw, 2.9375rem) !important;
	line-height: 1.25 !important;
	max-width: min(560px, 100%) !important;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

/* Wave divider: stay within viewport */
.elementor-6371 .elementor-element.elementor-element-093fdbf > .elementor-shape-bottom svg,
.elementor-6371 .elementor-element.elementor-element-093fdbf > .e-con-inner > .elementor-shape-bottom svg {
	width: 100% !important;
	max-width: 100% !important;
}
