/* Full-width photographic hero, curved lower edge and an unclipped search picker. */
.market-page .home-search { margin-block-end: 24px; border: 1px solid var(--border); }
.results-search-extras { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-block-start: 12px; border-top: 1px solid var(--border); }
.results-search-extras .home-search-field { flex: 0 1 180px; }
.results-clear-filters { display: inline-flex; align-items: center; min-height: 44px; padding: 8px; color: var(--green); }
.home-search #home-property-type[hidden], .home-type-options[hidden] { display: none !important; }
.home-search .home-type-trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 52px; padding: 10px 12px; border: 1px solid #aab9ae; border-radius: 10px; background: #fff; color: #24282b; font: inherit; text-align: start; cursor: pointer; }
.home-type-trigger::after { content: '⌄'; }
.home-search .home-type-options { position: absolute; z-index: 30; top: calc(100% + 8px); inset-inline: 0; margin: 0; padding: 8px; list-style: none; max-height: min(280px, 40vh); overflow-y: auto; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: #24282b; box-shadow: 0 12px 30px rgb(0 0 0 / 16%); }
.home-type-options li { min-height: 44px; padding: 10px 12px; border-radius: 7px; cursor: pointer; }
.home-type-options li:hover, .home-type-options li.is-active { background: #edf7f0; color: var(--green); }
:is(.home-page, .market-page) .home-search-label, .home-search .home-search-field label.home-search-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.home-page .home-hero { min-height: 520px; padding-block: 64px 108px; justify-content: center; overflow: visible; z-index: 2; }
.home-page .home-hero::before, html[dir=rtl] .home-page .home-hero::before { background: linear-gradient(180deg, rgb(8 35 24 / 65%), rgb(8 35 24 / 76%)); }
.home-page .home-hero::after { content: ''; position: absolute; inset-inline: 0; bottom: -1px; height: 74px; background: var(--page-background); clip-path: ellipse(65% 100% at 50% 100%); pointer-events: none; }
.home-hero-content { position: relative; z-index: 1; gap: 28px; }
.home-hero-copy { max-width: none; text-align: center; }
.home-hero-copy h1 { font-size: clamp(32px, 4.6vw, 60px); }
.home-hero-actions { justify-content: center; }
:is(.home-page, .market-page) .home-search { grid-template-columns: minmax(140px, .7fr) minmax(220px, 1.6fr) minmax(150px, .9fr) minmax(100px, .5fr); gap: 12px; padding: 16px; border-radius: 22px; align-items: end; text-align: start; }
.home-search .home-search-field label { color: #3b4840; }
.home-search .home-search-field select { padding: 10px 12px; }
.home-search .home-search-select > svg { display: none; }
.home-search .home-search-mobile-title { display: none; }
.home-search .home-search-field select, .home-search #home-location-input { height: 52px; border-radius: 10px; }
.home-search .home-search-submit { min-height: 52px; border-radius: 10px; }
.home-location-field, .home-location-picker { position: relative; }
.home-location-field .home-search-select > svg { display: none; }
.home-location-picker[hidden], .home-location-popup[hidden], .home-location-empty[hidden], .home-search #home-state[hidden] { display: none !important; }
.home-location-picker input { width: 100%; min-width: 0; padding: 10px 14px; border: 1px solid #aab9ae; background: #fff; color: #24282b; font: inherit; }
.home-search .home-location-popup { position: absolute; z-index: 30; inset-inline-start: 0; top: calc(100% + 8px); width: max(100%, 290px); max-width: calc(100vw - 56px); padding: 10px; background: #fff; color: #24282b; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 12px 30px rgb(0 0 0 / 16%); }
.home-location-popup h3 { padding: 8px 10px; font-size: 15px; }
.home-location-popup ul { list-style: none; padding: 0; margin: 0; max-height: 280px; overflow-y: auto; }
.home-location-popup li { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px; border-radius: 8px; cursor: pointer; }
.home-location-popup li::before { content: '⌖'; color: var(--green); font-size: 20px; }
.home-location-popup li:hover, .home-location-popup li[aria-selected=true] { background: #edf7f0; color: var(--green); }
.home-location-empty { padding: 10px; font-size: 14px; }
.home-footer-brand .brand-logo { width: 220px; height: auto; }
@media (max-width: 850px) {
  :is(.home-page, .market-page) .home-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .home-hero { padding-block: 40px 84px; }
  .home-page .home-location-popup { width: 100%; min-width: 240px; }
}
@media (max-width: 600px) {
  :is(.home-page, .market-page) .home-search { grid-template-columns: minmax(0, 1fr); padding: 14px; border-radius: 16px; }
  .home-page .home-hero { padding-block: 30px 72px; }
  .home-page .home-hero::after { height: 42px; }
  .home-hero-content { gap: 20px; }
  .home-page .home-location-popup { width: 100%; min-width: 0; }
}

@media (max-width: 767px) {
  .home-page .home-hero { min-height: 0; padding: 0; background: var(--page-background); }
  .home-page .home-hero::before, .home-page .home-hero::after,
  .home-page .home-hero-slides { display: none; }
  .home-page .home-hero-content { width: 100%; gap: 0; }
  .home-page .home-hero-copy {
    --mobile-hero-angle: 90deg;
    min-height: 124px;
    padding: 19px 16px 26px;
    display: grid;
    align-content: center;
    text-align: start;
    background: linear-gradient(var(--mobile-hero-angle), #082f21e8, #082f2166),
      url("../images/sudan-hero-4.webp") center 55% / cover;
  }
  html[dir="rtl"] .home-page .home-hero-copy { --mobile-hero-angle: 270deg; }
  .home-page .home-hero-copy .home-kicker { display: none; }
  .home-page .home-hero-copy h1 { font-size: clamp(23px, 6.2vw, 31px); line-height: 1.25; }
  .home-page .home-hero-copy > p:last-child { font-size: 13px; line-height: 1.4; }
  .home-page #property-search { position: relative; width: calc(100% - 24px); margin: -14px auto 0; }
  .home-page .home-search { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 10px; border-radius: 14px; }
  .home-page .home-search :is(.home-search-transaction, .home-location-field) { grid-column: 1 / -1; }
  .home-page .home-search :is(.home-type-trigger, #home-property-type, #home-location-input, #home-state) { height: 44px; padding: 6px 10px; font-size: 14px; }
  .home-page .home-search .home-search-submit { min-height: 44px; padding: 6px 12px; }
  .home-page .home-search-segments button { min-height: 44px; }
  .home-page .home-search-segments svg { display: none; }
  .home-page .home-location-popup { width: 100%; min-width: 0; max-width: 100%; }
  .home-page .home-latest { margin-block-start: 12px; }
  .home-page .home-latest .home-section-heading { margin-block-end: 6px; }
  .home-page .home-latest .home-section-heading > a { min-height: 44px; }
}

@media (max-width: 320px) {
  .home-page .home-search { grid-template-columns: minmax(0, 1fr); }
}
