/*
 Theme Name:   Demand Events
 Theme URI:    https://events.demand.com
 Description:  A lightweight Hello Elementor child theme for the Demand Events project. All headers, footers, and templates are built via Elementor Pro Theme Builder. This child theme resets unwanted default margins, paddings, and line-heights so Elementor widgets render with zero interference.
 Author:       Hamidreza Sheikholeslami
 Author URI:   https://events.demand.com
 Template:     hello-elementor
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  demand-events
 Requires at least: 6.0
 Tested up to: 6.7
 Requires PHP: 7.4
*/


/* ==========================================================================
   RESET – Remove unwanted default spacing & line-heights
   ========================================================================== */

/*
 * Headings: strip browser/theme default margins & paddings
 */
h1, h2, h3, h4, h5, h6,
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3,
.elementor-widget-heading h4,
.elementor-widget-heading h5,
.elementor-widget-heading h6 {
	margin: 0;
	padding: 0;
}

/*
 * Paragraphs inside Elementor widgets
 */
.elementor-widget p:last-child {
	margin-bottom: 0;
}

/*
 * SVG / inline images: kill inherited line-height gaps
 */
svg,
img,
.elementor-widget svg,
.elementor-widget img,
.elementor-widget-image img,
.elementor-widget-image svg,
.elementor-icon svg {
	line-height: 0;
	vertical-align: middle;
}

/*
 * Containers that wrap SVGs often inherit line-height gaps
 */
.elementor-icon,
.elementor-image,
.elementor-widget-image figure,
.elementor-widget-image .elementor-image {
	line-height: 0;
	font-size: 0;
}

/*
 * Generic Elementor widget spacing reset
 */
.elementor-widget:not(.elementor-widget-spacer) {
	margin: 0;
	padding: 0;
}

/*
 * Elementor section/container inner resets
 */
.elementor-element .elementor-widget-wrap,
.elementor-element .e-con-inner {
	margin: 0;
	padding: 0;
}

/*
 * Lists inside widgets
 */
.elementor-widget ul,
.elementor-widget ol {
	margin: 0;
	padding: 0;
}

/*
 * Buttons: reset inherited spacing
 */
.elementor-widget-button .elementor-button {
	margin: 0;
}

/*
 * Figure elements
 */
figure {
	margin: 0;
	padding: 0;
}
