.site-search {
  position: relative;
  width: min(100%, 24rem);
}

.site-search-home {
  width: min(100%, 34rem);
  margin: 1.1rem auto 0;
}

.site-search-form {
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
}

.site-search-input {
  min-width: 0;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff7ed;
  padding: 0.75rem 1rem;
  box-shadow: none;
}

.site-search-input::placeholder {
  color: rgba(255, 247, 237, 0.62);
}

.site-search-input:focus {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(253, 186, 116, 0.72);
  box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.16);
}

.site-search-button {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
  box-shadow: 0 0.45rem 1.2rem rgba(249, 115, 22, 0.28);
}

.site-search-button:hover,
.site-search-button:focus {
  color: #fff;
  background: linear-gradient(135deg, #fd9f57 0%, #ea580c 100%);
}

.site-search-button svg {
  width: 1.1rem;
  height: 1.1rem;
}

.site-search-results {
  position: absolute;
  z-index: 1050;
  top: calc(100% + 0.45rem);
  right: 0;
  left: 0;
  max-height: min(26rem, 70vh);
  overflow-y: auto;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(20, 20, 22, 0.98);
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.34);
  padding: 0.4rem;
}

.site-search-result,
.site-search-empty {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0.65rem;
  padding: 0.75rem 0.85rem;
  color: #fff7ed;
  background: transparent;
  text-align: left;
  text-decoration: none;
}

.site-search-result:hover,
.site-search-result:focus,
.site-search-result-active {
  color: #fff;
  background: rgba(249, 115, 22, 0.18);
  outline: none;
}

.site-search-result-name {
  display: block;
  font-weight: 700;
  line-height: 1.25;
}

.site-search-result-path {
  display: block;
  color: #fdba74;
  font-size: 0.88rem;
  line-height: 1.35;
  margin-top: 0.15rem;
}

.site-search-empty {
  color: rgba(255, 247, 237, 0.72);
}

@media (max-width: 991.98px) {
  .navbar .site-search {
    width: 100%;
    margin-top: 0.85rem;
  }
}
