/* /assets/wp-search.css */
/* WP Header Search — isolated stylesheet */

/* ===== Fix dropdown positioning: anchor to the search box ===== */

/* ===== Center the SEARCH CONTAINER (so dropdown isn't page-left) ===== */
.up-header__search{
  position: relative !important;
  width: min(620px, 92vw) !important;
  max-width: 620px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

/* Input fills the centered container */
#up-q{
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* Dropdown anchored to the centered container */
#up-results.up-results{
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: calc(100% + 6px) !important;
  transform: none !important;
  z-index: 99999 !important;
}
/* Padding inside each result row */
#up-results.up-results a{
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: inherit;
}

