<table style="margin-bottom: 20px;padding-bottom: 10px;border-bottom: 1px solid #ccc;">
    <tbody>
        <tr>
            <td style="width:150px;height:150px;padding:0;margin:0;">
                <img src="<?php e($foto)?>" style="height: 100%;width: 100%;object-fit: cover;">
            </td>
            <td style="width: 420px;padding-left: 10px;">
                <h3 style="margin: 0;line-height: 1.2;"><?php e(ucwords(str_replace ("-" , " ", $im['key_anuncio']))) ?></h3>
                <p style="margin: 17px 0;line-height:1.2;font-size:14px;"><?php e($im['endereco']) ?><br><?php e($im['bairro']) ?>, <?php e($im['cidade']) ?> - <?php e($im['estado']) ?></p>
                <p style="margin: 0;line-height: 1.2;font-size: 12px;"><b><?php e($im['quartos']) ?></b> Quarto(s) | <b><?php e($im['banheiros']) ?></b> Banheiro(s) | <b><?php e($im['vaga']) ?></b> Vaga(s)</p>
                <p style="margin: 20px 0 0;text-align: center;">
                    <a href="<?php e($link)?>" style="text-decoration:none;display:inline-block;color: #fff;background-color: #2196f3;border-radius:50px;width: 150px;padding-top:10px;padding-bottom:10px;text-align:center;word-break:keep-all;margin: auto;line-height: 1.2;font-size: 14px;" target="_blank">
                        Ver imóvel
                    </a>
                </p>
            </td>
        </tr>
    </tbody>
</table>

<!--<div class="mb-3">
    <div class="row no-gutters">
        <div class="col-md-4">
            <div class="profile" style="max-height: 300px;">
                <img src="<?php e($foto)?>" style="height: 150px; width: 100%; object-fit: cover;" alt="...">                                            
            </div>
        </div>
        <div class="col-md-8">
              <div>
                <h6 class="mb-1 text-primary"><?php e(ucwords(str_replace ("-" , " ", $im->key_anuncio))) ?></h6>
                <p class="mb-1"><?php e($im->endereco) ?><br><?php e($im->bairro) ?>, <?php e($im->cidade) ?> - <?php e($im->estado) ?></p>
                <p class="text-primary"><small class="text-muted"><?php e($im->quartos) ?> Quarto(s) | <?php e($im->banheiros) ?> Banheiro(s) | <?php e($im->vaga) ?> Vaga(s)</small></p>
              </div>
        </div>
    </div>
</div>
<br>
<br>-->