/* BARAMA_HOMEPAGE_AGENT_V1112 */
/*
 * Visual-fit repair based on production screenshot:
 * - Keep the accepted compact Hero height.
 * - Keep the agent anchored to the full Hero content, not the upper hero row.
 * - Reduce/lower the agent so the top is not cramped against the header.
 * - Let the Hero overflow mask crop the very bottom naturally.
 * - Keep quick-action cards above the lower body so labels remain readable.
 */
.market-home__content{
    position:relative!important;
}

.market-home__hero{
    position:static!important;
    min-height:0!important;
}

.market-home__agent.market-home__agent--real.market-home__agent--fullbody{
    position:absolute!important;
    right:clamp(-92px,-4.5vw,-48px)!important;
    bottom:-3.35rem!important;
    top:auto!important;
    width:clamp(390px,31vw,465px)!important;
    height:clamp(520px,36vw,585px)!important;
    min-width:0!important;
    min-height:0!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:flex-end!important;
    justify-content:center!important;
    overflow:visible!important;
    pointer-events:none!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    z-index:2!important;
}

.market-home__agent.market-home__agent--fullbody img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    margin:0!important;
    object-fit:contain!important;
    object-position:center bottom!important;
    filter:drop-shadow(0 20px 28px rgba(2,6,23,.26))!important;
    transform:none!important;
    user-select:none!important;
    -webkit-user-drag:none!important;
}

.market-home__copy{
    position:relative!important;
    z-index:3!important;
}

.market-intent-grid{
    position:relative!important;
    z-index:5!important;
}

@media (max-width:1280px){
    .market-home__agent.market-home__agent--fullbody{
        right:-62px!important;
        bottom:-3.15rem!important;
        width:405px!important;
        height:535px!important;
    }
}

@media (max-width:1080px){
    .market-home__agent.market-home__agent--fullbody{
        right:-44px!important;
        bottom:-2.8rem!important;
        width:335px!important;
        height:455px!important;
        opacity:.98!important;
    }
}

@media (max-width:900px){
    .market-home__agent.market-home__agent--fullbody{
        right:-32px!important;
        bottom:-2.45rem!important;
        width:280px!important;
        height:390px!important;
        opacity:.94!important;
    }
}

@media (max-width:760px){
    .market-home__agent.market-home__agent--fullbody{
        display:none!important;
    }
}
