/*
 * Fallback layout styles when Elementor uploads CSS (post-XXXX.css) is missing or incomplete.
 * Also applies inside main.hcp-home-rebuilt .hcp-imported-live (scraped homepage bundle).
 */

/* --- Flex containers (Elementor nested “container” markup) ---------------- */
:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .e-flex {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	box-sizing: border-box;
}

:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .e-con,
:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .e-parent {
	box-sizing: border-box;
	width: 100%;
}

:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .e-con-boxed > .e-con-inner {
	width: min(1180px, 94vw);
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .e-con-full {
	width: 100%;
}

:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .elementor-element.e-con-full.e-flex {
	column-gap: clamp(14px, 3vw, 28px);
	row-gap: clamp(18px, 4vw, 34px);
}

/* --- Legacy section / column grids --------------------------------------- */
:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .elementor-section,
:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .elementor-top-section {
	width: 100%;
	box-sizing: border-box;
}

:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .elementor-container {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .elementor-row {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .elementor-column {
	flex-grow: 0;
	flex-shrink: 0;
	box-sizing: border-box;
	min-width: 0;
	padding: 8px clamp(10px, 2vw, 15px);
}

@media (max-width: 767px) {
	:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .elementor-col-33,
	:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .elementor-col-50,
	:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .elementor-col-66 {
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}
}

@media (min-width: 768px) {
	:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .elementor-col-100 {
		flex: 0 0 100%;
		max-width: 100%;
	}

	:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .elementor-col-66 {
		flex: 0 0 66.666%;
		max-width: 66.666%;
	}

	:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .elementor-col-50 {
		flex: 0 0 50%;
		max-width: 50%;
	}

	:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .elementor-col-33 {
		flex: 0 0 33.333%;
		max-width: 33.333%;
	}

	:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .elementor-col-25 {
		flex: 0 0 25%;
		max-width: 25%;
	}
}

/* --- Shape divider (prevent giant black SVG band) ------------------------- */
:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .elementor-shape {
	position: relative;
	left: auto;
	right: auto;
	overflow: hidden;
	line-height: 0;
	pointer-events: none;
	transform: rotate(180deg);
}

:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .elementor-shape svg {
	display: block;
	height: clamp(52px, 14vw, 140px);
	width: 100%;
}

:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) path.elementor-shape-fill {
	fill: rgb(239 246 252);
	opacity: 1;
}

/* --- Forms (Elementor widget “form”) -------------------------------------- */
:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .elementor-form-fields-wrapper {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	box-sizing: border-box;
	max-width: 540px;
}

:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .elementor-field-group {
	flex: none !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .elementor-field-group label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 0.35rem;
}

:is(main.hcp-home-shell, main.hcp-home-rebuilt .hcp-imported-live) .elementor-field-textual {
	width: 100%;
	box-sizing: border-box;
	padding: 0.62rem 0.72rem !important;
	border-radius: 8px !important;
	border: 1px solid rgb(210 226 239) !important;
	background: #fff !important;
}
