/* =========================================================
   PREMIUM PROJECT FACILITIES CHIPS
   Include after the existing project-list/card stylesheet.
   ========================================================= */
.project-facilities {
    margin-top: 18px;
    padding: 15px 16px 16px;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 5px 18px rgba(15, 23, 42, .045);
    min-width: 0;
}

.project-facilities-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}

.project-facilities-heading-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.project-facilities-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #315f9e;
    background: #edf4ff;
    font-size: 14px;
}

.project-facilities-heading h4 {
    margin: 0;
    color: #172b4d;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 750;
    letter-spacing: -.2px;
}

.project-facilities-heading p {
    margin: 3px 0 0;
    color: #8491a5;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 500;
}

.project-facilities-count {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 20px;
    color: #526985;
    background: #eef2f7;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.project-facility-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.project-facility-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    max-width: 100%;
    min-height: 31px;
    padding: 6px 11px;
    border: 1px solid #e1e9f2;
    border-radius: 999px;
    color: #40536d;
    background: #fff;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 650;
    transition: border-color .2s ease, background .2s ease,
                color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.project-facility-chip i {
    color: #5b83b5;
    font-size: 10px;
    flex: 0 0 auto;
}

.project-facility-chip span {
    overflow-wrap: anywhere;
}

.project-facility-chip:hover {
    color: #244e83;
    border-color: #b9cde5;
    background: #f3f7fd;
    box-shadow: 0 4px 10px rgba(35, 78, 131, .08);
    transform: translateY(-1px);
}

@media (max-width: 767.98px) {
    .project-facilities {
        margin-top: 13px;
        padding: 12px;
        border-radius: 13px;
    }

    .project-facilities-heading {
        margin-bottom: 11px;
    }

    .project-facilities-icon {
        width: 33px;
        height: 33px;
        flex-basis: 33px;
        border-radius: 10px;
    }

    .project-facilities-heading h4 {
        font-size: 13px;
    }

    .project-facilities-heading p {
        font-size: 10px;
    }

    .project-facility-chips {
        gap: 7px;
    }

    .project-facility-chip {
        min-height: 29px;
        padding: 6px 9px;
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-facility-chip {
        transition: none;
    }
}
