﻿

/* Our Properties grid - property cards */
.properties-grid {
    --property-card-radius: 8px;
}

.property-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: var(--property-card-radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    height: 100%;
}

    .property-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
    }

.property-card-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8eef8;
}

    .property-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.property-card-body {
    padding: 0.75rem 1rem;
}

.property-card-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #1f2937;
}

.property-card-location {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 0.2rem 0;
}

.property-card-details {
    font-size: 0.8125rem;
    color: #4b5563;
    margin: 0 0 0.1rem 0;
}

    .property-card-details:last-of-type {
        margin-bottom: 0;
    }
