/*
Theme Name:   Hello Elementor Child
Theme URI:    https://www.guidantfinancial.com/
Description:  Child theme for Hello Elementor — Guidant Financial customizations and performance overrides.
Author:       Guidant Financial
Author URI:   https://www.guidantfinancial.com/
Template:     hello-elementor
Version:      1.0.0
Text Domain:  hello-elementor-child
*/

/* Add custom CSS below this line. */

/* Metric-matched fallback for Inter — eliminates FOUT shift */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}

/* Metric-matched fallback for Figtree */
@font-face {
  font-family: 'Figtree Fallback';
  src: local('Arial');
  size-adjust: 100%;
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}

/* Apply matched fallbacks to nav menu and headings */
.elementor-nav-menu .elementor-item,
.elementor-nav-menu a {
  font-family: 'Inter', 'Inter Fallback', Arial, sans-serif !important;
}

body, p {
  font-family: 'Inter', 'Inter Fallback', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Figtree', 'Figtree Fallback', Arial, sans-serif;
}

/* Prevent OnceHub chat from causing CLS */
iframe[src*="oncehub.com"],
[id^="co-widget"],
[id*="co-bot"] {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  z-index: 99999 !important;
}