/* Non-home header fit: keep the full primary nav and Call Now inside the viewport. */
body:not(.home) #acHeader {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100vw !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
  gap: 1rem !important;
  padding: .65rem clamp(1rem, 3vw, 2.5rem) !important;
  overflow: visible !important;
}

body:not(.home) #acHeader > p {
  display: flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:not(.home) #acHeader > br,
body:not(.home) #acHeader > p > br {
  display: none !important;
}

body:not(.home) #acHeader .ac-header-logo {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

body:not(.home) #acHeader .ac-header-nav {
  display: flex !important;
  flex: 0 1 auto !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(.55rem, 1.1vw, 1.1rem) !important;
  min-width: 0 !important;
  margin-left: auto !important;
}

body:not(.home) #acHeader .ac-header-nav a {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  font-size: clamp(.65rem, .78vw, .78rem) !important;
}

body:not(.home) #acHeader .ac-header-cta {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  margin: 0 0 0 clamp(.55rem, 1.1vw, 1.1rem) !important;
  position: fixed !important;
  top: .8rem !important;
  right: clamp(1rem, 3vw, 2.5rem) !important;
  z-index: 1200 !important;
}

@media (min-width: 1101px) {
  body:not(.home) #acHeader .ac-header-nav {
    margin-right: 8rem !important;
  }
}

@media (max-width: 1100px) {
  body:not(.home) #acHeader .ac-header-nav {
    display: none !important;
  }

  body:not(.home) #acHeader .ac-mobile-toggle {
    display: flex !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }

  body:not(.home) #acHeader > p {
    margin-left: 0 !important;
  }
}

@media (max-width: 900px) {
  body:not(.home) #acHeader {
    width: 100% !important;
    max-width: 100% !important;
  }
}
