/*
Theme Name: Eggxi Child
Theme URI: https://unlockdesign.com/
Description: Child theme for Eggxi. Adds a semantic H1 post title on single posts built with Elementor, which the parent theme omits.
Author: unlockdesign
Author URI: https://unlockdesign.com/
Template: eggxi-wp
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eggxi-child
*/

/*
 * The parent theme (eggxi-wp) renders only the_content() for Elementor-built
 * single posts, so those pages ship without any <h1> element. The parent theme
 * contains no <h1> anywhere. This child theme injects one via the
 * `eggxi_h1_post_title` hook in functions.php, keeping the markup overridable.
 */

.eggxi-single-h1 {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 auto 1.25rem;
	max-width: 1170px;
	padding: 0 15px;
	text-align: center;
	word-wrap: break-word;
}

.eggxi-h1-wrap {
	padding-top: 1.5rem;
}

@media (max-width: 767px) {
	.eggxi-single-h1 {
		font-size: 1.5rem;
	}
}
