/* BPP Developer Profile V5.9
   Targeted mobile polish after V5.8.
   Preserves desktop structure and Featured Developments -> Available Units order.
   Uses the site's global rpg-market-footer on mobile. */

/* ---------- Desktop: tiny spacing/alignment refinement only ---------- */
@media (min-width:901px){
    html body .bpp54-developer .bpp54-profile-row{
        align-items:center!important;
    }

    html body .bpp54-developer .bpp54-section{
        margin-top:12px!important;
    }

    html body .bpp54-developer .bpp54-bottom-grid{
        margin-top:11px!important;
    }
}

/* ---------- Mobile hardening / overlay isolation ---------- */
@media (max-width:767px){


    html body .bpp54-developer::before,
    html body .bpp54-developer::after,
    html body .bpp54-developer .bpp54-main::before,
    html body .bpp54-developer .bpp54-main::after{
        content:none!important;
        display:none!important;
    }

    html body .bpp54-developer .bpp54-section,
    html body .bpp54-developer .bpp54-development-card,
    html body .bpp54-developer .bpp54-property-card,
    html body .bpp54-developer .bpp54-card{
        opacity:1!important;
        filter:none!important;
        mix-blend-mode:normal!important;
        backdrop-filter:none!important;
        -webkit-backdrop-filter:none!important;
    }

    /* ---------- Tabs ---------- */
    html body .bpp54-developer .bpp54-tabs{
        gap:18px!important;
        padding:0 2px!important;
        scroll-padding-inline:8px!important;
    }

    html body .bpp54-developer .bpp54-tabs a{
        flex:0 0 auto!important;
        min-width:max-content!important;
        padding:11px 0!important;
        font-size:12px!important;
        line-height:1.25!important;
        font-weight:700!important;
        white-space:nowrap!important;
    }

    /* ---------- Profile action buttons ---------- */
    html body .bpp54-developer .bpp54-actions{
        gap:8px!important;
    }

    html body .bpp54-developer .bpp54-actions a{
        min-height:42px!important;
        padding:0 10px!important;
        border-radius:7px!important;
        font-size:12px!important;
        font-weight:700!important;
    }

    /* ---------- About / contact ---------- */
    html body .bpp54-developer .bpp54-overview-grid{
        gap:11px!important;
    }

    html body .bpp54-developer .bpp54-card,
    html body .bpp54-developer .bpp54-contact-card{
        padding:15px!important;
        border-radius:10px!important;
    }

    html body .bpp54-developer .bpp54-contact-card a{
        min-height:42px!important;
        font-size:12px!important;
        font-weight:700!important;
    }

    html body .bpp54-developer .bpp54-feature-grid{
        gap:7px!important;
    }

    html body .bpp54-developer .bpp54-feature-grid span{
        min-height:38px!important;
        padding:8px 9px!important;
        font-size:11px!important;
        line-height:1.4!important;
    }

    /* ---------- KPI cards ---------- */
    html body .bpp54-developer .bpp54-top-kpis,
    html body .bpp54-developer .bpp54-summary{
        gap:8px!important;
    }

    html body .bpp54-developer .bpp54-top-kpis>div,
    html body .bpp54-developer .bpp54-summary>div{
        min-height:60px!important;
        padding:10px!important;
        border-radius:8px!important;
    }

    html body .bpp54-developer .bpp54-top-kpis strong,
    html body .bpp54-developer .bpp54-summary strong{
        font-size:18px!important;
    }

    html body .bpp54-developer .bpp54-top-kpis span,
    html body .bpp54-developer .bpp54-summary span{
        font-size:11px!important;
        line-height:1.35!important;
    }

    /* ---------- Section headings ---------- */
    html body .bpp54-developer .bpp54-section{
        margin-top:15px!important;
    }

    html body .bpp54-developer .bpp54-section-heading{
        align-items:flex-end!important;
        gap:8px!important;
        margin-bottom:8px!important;
    }

    html body .bpp54-developer .bpp54-section-heading h2{
        font-size:21px!important;
        line-height:1.15!important;
    }

    html body .bpp54-developer .bpp54-section-heading small{
        font-size:10px!important;
    }

    html body .bpp54-developer .bpp54-section-heading>a{
        flex:0 0 auto!important;
        font-size:10px!important;
        line-height:1.3!important;
        text-align:right!important;
    }

    /* ---------- Development cards ---------- */
    html body .bpp54-developer .bpp54-development-grid{
        gap:11px!important;
    }

    html body .bpp54-developer .bpp54-development-card .details{
        padding:12px!important;
    }

    html body .bpp54-developer .bpp54-development-card h3{
        font-size:15px!important;
        line-height:1.35!important;
    }

    html body .bpp54-developer .bpp54-development-card p,
    html body .bpp54-developer .bpp54-development-card .metric,
    html body .bpp54-developer .bpp54-development-card .starting{
        font-size:11px!important;
        line-height:1.45!important;
    }

    html body .bpp54-developer .bpp54-development-card .project-actions{
        gap:7px!important;
    }

    html body .bpp54-developer .bpp54-development-card .project-actions a{
        min-height:40px!important;
        padding:0 8px!important;
        font-size:11px!important;
        line-height:1.2!important;
        white-space:normal!important;
        text-align:center!important;
    }

    /* ---------- Available Unit cards ---------- */
    html body .bpp54-developer .bpp54-property-grid{
        gap:11px!important;
    }

    html body .bpp54-developer .bpp54-property-card .details{
        padding:12px!important;
    }

    html body .bpp54-developer .bpp54-property-card .price{
        font-size:14px!important;
        line-height:1.3!important;
    }

    html body .bpp54-developer .bpp54-property-card h3{
        font-size:15px!important;
        line-height:1.35!important;
    }

    html body .bpp54-developer .bpp54-property-card .location,
    html body .bpp54-developer .bpp54-property-card .property-meta{
        font-size:11px!important;
        line-height:1.45!important;
    }

    /* ---------- Lower information cards ---------- */
    html body .bpp54-developer .bpp54-bottom-grid{
        gap:10px!important;
        margin-top:14px!important;
    }

    html body .bpp54-developer .bpp54-bottom-grid .bpp54-card{
        padding:15px!important;
    }

    html body .bpp54-developer .bpp54-location-list span,
    html body .bpp54-developer .bpp54-check-list li,
    html body .bpp54-developer .bpp54-company-info dt,
    html body .bpp54-developer .bpp54-company-info dd{
        font-size:11px!important;
        line-height:1.45!important;
    }

    html body .bpp54-developer .bpp54-company-info>div{
        grid-template-columns:92px minmax(0,1fr)!important;
        gap:8px!important;
        padding:6px 0!important;
    }

    html body .bpp54-developer .bpp54-company-info dd{
        overflow-wrap:anywhere!important;
    }

}

@media (max-width:420px){

}
