/* Custom Styles for Recently Sold Widget 5c1f5fe1 */

.rs-5c1f5fe1-container,
.rs-5c1f5fe1-container *,
.rs-5c1f5fe1-container *::before,
.rs-5c1f5fe1-container *::after {
    box-sizing: border-box;
}

.rs-5c1f5fe1-container {
    width: 100%;
    background-color: #ffffff;
    overflow: hidden;
}

.rs-5c1f5fe1-wrapper {
    width: 100%;
    margin: 0 auto;
}

/* HEADER AREA */

.rs-5c1f5fe1-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0;
    text-align: center;
}

.rs-5c1f5fe1-eyebrow {
    margin: 0 0 8px;
    color: #0D47A1;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.rs-5c1f5fe1-eyebrow-line {
    width: 34px;
    height: 2px;
    margin: 0 0 18px;
    background-color: #0D47A1;
}

.rs-5c1f5fe1-heading {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    color: #07152D;
    font-family: serif;
    font-size: 58px;
    font-weight: 400;
    line-height: 1.1;
    overflow-wrap: break-word;
}

.rs-5c1f5fe1-support {
    width: 100%;
    max-width: 850px;
    margin: 18px auto 0;
    color: #313B4D;
    font-family: sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    overflow-wrap: break-word;
}

/* STATISTICS ROW */

.rs-5c1f5fe1-stats-row {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    margin-top: 55px;
}

.rs-5c1f5fe1-stat-col {
    position: relative;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 10px 20px;
    text-align: center;
}

/* Vertical dividers */

.rs-5c1f5fe1-stats-row
.rs-5c1f5fe1-stat-col:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 85px;
    background-color: #D7DBE2;
    content: "";
    transform: translateY(-50%);
}

.rs-5c1f5fe1-stat-val {
    color: #0D47A1;
    font-family: serif;
    font-size: 46px;
    font-weight: 400;
    line-height: 1;
    overflow-wrap: anywhere;
}

.rs-5c1f5fe1-stat-stars {
    color: #0D47A1;
    font-family: sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 2px;
    white-space: nowrap;
}

.rs-5c1f5fe1-stat-lbl {
    margin-top: 14px;
    color: #172033;
    font-family: sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    overflow-wrap: break-word;
}

/* PROPERTY GRID */

.rs-5c1f5fe1-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
    margin-top: 50px;
    gap: 22px;
}

.rs-5c1f5fe1-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #D7DBE2;
    border-radius: 0;
    box-shadow: none;
}

.rs-5c1f5fe1-card-img-wrap {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 275px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.rs-5c1f5fe1-card-img-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center center;
    border: 0;
    transition: transform 0.4s ease-in-out;
}

/* Subtle image scale hover effect on desktop */

@media (hover: hover) and (pointer: fine) {
    .rs-5c1f5fe1-card:hover
    .rs-5c1f5fe1-card-img-wrap img {
        transform: scale(1.03);
    }
}

.rs-5c1f5fe1-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    margin: 0;
    padding: 10px 15px;
    color: #ffffff;
    background-color: #0D47A1;
    border-radius: 0;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.rs-5c1f5fe1-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    padding: 28px 24px 26px;
}

.rs-5c1f5fe1-card-street {
    margin: 0 0 8px;
    color: #07152D;
    font-family: serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.25;
    overflow-wrap: break-word;
}

.rs-5c1f5fe1-card-city {
    margin: 0 0 20px;
    color: #313B4D;
    font-family: sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.4;
    overflow-wrap: break-word;
}

.rs-5c1f5fe1-card-divider {
    flex-shrink: 0;
    width: 100%;
    height: 1px;
    margin: 0 0 20px;
    background-color: #D7DBE2;
}

.rs-5c1f5fe1-card-specs {
    margin: 0 0 20px;
    color: #172033;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.rs-5c1f5fe1-card-price {
    margin: 0;
    color: #172033;
    font-family: sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.4;
    overflow-wrap: break-word;
}

.rs-5c1f5fe1-price-lbl {
    color: #172033;
}

.rs-5c1f5fe1-price-num {
    margin-left: 4px;
    color: #0D47A1;
    font-size: 20px;
    font-weight: 600;
}

.rs-5c1f5fe1-card-detail {
    margin-top: 12px;
    color: #0D47A1;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    overflow-wrap: break-word;
}

/* RESPONSIVE DESIGN */

/* Tablet */

@media (max-width: 1024px) {
    .rs-5c1f5fe1-heading {
        font-size: 44px;
    }

    .rs-5c1f5fe1-support {
        font-size: 17px;
    }

    .rs-5c1f5fe1-stats-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 45px;
        gap: 35px 30px;
    }

    .rs-5c1f5fe1-stat-col {
        width: 100%;
        padding: 10px 15px 20px;
        border-bottom: 1px solid #D7DBE2;
    }

    .rs-5c1f5fe1-stats-row
    .rs-5c1f5fe1-stat-col:not(:last-child)::after {
        display: none;
    }

    .rs-5c1f5fe1-stat-val {
        font-size: 38px;
    }

    .rs-5c1f5fe1-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 45px;
        gap: 22px;
    }

    .rs-5c1f5fe1-card-img-wrap {
        height: 250px;
    }

    .rs-5c1f5fe1-card-body {
        padding: 25px 22px;
    }

    .rs-5c1f5fe1-card-street {
        font-size: 24px;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .rs-5c1f5fe1-heading {
        font-size: 34px;
        line-height: 1.15;
    }

    .rs-5c1f5fe1-support {
        font-size: 16px;
        line-height: 1.55;
    }

    .rs-5c1f5fe1-stats-row {
        grid-template-columns: 1fr;
        margin-top: 35px;
        gap: 25px;
    }

    .rs-5c1f5fe1-stat-col {
        width: 100%;
        padding: 5px 10px 20px;
    }

    .rs-5c1f5fe1-stat-col:last-child {
        border-bottom: 0;
    }

    .rs-5c1f5fe1-stat-val {
        font-size: 34px;
    }

    .rs-5c1f5fe1-stat-stars {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .rs-5c1f5fe1-grid {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 35px;
        gap: 25px;
    }

    .rs-5c1f5fe1-card-img-wrap {
        height: 240px;
    }

    .rs-5c1f5fe1-card-body {
        padding: 24px 20px;
    }

    .rs-5c1f5fe1-card-street {
        font-size: 23px;
    }

    .rs-5c1f5fe1-card-price {
        font-size: 16px;
    }

    .rs-5c1f5fe1-price-num {
        font-size: 19px;
    }
}

/* Extra small mobile screens */

@media (max-width: 400px) {
    .rs-5c1f5fe1-heading {
        font-size: 30px;
    }

    .rs-5c1f5fe1-card-img-wrap {
        height: 220px;
    }

    .rs-5c1f5fe1-card-body {
        padding: 22px 18px;
    }

    .rs-5c1f5fe1-card-street {
        font-size: 21px;
    }
}