/* LOHA Core
   Powered by ObjectNow. https://object.now
   Copyright (c) ObjectNow. Released under the GPL-2.0-or-later licence. */

/* Keep the Elementor editor usable when a section is full width. */
.elementor-editor-active .loha-fullbleed > .elementor-widget-container,
.elementor-editor-preview .loha-fullbleed > .elementor-widget-container {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
}

/* A LOHA section should never inherit Elementor's default text alignment. */
.elementor-widget-loha_site_header_section,
.elementor-widget-loha_site_footer_section,
.elementor-widget-loha_hero_section,
.elementor-widget-loha_page_hero,
.elementor-widget-loha_split_section,
.elementor-widget-loha_dark_cards_section,
.elementor-widget-loha_values_section,
.elementor-widget-loha_facts_section,
.elementor-widget-loha_icon_cards_section,
.elementor-widget-loha_latest_news_section,
.elementor-widget-loha_news_archive_section,
.elementor-widget-loha_development_section,
.elementor-widget-loha_contact_section,
.elementor-widget-loha_cta_section,
.elementor-widget-loha_subscribe_section,
.elementor-widget-loha_status_section { text-align: left; }

/* Elementor adds a default bottom margin to widgets. LOHA sections handle
   their own vertical rhythm. */
.elementor-widget[class*="elementor-widget-loha_"] { margin-bottom: 0 !important; }

/* Placeholder styling inside the editor so empty media controls are obvious. */
.elementor-editor-active .loha-image-placeholder,
.elementor-editor-preview .loha-image-placeholder { min-height: 180px; }

/* Panel alert spacing. */
.elementor-panel-alert { margin-bottom: 12px; }


/* Configurable contact form and local maths CAPTCHA. */
.loha-form-grid .loha-form-field-wide {
	grid-column: 1 / -1;
}

.loha-captcha-box {
	max-width: 360px;
	padding: 16px 18px;
	border: 1px solid var(--loha-line, #d8ddd8);
	border-radius: 8px;
	background: rgba(246,248,244,.8);
}

.loha-captcha-box label {
	margin: 0;
}

.loha-captcha-question {
	display: block;
	margin: 5px 0 9px;
	font-weight: 700;
	color: var(--loha-forest, #234a37);
}

.loha-captcha-box input[type="text"] {
	max-width: 180px;
}
