/* A single, quiet place to begin; the existing hero remains the focus. */
.home-page .hero .hero-property-search {
  display:flex;align-items:center;gap:6px;width:min(100%,650px);
  margin:0 auto 18px;padding:6px;background:var(--dv-paper,#F4F0E6);
  border:1px solid var(--dv-brass,#D5BC83);border-radius:10px;text-shadow:none;
}
.hero-property-search__label {
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
.home-page .hero .hero-property-search input {
  flex:1;min-width:0;width:auto;min-height:52px;margin:0;padding:12px 16px;
  border:0;border-radius:5px;background:transparent;color:var(--dv-ink,#193D32);
  font:400 18px/1.4 'DM Sans',sans-serif;caret-color:var(--dv-primary,#193D32);
}
.home-page .hero .hero-property-search input::placeholder {color:#536154;opacity:1}
.home-page .hero .hero-property-search button {
  flex:none;display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:52px;padding:12px 23px;border:0;border-radius:6px;
  background:var(--dv-primary,#193D32);color:var(--dv-on-dark,#F4F0E6);
  font:600 17px/1.4 'DM Sans',sans-serif;cursor:pointer;
  transition:background-color 160ms ease;
}
.home-page .hero .hero-property-search button:hover {background:var(--dv-primary-hover,#2B5142)}
.hero-property-search button svg {width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.home-page .hero .hero-property-search :focus-visible {outline:2px solid var(--dv-primary,#193D32);outline-offset:2px}
.home-page .hero .hero-property-search button:focus-visible {outline-color:var(--dv-brass-ink,#785D2C)}

/* Keep the entered place visible and editable alongside the existing filters. */
.property-search-page #filters .property-query-filter {grid-column:1/-1;display:block;margin:0}
.property-search-page #filters .property-query-filter input {
  display:block;width:100%;min-height:56px;margin-top:10px;padding:12px 14px;
  border:1px solid var(--palette-sage,#AAB5A2);border-radius:6px;
  background:var(--dv-field,#20372F);color:var(--dv-on-dark,#F4F0E6);
  font:400 18px/1.4 'DM Sans',sans-serif;caret-color:var(--dv-on-dark,#F4F0E6);
}
.property-search-page #filters .property-query-filter input::placeholder {color:#D7DCCF;opacity:1}
.property-search-page #filters .property-query-filter input:focus-visible {outline:3px solid var(--dv-brass,#D5BC83);outline-offset:4px}
.property-search-page #property-query-context {max-width:65ch;margin:12px auto 0;color:var(--dv-muted,#4E6256);font-size:16px;line-height:1.6}
.property-search-page .property-grid>.property-search-empty {grid-column:1/-1;text-align:center;padding:32px 20px 12px;max-width:720px;justify-self:center}
.property-search-page .property-search-empty h3 {font-size:38px;line-height:1.12;margin:0 0 16px;color:var(--dv-ink,#193D32)}
.property-search-page .property-search-empty p {font-size:18px;line-height:1.65;margin:0 auto 24px;max-width:55ch;color:var(--dv-muted,#4E6256)}
.property-search-page .property-search-empty .button {min-height:52px;font-size:17px}
@media(min-width:1101px) {
  .home-page .hero:has(.hero-property-search) {min-height:660px}
}
@media(max-width:650px) {
  .home-page .hero .hero-property-search {margin-bottom:16px;padding:5px;gap:4px}
  .home-page .hero .hero-property-search input {padding:12px 11px;font-size:16px;min-height:50px}
  .home-page .hero .hero-property-search button {min-height:50px;padding:12px 17px;font-size:16px}
  .property-search-page #property-query-context {font-size:16px}
  .property-search-page .property-search-empty h3 {font-size:32px}
  .property-search-page .property-search-empty {padding:20px 0 8px}
}
@media(max-width:480px) {
  .home-page .hero .hero-property-search button {width:50px;padding:12px}
  .hero-property-search__submit span {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
}
@media(prefers-reduced-motion:reduce) {.home-page .hero .hero-property-search button {transition:none}}
