.nhv-hero-reference {
  --nhv-ink: #182521;
  --nhv-green: #193825;
  --nhv-paper: #fbfaf6;
  --nhv-border: #d9ded5;
}

body.nhv-hero-ready .elementor-element-3c868a63,
body.nhv-hero-ready .nhv-screen-reader-title { display: none !important; }

.nhv-hero-reference {
  position: relative;
  isolation: isolate;
  left: 50%;
  flex: none;
  width: var(--nhv-hero-viewport, 100%);
  max-width: none;
  min-height: clamp(350px, 24.6vw, 420px);
  transform: translateX(-50%);
  background: linear-gradient(180deg, #cadce3, #f6e9d2 56%, #c4ac7e);
  color: var(--nhv-ink);
}

.nhv-hero-reference::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #fbf6e9dc, #fff4e6ad 29%, #fff0dc2b 56%, transparent 69%);
}

.nhv-hero-reference .nhv-hero-photo {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 81%;
  height: 100%;
  object-fit: cover;
  object-position: right 83%;
  mask-image: linear-gradient(90deg, transparent, #000 34%);
}

.nhv-hero-copy {
  width: min(1410px, calc(100% - 8%));
  margin-inline: auto;
  padding-block: clamp(31px, 2.5vw, 42px) 67px;
}

body.nhv-hero-ready .nhv-hero-reference .nhv-hero-copy h1 {
  max-width: 17ch;
  margin: 8px 0 10px !important;
  color: var(--nhv-ink);
  font: 700 clamp(43px, 4.05vw, 64px)/.98 Georgia, serif;
  letter-spacing: -.038em;
}

body.nhv-hero-ready .nhv-hero-reference .nhv-hero-kicker {
  margin: 0 !important;
  color: var(--nhv-ink);
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: .21em;
  line-height: 1.35 !important;
  text-transform: uppercase;
}

body.nhv-hero-ready .nhv-hero-reference .nhv-hero-description {
  margin: 0 !important;
  color: var(--nhv-ink);
  font-size: clamp(16px, 1.36vw, 21px) !important;
  line-height: 1.34 !important;
}

.nhv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 18px;
}

body.nhv-hero-ready .nhv-hero-reference .nhv-hero-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  min-height: 46px;
  padding: 9px 17px;
  border: 1px solid var(--nhv-green);
  border-radius: 6px;
  background: var(--nhv-green);
  color: white !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

body.nhv-hero-ready .nhv-hero-reference .nhv-hero-secondary {
  background: var(--nhv-paper);
  background-color: var(--nhv-paper) !important;
  color: var(--nhv-green) !important;
}

body.nhv-hero-ready .nhv-hero-reference .nhv-hero-action:hover { box-shadow: inset 0 0 0 1px currentColor; }
body.nhv-hero-ready :is(.nhv-hero-reference, .nhv-hero-search-frame) :focus-visible { outline: 2px solid #315b3a; outline-offset: 3px; }

body.home.page-id-71893.nhv-hero-ready .elementor-71893 > .elementor-element-63643ed {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  align-self: center;
  margin-top: -51px !important;
}

body.nhv-hero-ready .elementor-71893 .elementor-element-1698bd01.nhv-hero-search-frame {
  position: relative;
  z-index: 3;
  width: min(1420px, calc(var(--nhv-hero-viewport) - 7vw)) !important;
  max-width: none;
  align-self: center;
  margin: 0 0 8px !important;
  scroll-margin-top: 104px;
}

body.nhv-hero-ready .nhv-hero-search-frame #advanced_search_shortcode {
  margin: 0 !important;
  padding: 15px 16px 8px !important;
  border: 1px solid #e4e5dc;
  border-radius: 9px;
  background: #fffefa;
  box-shadow: 0 10px 24px #3c302c13;
}

body.home.page-id-71893.nhv-hero-ready .nhv-hero-search-frame form.nhv-hero-form {
  --nhv-field-height: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.45fr) repeat(2, minmax(0, .92fr)) repeat(2, minmax(0, 1fr)) minmax(0, 1.28fr) !important;
  align-items: start;
  gap: 6px;
  margin: 0 !important;
  padding: 0 !important;
  color: #193825;
}

body.home.page-id-71893.nhv-hero-ready .nhv-hero-search-frame form.nhv-hero-form > * {
  box-sizing: border-box;
  grid-column: auto !important;
  grid-row: auto !important;
  order: 0 !important;
  width: 100% !important;
  min-width: 0;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
}

body.nhv-hero-ready .nhv-hero-form > .nhv-hero-field {
  position: relative;
  min-height: var(--nhv-field-height);
  border: 1px solid #d9ded5;
  border-radius: 6px;
  background: #fbfbf8;
}

.nhv-hero-field-name {
  position: absolute;
  z-index: 1;
  inset: 5px 8px auto;
  color: #294233;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  pointer-events: none;
}

body.nhv-hero-ready .nhv-hero-field > :is(.dropdown, input) { margin: 0 !important; width: 100% !important; }
body.nhv-hero-ready .nhv-hero-field > .dropdown { padding: 0 !important; border: 0 !important; background: transparent; }

body.nhv-hero-ready .nhv-hero-field :is(.filter_menu_trigger, .dropdown-toggle, input.advanced_select) {
  box-sizing: border-box;
  width: 100% !important;
  height: calc(var(--nhv-field-height) - 2px) !important;
  min-height: 0;
  margin: 0 !important;
  padding: 18px 22px 4px 8px !important;
  border: 0 !important;
  border-radius: 5px;
  background: transparent;
  color: #1c3025 !important;
  font-size: 14px !important;
  font-weight: 500;
  text-align: left;
  line-height: 1.25 !important;
}

body.nhv-hero-ready .nhv-hero-field input.advanced_select { padding-right: 8px !important; }
body.nhv-hero-ready .nhv-hero-field input.advanced_select::placeholder { color: #35463c; opacity: 1; }
body.nhv-hero-ready .nhv-hero-field .dropdown-toggle::after { top: 63%; }
.nhv-hero-field .filter-option-inner-inner { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

body.home.page-id-71893.nhv-hero-ready .nhv-hero-search-frame form.nhv-hero-form .submit .wpresidence_button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: var(--nhv-field-height);
  margin: 0 !important;
  padding: 5px 9px !important;
  border: 0;
  border-radius: 6px;
  background: #193825;
  color: white;
  font-size: 14px !important;
  line-height: 1.2 !important;
  white-space: normal;
}

.nhv-hero-search-icon {
  position: relative;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  margin-right: 2px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.nhv-hero-search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 6px;
  border-top: 2px solid currentColor;
  transform: rotate(48deg);
}

body.home.page-id-71893.nhv-hero-ready .nhv-hero-search-frame form.nhv-hero-form > .nhv-home-search-toggle {
  display: flex;
  grid-column: 1 / -1 !important;
  justify-content: flex-end;
}
body.nhv-hero-ready .nhv-hero-form .nhv-home-search-toggle button {
  width: auto;
  min-height: 27px;
  padding: 2px 8px;
  border: 0;
  background: none;
  color: #193825;
  font-size: 12px !important;
  font-weight: 600;
  line-height: 1.15;
}
body.nhv-hero-ready .nhv-hero-form .nhv-home-search-toggle button::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 7px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: translateY(-2px) rotate(45deg);
}
body.nhv-hero-ready .nhv-hero-form .nhv-home-search-toggle button[aria-expanded="true"]::after { transform: rotate(-135deg); }
body.nhv-hero-ready .nhv-hero-form:not(.nhv-home-search-open) > .nhv-hero-extra { display: none !important; }
body.home.page-id-71893.nhv-hero-ready .nhv-hero-search-frame form.nhv-hero-form > :is(.residence_adv_extended_options_text, .extended_search_check_wrapper) { grid-column: 1 / -1 !important; }
body.nhv-hero-ready .nhv-hero-form > .residence_adv_extended_options_text { min-height: 40px; }

.nhv-hero-cta-icon, .nhv-hero-field-icon,
.nhv-hero-valuation-pc, .nhv-hero-valuation-arrow { display: none; }

@media (min-width: 1024px) {
  .nhv-hero-reference {
    min-height: clamp(335px, 23.64vw, 409px);
    background: linear-gradient(177deg, #d4e3e8 4%, #f1e7d4 56%, #ba9a65);
  }
  .nhv-hero-reference::after {
    background: linear-gradient(90deg, #fbf8edaa, #fcf4e2b0 25%, #fff3d83d 52%, transparent 67%);
  }
  .nhv-hero-reference .nhv-hero-photo { width: 79%; object-position: right 82%; }
  .nhv-hero-copy { padding-block: clamp(32px, 2.4vw, 40px) 66px; }
  body.nhv-hero-ready .nhv-hero-reference .nhv-hero-copy h1 {
    max-width: 18ch;
    margin: 8px 0 7px !important;
    font-size: clamp(43px, 3.7vw, 61px);
    line-height: .96;
  }
  body.nhv-hero-ready .nhv-hero-reference .nhv-hero-description {
    font-size: clamp(16px, 1.31vw, 21px) !important;
    line-height: 1.32 !important;
  }
  .nhv-hero-actions { gap: 17px; margin-top: 16px; }
  body.nhv-hero-ready .nhv-hero-reference .nhv-hero-action {
    justify-content: flex-start;
    min-width: 264px;
    padding-inline: 20px;
  }
  body.nhv-hero-ready .nhv-hero-reference .nhv-hero-secondary { min-width: 230px; }
  .nhv-hero-valuation-mobile { display: none; }
  .nhv-hero-valuation-pc, .nhv-hero-valuation-arrow { display: inline; }
  .nhv-hero-actions a > span:last-child { margin-inline-start: auto; }
  .nhv-hero-cta-icon { display: block; position: relative; width: 15px; height: 15px; flex: 0 0 15px; }
  .nhv-hero-field-icon {
    display: block;
    position: absolute;
    z-index: 1;
    inset-inline-start: clamp(9px, 1.35vw, 21px);
    top: 50%;
    width: 16px;
    height: 16px;
    color: #193825;
    transform: translateY(-50%);
    pointer-events: none;
  }
  :is(.nhv-hero-field-icon, .nhv-hero-cta-icon)::before,
  :is(.nhv-hero-field-icon, .nhv-hero-cta-icon)::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
  }
  .nhv-icon-home::before { inset: 6px 3px 0; border: 1.5px solid; border-top: 0; }
  .nhv-icon-home::after { inset: 2px 3px auto; width: 10px; height: 10px; border: solid; border-width: 1.5px 0 0 1.5px; transform: rotate(45deg); }
  .nhv-icon-tag::before { inset: 1px 3px 0; border: 1.5px solid; border-radius: 2px; transform: rotate(45deg); }
  .nhv-icon-tag::after { top: 4px; left: 8px; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
  .nhv-icon-pin::before { inset: 0 2px 2px; border: 1.5px solid; border-radius: 70% 70% 70% 0; transform: rotate(-45deg); }
  .nhv-icon-pin::after { top: 4px; left: 6px; width: 4px; height: 4px; border: 1px solid; border-radius: 50%; }
  .nhv-icon-bed::before { inset: 6px 0 3px; border: 1.5px solid; border-radius: 3px 3px 1px 1px; }
  .nhv-icon-bed::after { inset: 3px 2px 7px; border: 1.5px solid; border-radius: 2px 2px 0 0; }
  .nhv-icon-shower::before { inset: 1px 4px 1px 2px; border: solid; border-width: 1.5px 0 0 1.5px; border-radius: 5px 0 0; }
  .nhv-icon-shower::after { left: 8px; top: 4px; width: 8px; height: 6px; border: solid; border-width: 1.5px 0 0; border-radius: 5px; box-shadow: 0 3px 0 -2px currentColor; }
  .nhv-icon-euro::before { content: "€"; font: 500 20px/16px Arial, sans-serif; }
  body.home.page-id-71893.nhv-hero-ready .elementor-71893 > .elementor-element-63643ed { margin-top: -74px !important; }
  body.nhv-hero-ready .elementor-71893 .elementor-element-1698bd01.nhv-hero-search-frame {
    width: min(1440px, calc(var(--nhv-hero-viewport) - 6.55vw)) !important;
  }
  body.nhv-hero-ready .nhv-hero-search-frame #advanced_search_shortcode { padding: 17px 18px 4px !important; }
  body.home.page-id-71893.nhv-hero-ready .nhv-hero-search-frame form.nhv-hero-form {
    gap: 4px;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.42fr) minmax(0, .85fr) minmax(0, 1fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.2fr) !important;
  }
  body.nhv-hero-ready .nhv-hero-field:has(.nhv-hero-field-icon) { --nhv-field-inset: clamp(31px, 3.6vw, 56px); }
  body.nhv-hero-ready .nhv-hero-field:has(.nhv-hero-field-icon) .nhv-hero-field-name { inset-inline-start: var(--nhv-field-inset); }
  body.home.page-id-71893.nhv-hero-ready .nhv-hero-search-frame form.nhv-hero-form .nhv-hero-field:has(.nhv-hero-field-icon) :is(.dropdown-toggle, input.advanced_select) {
    padding-inline-start: var(--nhv-field-inset) !important;
  }
  body.nhv-hero-ready .nhv-hero-form .nhv-home-search-toggle button { min-height: 18px; padding: 0 3px; }
}

@media (max-width: 1023px) {
  .nhv-hero-reference { min-height: 340px; }
  .nhv-hero-copy { padding-bottom: 65px; }
  body.home.page-id-71893.nhv-hero-ready .nhv-hero-search-frame form.nhv-hero-form { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

@media (max-width: 767px) {
  .nhv-hero-reference {
    min-height: 0;
    background: #f7f0e2;
  }
  .nhv-hero-reference::after {
    background: linear-gradient(180deg, #f7f0e2, #f7f0e200 25%);
    inset: auto 0 0;
    height: 134px;
  }
  .nhv-hero-reference .nhv-hero-photo {
    inset: auto 0 0;
    width: 100%;
    height: 134px;
    object-fit: cover;
    object-position: right 87%;
    mask-image: none;
  }
  .nhv-hero-copy {
    width: calc(100% - 32px);
    padding-block: 16px 140px;
  }
  body.nhv-hero-ready .nhv-hero-reference .nhv-hero-copy h1 { font-size: clamp(28px, 8.1vw, 46px); margin-block: 6px 7px !important; }
  body.nhv-hero-ready .nhv-hero-reference .nhv-hero-kicker { font-size: 10px !important; }
  body.nhv-hero-ready .nhv-hero-reference .nhv-hero-description { font-size: 15px !important; }
  .nhv-hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 12px; }
  body.nhv-hero-ready .nhv-hero-reference .nhv-hero-action { min-height: 44px; gap: 7px; padding: 6px; font-size: 12px; }
  body.home.page-id-71893.nhv-hero-ready .elementor-71893 > .elementor-element-63643ed { margin-top: -23px !important; }
  body.nhv-hero-ready .elementor-71893 .elementor-element-1698bd01.nhv-hero-search-frame { width: 100% !important; scroll-margin-top: 88px; }
  body.nhv-hero-ready .nhv-hero-search-frame #advanced_search_shortcode { padding: 8px !important; }
  body.home.page-id-71893.nhv-hero-ready .nhv-hero-search-frame form.nhv-hero-form { --nhv-field-height: 46px; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body.home.page-id-71893.nhv-hero-ready .elementor-71893 .elementor-element-1698bd01.nhv-hero-search-frame form.nhv-hero-form > .nhv-hero-field {
    max-width: 100% !important;
    flex-basis: auto !important;
  }
  body.nhv-hero-ready .nhv-hero-form:not(.nhv-home-search-open) > .nhv-hero-mobile-extra { display: none !important; }
  body.home.page-id-71893.nhv-hero-ready .nhv-hero-search-frame form.nhv-hero-form > .nhv-home-search-toggle { grid-column: auto !important; }
  body.nhv-hero-ready .nhv-hero-form .nhv-home-search-toggle button { width: 100%; min-height: 44px; border: 1px solid #b2c0b4; border-radius: 6px; font-size: 13px !important; }
  body.home.page-id-71893.nhv-hero-ready .nhv-hero-search-frame form.nhv-hero-form .submit .wpresidence_button { font-size: 13px !important; }
  body.nhv-hero-ready .nhv-hero-field :is(.filter_menu_trigger, .dropdown-toggle, input.advanced_select) { padding-top: 16px !important; font-size: 16px !important; }
}
