.hpi-project-archive,.hpi-project-landing {
    padding:32px 0 56px;
}
.hpi-project-search {
    border:1px solid #e7e9ee;
    border-radius:10px;
    padding:18px;
    margin-bottom:24px;
    box-shadow:none;
}
.hpi-project-toolbar {
    margin-bottom:18px;
}
.hpi-project-card {
    font-family:Manrope,sans-serif;
    background:#fff;
    border:1px solid #e7e9ee;
    border-radius:12px;
    overflow:hidden;
    height:100%;
    transition:box-shadow .18s ease,transform .18s ease;
}
.hpi-project-card:hover {
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    transform:translateY(-2px);
}
.hpi-project-card__media {
    position:relative;
    display:block;
    aspect-ratio:16/10;
    background:#f2f4f7;
    overflow:hidden;
}
.hpi-project-card__media img {
    width:100%;
    height:100%;
    object-fit:cover;
}
.hpi-project-image-placeholder {
    display:block;
    width:100%;
    height:100%;
    background:linear-gradient(135deg,#eef1f5,#dde3ea);
}
/* One public HPI status palette; component placement remains owned by its existing rule. */
.hpi-status {
    --hpi-status-bg:#f1f5f9;
    --hpi-status-text:#5f6f85;
    display:inline-flex;
    align-items:center;
    border-radius:6px;
    background:var(--hpi-status-bg);
    color:var(--hpi-status-text);
    font-size:12px;
    font-weight:600;
    line-height:1.4;
    padding:4px 8px;
}
.hpi-status[data-hpi-status-group="project"][data-hpi-status="coming_soon"],
.hpi-status[data-hpi-status-group="construction"][data-hpi-status="planning"] {--hpi-status-bg:#ede9fe;--hpi-status-text:#6d28d9}
.hpi-status[data-hpi-status-group="project"][data-hpi-status="reservation"] {--hpi-status-bg:#fff1db;--hpi-status-text:#b45309}
.hpi-status[data-hpi-status-group="project"][data-hpi-status="selling"] {--hpi-status-bg:#dcfce7;--hpi-status-text:#15803d}
.hpi-status[data-hpi-status-group="project"][data-hpi-status="sold_out"] {--hpi-status-bg:#f1f5f9;--hpi-status-text:#475569}
.hpi-status[data-hpi-status-group="project"][data-hpi-status="handed_over"],
.hpi-status[data-hpi-status-group="construction"][data-hpi-status="handed_over"] {--hpi-status-bg:#dbeafe;--hpi-status-text:#1d4ed8}
.hpi-status[data-hpi-status-group="project"][data-hpi-status="suspended"],
.hpi-status[data-hpi-status-group="construction"][data-hpi-status="paused"] {--hpi-status-bg:#fee2e2;--hpi-status-text:#b91c1c}
.hpi-status[data-hpi-status-group="construction"][data-hpi-status="construction"],
.hpi-status[data-hpi-status-group="project"][data-hpi-status="final_sale"] {--hpi-status-bg:#fef3c7;--hpi-status-text:#92400e}
.hpi-status[data-hpi-status-group="construction"][data-hpi-status="completed"] {--hpi-status-bg:#dcfce7;--hpi-status-text:#166534}
.hpi-project-card__status {
    position:absolute;
    left:12px;
    top:12px;
}
.hpi-project-card__body {
    padding:16px;
}
.hpi-project-card.item-wrap .hpi-project-card__body > .hpi-project-card__title {
    margin:0 0 8px;
    font-family:inherit;
    font-size:17px;
    font-weight:600;
    line-height:1.4;
    color:#111827;
    text-transform:none;
}
.hpi-project-card.item-wrap .hpi-project-card__body > .hpi-project-card__title a {
    font:inherit;
    color:inherit;
    text-transform:none;
}
.hpi-project-card__location,.hpi-project-card__developer,.hpi-project-card__secondary {
    margin:0 0 6px;
    font-size:14px;
    font-weight:400;
    line-height:1.5;
    color:#64748b;
}
.hpi-project-card__developer {
    margin-bottom:12px;
    font-weight:500;
    color:#475569;
}
.hpi-project-card__secondary {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    column-gap:7px;
    row-gap:2px;
    margin-bottom:0;
    line-height:1.4;
}
.hpi-project-card__developer-names {
    display:block;
    max-height:3em;
    overflow:hidden;
    overflow-wrap:anywhere;
}
.hpi-project-card__developer-role {
    display:block;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.hpi-project-card__secondary-item {
    display: inline-block;
}

.hpi-project-card__separator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    line-height: 1;
    color: currentColor;
    transform: translateY(-0.5px);
}
.hpi-project-card__price {
    margin:0 0 12px;
    font-family:inherit;
    font-size:16px;
    font-weight:700;
    line-height:1.4;
    color:#111827;
}
.hpi-project-card__price .hpi-price-placeholder > .hpi-price-placeholder__status {
    font-size:12px;
    font-weight:400;
    color:#64748b;
}
@media(max-width:767px) {
    .hpi-project-card.item-wrap .hpi-project-card__body > .hpi-project-card__title {font-size:16px}
}
/* Shared Project Archive and Developer project pagination. */
.hpi-archive-pagination{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;width:100%}
.hpi-archive-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:44px;min-height:44px;padding:8px 12px;margin:0;border:1px solid #d1d5db;border-radius:6px;background:#fff;color:#1550ff;text-decoration:none;line-height:1.2}
.hpi-archive-pagination a:hover,.hpi-archive-pagination .current{background:#1550ff;border-color:#1550ff;color:#fff}
.hpi-archive-pagination a:focus-visible{outline:2px solid #00aeff;outline-offset:2px}
.hpi-archive-pagination [aria-disabled=true],.hpi-archive-pagination .dots{color:#667085;background:#f3f4f6;border-color:transparent}
.hpi-sidebar-card {
    background:#fff;
    border:1px solid #e7e9ee;
    border-radius:12px;
    padding:20px;
    margin-bottom:18px;
}
.hpi-identity-header {
    padding:14px 0 26px;
}
.hpi-identity-title-row {
    display:flex;
    align-items:flex-start;
    flex-wrap:wrap;
    gap:10px 12px;
    margin:0 0 8px;
}
.hpi-identity-title-row h1 {
    margin:0;
}
.hpi-identity-title-row .hpi-badge {
    margin-top:10px;
}
.hpi-project-meta {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px 18px;
    margin:0 0 12px;
    color:#667085;
    font-size:15px;
}
.hpi-project-meta__item {
    display:inline-flex;
    align-items:center;
    min-width:0;
    gap:7px;
}
.hpi-project-meta__icon,
.hpi-project-fact__icon,
.hpi-amenity__icon {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    color:#00aeef;
}
.hpi-project-meta__icon > svg {
    display:block;
    width:19px;
    height:19px;
}
.hpi-project-fact__icon > svg {
    display:block;
    width:25px;
    height:25px;
}
.hpi-amenity__icon > svg {
    display:block;
    width:25px;
    height:25px;
}
.hpi-identity-price {
    display:flex;
    flex-wrap:wrap;
    align-items:baseline;
    gap:6px 12px;
    margin:0;
}
.hpi-identity-price strong {
    color:#101828;
    font-size:26px;
    font-weight:750;
    line-height:1.15;
}
.hpi-identity-price span {
    color:#667085;
    font-size:15px;
    font-weight:500;
}
.hpi-top-area {
    align-items:flex-start;
}
.hpi-section {
    margin:0 0 34px;
}
.hpi-section h2 {
    font-size:24px;
    font-weight:700;
    margin:0 0 16px;
}
.hpi-information-notice {
    margin-top:32px;
    color:#667085;
    font-size:14px;
    line-height:1.7;
}
.hpi-information-notice h2 {
    font-size:18px;
    margin-bottom:12px;
}
.hpi-information-notice p:last-child {
    margin-bottom:0;
}
.hpi-project-overview,
.hpi-amenities-section,
.hpi-product-matrix,
.hpi-project-faq {
    margin-bottom:38px;
}
.hpi-project-overview > h2,
.hpi-amenities-section > h2,
.hpi-product-matrix > h2,
.hpi-project-faq > h2 {
    color:#101828;
    font-size:24px;
    font-weight:700;
    letter-spacing:-.02em;
    margin:0 0 18px;
}

/* Single Project — FAQ spacing on mobile */
@media (max-width: 767px) {
    .hpi-project-landing .hpi-project-faq {
        margin-top: 38px;
    }
}


.hpi-gallery {
    display:grid;
    gap:8px;
    border-radius:14px;
    overflow:hidden;
    background:#f2f4f7;
}
.hpi-gallery--count-0,
.hpi-gallery--count-1 {
    grid-template-columns:1fr;
}
.hpi-gallery--count-2 {
    grid-template-columns:1fr 1fr;
}
.hpi-gallery--count-3 {
    grid-template-columns:2fr 1fr;
    grid-auto-rows:145px;
}
.hpi-gallery--count-4 {
    grid-template-columns:2fr 1fr 1fr;
    grid-auto-rows:145px;
}
.hpi-gallery--count-5 {
    grid-template-columns:2fr 1fr 1fr;
    grid-auto-rows:145px;
}
.hpi-gallery__item {
    position:relative;
    display:block;
    min-height:290px;
    overflow:hidden;
    background:#eef1f5;
}
/* Parent anchor focus reset must not hide keyboard focus on gallery links. */
.hpi-gallery__item:focus-visible {
    outline:2px solid #1550ff;
    outline-offset:-4px;
}
.hpi-gallery--count-2 .hpi-gallery__item {
    min-height:290px;
}
.hpi-gallery--count-3 .hpi-gallery__item,
.hpi-gallery--count-4 .hpi-gallery__item,
.hpi-gallery--count-5 .hpi-gallery__item {
    min-height:145px;
}
.hpi-gallery--count-3 .hpi-gallery__item:first-child,
.hpi-gallery--count-4 .hpi-gallery__item:first-child,
.hpi-gallery--count-5 .hpi-gallery__item:first-child {
    grid-row:span 2;
}
.hpi-gallery--count-4 .hpi-gallery__item:nth-child(4) {
    grid-column:span 2;
}
.hpi-gallery__item img {
    width:100%;
    height:100%;
    object-fit:cover;
}
.hpi-gallery__label,.hpi-gallery__more {
    position:absolute;
    left:10px;
    bottom:10px;
    border-radius:999px;
    background:rgba(0,0,0,.62);
    color:#fff;
    font-size:12px;
    padding:0px 8px;
}
.hpi-gallery__more {
    left:auto;
    right:10px;
    font-weight:700;
}
.hpi-gallery__placeholder {
    min-height:290px;
    background:linear-gradient(135deg,#eef1f5,#dde3ea);
}
.hpi-map-box {
    width:100%;
    height:360px;
    border-radius:12px;
    background:#eef1f5;
    overflow:hidden;
}
.hpi-map-box--fallback {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:20px;
    text-align:center;
}
.hpi-project-facts h2 {
    margin-bottom:14px;
}
.hpi-project-facts__grid {
    display:grid;
    gap:20px;
}
.hpi-project-fact {
    display:grid;
    grid-template-columns:25px minmax(0,1fr);
    column-gap:10px;
    row-gap:2px;
    align-items:start;
}
.hpi-project-fact__icon {
    grid-row:1 / span 2;
    margin-top:4px;
}
.hpi-project-fact__label {
    color:#667085;
    font-size:12px;
    font-weight:500;
    letter-spacing:.04em;
    line-height:1.25;
    text-transform:uppercase;
}
.hpi-project-fact__value {
    color:#101828;
    font-size:15px;
    font-weight:600;
    line-height:1.35;
}
.hpi-calculator label {
    display:block;
    margin-bottom:8px;
    font-size:13px;
    color:#667085;
}

.hpi-calculator p.text-muted.mb-0 {
    font-size:14px;
    line-height:1.6;
    font-style: italic;
    color: rgb(102, 112, 133);
}

.hpi-calculator .form-control {
    height:38px;
    padding:6px 10px;
    font-size:15px;
    font-weight:600;
}
.hpi-calculator__grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
}
.hpi-calculator__primary {
    border-top:1px solid #eef1f5;
    border-bottom:1px solid #eef1f5;
    margin:12px 0 10px;
    padding:10px 0;
}
.hpi-calculator__primary span,.hpi-calculator__summary span {
    display:block;
    color:#667085;
    font-size:14px;
}
.hpi-calculator output {
    display:block;
    margin:2px 0 0;
    font-size:22px;
    font-weight:700;
    line-height:1.2;
}
.hpi-calculator__summary {
    display:flex;
    flex-direction:column;
    gap:7px;
    margin-bottom:10px;
}
.hpi-calculator__summary > div {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}
.hpi-calculator__summary span {
    flex:1 1 auto;
    font-size:14px;
    color:#667085;
}
.hpi-calculator__summary strong {
    flex:0 0 auto;
    font-size:14px;
    font-weight:500;
    line-height:1.25;
    text-align:right;
    white-space:nowrap;
}
.hpi-calculator__method {
    border:0;
    margin:0 0 8px;
    padding:0;
    display:flex;
    flex-wrap:wrap;
    gap:0;
}
.hpi-calculator__method legend {
    flex:0 0 100%;
    color:#667085;
    font-size:13px;
    margin:0 0 6px;
}
.hpi-calculator__method label {
    flex:1 1 0;
    margin:0;
}
.hpi-calculator__method input {
    position:absolute;
    opacity:0;
}
.hpi-calculator__method span {
    display:block;
    border:1px solid #e7e9ee;
    padding:7px 8px;
    text-align:center;
    color:#344054;
    background:#fff;
    font-size:14px;
    font-weight:600;
    line-height:1.2;
    white-space:nowrap;
}
.hpi-calculator__method label:first-of-type span {
    border-radius:999px 0 0 999px;
}
.hpi-calculator__method label:last-of-type span {
    border-left:0;
    border-radius:0 999px 999px 0;
}
.hpi-calculator__method input:checked+span {
    border-color:#00aeef;
    background:#00aeef;
    color:#fff;
}
.hpi-project-overview {
    max-width:780px;
}
.hpi-project-overview__lead {
    color:#101828;
    font-size:16px;
    font-weight:550;
    line-height:1.65;
}
.hpi-project-overview__body,
.hpi-project-overview__legal {
    color:#344054;
    font-size:16px;
    line-height:1.75;
}
.hpi-project-overview__lead > :last-child,
.hpi-project-overview__body > :last-child,
.hpi-project-overview__legal > :last-child {
    margin-bottom:0;
}
.hpi-project-overview__legal {
    border-left:2px solid #d6eef9;
    margin-top:20px;
    padding:2px 0 2px 16px;
}
.hpi-project-overview__legal h3 {
    color:#667085;
    font-size:12px;
    font-weight:750;
    letter-spacing:.06em;
    line-height:1.3;
    margin:0 0 8px;
    text-transform:uppercase;
}
.hpi-product-matrix__table {
    overflow-x:auto;
}
.hpi-matrix-table {
    width:100%;
    border-collapse:collapse;
    background:#fff;
}
.hpi-matrix-table th,.hpi-matrix-table td {
    border-bottom:1px solid #e7e9ee;
    padding:14px 12px;
    text-align:left;
    vertical-align:top;
}
.hpi-matrix-table thead th {
    color:#667085;
    font-size:12px;
    font-weight:750;
    letter-spacing:.04em;
    line-height:1.25;
    text-transform:uppercase;
}
.hpi-matrix-table tbody th {
    color:#101828;
    font-size:15px;
    font-weight:750;
    line-height:1.35;
}
.hpi-matrix-table td {
    color:#344054;
    font-size:15px;
    line-height:1.4;
}
.hpi-matrix-table__numeric {
    text-align:right !important;
}
.hpi-product-matrix__cards {
    display:none;
}
.hpi-amenities {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px 18px;
}
.hpi-amenity {
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
    color:#101828;
    font-size:15px;
    font-weight:600;
    line-height:1.35;
}
.hpi-amenity__icon {
    margin-top:0px;
}
.hpi-amenity__label {
    min-width:0;
    overflow-wrap:anywhere;
}
.hpi-faq-list {
    border-top:1px solid #e7e9ee;
}
.hpi-faq-list details {
    border-bottom:1px solid #e7e9ee;
    padding:0;
}
.hpi-faq-list summary {
    align-items:flex-start;
    cursor:pointer;
    display:grid;
    gap:12px;
    grid-template-columns:32px minmax(0,1fr) 18px;
    list-style:none;
    padding:18px 0;
}
.hpi-faq-list summary::-webkit-details-marker {
    display:none;
}
.hpi-faq-list summary::after {
    color:#00aeef;
    content:'+';
    font-size:20px;
    font-weight:400;
    line-height:1;
    margin-top:1px;
    text-align:right;
}
.hpi-faq-list details[open] summary::after {
    content:'–';
}
.hpi-faq-list__index {
    color:#98a2b3;
    font-size:12px;
    font-weight:750;
    letter-spacing:.04em;
    line-height:1.6;
}
.hpi-faq-list__question {
    color:#101828;
    font-size:16px;
    font-weight:750;
    line-height:1.45;
}
.hpi-faq-list__answer {
    color:#344054;
    font-size:15px;
    line-height:1.7;
    padding:0 50px 18px 44px;
}
.hpi-faq-list__answer > :last-child {
    margin-bottom:0;
}

.hpi-nearby-list {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px 18px;
}
.hpi-nearby-item {
    align-items:center;
    border:1px solid #eef2f6;
    border-radius:14px;
    display:grid;
    gap:12px;
    grid-template-columns:34px minmax(0,1fr) auto;
    padding:14px 16px;
}
.hpi-nearby-item__icon {
    align-items:center;
    background:#f7fbfd;
    border-radius:999px;
    color:#00aeef;
    display:inline-flex;
    height:34px;
    justify-content:center;
    width:34px;
}
.hpi-nearby-item__icon > svg {
    height:22px;
    width:22px;
}
.hpi-nearby-item__body {
    display:flex;
    flex-direction:column;
    min-width:0;
}
.hpi-nearby-item__body strong {
    color:#101828;
    font-size:14px;
    line-height:1.35;
}
.hpi-nearby-item__body span,
.hpi-nearby-item__distance {
    color:#667085;
    font-size:13px;
    line-height:1.4;
}
.hpi-nearby-item__distance {
    color:#344054;
    font-weight:700;
}

.hpi-related-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
}
.hpi-mobile-summary {
    display:none;
}
.admin-bar .hpi-mobile-summary {
    bottom:0;
}
@media (max-width:991px) {
.hpi-related-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .hpi-amenities {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .hpi-gallery--count-3,
    .hpi-gallery--count-4,
    .hpi-gallery--count-5 {
        grid-template-columns:1fr 1fr;
        grid-auto-rows:130px;
    }
    .hpi-gallery--count-3 .hpi-gallery__item:first-child,
    .hpi-gallery--count-4 .hpi-gallery__item:first-child,
    .hpi-gallery--count-5 .hpi-gallery__item:first-child {
        grid-column:span 2;
        grid-row:span 2;
    }
    .hpi-gallery--count-4 .hpi-gallery__item:nth-child(4) {
        grid-column:span 2;
    }
    .hpi-gallery--count-3 .hpi-gallery__item,
    .hpi-gallery--count-4 .hpi-gallery__item,
    .hpi-gallery--count-5 .hpi-gallery__item {
        min-height:130px;
    }
    .hpi-mobile-summary {
        position:fixed;
        left:0;
        right:0;
        bottom:0;
        z-index:999;
        background:#fff;
        border-top:1px solid #e7e9ee;
        box-shadow:0 -6px 20px rgba(0,0,0,.08);
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:12px;
        padding:10px 14px;
    }
    .hpi-mobile-summary span {
        display:block;
        color:#667085;
        font-size:12px;
    }
    .hpi-project-landing {
        padding-bottom:92px;
    }
}
@media (max-width:575px) {
    .hpi-calculator__grid {
        grid-template-columns:1fr;
    }
    .hpi-calculator__method span {
        font-size:11px;
        padding:7px 6px;
    }
    .hpi-project-archive,.hpi-project-landing {
        padding-top:20px;
    }
    .hpi-project-search {
        padding:14px;
    }
.hpi-related-grid {
        grid-template-columns:1fr;
    }
    .hpi-gallery {
        display:block;
    }
    .hpi-gallery__item,
    .hpi-gallery--count-2 .hpi-gallery__item,
    .hpi-gallery--count-3 .hpi-gallery__item,
    .hpi-gallery--count-4 .hpi-gallery__item,
    .hpi-gallery--count-5 .hpi-gallery__item {
        height:86px;
        min-height:0;
    }
    .hpi-gallery__item:first-child {
        height:230px;
    }
    .hpi-product-matrix__table {
        display:none;
    }
    .hpi-product-matrix__cards {
        display:grid;
        gap:12px;
    }
    .hpi-product-record {
        border-top:1px solid #e7e9ee;
        padding-top:14px;
    }
    .hpi-product-record h3 {
        color:#101828;
        font-size:17px;
        font-weight:750;
        margin:0 0 10px;
    }
    .hpi-product-record dl {
        display:grid;
        gap:8px;
        margin:0;
    }
    .hpi-product-record dl > div {
        display:grid;
        grid-template-columns:minmax(92px,.7fr) minmax(0,1fr);
        gap:12px;
    }
    .hpi-product-record dt {
        color:#667085;
        font-size:12px;
        font-weight:750;
        letter-spacing:.04em;
        margin:0;
        text-transform:uppercase;
    }
    .hpi-product-record dd {
        color:#101828;
        font-size:15px;
        font-weight:650;
        margin:0;
    }
    .hpi-product-record:first-child {
        border-top:0;
        padding-top:0;
    }
    .hpi-amenities {
        grid-template-columns:1fr;
    }
    .hpi-faq-list summary {
        grid-template-columns:28px minmax(0,1fr) 16px;
    }
    .hpi-faq-list__answer {
        padding-left:40px;
        padding-right:34px;
    }
    .hpi-identity-price {
        display:block;
    }
    .hpi-identity-price span {
        display:block;
        margin:4px 0 0;
    }
}

.hpi-project-search .row {
    row-gap:14px;
}
.hpi-multiselect {
    position:relative;
}
.hpi-multiselect__toggle {
    width:100%;
    min-height:42px;
    text-align:left;
    background-color:#fff;
    color:#344054;
}
.hpi-multiselect__menu {
    position:absolute;
    z-index:1005;
    top:calc(100% + 6px);
    left:0;
    right:0;
    max-height:260px;
    overflow:auto;
    padding:8px;
    border:1px solid #d0d5dd;
    border-radius:10px;
    background:#fff;
    box-shadow:0 12px 32px rgba(16,24,40,.16);
}
.hpi-multiselect__option {
    display:flex;
    align-items:center;
    gap:8px;
    margin:0;
    padding:8px 6px;
    border-radius:8px;
    cursor:pointer;
    font-size:14px;
}
.hpi-multiselect__option:hover,
.hpi-multiselect__option:focus-within {
    background:#f2f4f7;
}
.hpi-sidebar-sticky {
    display:flex;
    flex-direction:column;
    gap:28px;
}
.hpi-sidebar-sticky > .hpi-sidebar-card {
    margin-bottom:0;
}
.hpi-search-actions {
    display:flex;
    align-items:flex-end;
    gap:8px;
}
.hpi-search-actions .btn {
    min-height:42px;
    padding-left:14px;
    padding-right:14px;
    white-space:nowrap;
}
.hpi-map-box {
    height:288px;
}
.hpi-contact-card__intro {
    margin:-2px 0 14px;
    color:#667085;
    font-size:14px;
    line-height:1.5;
}
.hpi-contact-card label {
    display:block;
    margin-bottom:10px;
    color:#667085;
    font-size:13px;
}
.hpi-contact-card .form-control {
    margin-top:4px;
}
.hpi-honeypot {
    position:absolute;
    left:-9999px;
    opacity:0;
    pointer-events:none;
}
@media (max-width:991px) {
    .hpi-sidebar-sticky {
        gap:24px;
    }
    .hpi-multiselect__menu {
        max-height:220px;
    }
    .hpi-search-actions .btn {
        flex:1 1 0;
    }
}
@media (max-width:575px) {
    .hpi-map-box {
        height:260px;
    }
    .hpi-multiselect__menu {
        position:fixed;
        left:14px;
        right:14px;
        top:auto;
        bottom:72px;
        max-height:50vh;
    }
}

/* =========================================================
   PROJECT ARCHIVE — PRODUCTION POLISH
   ========================================================= */

/* Keep all filter controls visually consistent with the keyword input. */
.hpi-project-search .form-control,
.hpi-project-search .form-select,
.hpi-project-search .hpi-multiselect__toggle,
.hpi-project-toolbar .form-select {
    font-size:14px;
    line-height:1.4;
}

.hpi-project-search .form-control::placeholder {
    font-size:14px;
    color:#98a2b3;
    opacity:1;
}

.hpi-project-toolbar .form-select {
    min-height:42px;
}

/* Price field:
   - label stays aligned with the other labels on row 2
   - value sits on that same label line
   - slider occupies the same control-height rhythm as selects */
.hpi-price-range {
    --hpi-range-thumb:20px;
    --hpi-range-rail-height:4px;
    --hpi-min-percent:0%;
    --hpi-max-percent:100%;
    position:relative;
}

.hpi-price-range > .form-label {
    display:block;
    margin-bottom:8px;
}

.hpi-price-range__control {
    position:relative;
    min-height:42px;
    padding:0;
}

.hpi-price-range__value {
    position:absolute;
    right:0;
    top:-29px;
    z-index:5;
    display:block;
    margin:0;
    font-size:14px;
    line-height:1.2;
    white-space:nowrap;
}

/* One visual rail only.
   The neutral rail spans the full width.
   The blue active segment occupies only the space between min and max.
   Both rail layers are centered directly behind the two handles. */
.hpi-dual-range {
    position:relative;
    height:42px;
    padding:0;
}

.hpi-dual-range__track {
    position:absolute;
    z-index:1;
    left:0;
    right:0;
    top:50%;
    height:var(--hpi-range-rail-height);
    margin-top:calc(var(--hpi-range-rail-height) / -2);
    border-radius:999px;
    background:#e7e9ee;
    overflow:visible;
    pointer-events:none;
}

.hpi-dual-range__track span {
    position:absolute;
    z-index:2;
    top:0;
    bottom:0;
    left:var(--hpi-min-percent);
    width:calc(var(--hpi-max-percent) - var(--hpi-min-percent));
    height:100%;
    border-radius:inherit;
    background:#c7c7c7;
    pointer-events:none;
}

/* Force native browser tracks to be transparent so no second blue/gray rail
   can appear underneath the custom production rail. */
.hpi-dual-range input[type="range"] {
    position:absolute;
    z-index:3;
    left:0;
    top:0;
    width:100%;
    height:42px;
    margin:0;
    padding:0;
    border:0;
    outline:0;
    background:transparent;
    pointer-events:none;
    appearance:none;
    -webkit-appearance:none;
}

.hpi-dual-range input[type="range"]::-webkit-slider-runnable-track {
    width:100%;
    height:var(--hpi-range-rail-height);
    border:0;
    border-radius:999px;
    background:transparent;
    box-shadow:none;
}

.hpi-dual-range input[type="range"]::-moz-range-track {
    width:100%;
    height:var(--hpi-range-rail-height);
    border:0;
    border-radius:999px;
    background:transparent;
    box-shadow:none;
}

.hpi-dual-range input[type="range"]::-moz-range-progress {
    background:transparent;
}

.hpi-dual-range input[type="range"]::-webkit-slider-thumb {
    position:relative;
    z-index:4;
    width:var(--hpi-range-thumb);
    height:var(--hpi-range-thumb);
    margin-top:calc((var(--hpi-range-rail-height) - var(--hpi-range-thumb)) / 2);
    border:2px solid #00aeef;
    border-radius:50%;
    background:#fff;
    box-shadow:0 2px 6px rgba(0,0,0,.18);
    pointer-events:auto;
    cursor:pointer;
    appearance:none;
    -webkit-appearance:none;
}

.hpi-dual-range input[type="range"]::-moz-range-thumb {
    position:relative;
    z-index:4;
    width:var(--hpi-range-thumb);
    height:var(--hpi-range-thumb);
    border:2px solid #00aeef;
    border-radius:50%;
    background:#fff;
    box-shadow:0 2px 6px rgba(0,0,0,.18);
    pointer-events:auto;
    cursor:pointer;
}

/* Give the results count the visual weight of a section summary. */
.hpi-project-toolbar strong {
    font-size:18px;
    line-height:1.3;
    font-weight:700;
    color:#1d2939;
}

/* =========================================================
   PROJECT ARCHIVE — PRODUCTION POLISH V2
   Final alignment for native select + custom multiselect
   ========================================================= */

/* One canonical control height across keyword, native select and multiselect. */
.hpi-project-search .form-control,
.hpi-project-search .form-select,
.hpi-project-search .hpi-multiselect__toggle {
    height:38px;
    min-height:38px;
    padding-top:6px;
    padding-bottom:6px;
    font-size:14px;
    font-weight:400;
    line-height:1.5;
}

/* Custom multiselect must sit at exactly the same vertical level as native selects. */
.hpi-multiselect__toggle {
    display:flex;
    align-items:center;
    width:100%;
    margin:0;
    text-align:left;
    background-color:#fff;
    color:#344054;
}

/* Make the custom dropdown visually follow the native rectangular select menu. */
.hpi-multiselect__menu {
    top:100%;
    margin-top:0;
    padding:0;
    border:1px solid #767676;
    border-radius:0;
    overflow:hidden;
    background:#fff;
    box-shadow:0 6px 16px rgba(16,24,40,.08);
}



/* Match native select option typography and row rhythm. */
.hpi-multiselect__option {
    display:flex;
    align-items:center;
    gap:8px;
    min-height:30px;
    margin:0;
    padding:4px 10px;
    border-radius:0;
    background:#fff;
    color:#212529;
    cursor:pointer;
    font-family:inherit;
    font-size:14px;
    font-weight:400;
    line-height:1.5;
}

/* Keep checkbox vertically centered against its option text. */
.hpi-multiselect__option input[type="checkbox"] {
    flex:0 0 auto;
    width:13px;
    height:13px;
    margin:0;
    padding:0;
    align-self:center;
    vertical-align:middle;
}

.hpi-multiselect__option span {
    display:block;
    min-width:0;
    line-height:1.5;
}

.hpi-multiselect__option:hover,
.hpi-multiselect__option:focus-within {
    border-radius:0;
    background:#f2f4f7;
}

/* Action order and proportions:
   Xóa on the left, Lọc on the right, Lọc twice as wide. */
.hpi-search-actions {
    display:flex;
    align-items:flex-end;
    gap:8px;
}

.hpi-search-actions .btn {
    height:38px;
    min-height:38px;
    margin:0;
    padding:6px 12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    line-height:1.5;
    white-space:nowrap;
}

.hpi-search-actions > a.btn {
    order:1;
    flex:1 1 0;
}

.hpi-search-actions > button.btn {
    order:2;
    flex:2 1 0;
}

/* Keep the sort control on the same typography scale as archive filters. */
.hpi-project-toolbar .form-select {
    height:38px;
    min-height:38px;
    font-size:14px;
    font-weight:400;
    line-height:1.5;
}

/* Preserve the stronger result count. */
.hpi-project-toolbar strong {
    font-size:18px;
    line-height:1.3;
    font-weight:700;
    color:#1d2939;
}

@media (max-width:991px) {
    .hpi-search-actions > a.btn {
        flex:1 1 0;
    }

    .hpi-search-actions > button.btn {
        flex:2 1 0;
    }
}


/* =========================================================
   ARCHIVE FILTER — REFINED FOCUS + DROPDOWN POLISH
   ========================================================= */

/* 1. Bỏ viền xanh dày kiểu Bootstrap mặc định */
.hpi-project-search .form-control:focus,
.hpi-project-search .form-select:focus,
.hpi-project-search .hpi-multiselect__toggle:focus,
.hpi-project-search .hpi-multiselect__toggle[aria-expanded="true"] {
    border-color:#98a2b3;
    box-shadow:0 0 0 1px rgba(52,64,84,.08);
    outline:none;
}

/* Hover nhẹ, không đổi màu quá mạnh */
.hpi-project-search .form-control:hover,
.hpi-project-search .form-select:hover,
.hpi-project-search .hpi-multiselect__toggle:hover {
    border-color:#98a2b3;
}

/* 2. Dropdown multiselect:
   chữ nhật bo nhẹ, giống visual của advance search */
.hpi-multiselect__menu {
    top:calc(100% + 4px);
    margin-top:0;
    padding:4px 0;
    border:1px solid #667085;
    border-radius:4px;
    background:#fff;
    box-shadow:0 8px 20px rgba(16,24,40,.10);
}

/* 3. Option bên trong đồng bộ kiểu native select */
.hpi-multiselect__option {
    min-height:32px;
    padding:5px 10px;
    border-radius:0;
    color:#344054;
    background:#fff;
    font-family:inherit;
    font-size:14px;
    font-weight:400;
    line-height:1.45;
}

/* Hover giống select menu nhẹ nhàng hơn */
.hpi-multiselect__option:hover,
.hpi-multiselect__option:focus-within {
    background:#f5f7fa;
    color:#1d2939;
}

/* Checkbox căn giữa chính xác theo text */
.hpi-multiselect__option input[type="checkbox"] {
    flex:0 0 auto;
    width:13px;
    height:13px;
    margin:0;
    align-self:center;
}

/* 4. Đồng bộ màu border control bình thường */
.hpi-project-search .form-control,
.hpi-project-search .form-select,
.hpi-project-search .hpi-multiselect__toggle {
    border-color:#d0d5dd;
}

.hpi-gallery__more--mobile {
    display:none;
}
.hpi-gallery-lightbox {
    position:fixed;
    inset:0;
    z-index:100000;
    display:flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    padding:84px 7vw 24px;
    padding-left:max(7vw,env(safe-area-inset-left));
    padding-right:max(7vw,env(safe-area-inset-right));
    padding-top:max(84px,calc(env(safe-area-inset-top) + 64px));
    padding-bottom:max(24px,env(safe-area-inset-bottom));
    color:#fff;
    overflow-y:auto;
    overscroll-behavior:contain;
}
.hpi-gallery-lightbox[hidden] {display:none}
.hpi-gallery-lightbox__backdrop {
    position:fixed;
    inset:0;
    background:rgba(8,18,31,.94);
    backdrop-filter:blur(12px);
}
.hpi-gallery-lightbox__dialog {
    position:relative;
    z-index:1;
    width:100%;
    max-width:1640px;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:16px;
    margin:auto;
    --hpi-gallery-image-height:calc(100dvh - 310px);
}
.hpi-gallery-lightbox__topbar {
    position:fixed;
    top:max(20px,env(safe-area-inset-top));
    left:max(7vw,env(safe-area-inset-left));
    right:max(7vw,env(safe-area-inset-right));
    display:flex;
    align-items:center;
    justify-content:space-between;
    pointer-events:none;
    z-index:2;
}
.hpi-gallery-lightbox__counter,.hpi-gallery-lightbox__close {
    border:1px solid rgba(255,255,255,.24);
    background:rgba(255,255,255,.09);
    color:#fff;
    backdrop-filter:blur(10px);
    pointer-events:auto;
}
.hpi-gallery-lightbox__counter {border-radius:999px;padding:10px 16px;font-size:16px;font-weight:700}
.hpi-gallery-lightbox__close,.hpi-gallery-lightbox__nav,.hpi-gallery-lightbox__rail-nav {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    flex-shrink:0;
    transition:none;
}
.hpi-gallery-lightbox__close {width:48px;height:48px;border-radius:50%;font-size:30px;line-height:1}
.hpi-gallery-lightbox__stage {position:relative;min-width:0;padding:0 84px}
.hpi-gallery-lightbox__nav {
    position:absolute;
    top:calc(var(--hpi-gallery-frame-height,320px)/2);
    z-index:2;
    transform:translateY(-50%);
    width:60px;
    height:60px;
    border:1px solid rgba(21,80,255,.16);
    border-radius:50%;
    background:var(--ziza-nav-surface,rgba(255,255,255,.96));
    color:var(--ziza-nav-color,#1550ff);
    font-size:0;
    line-height:1;
}
.hpi-gallery-lightbox__nav--prev {left:max(0px,calc((100% - var(--hpi-gallery-frame-width,100%))/2 - 84px))}
.hpi-gallery-lightbox__nav--next {right:max(0px,calc((100% - var(--hpi-gallery-frame-width,100%))/2 - 84px))}
.hpi-gallery-lightbox__nav::before {
    content:'';display:block;width:12px;height:12px;border-top:2px solid currentColor;border-right:2px solid currentColor;
}
.hpi-gallery-lightbox__nav--prev::before {transform:translateX(2px) rotate(225deg)}
.hpi-gallery-lightbox__nav--next::before {transform:translateX(-2px) rotate(45deg)}
.hpi-gallery-lightbox__nav:hover,.hpi-gallery-lightbox__nav:active {background:#1550ff;color:#fff;border-color:#1550ff}
.hpi-gallery-lightbox__nav:disabled {opacity:.45;cursor:default}
.hpi-gallery-lightbox__close:focus-visible,.hpi-gallery-lightbox__nav:focus-visible {
    outline:2px solid #fff !important;
    outline-offset:2px;
}
.hpi-gallery-lightbox__figure {
    margin:0;
    min-width:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:14px;
}
.hpi-gallery-lightbox__frame{position:relative;width:var(--hpi-gallery-frame-width,100%);max-width:100%;height:var(--hpi-gallery-frame-height,320px);flex-shrink:0;background:#050b13;border-radius:14px;overflow:hidden;isolation:isolate;user-select:none;-webkit-user-select:none}
.hpi-gallery-lightbox__frame[aria-busy=true]::after{pointer-events:none;content:'Đang tải ảnh…';position:absolute;inset:0;display:grid;place-items:center;color:#bdc9d8;font-size:14px}
.hpi-gallery-lightbox__frame[aria-busy=true] img{visibility:hidden}
.hpi-gallery-lightbox__frame[data-error]::after{pointer-events:none;content:'Không tải được ảnh';position:absolute;inset:0;display:grid;place-items:center;color:#bdc9d8}
.hpi-gallery-lightbox__frame[data-error] img{visibility:hidden}
.hpi-gallery-lightbox__figure img {
    position:absolute;
    inset:0;
    pointer-events:auto;
    -webkit-user-drag:none;
    display:block;
    width:100%;
    height:100%;
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    object-position:center;
    border-radius:14px;
    box-shadow:0 20px 60px #0005;
}
.hpi-gallery-lightbox__figure figcaption {
    width:100%;height:48px;min-height:48px;overflow-y:auto;margin:0;color:#fff;font-size:16px;line-height:1.5;text-align:center;
}
.hpi-gallery-lightbox__figure figcaption[aria-hidden=true]{visibility:hidden}
.hpi-gallery-lightbox__stage{user-select:none;-webkit-user-select:none}
/* Gallery controls form one compact group directly beneath the image/caption. */
.hpi-gallery-lightbox__browser {min-width:0;display:flex;flex-direction:column;gap:14px}
.hpi-gallery-lightbox__filters {
    display:flex;justify-content:safe center;gap:12px;overflow-x:auto;padding:4px;scrollbar-width:none;
}
.hpi-gallery-lightbox__filters::-webkit-scrollbar,.hpi-gallery-lightbox__thumbs::-webkit-scrollbar {display:none}
.hpi-gallery-lightbox__filters button {
    display:inline-flex;align-items:center;justify-content:center;gap:12px;flex:0 0 auto;min-height:36px;padding:7px 18px;border:1px solid #ffffff4d;border-radius:999px;background:#ffffff08;color:#fff;font:inherit;font-size:13px;line-height:1.3;cursor:pointer;transition:none;
}
.hpi-gallery-lightbox__filters button[aria-pressed=true] {background:#1550ff;border-color:#167bff;box-shadow:0 0 14px #00aeff38}
.hpi-gallery-lightbox__rail {position:relative;min-width:0}
.hpi-gallery-lightbox__thumbs {
    position:relative;display:flex;gap:12px;overflow-x:auto;padding:6px;scroll-behavior:auto;overscroll-behavior-x:contain;scrollbar-width:none;
}
.hpi-gallery-lightbox__thumbs button {
    position:relative;flex:0 0 clamp(150px,12vw,190px);aspect-ratio:16/10;min-width:0;min-height:44px;padding:0;border:3px solid transparent;border-radius:11px;background:#1a293b;color:#fff;opacity:.65;overflow:hidden;font:inherit;cursor:pointer;transition:none;
}
.hpi-gallery-lightbox__thumbs button[aria-current=true] {border-color:#00aeff;opacity:1;box-shadow:0 0 12px #00aeff66}
.hpi-gallery-lightbox__thumbs img {display:block;width:100%;height:100%;object-fit:cover}
.hpi-gallery-lightbox__thumb-label {
    position:absolute;inset:auto 0 0;padding:5px 7px;background:linear-gradient(transparent,#071320ed);color:#fff;font-size:12px;line-height:1.3;text-align:left;pointer-events:none;
}
.hpi-gallery-lightbox__thumb-label span {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.hpi-gallery-lightbox__rail-nav {
    position:absolute;top:50%;transform:translateY(-50%);z-index:1;width:44px;height:44px;border:1px solid #ffffff4d;border-radius:50%;background:#18283ce8;color:#fff;font-size:28px;line-height:1;
}
.hpi-gallery-lightbox__rail-nav:first-child {left:-48px}
.hpi-gallery-lightbox__rail-nav:last-child {right:-48px}
.hpi-gallery-lightbox__rail-nav:disabled {opacity:.3;cursor:default}
/* Houzez button:focus resets outline:0!important; verified with Chromium matched styles. */
.hpi-gallery-lightbox__thumbs button:focus-visible,.hpi-gallery-lightbox__filters button:focus-visible,.hpi-gallery-lightbox__rail-nav:focus-visible {outline:2px solid #00aeff!important;outline-offset:2px}
.hpi-gallery-lightbox__nav[hidden],.hpi-gallery-lightbox__rail-nav[hidden],.hpi-gallery-lightbox__figure figcaption[hidden] {display:none}
@media(min-width:768px) and (max-width:1023px) {
 .hpi-gallery-lightbox{padding-left:max(24px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right));align-items:flex-start}
 .hpi-gallery-lightbox__dialog{margin:0 auto}
 .hpi-gallery-lightbox__topbar{left:max(24px,env(safe-area-inset-left));right:max(24px,env(safe-area-inset-right))}
 .hpi-gallery-lightbox__stage{padding:0 68px}
 .hpi-gallery-lightbox__thumbs button{flex-basis:calc((100% - 48px)/5)}
 .hpi-gallery-lightbox__rail-nav:first-child{left:0}
 .hpi-gallery-lightbox__rail-nav:last-child{right:0}
}
@media(max-width:767px) {
 .hpi-gallery-lightbox{padding:76px 12px 16px;padding-top:max(76px,calc(env(safe-area-inset-top) + 60px));padding-bottom:max(16px,env(safe-area-inset-bottom));padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right));align-items:flex-start}
 .hpi-gallery-lightbox__topbar{left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));top:max(12px,env(safe-area-inset-top))}
 .hpi-gallery-lightbox__dialog{margin:0 auto;gap:12px;--hpi-gallery-image-height:calc(100dvh - 255px)}
 .hpi-gallery-lightbox__stage{padding:0}
 .hpi-gallery-lightbox__figure{gap:12px}
 .hpi-gallery-lightbox__figure img{border-radius:12px}
 .hpi-gallery-lightbox__figure figcaption{font-size:14px;line-height:1.4;height:40px;min-height:40px}
 .hpi-gallery-lightbox__nav{width:44px;height:44px;z-index:1;background:#ffffffe8}
 .hpi-gallery-lightbox__nav--prev{left:4px}
 .hpi-gallery-lightbox__nav--next{right:4px}
 .hpi-gallery-lightbox__counter{font-size:14px;padding:9px 14px}
 .hpi-gallery-lightbox__close{width:44px;height:44px}
 .hpi-gallery-lightbox__browser{gap:10px}
 .hpi-gallery-lightbox__filters{gap:10px;justify-content:flex-start}
 .hpi-gallery-lightbox__filters button{min-height:44px;padding:8px 13px;gap:8px;font-size:12px}
 .hpi-gallery-lightbox__thumbs{gap:10px;padding:5px}
 .hpi-gallery-lightbox__thumbs button{flex-basis:calc((100% - 20px)/3.4);border-radius:10px}
 .hpi-gallery-lightbox__thumb-label{padding:4px;font-size:10px}
 .hpi-gallery-lightbox__rail-nav{display:none}
}
@media(max-height:500px) and (orientation:landscape) {
 .hpi-gallery-lightbox{padding-top:max(68px,calc(env(safe-area-inset-top) + 52px));padding-bottom:max(12px,env(safe-area-inset-bottom));align-items:flex-start}
 .hpi-gallery-lightbox__dialog{gap:10px;--hpi-gallery-image-height:max(120px,calc(100dvh - 265px))}
 .hpi-gallery-lightbox__stage{padding:0}
 .hpi-gallery-lightbox__nav{width:44px;height:44px}
 .hpi-gallery-lightbox__thumbs button{flex-basis:110px}
 .hpi-gallery-lightbox__filters button{min-height:44px}
}

@media (min-width:992px) {
    .hpi-project-landing .sidebar-wrap {
        padding-left:46px;
    }
}

@media (max-width:575px) {
    .hpi-gallery {
        display:grid;
        grid-template-columns:1fr 1fr;
        grid-auto-rows:minmax(112px,28vw);
        gap:6px;
    }
    .hpi-gallery__item,
    .hpi-gallery--count-2 .hpi-gallery__item,
    .hpi-gallery--count-3 .hpi-gallery__item,
    .hpi-gallery--count-4 .hpi-gallery__item,
    .hpi-gallery--count-5 .hpi-gallery__item {
        height:auto;
        min-height:112px;
    }
    .hpi-gallery__item:first-child {
        grid-column:1 / -1;
        height:auto;
        min-height:230px;
    }
    .hpi-gallery--count-2 .hpi-gallery__item:nth-child(2) {
        grid-column:1 / -1;
    }
    .hpi-gallery__item:nth-child(n+4) {
        display:none;
    }
    .hpi-gallery__more--desktop {
        display:none;
    }
    .hpi-gallery__more--mobile {
        display:block;
    }

}

/* Related property cards keep Houzez's media/price overlay and normal document-flow body. */
.hpi-related-properties .hpi-related-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.hpi-related-properties .item-listing-wrap,.hpi-related-properties .item-body{min-width:0}
.hpi-related-properties .item-header{width:100%;aspect-ratio:16/10;overflow:hidden}
.hpi-related-properties .item-header img{width:100%;height:100%;object-fit:cover}
.hpi-related-properties .item-header>a,.hpi-related-properties .item-header .listing-image-wrap{display:block;height:100%}
.hpi-related-properties .item-header .item-price-wrap{position:absolute;inset:auto 12px 12px;z-index:2;max-width:calc(100% - 24px);margin:0;white-space:normal;overflow-wrap:anywhere}
.hpi-related-properties .item-header .item-price{line-height:1.4;white-space:normal}
.hpi-related-properties .item-body .item-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.5;overflow-wrap:anywhere;margin:0 0 10px;padding:0}
.hpi-related-properties .item-body{height:auto;overflow-wrap:anywhere}
.hpi-product-matrix__note{font-size:13px;line-height:1.6;color:#667085;margin:12px 0 0}
@media(max-width:991px){.hpi-related-properties .hpi-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:575px){.hpi-related-properties .hpi-related-grid{grid-template-columns:minmax(0,1fr)}}
.hpi-related-properties .listing-image-wrap .listing-thumb,.hpi-related-properties .listing-image-wrap .listing-featured-thumb{display:block;height:100%}
.hpi-related-properties .item-header .labels-wrap{position:absolute;top:12px;left:12px;z-index:2;margin:0}
.hpi-related-properties .item-header::after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,rgba(16,24,40,.78));pointer-events:none;z-index:1}

/* Round 2: local related-content navigation and compact company search. */
.hpi-project-single [hidden],.hpi-related-properties [hidden],[data-hpi-project-pager] [hidden]{display:none!important}
.hpi-related-properties .item-listing-wrap{border:1px solid var(--hpi-border,#e5e7eb);border-radius:12px;overflow:hidden}
.hpi-related-properties .item-body{padding:16px}
.hpi-related-nav{display:flex;gap:12px;margin-top:16px;align-items:center}
.hpi-related-nav :is(button,a):focus-visible{outline:2px solid #1550ff!important;outline-offset:2px}
.hpi-related-nav [aria-disabled="true"],.hpi-related-nav button:disabled{opacity:.45;cursor:default;pointer-events:none}
.hpi-related-status{margin-top:8px}
.hpi-related-properties[aria-busy="true"] [data-property-results]{opacity:.6}
.hpi-developer-profile .hpi-developer-website{overflow-wrap:anywhere;word-break:normal;user-select:text}
.hpi-developer-profile .hpi-developer-intro{display:grid;grid-template-columns:88px minmax(0,1fr);gap:18px;align-items:start}
.hpi-developer-profile .hpi-developer-avatar{width:88px;height:88px;border-radius:12px;background:#8a8a8a;display:flex;align-items:center;justify-content:center;flex:none}
.hpi-developer-profile .hpi-developer-avatar img{display:block;width:36px;height:36px}
.hpi-developer-profile .hpi-developer-intro .page-title{min-width:0;margin:0;overflow-wrap:anywhere}
.hpi-developer-profile .hpi-developer-description,.hpi-developer-profile .hpi-developer-website{min-width:0;margin:0;overflow-wrap:anywhere;line-height:1.6}
.hpi-developer-profile .hpi-developer-description>:last-child{margin-bottom:0}
.hpi-developer-profile .hpi-developer-description img{max-width:100%;height:auto}
@media(max-width:575px){.hpi-developer-profile .hpi-developer-intro{grid-template-columns:64px minmax(0,1fr);gap:12px}.hpi-developer-profile .hpi-developer-avatar{width:64px;height:64px;border-radius:10px}.hpi-developer-profile .hpi-developer-avatar img{width:30px;height:30px}}

.hpi-developer-profile .hpi-developer-summary{display:flex;flex-direction:column;gap:4px;min-width:0}
.hpi-developer-profile .hpi-developer-description-full{grid-column:1/-1}

/* ZIZA Developer Website */
.hpi-developer-profile .hpi-developer-website {
    font-size: 14px;
}

/* ZIZA Archive - Remove blue select focus border */
.hpi-archive-v2 .hpi-archive-sidebar select:focus {
    border-color: #dce1e7 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Single Project layout Phase 1: one Facts DOM, in the mobile reading order. */
.hpi-project-landing .hpi-project-children__list {
    list-style:none;
    margin:0;
    padding:0;
}
.hpi-project-landing .hpi-project-children__list li + li {
    border-top:1px solid #e7e9ee;
}
.hpi-project-landing .hpi-project-children__list a {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:12px 0;
}
.hpi-project-landing .hpi-project-children__list a > span:first-child {
    min-width:0;
    overflow-wrap:anywhere;
}
.hpi-project-landing .hpi-project-children__list a > span:last-child {
    flex:0 0 auto;
}
.hpi-project-landing .hpi-location-section__heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:16px;
}
.hpi-project-landing .hpi-location-section__heading h2 {
    min-width:0;
    margin:0;
}
.hpi-project-landing .hpi-location-section__cta {
    flex:0 0 auto;
    white-space:nowrap;
}
@media (min-width:992px) {
    /* Independent column heights avoid the blank band a shared grid row creates
       when Facts is taller than Gallery. Source order stays unchanged. */
    .hpi-project-landing .hpi-top-area {
        display:block;
    }
    .hpi-project-landing .hpi-top-area::after {
        content:"";
        display:block;
        clear:both;
    }
    .hpi-project-landing .hpi-layout-gallery,
    .hpi-project-landing .hpi-layout-content {
        float:left;
    }
    .hpi-project-landing .hpi-layout-content {
        clear:left;
    }
    .hpi-project-landing .hpi-layout-facts,
    .hpi-project-landing .hpi-layout-tools {
        float:right;
    }
    .hpi-project-landing .hpi-layout-tools {
        clear:right;
    }
    .hpi-project-landing .hpi-layout-facts .hpi-project-facts {
        margin-bottom:28px;
    }
}
@media (max-width:575px) {
    .hpi-project-landing .hpi-nearby-list {
        grid-template-columns:minmax(0,1fr);
    }
    .hpi-project-landing .hpi-location-section__verb {
        display:none;
    }
}

/* Project price placeholder: presentation only, including the compact summary. */
.hpi-identity-price .hpi-price-placeholder,
.hpi-project-card__price .hpi-price-placeholder,
.hpi-map-preview__price .hpi-price-placeholder,
.hpi-mobile-summary .hpi-price-placeholder {
    display:inline-flex;
    flex-wrap:wrap;
    align-items:baseline;
    column-gap:4px;
    font:inherit;
    color:inherit;
    margin:0;
}
.hpi-price-placeholder > .hpi-price-placeholder__label {
    display:inline;
    font:inherit;
    color:inherit;
    margin:0;
}
.hpi-price-placeholder > .hpi-price-placeholder__status {
    display:inline;
    font-family:inherit;
    font-size:0.78em;
    font-weight:400;
    color:#667085;
    margin:0;
}


/* Single Project — Sidebar headings */
.hpi-project-landing .hpi-sidebar-card > h2.h5 {
    font-size:22px;
    font-weight:600;
    line-height:1.3;
}