.custom-search-block {
  width: 100%;
}

.custom-search-block-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.custom-search-block form {
  width: 100%;
}

.custom-search-block form,
.search-submit {
  display: flex;
  align-items: center;
  background: transparent;
  padding: 1em 0.75em;
  border: 1px solid white;
  margin-bottom: 1em;
}

.search-icon {
  font-size: var(--text-body);
  fill: white;
  flex-shrink: 0;
  margin-right: 0.5em;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: var(--text-body);
  color: white;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.search-input::placeholder {
  color: white;
}

.search-input::-webkit-search-cancel-button {
  display: none;
}

.search-submit {
  background: transparent;
  font-size: var(--text-body);
  cursor: pointer;
  color: white;
  padding: 1.15em;
}

.search-submit >  i {
  transition: opacity 300ms ease;
}

.search-submit:hover >  i {
  opacity: 0.5;
}
