/* V219 — Natalia portrait replacement + pricing mobile overflow fix */
body.site-final #expert-project .expert-photo-v63{
  aspect-ratio:4/5!important;
  overflow:hidden!important;
  background:#e9e4dc!important;
}
body.site-final #expert-project .expert-photo-v63 img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center 24%!important;
  filter:none!important;
}

/* Tablet: keep the face and shoulders comfortably inside the crop. */
@media (min-width:769px) and (max-width:1100px){
  body.site-final #expert-project .expert-photo-v63{
    aspect-ratio:4/5!important;
  }
  body.site-final #expert-project .expert-photo-v63 img{
    object-position:center 22%!important;
  }
}

/* Pricing: never let the explanatory line inherit the desktop nowrap rule. */
@media (max-width:900px){
  body.site-final #pricing .pricing-head-v197,
  body.site-final #pricing .pricing-price-v197{
    min-width:0!important;
    max-width:100%!important;
  }
  body.site-final #pricing .pricing-price-v197{
    width:100%!important;
    white-space:normal!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  body.site-final #pricing .pricing-price-v197 strong,
  body.site-final #pricing .pricing-price-v197 span,
  body.site-final #pricing .pricing-price-v197 small{
    min-width:0!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
  }
  body.site-final #pricing .pricing-price-v197 small{
    display:block!important;
    width:100%!important;
    flex:0 0 100%!important;
    margin-top:7px!important;
    line-height:1.42!important;
  }
}

@media (max-width:768px){
  body.site-final #expert-project .expert-photo-v63{
    width:100%!important;
    max-width:none!important;
    height:330px!important;
    min-height:330px!important;
    aspect-ratio:auto!important;
  }
  body.site-final #expert-project .expert-photo-v63 img{
    object-position:center 18%!important;
  }
  body.site-final #pricing .pricing-head-v197{
    width:100%!important;
    overflow:visible!important;
  }
  body.site-final #pricing .pricing-price-v197{
    display:grid!important;
    grid-template-columns:minmax(0,auto) auto!important;
    justify-content:start!important;
    align-items:end!important;
    column-gap:8px!important;
    row-gap:0!important;
    width:100%!important;
    margin-top:12px!important;
  }
  body.site-final #pricing .pricing-price-v197 strong{
    font-size:clamp(42px,12.5vw,50px)!important;
    line-height:.95!important;
    letter-spacing:-.035em!important;
  }
  body.site-final #pricing .pricing-price-v197 span{
    padding-bottom:5px!important;
    font-size:14px!important;
  }
  body.site-final #pricing .pricing-price-v197 small{
    grid-column:1/-1!important;
    width:100%!important;
    max-width:100%!important;
    margin-top:8px!important;
    padding:0!important;
    font-size:13px!important;
    line-height:1.45!important;
    color:#6d7888!important;
  }
}

@media (max-width:420px){
  body.site-final #pricing .pricing-price-v197{
    grid-template-columns:minmax(0,1fr) auto!important;
    column-gap:6px!important;
  }
  body.site-final #pricing .pricing-price-v197 strong{
    font-size:clamp(39px,12vw,46px)!important;
  }
  body.site-final #pricing .pricing-price-v197 span{
    font-size:13px!important;
  }
  body.site-final #pricing .pricing-price-v197 small{
    font-size:12.5px!important;
    line-height:1.42!important;
  }
}

@media (max-width:390px){
  body.site-final #expert-project .expert-photo-v63{
    height:305px!important;
    min-height:305px!important;
  }
  body.site-final #pricing .pricing-price-v197 strong{
    font-size:40px!important;
  }
  body.site-final #pricing .pricing-price-v197 span{
    font-size:12.5px!important;
  }
}
