/* Project Card */
        .project-card {
            position: relative;
            flex-shrink: 0;
            width: 280px;
            border-radius: 12px;
            overflow: hidden; /* allow content to grow; no clipping */
            box-shadow: 0 2px 12px rgba(0,0,0,0.1);
            background-color: white;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .project-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 24px rgba(0,0,0,0.15);
        }

        .project-card:hover .project-name {
            color: #C41E3A;
        }

        .project-card:hover .project-price {
            color: #C41E3A;
        }

        .project-card:hover .project-card-image {
            transform: scale(1.05);
        }

        .project-image-wrapper {
            position: relative;
            width: 100%;
            height: 220px;
            overflow: hidden;
        }

        .project-card-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .project-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background-color: #FF1493;
            color: white;
            padding: 5px 12px;
            border-radius: 4px;
            font-size: 11px;
            font-weight: 700;
        }

        .project-favorite {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 36px;
            height: 36px;
            background-color: rgba(255,255,255,0.95);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        .project-favorite i {
            font-size: 20px;
            color: #666;
            transition: color 0.2s;
        }

        .project-favorite.active i,
        .project-favorite.active:hover i {
            color: #C41E3A !important;
        }

        .project-card-content {
            padding: 38px 8px 16px;
            text-align: center;
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        /* Handpicked section: compact cards + left aligned content */
        .handpicked-section {
            padding: 8px 0 10px;
        }

        .handpicked-section .section-header {
            padding: 0 14px 6px;
        }

        .handpicked-section .project-image-wrapper {
            height: 148px;
        }

        .handpicked-section .project-logo {
            top: 122px;
            left: 50%;
            transform: translateX(-50%);
        }

        .handpicked-section .project-card-content {
            padding: 14px 8px 5px;
            text-align: left;
        }

        .handpicked-section .card-actions {
            justify-content: flex-start;
        }

        .card-actions {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-top: 12px;
            flex-wrap: wrap;
        }

        .project-card .card-actions {
            margin-top: auto;
            padding-top:8px;
        }
        
        
         .project-logo {
            position: absolute;
            top: 203px;
            left: 50%;
            transform: translateX(-50%);
            width: 45px;
            height: 45px;
            background-color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
            border: 3px solid white;
            z-index: 2;
        }

        .project-logo i {
            font-size: 21px;
            color: #C41E3A;
        }

        .project-name {
            font-size: 17px;
            font-weight: 700;
            color: #333;
            margin-bottom: 6px;
            transition: color 0.3s ease;
            white-space: normal;
            word-break: break-word;
        }

        .field-icon-inline {
            color: #C41E3A;
            margin-right: 5px;
            font-size: 0.9em;
            vertical-align: -1px;
            display: inline-block;
            line-height: 1;
        }

        .project-details {
           font-size: 14px;
    font-weight: 400;
    color: #5a6470;
    line-height: 20px;
    margin-bottom: 12px;
    white-space: normal;
    word-break: break-word;
        }

        .project-details .project-type-line {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            max-width: 100%;
            white-space: normal;
            overflow: visible;
            text-overflow: unset;
            font-size: 13px;
            line-height: 1.2;
        }

        .project-details .project-city-line {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 13px;
            line-height: 1.25;
        }

        .project-details .project-type-line .field-icon-inline,
        .project-details .project-city-line .field-icon-inline {
            margin-right: 0;
            font-size: 0.9em;
            vertical-align: baseline;
        }

        .project-price {
            font-size: 18px;
            font-weight: 700;
            color: #333;
            margin-bottom: 0;
            transition: color 0.3s ease;
        }


  .section-ready-to-move .property-card-large .property-content {
            padding: 10px 14px 10px;
            text-align: left;
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .section-ready-to-move .property-card-large .property-image {
            height: 184px;
        }

        .section-ready-to-move .property-card-large .card-actions {
            margin-top: auto;
            padding-top: 10px;
        }

        .section-ready-to-move .property-card-large .property-price {
            margin-bottom: 0;
        }