/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://texasblackcaraccidentlawyer.com/
 Description:  Texas Black site child theme. Layout/colors live in Elementor; CSS only for what Elementor cannot do.
 Author:       Texas Black
 Template:     hello-elementor
 Version:      1.1.3
 Text Domain:  hello-elementor-child
*/

/* Focused heading words (ElementsKit → native headings). No Elementor control for partial title color. */
.elementor-heading-title .tb-heading-focus {
	color: var(--e-global-color-secondary, #B1884A);
	display: inline-block;
}

/*
 * Nav Menu closed dropdown still occupies ~200px in the flex row.
 * Elementor has no control to collapse that width — keep phone beside burger.
 */
@media (max-width: 767px) {
	.elementor-location-header .elementor-element-12269a60 {
		width: 42px !important;
		min-width: 42px !important;
		max-width: 42px !important;
		flex: 0 0 42px !important;
		position: relative;
	}

	.elementor-location-header .elementor-element-12269a60 .elementor-menu-toggle {
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 42px !important;
		height: 42px !important;
		padding: 0 !important;
		border-radius: 2px;
	}

	.elementor-location-header .elementor-element-12269a60 .elementor-nav-menu--dropdown {
		position: absolute !important;
		top: 100% !important;
		right: 0 !important;
		left: auto !important;
		width: min(320px, 90vw) !important;
		z-index: 9999;
	}

	.elementor-location-header .elementor-element-12269a60 .elementor-menu-toggle:not(.elementor-active) + .elementor-nav-menu--dropdown,
	.elementor-location-header .elementor-element-12269a60 .elementor-nav-menu--dropdown[aria-hidden="true"] {
		display: none !important;
		width: 0 !important;
		height: 0 !important;
		overflow: hidden !important;
	}

	/*
	 * Mobile hero checkmark strip (3448290): Elementor title_bottom_space alone
	 * was visually cramped with two-line title+description cards; UA heading
	 * margins also misaligned icons. Scoped fallback after Elementor settings.
	 */
	.elementor-element-3448290 {
		row-gap: 20px !important;
		padding-top: 6px !important;
		padding-bottom: 14px !important;
		overflow: visible !important;
	}

	.elementor-element-3448290 .elementor-widget-icon-box .elementor-icon-box-wrapper {
		/* Match home-old: icon tops with first text line (not mid of 2-line block). */
		align-items: flex-start !important;
		gap: 12px !important;
	}

	.elementor-element-3448290 .elementor-widget-icon-box .elementor-icon-box-icon {
		margin-top: 2px; /* optical align 16px icon to 14px title cap-height */
	}

	.elementor-element-3448290 .elementor-widget-icon-box .elementor-icon-box-title {
		margin-block-start: 0 !important;
		margin-block-end: 12px !important;
		margin-top: 0 !important;
		margin-bottom: 12px !important;
		line-height: 1.35 !important;
	}

	.elementor-element-3448290 .elementor-widget-icon-box .elementor-icon-box-description {
		margin: 0 !important;
		line-height: 1.4 !important;
	}
}
