.elementor,
.elementor-location-single,
.elementor-location-archive {
	--e-global-color-primary: var(--rk-color-brand);
	--e-global-color-secondary: var(--rk-color-secondary);
	--e-global-color-text: var(--rk-color-text);
	--e-global-color-accent: var(--rk-color-ink);
	--e-global-typography-primary-font-family: var(--rk-font-display);
	--e-global-typography-secondary-font-family: var(--rk-font-ui);
	--e-global-typography-text-font-family: var(--rk-font-body);
	--e-global-typography-accent-font-family: var(--rk-font-numeric);
}

.elementor :where(h1, h2, h3, h4, h5, h6) {
	font-family: var(--rk-font-display);
	font-synthesis: none;
}

.elementor-widget-button .elementor-button {
	border-radius: 0;
	font-family: var(--rk-font-ui);
	font-size: var(--rk-text-xs);
	font-weight: 600;
	letter-spacing: var(--rk-tracking-ui);
	text-transform: uppercase;
}

.elementor-section.rk-full-bleed,
.e-con.rk-full-bleed {
	width: 100%;
	max-width: none;
}

/* Default Elementor pages need a deliberate masthead offset below the fixed header. */
body.page-template-default.elementor-page > .elementor > .e-con:first-child > .e-con-inner {
	padding-top: calc(var(--rk-header-height) + var(--rk-space-8));
}

/* Commerce remains owned by commerce.css, even inside Elementor templates. */
.site-main--commerce,
.site-main--commerce :where(.woocommerce, .woocommerce-page) {
	font-family: var(--rk-font-body);
}
