/* ==========================================================
   TDS — TARG Design System
   Component: Property Card
   Version: 1.1
   ========================================================== */

.tds-latest-properties {
    background: #F7F5F1;
    padding: 0 0 104px;
}

.tds-latest-properties__inner {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
}

.tds-latest-properties__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.targ-property-card {
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(15,23,42,.10);
    transition: transform .22s ease, box-shadow .22s ease;
}

.targ-property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(15,23,42,.16);
}

.targ-property-card__image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #E7EAF0;
}

.targ-property-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.targ-property-card:hover .targ-property-card__image img {
    transform: scale(1.035);
}

.targ-property-card__badge {
    position: absolute;
    left: 18px;
    top: 18px;

    padding: 8px 13px;
    border-radius: 999px;

    background: rgba(255,255,255,.94);
    color: #172033;

    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.targ-property-card__body {
    padding: 26px 26px 28px;
}

.targ-property-card__price {
    margin: 0;

    font-family: var(--font-heading);
    font-size: 29px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.04em;

    color: #172033;
}

.targ-property-card__payment {
    margin: 9px 0 22px;

    font-family: var(--font-heading);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;

    color: #C69C6D;
}

.targ-property-card__title {
    margin: 0 0 12px;

    font-family: var(--font-heading);
    font-size: 21px;
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: -.03em;
}

.targ-property-card__title a {
    color: #172033;
    text-decoration: none;
}

.targ-property-card__title a:hover {
    color: #C69C6D;
}

.targ-property-card__location {
    margin: 0 0 20px;

    font-family: var(--font-heading);
    font-size: 15px;
    line-height: 1.4;

    color: rgba(23,32,51,.62);
}

.targ-property-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.targ-property-card__meta span {
    padding: 8px 11px;
    border-radius: 999px;

    background: #F7F5F1;
    color: rgba(23,32,51,.72);

    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 650;
}

@media (max-width: 1024px) {
    .tds-latest-properties__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .tds-latest-properties {
        padding: 0 0 72px;
    }

    .tds-latest-properties__inner {
        width: calc(100% - 40px);
    }

    .tds-latest-properties__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .targ-property-card {
        border-radius: 24px;
    }

    .targ-property-card__body {
        padding: 24px;
    }

    .targ-property-card__price {
        font-size: 27px;
    }

    .targ-property-card__title {
        font-size: 20px;
    }
}
