/* Shared compact property search, scoped to the homepage and featured archive. */
.ta-search {
  --ta-search-red: #aa292a;
  --ta-search-ink: #242824;
  --ta-search-muted: #626764;
  --ta-search-line: #dcded9;
  display: block;
  color: var(--ta-search-ink);
  font: 400 16px/1.5 'Source Sans Pro', sans-serif;
}
.ta-search form { margin: 0; }
.ta-search .ta-search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, .8fr) minmax(150px, 1fr);
  align-items: center;
  padding: 15px;
  border: 1px solid var(--ta-search-line);
  border-radius: 5px;
  background: #fff;
}
.ta-search .ta-search-field { min-width: 0; padding: 0 20px; border-inline-end: 1px solid var(--ta-search-line); }
.ta-search .ta-search-field label {
  display: block;
  margin: 0;
  color: var(--ta-search-muted);
  font: 600 10px/1.5 'Source Sans Pro', sans-serif;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}
.ta-search .ta-search-field :is(input, select) {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 42px;
  min-height: 42px;
  margin: 0;
  padding: 3px 22px 3px 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background-color: transparent;
  color: var(--ta-search-ink);
  font: 400 16px/1.5 'Source Sans Pro', sans-serif;
  text-overflow: ellipsis;
}
.ta-search .ta-search-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23242824' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}
.ta-search .ta-search-field input::placeholder { color: #626764; opacity: 1; }
.ta-search .ta-search-location { padding-inline-start: 12px; }
.ta-search .ta-search-submit {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  gap: 12px;
  min-height: 56px;
  margin: 0 0 0 18px;
  padding: 14px 20px;
  border: 1px solid var(--ta-search-red);
  border-radius: 5px;
  background: var(--ta-search-red);
  color: #fff;
  font: 600 16px/1.4 'Source Sans Pro', sans-serif;
  white-space: nowrap;
  cursor: pointer;
}
.ta-search .ta-search-submit svg { flex-shrink: 0; width: 24px; height: 24px; }
.ta-search .ta-search-submit:hover { background: #8d2022; border-color: #8d2022; color: #fff; }
.ta-search :is(input, select, button, summary):focus-visible { outline: 2px solid var(--ta-search-red); outline-offset: 4px; }
.ta-search .ta-search-more { margin-top: 12px; }
.ta-search .ta-search-more summary { width: fit-content; padding: 8px 0; min-height: 40px; color: var(--ta-search-muted); font-size: 14px; cursor: pointer; }
.ta-search .ta-search-extra { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 20px 15px; margin-top: 8px; border: 1px solid var(--ta-search-line); border-radius: 5px; }
.ta-search .ta-search-extra > :last-child { border-inline-end: 0; }
.ta-home-search-section { padding: 60px 0; background: #fff; }
.ta-home-search-section > .container { width: min(1280px, calc(100% - 80px)); max-width: 1280px; padding: 0; margin-inline: auto; }
.ta-home-search-section #ta-home-search-heading { margin: 0 0 36px; text-align: center; font-size: clamp(30px, 3vw, 44px); line-height: 1.3; }
.ta-search.ta-featured-search { margin: 32px 0 24px; }
.tal .ta-search-results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 28px; }
.tal .ta-search-sort { display: flex; align-items: center; gap: 14px; color: #626764; font: 400 14px/1.5 'Source Sans Pro', sans-serif; }
.tal .ta-search-sort label { margin: 0; white-space: nowrap; }
.tal .ta-search-sort select { min-height: 44px; max-width: 200px; border: 0; background: #fff; color: #242824; font: inherit; padding: 8px 4px; }
.tal .ta-search-sort button { min-height: 44px; padding: 8px 10px; background: #fff; color: #aa292a; border: 0; border-radius: 5px; font: 600 14px/1.5 'Source Sans Pro', sans-serif; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@media (max-width: 1100px) and (min-width: 701px) {
  .ta-search .ta-search-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 0; }
  .ta-search .ta-search-location { grid-column: 1 / -1; border-inline-end: 0; border-bottom: 1px solid var(--ta-search-line); padding: 0 12px 10px; }
  .ta-search .ta-search-bar > .ta-search-field:nth-child(4) { border-inline-end: 0; }
  .ta-search .ta-search-submit { grid-column: 1 / -1; margin: 0; justify-content: center; gap: 24px; }
}
@media (max-width: 700px) {
  .ta-home-search-section { padding: 42px 0; }
  .ta-home-search-section > .container { width: calc(100% - 36px); }
  .ta-home-search-section #ta-home-search-heading { margin-bottom: 24px; font-size: 30px; }
  .ta-search .ta-search-bar { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 0; }
  .ta-search .ta-search-field, .ta-search .ta-search-location { padding: 12px 2px; border-inline-end: 0; border-bottom: 1px solid var(--ta-search-line); }
  .ta-search .ta-search-bar > .ta-search-field:first-child { padding-top: 0; }
  .ta-search .ta-search-field label { font-size: 10px; }
  .ta-search .ta-search-field :is(input, select) { min-height: 44px; height: 44px; }
  .ta-search .ta-search-submit { width: 100%; margin: 16px 0 0; min-height: 52px; justify-content: space-between; }
  .ta-search .ta-search-extra { grid-template-columns: minmax(0, 1fr); padding: 4px 16px; gap: 0; }
  .ta-search .ta-search-extra > :last-child { border-bottom: 0; }
  .ta-search.ta-featured-search { margin-top: 24px; }
  .tal .ta-search-results-toolbar { align-items: flex-start; flex-direction: column; gap: 8px; }
  .tal .ta-search-sort { width: 100%; gap: 10px; }
  .tal .ta-search-sort select { min-width: 0; flex: 1; max-width: none; }
}
