.imoveis-lista {
  display: flex;
  gap: var(--wp--style--block-gap, 0.5em);
}

.imoveis-filtros__inner {
  padding-bottom: var(--wp--custom--gap--vertical);
}

.imoveis-filtros__titulo {
  word-wrap: break-word;
  overflow-wrap: break-word;

  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
}

.imoveis-filtros form > p,
.imoveis-filtros form > label {
  display: block;
  margin: 1.6rem 0 1rem;
  text-transform: uppercase;
}

.imoveis-filtros form input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 0.9rem;
  width: 0.9rem;
  border: 2px solid var(--wp--custom--color--primary);
  border-radius: 100%;
  vertical-align: middle;
  margin-bottom: 5px;
}

.imoveis-filtros form button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  border: 0;
  margin-top: 1.6rem;
  padding: 0.5rem;
  background: var(--wp--custom--color--primary);
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  font-family: var(--wp--preset--font-family--body-font);
  cursor: pointer;

  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.imoveis-filtros button:focus,
.imoveis-filtros button:hover {
  background-color: var(--wp--custom--color--secondary);
}

.imoveis-filtros form input[type="radio"]:checked {
  background-color: var(--wp--custom--color--primary);
}

.imoveis-filtros form select:-moz-focusring,
.imoveis-filtros form select option:-moz-focusring {
  color: transparent !important;
  text-shadow: 0 0 0 #000 !important;
}

.imoveis-filtros form select::-ms-expand {
  display: none;
}

.imoveis-filtros form select,
.imoveis-filtros form select option {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  width: 100%;
  padding: 6px 5px;
  border: 1px solid #fafafa;
  background: #fafafa;
}

.imoveis-filtros form select {
  vertical-align: top;
  text-overflow: ellipsis;
  display: inline-block;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);

  background: linear-gradient(45deg, transparent 50%, #aaa 50%),
    linear-gradient(135deg, #aaa 50%, transparent 50%);
  background-position: calc(100% - 17px) calc(50%), calc(100% - 10px) calc(50%);
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
}

.imoveis-filtros form select:focus,
.imoveis-filtros form select option:focus {
  outline: 1px solid white;
  border: 1px solid #ccc;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.imoveis-resultados {
  padding: var(--wp--custom--gap--vertical) var(--wp--custom--gap--horizontal);
}

.imoveis__item {
  text-transform: uppercase;
  margin-bottom: calc(2 * var(--wp--custom--gap--vertical));
}

@media screen and (min-width: 1028px) {
  .imoveis-resultados {
    display: flex;
    flex-wrap: wrap;
    gap: var(--wp--custom--gap--horizontal);
  }

  .imoveis__item {
    flex: 0 0 calc(50% - (0.5 * var(--wp--custom--gap--horizontal)));
  }
}

.imovel__imagem {
  margin: 0 0 var(--wp--custom--gap--vertical);
}

.imovel__imagem a {
  display: block;
}

.imovel__imagem img {
  width: 100%;
  height: auto;
  vertical-align: middle;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.imovel__titulo {
  margin-bottom: 0;
}
.imovel__titulo a {
  text-decoration: none !important;
}
.imovel__titulo a:focus,
.imovel__titulo a:hover {
  text-decoration: underline !important;
}

.imovel__titulo + p {
  margin-top: 0.5rem !important;
  line-height: var(--wp--custom--heading--typography--line-height);
}
