/* TF Real Estate Property Cards - Style 1 Integration */

.tf-properties-for-offer-wrapper {
    margin: 60px 0;
}

.tf-properties-for-offer-wrapper .properties-section-title {
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 700;
}

.no-properties-found {
    padding: 60px 20px;
    text-align: center;
    color: #666;
    font-size: 18px;
    background: #f5f5f5;
    border-radius: 8px;
}

/* Property Card Base */
.properties-post {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.properties-post:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

/* Featured Property (Image Section) */
.properties-post .featured-property {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.properties-post .featured-property img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.properties-post:hover .featured-property img {
    transform: scale(1.1);
}

.properties-post .featured-property .view-gallery {
    display: block;
    width: 100%;
    height: 100%;
}

/* Labels (Featured, For Sale, etc.) */
.properties-post .list-text {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    list-style: none;
    margin: 0;
    padding: 0;
}

.properties-post .list-text li {
    list-style: none;
    margin: 0;
}

.properties-post .list-text li span {
    padding: 4px 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}

.properties-post .list-text li span.featured-text {
    background: var(--theme-primary-color, #FF5A3C);
}

.properties-post .list-text li span.sale-text {
    background: #6E55FF;
}

/* Bottom Info (Price & Actions) */
.properties-post .bottom-infor-features {
    position: absolute;
    bottom: 12px;
    right: 12px;
    left: 12px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.properties-post .bottom-infor-features .price {
    color: #FFF;
    font-size: 22px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.properties-post .bottom-infor-features .price span {
    color: rgba(255, 255, 255, 0.80);
    font-size: 14px;
    font-weight: 600;
    margin-left: 4px;
}

/* Content Section */
.properties-post .content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Heading (Title & Address) */
.properties-post .content .heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.properties-post .content .heading .title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.properties-post .content .heading .title a {
    color: #1A1A1A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.properties-post .content .heading .title a:hover {
    color: var(--theme-primary-color, #FF5A3C);
}

.properties-post .content .heading .address {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #8E8E93;
    font-size: 14px;
}

.properties-post .content .heading .address i {
    color: var(--theme-primary-color, #FF5A3C);
    font-size: 14px;
}

/* Property Information (Beds, Baths, Size, Rooms) */
.properties-post .content .description {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.properties-post .content .description .property-information {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #636363;
    font-size: 14px;
    white-space: nowrap;
}

.properties-post .content .description .property-information i,
.properties-post .content .description .property-information img {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8E8E93;
}

.properties-post .content .description .property-information .value {
    font-weight: 600;
    color: #1A1A1A;
}

/* Bottom Section (Agent & Year) */
.properties-post .line {
    height: 1px;
    background: #E5E5EA;
    margin: 0 20px;
}

.properties-post .bottom {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.properties-post .bottom .avatar {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.properties-post .bottom .avatar:hover {
    opacity: 0.7;
}

.properties-post .bottom .avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.properties-post .bottom .avatar span {
    color: #8E8E93;
    font-size: 14px;
    font-weight: 400;
}

.properties-post .bottom .year {
    color: #8E8E93;
    font-size: 14px;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
    .properties-post .featured-property {
        height: 240px;
    }

    .properties-post .content {
        padding: 15px;
    }

    .properties-post .content .heading .title {
        font-size: 16px;
    }

    .properties-post .bottom-infor-features .price {
        font-size: 18px;
    }
}

/* Item wrapper for compatibility with TF layouts */
.item {
    margin-bottom: 30px;
}

/* Override if needed for better spacing */
.tf-properties-for-offer-wrapper .row {
    --bs-gutter-x: 30px;
    --bs-gutter-y: 30px;
}
