/* Final supplied PNGs; original files and shared styles stay untouched. */
.gum-page .gum-hero-doctor img { aspect-ratio:1278 / 1230; object-fit:contain; object-position:center bottom; }
.gum-page .gum-hero-doctor img {transform:scale(1.28);transform-origin:center bottom;}
@media(min-width:651px) and (max-width:1023px){.gum-page .gum-hero-doctor img {transform:translateX(-70px) scale(1.28);}}
/* Preserve the existing entry curve while allowing the model beyond the old transparent frame. */
.gum-page.gum-premium-motion .gum-hero-doctor {animation-name:gum-v2-image;}
@keyframes gum-v2-image {from{opacity:0;clip-path:inset(0 -120px 10% -120px);transform:translateY(15px)}to{opacity:1;clip-path:inset(0 -120px 0 -120px);transform:translateY(0)}}
@media(max-width:650px){
 .gum-page .gum-hero-specialist {grid-row:3;justify-self:stretch;width:auto;margin:0 14px 14px;}
 .gum-page .gum-hero-clinic {grid-row:4;}
 .gum-page .gum-hero-footer {grid-row:5;}
}
.gum-page #gum-consultation .gum2-cta {position:relative;}
.gum-page #gum-consultation .gum2-cta > :not(img) {position:relative;z-index:1;}
.gum-page #gum-consultation .gum-cta-doctor-v2 {position:absolute;right:1%;bottom:0;width:35%;height:96%;object-fit:contain;object-position:center bottom;pointer-events:none;user-select:none;z-index:0;}
.gum-page #gum-consultation .gum2-cta h2,
.gum-page #gum-consultation .gum2-cta>.gum-kicker,
.gum-page #gum-consultation .gum2-cta>p:not(.gum-kicker),
.gum-page #gum-consultation .gum2-actions,
.gum-page #gum-consultation .gum2-cta>small {max-width:60%;}
@media(max-width:900px){
 .gum-page #gum-consultation .gum2-cta h2,
 .gum-page #gum-consultation .gum2-cta>.gum-kicker,
 .gum-page #gum-consultation .gum2-cta>p:not(.gum-kicker),
 .gum-page #gum-consultation .gum2-actions,
 .gum-page #gum-consultation .gum2-cta>small {max-width:100%;}
 .gum-page #gum-consultation .gum-cta-doctor-v2 {position:relative;display:block;width:100%;height:240px;margin:24px auto -32px;object-position:center bottom;}
}
@media(max-width:430px){.gum-page #gum-consultation .gum-cta-doctor-v2 {margin-bottom:-27px;}}

/* Portrait closeout: the existing foreground card conceals only the finite torso base. */
@media (max-width:650px) {
 .gum-page .gum-hero-doctor { margin-bottom:0; }
 .gum-page .gum-hero-specialist { margin-top:-8px; }
}
@media (min-width:651px) and (max-width:950px) {
 .gum-page .gum-hero-doctor { bottom:80px; }
}
