/* Real Estate Feed Widget — v2.3 */
.refw-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: inherit;
}

/* Tarjeta horizontal */
.refw-card {
    display: flex;
    flex-direction: row;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
    min-height: 200px;
}
.refw-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
    transform: translateY(-1px);
}

/* Imagen: tamaño fijo rectangular igual en todas */
.refw-thumb {
    width: 300px;
    min-width: 300px;
    height: 200px;
    overflow: hidden;
    background: #edf2f7;
    flex-shrink: 0;
}
.refw-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}
.refw-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.refw-card:hover .refw-thumb img {
    transform: scale(1.05);
}

/* Info derecha */
.refw-body {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
    justify-content: center;
}

/* Título */
.refw-title {
    font-size: .9rem;
    font-weight: 600;
    color: #1a3c5e;
    line-height: 1.35;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
a.refw-title:hover { color: #c8972a; }

/* Precio */
.refw-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a3c5e;
    letter-spacing: -.01em;
}

/* Características */
.refw-feats {
    font-size: .82rem;
    color: #718096;
}

/* Botón */
.refw-cta {
    display: inline-block;
    margin-top: auto;
    padding: 7px 18px;
    background: #1a3c5e;
    color: #fff !important;
    border-radius: 6px;
    font-size: .8rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: background .15s ease;
    align-self: flex-start;
}
.refw-cta:hover {
    background: #c8972a;
    color: #fff !important;
}

/* Responsive */
@media (max-width: 600px) {
    .refw-card { flex-direction: column; }
    .refw-thumb {
        width: 100%;
        min-width: 0;
        height: 200px;
    }
}
