/*
Pacific Pain Clinic — precise photo placement patch, 2026-11-09.
Slide 1 is the supplied panoramic physician photo.
Slide 2 is the distinct supplied portrait, displayed on a navy ground.
The About Us portrait is contained, never cropped or stretched.
*/
.medx-hero .medx-slide[data-slide-item="1"] .medx-slide-photo{
 inset:0 0 0 38%;
 background-color:#f2f3f3;
 background-size:auto 97%;
 background-position:right center;
 background-repeat:no-repeat;
 transform:none!important;
}
.medx-hero .medx-slide[data-slide-item="1"] .medx-slide-wash{
 background:linear-gradient(90deg,#f2f3f3 0%,#f2f3f3 25%,rgba(242,243,243,.94) 39%,rgba(242,243,243,.65) 49%,rgba(242,243,243,.1) 70%,transparent 82%);
}
body.page-id-11 .ppc-interior-entry .ppc-single-feature{
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 width:100%;
 padding:0;
 margin:0 0 36px;
 background:#08132d;
 border-radius:22px;
 overflow:hidden;
 min-height:0;
}
body.page-id-11 .ppc-interior-entry .ppc-single-feature img{
 display:block!important;
 width:auto!important;
 height:auto!important;
 max-width:100%!important;
 max-height:650px!important;
 object-fit:contain!important;
 object-position:center center!important;
 border-radius:0!important;
 margin:0 auto;
 transform:none!important;
}
.medx-doctor-image{background:#08132d!important;height:440px!important;display:flex;align-items:center;justify-content:center}
.medx-doctor-image img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important;transform:none!important}
@media(max-width:900px){
 .medx-hero .medx-slide[data-slide-item="1"] .medx-slide-photo{
  inset:0 0 0 30%;
  background-size:auto 96%;
 }
}
@media(max-width:630px){
 .medx-hero .medx-slide[data-slide-item="1"] .medx-slide-photo{
  inset:0 0 auto 0;
  height:335px;
  background-size:auto 330px;
  background-position:right top;
  background-color:#f2f3f3;
 }
 .medx-hero .medx-slide[data-slide-item="1"] .medx-slide-wash{
  inset:0;top:170px;
  background:linear-gradient(to bottom,rgba(242,243,243,0),rgba(242,243,243,.85) 29%,#f2f3f3 53%,#f2f3f3 100%);
 }
 body.page-id-11 .ppc-interior-entry .ppc-single-feature{border-radius:16px;margin-bottom:23px}
 body.page-id-11 .ppc-interior-entry .ppc-single-feature img{max-height:550px!important}
 .medx-doctor-image{height:395px!important}
}
@media(prefers-reduced-motion:reduce){
 .medx-hero .medx-slide[data-slide-item="1"] .medx-slide-photo{transition:none!important}
}
