/**
 * U-Consults — Elementor design-system bridge.
 *
 * Applied on builder-rendered pages (body.uc-builder). Guarantees Elementor
 * content stays inside the U-Consults navy/gold/Playfair system even when a
 * page was built while the Kit still held factory defaults.
 *
 * @package UConsults
 * @since 1.0.2
 */

/* Never squeeze Elementor sections inside theme wrappers. */
body.uc-builder .uc-main > .uc-wrap,
body.uc-builder main > .uc-wrap {
	max-width: none;
	padding: 0;
}
body.uc-builder .elementor-section.elementor-section-boxed > .elementor-container {
	max-width: 1200px;
}

/* Headings: navy Playfair, never factory cyan. */
body.uc-builder .elementor-widget-heading .elementor-heading-title,
body.uc-builder .elementor h1,
body.uc-builder .elementor h2,
body.uc-builder .elementor h3,
body.uc-builder .elementor h4 {
	color: #10233B;
	font-family: 'Playfair Display', Georgia, serif;
}

/* Body text. */
body.uc-builder .elementor-widget-text-editor,
body.uc-builder .elementor-widget-text-editor p {
	color: #2B2B2B;
	font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
}

/* Links: gold-deep, matching theme. */
body.uc-builder .elementor-widget-text-editor a {
	color: #a8853f;
}

/* Buttons: gold with navy text (never factory green). */
body.uc-builder .elementor-button,
body.uc-builder .elementor-widget-button .elementor-button {
	background-color: #C5A15D;
	color: #0b1a2e;
	font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
	font-weight: 700;
	border-radius: 10px;
}
body.uc-builder .elementor-button:hover,
body.uc-builder .elementor-button:focus {
	background-color: #10233B;
	color: #ffffff;
}

/* Icon accents default to gold. */
body.uc-builder .elementor-icon {
	color: #C5A15D;
}

/* Section rhythm matches the theme (80px desktop). */
body.uc-builder .elementor-section .elementor-container {
	gap: 24px;
}

@media (max-width: 767px) {
	body.uc-builder .elementor-section {
		padding-left: 16px;
		padding-right: 16px;
	}
}
