.hlc-home-search-bar {
  background: #fff;
  padding: 15rem 0;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.hlc-home-search-bar__title {
  color: #002236;
  font-family: "roobert_medium";
  font-size: 4.375rem;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 6rem;
}

@media (max-width: 767px) {
  .hlc-home-search-bar__title {
    font-size: 3.75rem;
    line-height: 1.15;
  }
}
.hlc-home-search-bar__title span {
  color: #002236;
  /* font-style: italic; */
  font-weight: 700;
}

.hlc-home-search-bar__form {
  position: relative;
}

.hlc-home-search-bar__field-wrap {
  align-items: center;
  border-bottom: 1px solid rgba(0, 34, 54, 0.35);
  display: flex;
  gap: 1.6rem;
  min-height: 7.2rem;
}

.hlc-home-search-bar__icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 4rem;
}

.hlc-home-search-bar__icon img {
  display: block;
  width: 100%;
  content: url(https://uat.hlc.com/-/media/themes/hoganlovells/site-theme-name/images/common/search-img-blk.svg);
}

.hlc-home-search-bar__input {
  background: transparent;
  border: 0;
  color: #002236;
  flex: 1 1 auto;
  font-family: "roobert_regular";
  font-size: 2.5rem;
  line-height: 1.2;
  min-width: 0;
  padding: 1.2rem 0;
  font-weight: 500;
}

.hlc-home-search-bar__input::placeholder {
  color: rgba(0, 34, 54, 0.8);
}

.hlc-home-search-bar__input:focus {
  outline: none;
}

.hlc-home-search-bar__clear {
  -webkit-appearance: none;
  appearance: none;
  align-items: center;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 0;
  box-sizing: border-box;
  color: rgba(0, 34, 54, 0.7);
  cursor: pointer;
  display: none;
  flex: 0 0 auto;
  font-family: "roobert_regular";
  font-size: 3.2rem;
  font-weight: 400;
  height: 3.2rem;
  justify-content: center;
  line-height: 0.9;
  margin-right: 0.4rem;
  padding: 0;
  width: 3.2rem;
}

.hlc-home-search-bar__clear.is-visible {
  display: inline-flex;
}

.hlc-home-search-bar__clear:focus {
  outline: none;
}

.hlc-home-search-bar__clear:focus-visible {
  border-color: #1768c9;
  outline: none;
  border-radius: 0;
}

.hlc-home-search-bar__submit {
  align-items: center;
  background: #bff355;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 7.5rem;
  height: 7.5rem;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  position: relative;
  transition: background-color 0.25s ease;
  width: 7.5rem;
  bottom: 2rem;
}

.hlc-home-search-bar__submit::before {
  content: "";
  background: rgba(0, 0, 0, 0.1);
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transition: width 0.3s ease-in-out;
  width: 0;
  z-index: 1;
}

.hlc-home-search-bar__submit:focus-visible {
  outline: 2px solid #002236;
  outline-offset: 2px;
  border-radius: 0;
}

.hlc-home-search-bar__submit:hover::before, .hlc-home-search-bar__submit:focus-visible::before {
  width: 100%;
}

.hlc-home-search-bar__submit-icon {
  display: inline-flex;
  position: relative;
  z-index: 2;
  width: 4rem;
  height: 4rem;
}

.hlc-home-search-bar__submit-icon img {
  display: block;
  transform: none;
  transition: transform 0.3s ease;
  width: 100%;
  height: 100%;
}

.hlc-home-search-bar__submit:hover .hlc-home-search-bar__submit-icon img, .hlc-home-search-bar__submit:focus-visible .hlc-home-search-bar__submit-icon img {
  transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
  .hlc-home-search-bar__submit::before, .hlc-home-search-bar__submit-icon img {
    transition: none;
  }
}
.hlc-home-search-bar__suggestions {
  list-style: none;
  margin: 0;
  max-height: 42rem;
  overflow-y: auto;
  padding: 0;
}

.hlc-home-search-bar__suggestions::-webkit-scrollbar {
  width: 1rem;
}

.hlc-home-search-bar__suggestions::-webkit-scrollbar-track {
  background: #ece9e8;
}

.hlc-home-search-bar__suggestions::-webkit-scrollbar-thumb {
  background: #9e9e9e;
  border-radius: 0.8rem;
  border: 2px solid #ece9e8;
}

.hlc-home-search-bar__suggestions li {
  border-bottom: 1px solid rgba(0, 34, 54, 0.1);
  cursor: pointer;
  padding: 1.6rem 2.4rem;
}

.hlc-home-search-bar__suggestions li:last-child {
  border-bottom: 0;
}

.hlc-home-search-bar__suggestions li:nth-child(odd) {
  background: #ece4e0;
}

.hlc-home-search-bar__suggestions li:hover, .hlc-home-search-bar__suggestions li.is-active {
  background: #e1d6d1;
}

.hlc-home-search-bar__suggestions-panel {
  background: #fff;
  border: 1px solid rgba(0, 34, 54, 0.15);
  box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.1);
  display: none;
  left: 0;
  position: absolute;
  right: 0;
  top: calc(100% + 0.2rem);
  z-index: 12;
}

.hlc-home-search-bar__suggestions-panel.is-open {
  display: block;
}

.hlc-home-search-bar__suggestion-type {
  color: rgba(0, 34, 54, 0.85);
  display: block;
  font-family: "roobert_regular";
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.hlc-home-search-bar__suggestion-title {
  color: #002236;
  display: block;
  font-family: "roobert_medium";
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.15;
}

.hlc-home-search-bar__view-all {
  background: #bff355;
  border: 0;
  color: #002236;
  cursor: pointer;
  display: block;
  font-family: "roobert_regular";
  font-size: 2rem;
  font-weight: 750;
  line-height: 1.15;
  padding: 1.8rem 2rem;
  text-align: center;
  width: 100%;
}

.hlc-home-search-bar__view-all:hover, .hlc-home-search-bar__view-all:focus-visible {
  background: #b2e852;
}

@media only screen and (min-width: 0) and (max-width: 991px) {
  .hlc-home-search-bar {
    padding: 6rem 0;
  }
  .hlc-home-search-bar__title {
    font-size: 4.375rem;
    margin-bottom: 4rem;
  }
  .hlc-home-search-bar__input {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  .hlc-home-search-bar__input,
  .hlc-home-search-bar__input::placeholder {
    font-size: 18px;
  }
}

@media only screen and (min-width: 0) and (max-width: 767px) {
  .hlc-home-search-bar {
    padding: 5rem 0;
  }
  .hlc-home-search-bar__title {
    font-size: 4.375rem;
    line-height: 1;
    font-weight: 400;
    margin-bottom: 5rem;
  }
  .hlc-home-search-bar__field-wrap {
    min-height: 6.2rem;
  }
  .hlc-home-search-bar__submit {
    flex-basis: 7.5rem;
    height: 7.5rem;
    width: 7.5rem;
  }
  .hlc-home-search-bar__input {
    font-size: 2.5rem;
    line-height: 1.3;
  }
  .hlc-home-search-bar__clear {
    font-size: 2.8rem;
    height: 2.8rem;
    margin-right: 0.2rem;
    width: 2.8rem;
  }
  .hlc-home-search-bar__suggestions li {
    padding: 1.2rem 1.6rem;
  }
  .hlc-home-search-bar__suggestion-type {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
  }
  .hlc-home-search-bar__suggestion-title {
    font-size: 1.8rem;
  }
  .hlc-home-search-bar__view-all {
    font-size: 2rem;
    padding: 1.4rem 1.2rem;
  }
}
