.card {
    transition: transform 0.2s;
    margin-bottom: 20px;
    position: relative;
    background: inherit;
    border-color: transparent;
}

.card:hover {
    transform: scale(1.02);
}

.card-img-top {
    aspect-ratio: 3 / 2;
    border-radius: 15px;
    object-fit: cover;
    margin-bottom: 18px;
    max-width: 100%;
    height: auto;
}

.card-body {
    padding: 0px;
}

.card-body svg {
    width: 18px;
    height: auto;
    fill: #1db2ff;
}

.card-title {
    font-size: 17px;
    font-weight: 700;
    color: rgb(51, 51, 51);
}

.card-location {
    margin-bottom: 8px;
}

.card-location p {
    font-size: 14px;
    color: gray;
    font-weight: 500;
    display: flex;
    column-gap: 5px;
    line-height: 21px;
    margin-bottom: 0px;
}

.btn-contact{
    background-color: #816846;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 1rem;

}

.btn-contact:hover{
    background-color: #675338;
}

.card-text {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
}
.card-price {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 10px;
    align-items: center;
}

.photo-count-overlay {
    position: absolute;
    display: flex;
    line-height: initial;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255);
    padding: 1.5px 8px;
    border-radius: 20px;
    white-space: nowrap;
}

.photo-count-overlay svg {
    margin-bottom: 1px;
    width: 12px; /* Ajusta o tamanho do ícone */
    fill: #1db2ff;/* Garante que o ícone fique branco */
    margin-left: 2px;
    margin-right: 2px;
}

.photo-count-overlay span {
    font-size: 12px;
    line-height: initial;
    color: #1db2ff;
    display: inline-block;
    margin-left: 2px;
    margin-right: 2px;
}

.rhea-ultra-properties-pagination {
    text-align: center;
    margin-bottom: 20px;
}

.rhea-pagination-clean {
    display: inline-flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.rhea-pagination-clean .real-btn {
    display: inline-block;
    min-width: 40px;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: #e6e1da;
    color: black;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.rhea-pagination-clean .real-btn:hover {
    background-color: #816846;
    color: white;
}

.rhea-pagination-clean .real-btn.current {
    background-color: #816846;
    color: white;
}

/* Responsividade: máximo 3 cards por linha */
@media (min-width: 1200px) {
    .col-lg-4 {
        flex: 0 0 33.33%; /* 3 cards por linha em telas grandes */
    }
}

/* Responsividade: 2 cards por linha em telas médias */
@media (max-width: 1199px) and (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%; /* 2 cards por linha */
    }
}
/* Responsividade para telas pequenas */
@media (max-width: 768px) {
    /* Ajustar a largura das colunas em dispositivos menores */
    .col-md-4 {
        flex: 1 1 100%; /* Faz com que os cards ocupem 100% da largura em telas pequenas */
    }

    .card-title {
        font-size: 16px;
    }

    .card-location p {
        font-size: 13px;
    }

    .card-price p {
        font-size: 15px;
    }
}
