/**
 * Elementor page content wrapper (page.php: .gloorst-page--elementor).
 *
 * The previous theme (Astra) printed page content inside ".entry-content" and
 * its stylesheet loaded before Elementor's. Saved Elementor pages were designed
 * against these rules (heading / paragraph spacing inside text editors, icon
 * boxes …), so they are kept here, loaded before Elementor's CSS, with the same
 * specificity the ".entry-content" rules had.
 */

.gloorst-page--elementor {
	word-wrap: break-word;
}

.gloorst-page--elementor::after {
	display: table;
	clear: both;
	content: "";
}

.gloorst-page--elementor :where(h1, h2, h3, h4, h5, h6) {
	margin-bottom: 20px;
}

.gloorst-page--elementor p,
.gloorst-page--elementor .wp-audio-shortcode,
.gloorst-page--elementor .wp-embedded-audio,
.gloorst-page--elementor .wp-embedded-video,
.gloorst-page--elementor .wp-video {
	margin-bottom: 1.6em;
}

/*
 * Elementor widget defaults (kit globals) the old theme-builder footer printed
 * on every page.
 */
.elementor-widget-image .widget-image-caption {
	color: var(--e-global-color-text);
	font-family: var(--e-global-typography-text-font-family), Sans-serif;
	font-weight: var(--e-global-typography-text-font-weight);
}

.elementor-widget-heading .elementor-heading-title {
	font-family: var(--e-global-typography-primary-font-family), Sans-serif;
	font-weight: var(--e-global-typography-primary-font-weight);
	color: var(--e-global-color-primary);
}
