/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */

/* ==============================================
 *    T1.5  CLS Fixes for /quick-quote/ and /contact-us/
 *    ============================================== */

/* FIX 1: Reserve space for hero banner background images
 *    Prevents layout shift while background images load */
.kb-row-layout-id10788_ba245e-b9 {
	  min-height: 320px;
}
.kb-row-layout-id24242_d63b4f-85 {
	  min-height: 320px;
}
@media (max-width: 767px) {
	  .kb-row-layout-id10788_ba245e-b9,
	.kb-row-layout-id24242_d63b4f-85 {
		    min-height: 200px;
	}
}

/* FIX 2: Reserve space for GHL form iframes
 *    Prevents layout shift from dynamic iframe resize
 *    data-height="1407" on Quick Quote, data-height="993" on Contact Us */
.kadence-column10788_57b76e-d9 > .kt-inside-inner-col {
	  min-height: 1407px;
}
.kadence-column24242_801462-b4 > .kt-inside-inner-col {
	  min-height: 993px;
}
@media (max-width: 767px) {
	.kadence-column10788_57b76e-d9 > .kt-inside-inner-col {
		    min-height: 1600px;
	}
	.kadence-column24242_801462-b4 > .kt-inside-inner-col {
		    min-height: 1100px;
	}
}

/* FIX 3: Force font-display: swap for web fonts to reduce FOUT/CLS
 *    Applies to any @font-face declared via Kadence */
@font-face {
	  font-display: swap;
}

/* Prevent header logo CLS  ensure logo image has fixed dimensions */
.site-header-logo img,
.kadence-site-logo img {
	  width: auto;
	  height: auto;
	  max-height: 80px;
}

}
}
	}
	}
}
}
}
	}
}
}
}