.page-id-52 .site-header {
  position: relative !important;
  top: 0 !important;
}

.hmh-smart-search {
  --hmh-navy: #2e4066;
  --hmh-raspberry: #db365e;
  --hmh-yellow: #faeb89;
  --hmh-ink: #201e28;
  --hmh-surface: #f0f0f0;
  background: var(--hmh-navy);
  color: #fff;
  padding: 64px 0 28px;
}

.hmh-home-search {
  --hmh-navy: #2e4066;
  --hmh-raspberry: #db365e;
  --hmh-yellow: #faeb89;
  --hmh-ink: #201e28;
  color: #fff;
  max-width: 880px;
  position: relative;
  z-index: 5;
}

.hmh-home-search__primary {
  align-items: flex-end;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(260px, 1fr) 170px auto;
}

.hmh-home-search label {
  color: #fff;
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hmh-home-search__submit.btn {
  align-items: center;
  display: inline-flex;
  height: 56px;
  justify-content: center;
  margin: 0;
  min-width: 154px;
  white-space: nowrap;
}

.hmh-home-search__attribution {
  color: #fff;
  font-family: GT-Walsheim-Regular, sans-serif;
  font-size: 11px !important;
  line-height: 1.4 !important;
  margin: 8px 0 0;
  opacity: .82;
}

.hmh-smart-search__intro {
  max-width: 760px;
  margin-bottom: 32px;
}

.hmh-smart-search__eyebrow {
  color: var(--hmh-yellow);
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hmh-smart-search h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  margin: 0 0 12px;
}

.hmh-smart-search__intro p {
  color: #fff;
  font-size: 19px;
  line-height: 1.45;
  margin: 0;
  max-width: 650px;
}

.hmh-smart-search__form {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 18px 45px rgba(15, 26, 48, .28);
  color: var(--hmh-ink);
  padding: 24px;
  position: relative;
  z-index: 5;
}

.hmh-smart-search__primary {
  align-items: flex-end;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(260px, 1fr) 170px auto;
}

.hmh-smart-search label,
.hmh-more-filters label {
  color: var(--hmh-navy);
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hmh-place-search {
  min-width: 0;
  position: relative;
}

.hmh-place-search__control {
  position: relative;
}

.hmh-place-search__pin {
  border: 2px solid var(--hmh-raspberry);
  border-radius: 50% 50% 50% 0;
  height: 16px;
  left: 19px;
  position: absolute;
  top: 50%;
  transform: translateY(-60%) rotate(-45deg);
  width: 16px;
  z-index: 2;
}

.hmh-place-search__pin::after {
  background: var(--hmh-raspberry) !important;
  border-radius: 50%;
  content: '';
  height: 4px;
  left: 4px;
  position: absolute;
  top: 4px;
  width: 4px;
}

.hmh-place-search input[type='search'],
.hmh-radius-field select,
.hmh-more-filters select {
  background: #fff;
  border: 2px solid #d7dce5;
  border-radius: 3px;
  box-sizing: border-box;
  color: var(--hmh-ink);
  font: inherit;
  height: 56px;
  margin: 0;
  width: 100%;
}

.hmh-place-search input[type='search'] {
  padding: 0 18px 0 52px;
}

.hmh-place-search input[type='search']::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.hmh-place-search input[type='search']:focus,
.hmh-radius-field select:focus,
.hmh-more-filters select:focus {
  border-color: var(--hmh-raspberry);
  box-shadow: 0 0 0 3px rgba(219, 54, 94, .16);
  outline: none;
}

.hmh-radius-field select,
.hmh-more-filters select {
  padding: 0 42px 0 14px;
}

.hmh-smart-search__submit.btn {
  align-items: center;
  display: inline-flex;
  height: 56px;
  justify-content: center;
  margin: 0;
  min-width: 154px;
  white-space: nowrap;
}

.hmh-availability-filter {
  align-items: center;
  background: #fff9d9;
  border-left: 4px solid var(--hmh-yellow);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: 16px;
  padding: 14px 16px;
}

.hmh-availability-filter__copy {
  min-width: 0;
}

.hmh-availability-filter__copy strong,
.hmh-availability-filter__copy span {
  display: block;
}

.hmh-availability-filter__copy strong {
  color: var(--hmh-navy);
  font-size: 16px;
  margin-bottom: 3px;
}

.hmh-availability-filter__copy span {
  color: var(--hmh-ink);
  font-size: 14px;
  line-height: 1.4;
}

.hmh-smart-search .hmh-availability-filter__checkbox {
  align-items: center;
  cursor: pointer;
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  margin: 0;
  white-space: nowrap;
}

.hmh-availability-filter__checkbox input {
  accent-color: var(--hmh-raspberry);
  height: 20px;
  margin: 0;
  width: 20px;
}

.hmh-availability-filter__checkbox span {
  color: var(--hmh-navy);
  font-size: 15px;
  font-weight: 700;
}

.hmh-place-suggestions {
  background: #fff;
  border: 1px solid #d7dce5;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 14px 30px rgba(29, 42, 68, .2);
  left: 0;
  max-height: 330px;
  overflow-y: auto;
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
}

.hmh-place-suggestions__option {
  background: #db365e !important;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  color: #fff !important;
  cursor: pointer;
  display: block;
  padding: 13px 16px;
  text-align: left;
  width: 100%;
}

.hmh-place-suggestions__option:last-child {
  border-bottom: 0;
}

.hmh-place-suggestions__option:hover,
.hmh-place-suggestions__option[aria-selected='true'] {
  background: #2e4066 !important;
  color: #fff !important;
}

.hmh-place-suggestions__option strong,
.hmh-place-suggestions__option span {
  display: block;
}

.hmh-place-suggestions__option strong {
  color: #fff;
  font-size: 16px;
  margin-bottom: 2px;
}

.hmh-place-suggestions__option span {
  color: #fff;
  font-size: 13px;
}

.hmh-place-suggestions__empty {
  color: #5c6370;
  margin: 0;
  padding: 15px 16px;
}

.hmh-place-search__status {
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.hmh-smart-search__secondary-actions {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: 16px;
}

.hmh-filter-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--hmh-navy);
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 10px;
  padding: 6px 0;
}

.hmh-smart-search__form .hmh-filter-toggle {
  background: transparent !important;
  border: 0 !important;
  color: var(--hmh-navy) !important;
}

.hmh-filter-toggle span {
  border-bottom: 2px solid var(--hmh-raspberry);
  border-right: 2px solid var(--hmh-raspberry);
  height: 8px;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
  width: 8px;
}

.hmh-filter-toggle[aria-expanded='true'] span {
  transform: rotate(225deg) translate(-2px, -2px);
}

.hmh-clear-search {
  color: var(--hmh-raspberry);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
}

.hmh-more-filters {
  border-top: 1px solid #e4e7ed;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
  padding-top: 22px;
}

.hmh-more-filters[hidden] {
  display: none;
}

.hmh-more-filters fieldset {
  margin: 0;
  min-width: 0;
  padding: 0;
}

.hmh-os-attribution {
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
  margin: 18px 0 0;
}

.hmh-search-message {
  border-left: 5px solid var(--hmh-raspberry, #db365e);
  margin: 34px 0 0;
  padding: 18px 20px;
}

.hmh-search-message--error {
  background: #fff1f4;
  color: #6f1f34;
}

.hmh-search-message strong,
.hmh-search-message span {
  display: block;
}

.hmh-search-message strong {
  margin-bottom: 3px;
}

.hmh-test-results {
  padding-top: 54px;
}

.hmh-results-summary span,
.hmh-results-summary small {
  display: block;
}

.hmh-results-summary span {
  color: #2e4066;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.14;
}

.hmh-results-summary small {
  color: #626875;
  font-size: 14px;
  margin-top: 6px;
}

.homes-results .single-img {
  position: relative;
}

.hmh-distance-badge {
  background: var(--hmh-navy, #2e4066);
  border-radius: 2px;
  bottom: 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  left: 14px;
  line-height: 1;
  padding: 9px 11px;
  position: absolute;
  z-index: 4;
}

.hmh-test-results .status-flag.pink,
.hmh-test-results .status-flag.pink span,
.hmh-test-results a:hover .status-flag.pink,
.hmh-test-results a:hover .status-flag.pink span,
.hmh-test-results .hmh-distance-badge,
.hmh-test-results a:hover .hmh-distance-badge {
  color: #fff !important;
}

.hmh-no-results {
  background: #f0f0f0;
  margin: 8px 0 60px;
  padding: 42px;
  text-align: center;
}

.hmh-no-results h2 {
  color: #2e4066;
  margin: 0 0 10px;
}

.hmh-no-results p {
  margin: 0 0 22px;
}

@media (max-width: 900px) {
  .hmh-smart-search__primary,
  .hmh-home-search__primary {
    grid-template-columns: 1fr 170px;
  }

  .hmh-smart-search__submit.btn,
  .hmh-home-search__submit.btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hmh-more-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .hmh-smart-search {
    background: var(--hmh-navy);
    padding: 42px 0 20px;
  }

  .hmh-smart-search__intro {
    margin-bottom: 24px;
  }

  .hmh-smart-search__intro p {
    font-size: 17px;
  }

  .hmh-smart-search__form {
    padding: 18px;
  }

  .hmh-availability-filter {
    align-items: flex-start;
    flex-direction: column;
  }

  .hmh-smart-search .hmh-availability-filter__checkbox {
    white-space: normal;
  }

  .hmh-smart-search__primary,
  .hmh-home-search__primary,
  .hmh-more-filters {
    grid-template-columns: 1fr;
  }

  .hmh-smart-search__submit.btn,
  .hmh-home-search__submit.btn {
    grid-column: auto;
  }

  .hmh-no-results {
    padding: 30px 20px;
  }
}
