/* Collect MD v6.8.6 - focused mobile corrections; appended after v6.8.5. */
@media(max-width:700px){
 /* Remove a hard horizontal rectangle beneath the hero copy. The image remains
    a continuous photograph, with stronger text-shadow for contrast. */
 .collectmd-home .hero-content::before{display:none!important;content:none!important}
 .collectmd-home .hero .hero-h1 .line, .collectmd-home .hero-content>.eyebrow,
 .collectmd-home .hero .hero-bottom p{text-shadow:0 2px 16px rgba(4,15,13,.72)!important}
 .collectmd-home .hero .cm45-surgery::after{background:linear-gradient(90deg,rgba(7,20,18,.45),rgba(7,20,18,.08) 65%,transparent)!important}
 /* Make the hero dashboard visible above the persistent bottom actions. */
 .collectmd-home .hero .cm45-dashboard{bottom:9%!important}
 .collectmd-home .hero .cm45-doctor{bottom:4%!important}

 /* Preserve the two-column layout but restore animated card entrances. */
 .collectmd-home .who-card.who-mobile-prep{opacity:0!important;translate:0 26px!important;
   transition:translate .7s cubic-bezier(.18,.8,.2,1),opacity .7s ease,box-shadow .3s ease!important;}
 .collectmd-home .who-card.who-mobile-prep.who-mobile-visible{opacity:1!important;translate:0 0!important}
 .collectmd-home .who-card{overflow:visible!important;min-height:0!important;}
 .collectmd-home .who-stage{align-items:stretch!important}

 /* Payment illustration: bring the phone and credit card into the screen
    instead of placing half of them behind the fixed CTA strip. */
 .collectmd-home .transaction-stick .trans-world{top:21%!important;bottom:8%!important;height:71%!important}
 .collectmd-home .transaction-stick .bank-phone{top:38%!important;right:4%!important;
   width:min(50vw,205px)!important;height:clamp(270px,43svh,345px)!important}
 .collectmd-home .transaction-stick .credit-card{top:47%!important;right:33%!important;
   width:min(51vw,205px)!important;height:clamp(119px,19svh,138px)!important}
 .collectmd-home .trans-top{top:4.8%!important}
 .collectmd-home .trans-top .button{margin-top:0!important}
}
@media(max-width:390px){
 .collectmd-home .transaction-stick .trans-world{top:23%!important;height:68%!important}
 .collectmd-home .transaction-stick .bank-phone{top:39%!important;height:290px!important}
 .collectmd-home .transaction-stick .credit-card{top:49%!important}
}
@media(prefers-reduced-motion:reduce){
 .collectmd-home .who-card.who-mobile-prep{opacity:1!important;translate:none!important;transition:none!important}
}
