/**
 * Haldupedia search hero — separate file so browsers cannot keep an old style.css cache.
 */

.haldupedia-search-hero {
  position: relative !important;
  box-sizing: border-box !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-bottom: 28px !important;
  height: 160px !important;
  min-height: 160px !important;
  max-height: 160px !important;
  padding: 0 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #1f2937;
  background-size: cover !important;
  background-position: center !important;
  isolation: isolate;
  overflow: visible !important;
  z-index: 4;
}

.haldupedia-search-hero__shade {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

.haldupedia-search-hero__inner {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  z-index: 1 !important;
  width: min(720px, 100%) !important;
  max-width: 720px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  align-self: center !important;
  justify-self: center !important;
}

.haldupedia-search-hero__field {
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  border-radius: 10px !important;
}

.haldupedia-search-hero__input {
  height: 100% !important;
  padding: 0 10px !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
}

@media (max-width: 768px) {
  .haldupedia-search-hero {
    height: 140px !important;
    min-height: 140px !important;
    max-height: 140px !important;
    margin-bottom: 20px !important;
    padding: 0 16px !important;
  }

  .haldupedia-search-hero__inner {
    width: 100% !important;
    max-width: none !important;
  }

  .haldupedia-search-hero__field {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
  }
}

@media (max-width: 380px) {
  .haldupedia-search-hero {
    height: 128px !important;
    min-height: 128px !important;
    max-height: 128px !important;
    padding: 0 14px !important;
  }
}
