/* Hide site title text (Christine Hoard Agency wordmark logo already shows the name) */
.ast-site-title-wrap { display: none !important; }

/* Insert Farm Bureau Insurance logo next to the site logo, in place of the site title text */
.site-header .ast-site-identity .site-logo-img {
  display: inline-flex !important;
  align-items: center;
}
.site-header .ast-site-identity .site-logo-img::after {
  content: '';
  display: inline-block;
  width: 219px;
  height: 50px;
  margin-left: 2rem;
  background-image: url('https://christinehoardagency.com/wp-content/uploads/2026/09/FBINS-logo-Trans-1.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}


/* Fade the "Powered by Astra" footer credit to match the light footer background (no paid plan needed to remove it) */
.gim-credit-fade, .gim-credit-fade a, .gim-credit-fade a:visited, .gim-credit-fade a:hover, .gim-credit-fade a:focus {
  color: #FCFCFA !important;
  text-decoration: none !important;
}


/* === White header (Farm Bureau feedback, Oct 2026) === Header on white with black text and red accents; Christine wordmark in its original colors; Farm Bureau Insurance logo in its official black and red full-color version. */
.ast-primary-header-bar,
.main-header-bar,
#ast-mobile-header .ast-primary-header-bar,
#ast-mobile-header .main-header-bar {
  background-color: #FFFFFF !important; border-bottom-color: #D9D9D9 !important;
}
/* Christine Hoard Agency wordmark: original colors (no white filter) */
/* Farm Bureau Insurance logo: official reversed horizontal lockup (for dark backgrounds),
   separated from the agency logo by a thin divider, per FBI Custom Logo Guidelines */
.site-header .ast-site-identity .site-logo-img::after {
  background-image: url('https://christinehoardagency.com/wp-content/uploads/2026/09/FBINS-logo-Trans-1.png') !important;
  background-color: transparent;
  background-origin: content-box;
  background-size: contain;
  background-position: left center;
  box-sizing: content-box;
  width: 276px;
  height: 46px;
  margin-left: 28px;
  padding: 6px 0 6px 28px;
  border-left: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 0;
}
/* Menu links black, keep red for current page and hover */
.main-header-menu .menu-item > .menu-link { color: #000000 !important; }
.main-header-menu .menu-item:hover > .menu-link,
.main-header-menu .current-menu-item > .menu-link { color: #EE3124 !important; }
.ast-mobile-menu-trigger-minimal, .menu-toggle { color: #000000 !important; }
.ast-mobile-menu-trigger-minimal svg, .menu-toggle svg { fill: #000000 !important; }

/* Remove the light gap between the dark header and a full-width hero */
.home #primary { margin-top: 0 !important; }

/* Mobile/tablet: smaller Farm Bureau logo stacked below the agency logo, with a thin divider */
@media (max-width: 921px) {
  .site-header .ast-site-identity .site-logo-img {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .site-header .ast-site-identity .site-logo-img::after {
    display: block !important;
    width: 150px;
    height: 25px;
    margin: 8px 0 0 0;
    padding: 8px 0 0 0;
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    background-position: left center;
  }
  .site-header .custom-logo-link img.custom-logo {
    width: 190px !important;
    max-width: 190px !important;
    height: auto !important;
  }
}
