/* Lossless supplied cutout. Keep the existing hero stage and controllers. */
.root-canal-page .rc3-hero-doctor img {aspect-ratio:1199 / 1312;object-fit:contain;object-position:center bottom;}
@media(min-width:651px) and (max-width:950px){
 .root-canal-page .rc3-hero-doctor img {padding-left:132px;object-position:right bottom;}
 .root-canal-page .rc3-hero-specialist {top:144px;bottom:auto;}
}
.root-canal-page #rc-consultation .rc3-cta-canvas>:not(img) {position:relative;z-index:1;}
.root-canal-page #rc-consultation .rc-cta-doctor-v2 {position:absolute;right:1%;bottom:0;width:35%;height:94%;object-fit:contain;object-position:center bottom;pointer-events:none;user-select:none;z-index:0;}
.root-canal-page #rc-consultation .rc3-cta-canvas h2,
.root-canal-page #rc-consultation .rc3-cta-canvas>p,
.root-canal-page #rc-consultation .rc3-cta-canvas>p:not(.rc-kicker),
.root-canal-page #rc-consultation .rc3-cta-canvas>small,
.root-canal-page #rc-consultation .rc3-cta-actions {max-width:60%;}
@media(max-width:900px){
 .root-canal-page #rc-consultation .rc3-cta-canvas h2,
 .root-canal-page #rc-consultation .rc3-cta-canvas>p,
 .root-canal-page #rc-consultation .rc3-cta-canvas>p:not(.rc-kicker),
 .root-canal-page #rc-consultation .rc3-cta-canvas>small,
 .root-canal-page #rc-consultation .rc3-cta-actions {max-width:100%;}
 .root-canal-page #rc-consultation .rc-cta-doctor-v2 {position:relative;display:block;width:100%;height:240px;margin:24px auto calc(-1 * clamp(40px,5vw,82px));}
}
@media(max-width:767px){.root-canal-page #rc-consultation .rc-cta-doctor-v2 {margin-bottom:-32px;}}
@media(max-width:430px){.root-canal-page #rc-consultation .rc-cta-doctor-v2 {margin-bottom:-27px;}}

/* Portrait closeout: the existing foreground card conceals only the finite torso base. */
@media (min-width: 951px) {
 .root-canal-page .rc3-hero-specialist { top:24px; bottom:auto; right:18px; width:172px; }
 .root-canal-page .rc3-hero-rating { left:50%; right:auto; }
}
@media (min-width:651px) and (max-width:1200px) {
 .root-canal-page .rc3-hero-doctor { bottom:80px; }
}
@media (max-width:650px) {
 .root-canal-page .rc3-hero-doctor { margin-bottom:0; }
 .root-canal-page .rc3-hero-specialist { grid-row:3; position:relative; top:auto; bottom:auto; right:auto; left:auto; align-self:start; justify-self:stretch; width:auto; margin:-8px 54px 14px 14px; }
 .root-canal-page .rc3-hero-rating { grid-row:4; top:auto; bottom:auto; right:auto; left:auto; align-self:start; justify-self:stretch; width:auto; margin:0 54px 14px 14px; }
 .root-canal-page .rc3-hero-clinic { grid-row:5; margin-top:0; }
 .root-canal-page .rc3-hero-footer { grid-row:6; }
 .root-canal-page .rc3-hero-doctor { width:calc(100% - 68px); justify-self:start; margin-left:14px; margin-right:54px; }
}
