/*
Theme Name:   HelmApps
Theme URI:    https://helmapps.com/
Description:  Appearance layer for helmapps.com on top of Hello Elementor. Styles, fonts and visual scripts only — site functionality lives in the Helmapps Core plugin.
Author:       Exone Multimedia
Template:     hello-elementor
Version:      1.2.0
Requires PHP: 7.4
License:      GPL-2.0-or-later
Text Domain:  helmapps
*/

/* Small adjustments for markup now rendered without Elementor's runtime. */

.hm-anim-pending {
	opacity: 0;
}

.animated {
	animation-duration: 1.25s;
	animation-fill-mode: both;
}

/* Contact form status message (the original form showed these via Contact Form 7). */
.wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b450;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
	border-color: #dc3232;
}

/* Pages created later in the block editor. */
.blog-details-wrap h1.title {
	margin-bottom: 30px;
}

/* Theme decoration shapes (triangles, circles) re-emitted inside Elementor sections:
   the widget spans its section and sits behind the content, as on the original. */
.elementor-widget.hm-shapes {
	position: absolute !important;
	inset: 0;
	width: 100% !important;
	max-width: none !important;
	height: 100%;
	margin: 0 !important;
	pointer-events: none;
	z-index: 0;
}

.elementor-widget.hm-shapes > .elementor-widget-container {
	height: 100%;
}

/* Font Awesome 6 Free has no box-check: the original pages show nothing there
   (the theme's older Pro icon list would otherwise draw a different glyph) */
.fa-solid.fa-box-check::before {
	content: none;
}

/* A Text Editor widget whose content wasn't a <p> on the original page (a
   label, an icon badge, a loose bit of text) still gets wrapped in one by
   wpautop. The theme's default paragraph margin on that trailing <p> is pure
   surplus the original never had - at best it inflates the widget's height,
   at worst (a small badge sized to its content) it stretches a circle into
   an oval. A genuine <p>-sourced paragraph (real body copy) keeps its
   margin, since the original page's own spacing relies on it; only the
   trailing paragraph is zeroed, so a gap between multiple paragraphs in one
   widget is unaffected. */
.hm-tight-p p:last-child,
.hm-tight-p ul:last-child,
.hm-tight-p ol:last-child {
	margin-bottom: 0;
}
