/* BPP_HOME_PROJECT_SEARCH_PARITY_V4695_START
   Visual reference: approved Project Search grid card.
   Typography authority: Agency Detail page.
*/

.bpp-hp-projects-v4695{
    --bpp-ui:"DM Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    --bpp-heading:"Josefin Sans","DM Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.bpp-hp-projects-v4695__head h2{
    font-family:var(--bpp-heading)!important;
    font-weight:700!important;
}

.bpp-hp-projects-v4695__tabs button{
    font-family:var(--bpp-ui)!important;
    font-size:12px!important;
    font-weight:700!important;
}

.bpp-hp-projects-v4695__grid{
    display:none!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:20px!important;
    align-items:stretch!important;
}

.bpp-hp-projects-v4695__grid.is-active{
    display:grid!important;
}

.bpp-home-project-search-card-v4695{
    display:flex!important;
    flex-direction:column!important;
    min-width:0!important;
    width:100%!important;
    height:100%!important;
    overflow:hidden!important;
    border:1px solid #d9e7e0!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 10px 28px rgba(17,69,47,.07)!important;
    font-family:var(--bpp-ui)!important;
}

.bpp-home-project-search-card-v4695__media{
    position:relative!important;
    height:220px!important;
    min-height:220px!important;
    overflow:hidden!important;
    background:#eef5f1!important;
}

.bpp-home-project-search-card-v4695__image-link{
    position:absolute!important;
    inset:0!important;
    display:block!important;
}

.bpp-home-project-search-card-v4695__image{
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
}

.bpp-home-project-search-card-v4695__featured{
    position:absolute!important;
    top:14px!important;
    left:14px!important;
    z-index:4!important;
    min-height:34px!important;
    display:inline-flex!important;
    align-items:center!important;
    padding:0 13px!important;
    border-radius:999px!important;
    background:#08a35d!important;
    color:#fff!important;
    font-family:var(--bpp-ui)!important;
    font-size:10px!important;
    font-weight:800!important;
}

.bpp-home-project-search-card-v4695__wishlist{
    position:absolute!important;
    top:14px!important;
    right:14px!important;
    z-index:5!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:44px!important;
    height:44px!important;
    border:0!important;
    border-radius:50%!important;
    background:#fff!important;
    color:#087e4a!important;
    box-shadow:0 7px 18px rgba(15,57,41,.14)!important;
}

.bpp-home-project-search-card-v4695__wishlist svg{
    width:21px!important;
    height:21px!important;
}

.bpp-home-project-search-card-v4695__body{
    display:flex!important;
    flex:1!important;
    flex-direction:column!important;
    padding:16px 17px 15px!important;
}

.bpp-home-project-search-card-v4695__title{
    display:-webkit-box!important;
    min-height:44px!important;
    max-height:44px!important;
    overflow:hidden!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    color:#142a21!important;
    font-family:var(--bpp-heading)!important;
    font-size:18px!important;
    line-height:1.2!important;
    font-weight:700!important;
    text-decoration:none!important;
}

.bpp-home-project-search-card-v4695__location{
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    min-width:0!important;
    margin-top:7px!important;
    color:#687b72!important;
    font-size:12px!important;
    line-height:1.45!important;
}

.bpp-home-project-search-card-v4695__location svg{
    width:16px!important;
    height:16px!important;
    min-width:16px!important;
}

.bpp-home-project-search-card-v4695__location span{
    overflow:hidden!important;
    white-space:nowrap!important;
    text-overflow:ellipsis!important;
}

.bpp-home-project-search-card-v4695__price{
    margin-top:11px!important;
    color:#078849!important;
    font-size:15px!important;
    line-height:1.2!important;
    font-weight:900!important;
}

.bpp-home-project-search-card-v4695__facts{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    margin-top:12px!important;
    padding:11px 0!important;
    border-top:1px solid #e5eee9!important;
    border-bottom:1px solid #e5eee9!important;
}

.bpp-home-project-search-card-v4695__facts>div{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    min-width:0!important;
    padding:0 8px!important;
}

.bpp-home-project-search-card-v4695__facts>div:first-child{
    justify-content:flex-start!important;
    padding-left:0!important;
}

.bpp-home-project-search-card-v4695__facts>div+div{
    border-left:1px solid #e5eee9!important;
}

.bpp-home-project-search-card-v4695__facts svg{
    width:17px!important;
    height:17px!important;
    min-width:17px!important;
    color:#587368!important;
}

.bpp-home-project-search-card-v4695__facts span{
    display:flex!important;
    flex-direction:column!important;
    gap:2px!important;
}

.bpp-home-project-search-card-v4695__facts strong{
    color:#29443a!important;
    font-size:11.5px!important;
    line-height:1!important;
    font-weight:700!important;
}

.bpp-home-project-search-card-v4695__facts small{
    color:#7d8d85!important;
    font-size:10px!important;
    line-height:1.1!important;
    font-weight:500!important;
}

.bpp-home-project-search-card-v4695__developer{
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:10px!important;
    padding:12px 0!important;
    border-bottom:1px solid #e5eee9!important;
}

.bpp-home-project-search-card-v4695__developer-logo{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:44px!important;
    height:44px!important;
    overflow:hidden!important;
    border:1px solid #d9e8e0!important;
    border-radius:50%!important;
    background:#edf7f2!important;
    color:#087e4a!important;
    font-size:16px!important;
    font-weight:900!important;
    text-decoration:none!important;
}

.bpp-home-project-search-card-v4695__developer-logo img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
}

.bpp-home-project-search-card-v4695__developer-copy{
    min-width:0!important;
}

.bpp-home-project-search-card-v4695__developer-role{
    display:block!important;
    margin-bottom:3px!important;
    color:#7c8c84!important;
    font-size:10px!important;
    line-height:1!important;
    font-weight:700!important;
    letter-spacing:.04em!important;
    text-transform:uppercase!important;
}

.bpp-home-project-search-card-v4695__developer-name-row{
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    min-width:0!important;
}

.bpp-home-project-search-card-v4695__developer-name{
    min-width:0!important;
    overflow:hidden!important;
    color:#173027!important;
    font-family:var(--bpp-heading)!important;
    font-size:12.5px!important;
    line-height:1.25!important;
    font-weight:700!important;
    white-space:nowrap!important;
    text-overflow:ellipsis!important;
    text-decoration:none!important;
}

.bpp-home-project-search-card-v4695__verified{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
    border-radius:50%!important;
    background:#249bea!important;
}

.bpp-home-project-search-card-v4695__verified svg{
    width:10px!important;
    height:10px!important;
    fill:none!important;
    stroke:#fff!important;
    stroke-width:3!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}

.bpp-home-project-search-card-v4695__view{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    width:100%!important;
    height:44px!important;
    margin-top:12px!important;
    border-radius:9px!important;
    background:linear-gradient(135deg,#0bad62 0%,#07884f 100%)!important;
    color:#fff!important;
    font-size:11.5px!important;
    font-weight:700!important;
    text-decoration:none!important;
}

.bpp-home-project-search-card-v4695__view svg{
    width:15px!important;
    height:15px!important;
}

/* The canonical global footer already renders outside the homepage partial.
   Force it visible on the homepage rather than injecting a duplicate footer. */
body.home .rpg-market-footer,
body.homepage .rpg-market-footer,
.rpg-market-footer{
    visibility:visible!important;
    opacity:1!important;
}

.bpp-hp-projects-v4695__empty{
    grid-column:1/-1!important;
    padding:30px!important;
    border:1px solid #e0ebe5!important;
    border-radius:16px!important;
    text-align:center!important;
    color:#6c7f75!important;
    font-family:var(--bpp-ui)!important;
    font-size:12px!important;
}

@media(max-width:1199px){
    .bpp-hp-projects-v4695__grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}

@media(max-width:767px){
    .bpp-hp-projects-v4695__grid{
        grid-template-columns:1fr!important;
        gap:15px!important;
    }

    .bpp-home-project-search-card-v4695__media{
        height:210px!important;
        min-height:210px!important;
    }

    .bpp-home-project-search-card-v4695__title{
        font-size:18px!important;
    }
}

/* BPP_HOME_PROJECT_SEARCH_PARITY_V4695_END */
