.he-search summary > svg:last-child {
  width: 22px;
}
.he-search {
  position: relative;
}
.he-search label {
  display: block;
  font-size: 13px;
  margin: 0 0 12px;
  letter-spacing: 0;
}
.he-search input[type='search'] {
  min-width: 0;
  box-sizing: border-box;
  height: var(--he-btn-h);
  background: #fff;
  color: #111;
  padding: 0 16px;
  border: 1px solid #ccc;
  border-radius: 999px;
  font-size: 16px;
}
.he-search summary {
  min-width: 44px;
  justify-content: center;
}
/* Suggestions stay inside the header's search panel, above the page and mobile keyboard. */
.he-search .he-search__form {
  box-sizing: border-box;
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100vh - 125px);
  max-height: calc(100dvh - 125px);
  overflow-y: auto;
  overscroll-behavior: contain;
  letter-spacing: 0;
  text-transform: none;
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  padding: 24px;
  background: #151515;
  border-top: 3px solid var(--he-red);
  box-shadow: 0 16px 40px #0004;
  border-radius: 0 0 8px 8px;
}
.he-search .he-search__row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.he-search .he-search__row input {
  flex: 1;
  width: 0;
}
.he-search .he-search__row button {
  flex-shrink: 0;
}
.he-search .he-search__status {
  font-size: 13px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0;
  color: #ddd;
  margin: 16px 0 0;
  padding: 0;
}
.he-search .he-search__suggestions {
  display: block;
  margin-top: 14px;
}
.he-search [hidden] {
  display: none !important;
}
.he-search .he-search__results {
  display: block;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.he-search .he-search__results > li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.he-search a.he-search__result {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 8px;
  border-bottom: 1px solid #ffffff24;
  color: #fff;
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
}
.he-search a.he-search__result:hover,
.he-search a.he-search__result[aria-selected='true'] {
  background: #ffffff1a;
  color: #fff;
}
.he-search .he-search__result img {
  flex: 0 0 44px;
  width: 44px;
  height: 52px;
  object-fit: cover;
  border-radius: 2px;
  margin: 0 !important;
}
.he-search .he-search__copy {
  display: block;
  min-width: 0;
}
.he-search .he-search__title {
  display: block;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.he-search .he-search__type {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 400;
  color: #c9c9c9;
}
.he-search a.he-search__all {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
  letter-spacing: 0;
  color: #fff;
}
/* The first navigation icon has more room to its right at tablet widths. */
@media (min-width: 701px) and (max-width: 1100px) {
  .he-search .he-search__form {
    left: 0;
    right: auto;
  }
}
@media (max-width: 700px) {
  .he-nav > .he-search {
    order: 0;
  }
  .he-search {
    position: static;
  }
  .he-search .he-search__form {
    padding: 18px;
    max-height: calc(100vh - 96px);
    max-height: calc(100dvh - 96px);
    top: 100%;
    right: 16px;
  }
  .he-search .he-search__row {
    flex-wrap: wrap;
  }
  .he-search .he-search__row input {
    width: 100%;
    flex-basis: 100%;
  }
  .he-search .he-search__row button {
    width: 100%;
  }
  .he-search .he-search__status {
    margin-top: 12px;
  }
  .he-search .he-search__suggestions {
    margin-top: 8px;
  }
}
