Never thought about it like that but essentially yes.
Basically, I am using Relevanssi to enhance my search. They have a functionality where I can display a shortcode anywhere else on the page and that search input box can limit the search results to a certain custom post type. So I am restricting results to a certain custom post type from the homepage where I also have a category archive displaying a blog grid with items from that custom post type. I have made some CSS changes to that grid, including setting the page to 100%, removing some post meta, etc. Finally I am hiding the site-wide search from the homepage only.
When I search with the restricted search box, the layout search results change the layout. That’s because on the homepage grid, I target the .category
selector but when the search arhive gets displayed, that selector is obviously gone. The thing is that I would like to keep the search archive as it is while searching with the sitewide search but only keep the changes I made to the grid on the homepage’s search results.