.elementor-4243 .elementor-element.elementor-element-a5a17ce{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-ef878a7 *//* ---------- SAFE RESET &amp; BASE ---------- */
.listings-wrapper, .listings-wrapper * {
    box-sizing: border-box;
}

/* Changed to Full Width */
.listings-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: transparent;
    color: #1a1a2e;
    padding: 2rem 5%; /* 5% padding keeps it from touching the absolute edges on huge screens */
    width: 100%;
    margin: 0 auto;
    line-height: 1.5;
}

/* ---------- SECTION HEADERS ---------- */
.listings-wrapper .section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 3.5rem 0 1.5rem 0;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.75rem;
}

.listings-wrapper .section-header:first-child {
    margin-top: 0;
}

.listings-wrapper .section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0b1a33;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
}

.listings-wrapper .section-header h2 i {
    color: #006aff;
    font-size: 1.6rem;
}

.listings-wrapper .section-header .count-badge {
    background: #e9edf4;
    color: #1e3a5f;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.2rem 0.9rem;
    border-radius: 40px;
    margin-left: 0.5rem;
}

.listings-wrapper .section-header .view-all {
    font-size: 0.9rem;
    font-weight: 500;
    color: #006aff;
    text-decoration: none;
    transition: color 0.2s;
}

.listings-wrapper .section-header .view-all:hover {
    color: #0044b3;
    text-decoration: underline;
}

/* ---------- PROPERTY GRID ---------- */
.listings-wrapper .property-grid {
    display: grid;
    /* Adjusts dynamically to screen size */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.8rem;
}

/* ---------- PROPERTY CARD ---------- */
.listings-wrapper .property-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #edf2f7;
}

.listings-wrapper .property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

/* ---- image wrapper ---- */
.listings-wrapper .card-image {
    position: relative;
    background: #d9e2ef;
    padding-bottom: 62%;
    overflow: hidden;
}

.listings-wrapper .card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.listings-wrapper .property-card:hover .card-image img {
    transform: scale(1.02);
}

/* ---- badges on image ---- */
.listings-wrapper .card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    pointer-events: none;
}

.listings-wrapper .badge {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.25rem 0.8rem;
    border-radius: 40px;
    text-transform: uppercase;
    white-space: nowrap;
}

.listings-wrapper .badge.buyer { background: #006aff; color: #fff; }
.listings-wrapper .badge.seller { background: #f5a623; color: #1a1a2e; }
.listings-wrapper .badge.tour { background: #7c3aed; color: #fff; }
.listings-wrapper .badge.feature { background: #059669; color: #fff; }

/* ---- card body ---- */
.listings-wrapper .card-body {
    padding: 1.2rem 1.2rem 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.listings-wrapper .card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0b1a33;
    letter-spacing: -0.01em;
    margin-bottom: 0.3rem;
}

.listings-wrapper .card-price .rent-suffix {
    font-size: 0.95rem;
    font-weight: 500;
    color: #4a5a72;
}

.listings-wrapper .card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    font-size: 0.9rem;
    color: #2d3a4f;
    margin: 0.3rem 0 0.5rem 0;
    font-weight: 500;
}

.listings-wrapper .card-details span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.listings-wrapper .card-details i {
    color: #6b7a93;
    font-size: 0.8rem;
    width: 1rem;
}

.listings-wrapper .card-address {
    font-size: 0.85rem;
    color: #4a5a72;
    line-height: 1.4;
    margin-bottom: 0.6rem;
}

.listings-wrapper .card-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #1f3a6b;
    background: #f0f4fe;
    padding: 0.2rem 0.9rem;
    border-radius: 40px;
    align-self: flex-start;
    margin-top: 0.3rem;
}

.listings-wrapper .card-status .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f5a623;
}

.listings-wrapper .card-status .dot.sold-dot { background: #f5a623; }
.listings-wrapper .card-status .dot.sale-dot { background: #006aff; }
.listings-wrapper .card-status .dot.rent-dot { background: #7c3aed; }

/* ---- brokerage / mls ---- */
.listings-wrapper .card-footer-meta {
    margin-top: 0.8rem;
    padding-top: 0.7rem;
    border-top: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #6b7a93;
}

.listings-wrapper .card-footer-meta .brokerage {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.listings-wrapper .card-footer-meta .brokerage img {
    height: 18px;
    width: auto;
    border-radius: 4px;
}

/* ---------- LOAD MORE BUTTON ---------- */
.load-more-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 2.5rem;
}

.btn-load-more {
    background: #1FB7A6; /* Using your site's primary theme color */
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.8rem 2.5rem;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(31, 183, 166, 0.3);
}

.btn-load-more:hover {
    background: #179587;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(31, 183, 166, 0.4);
    color: #ffffff;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .listings-wrapper {
        padding: 1rem 1rem;
    }
    .listings-wrapper .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .listings-wrapper .section-header h2 {
        font-size: 1.4rem;
    }
    .listings-wrapper .property-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .listings-wrapper .card-price {
        font-size: 1.3rem;
    }
}/* End custom CSS */