/**
 * Elementor overrides
 *
 * Loaded only when Elementor is active. Lets the theme palette and typography
 * win against Elementor's default Kit reset so client-managed pages match the
 * native FSE templates.
 */

/* Re-apply theme spacing on Elementor section containers that reset padding. */
.elementor-section.elementor-section-boxed > .elementor-container {
	max-width: 1400px;
}

/* Buttons created in Elementor inherit theme button shape unless explicitly styled. */
.elementor-button-wrapper .elementor-button:not(.elementor-button-info):not(.elementor-button-success):not(.elementor-button-warning):not(.elementor-button-danger) {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 600;
	letter-spacing: 0.3px;
	border-radius: 6px;
}

/* Headings inside Elementor pick up serif treatment by default. */
.elementor-widget-heading .elementor-heading-title {
	font-family: var(--wp--preset--font-family--cormorant);
	color: var(--wp--preset--color--navy);
	letter-spacing: -0.3px;
	line-height: 1.1;
}

/* Make sure body text inside Elementor keeps the theme's body family. */
.elementor-widget-text-editor,
.elementor-widget-text-editor p {
	font-family: var(--wp--preset--font-family--lato);
	color: var(--wp--preset--color--charcoal);
	line-height: 1.65;
}

/* Frst container width helper for Elementor "Full Width" sections. */
.elementor-section .frst-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}
