/* Listing directory of a project page (views/real-estate/partials/project-property-directory.blade.php).
   Scoped to the block; the card grid keeps the theme card styles, the standalone shell uses the plain list. */
.hz-project-directory {
    padding: 64px 0;
    border-top: 1px solid #e4e4e4;
    background: #fff;
    color: #161e2d;
}

.hz-project-directory__header {
    margin-bottom: 28px;
}

.hz-project-directory__eyebrow {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color, #db1d23);
}

.hz-project-directory__title {
    margin: 0;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.25;
}

.hz-project-directory__count {
    margin: 8px 0 0;
    color: #5c6368;
}

.hz-project-directory__family {
    display: grid;
    gap: 12px;
    margin-bottom: 32px;
}

.hz-project-directory__family-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 0;
}

.hz-project-directory__family-label {
    font-weight: 600;
}

.hz-project-directory__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hz-project-directory__chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid #e4e4e4;
    border-radius: 999px;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.hz-project-directory__chip:hover,
.hz-project-directory__chip:focus-visible {
    border-color: var(--primary-color, #db1d23);
    color: var(--primary-color, #db1d23);
}

.hz-project-directory__list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hz-project-directory__item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 16px;
    padding: 14px 0;
    border-bottom: 1px solid #e4e4e4;
}

.hz-project-directory__item a {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}

.hz-project-directory__item a:hover,
.hz-project-directory__item a:focus-visible {
    color: var(--primary-color, #db1d23);
    text-decoration: underline;
}

.hz-project-directory__price {
    white-space: nowrap;
}

.hz-project-directory--plain .flat-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.hz-project-directory--plain .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    border: 1px solid #e4e4e4;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
}

.hz-project-directory--plain .page-numbers.current {
    border-color: var(--primary-color, #db1d23);
    color: var(--primary-color, #db1d23);
}

@media (max-width: 767px) {
    .hz-project-directory {
        padding: 40px 0;
    }
}
