/* V42 — MOBILE ONLY: bring previously disabled card groups under V39 stage animation. */
@media (max-width: 991px) and (prefers-reduced-motion: no-preference) {
 html body.enrollment-page main .seven-steps > .step.sg-v42-card,
 html body.parents-page main .resource-cards > .card.sg-v42-card {
   opacity:0!important;
   transform:translate3d(0,70px,0) scale(.97)!important;
   transition:transform 900ms cubic-bezier(.18,.88,.24,1), opacity 600ms ease!important;
   transition-delay:0ms!important;
   animation:none!important;
 }
 html body.enrollment-page main .seven-steps > .step.sg-v42-card.sg-stage-visible,
 html body.parents-page main .resource-cards > .card.sg-v42-card.sg-stage-visible {
   opacity:1!important;
   transform:translate3d(0,0,0) scale(1)!important;
 }
}
@media (max-width: 991px) and (prefers-reduced-motion: reduce) {
 html body.enrollment-page main .seven-steps > .step.sg-v42-card,
 html body.parents-page main .resource-cards > .card.sg-v42-card {
  opacity:1!important;transform:none!important;transition:none!important;
 }
}
/* About memorial only: fit Zemira's portrait in the mobile sticky frame,
   with headroom clear of the fixed navigation. Desktop untouched. */
@media (max-width: 800px) {
 html body.about-page .zemira-garden-story .zemira-pin {
   top:90px!important;
   height:calc(100svh - 90px)!important;
   max-height:calc(100dvh - 90px)!important;
 }
 html body.about-page .zemira-garden-story .zemira-story-shell {
   grid-template-rows:56% 44%!important;
   min-height:0!important;
 }
 html body.about-page .zemira-garden-story .zemira-portrait {
   padding:10px 0 0!important;
   overflow:visible!important;
 }
 html body.about-page .zemira-garden-story .clean-portrait img {
   height:min(42svh,440px)!important;
   max-height:42svh!important;
   width:min(86vw,430px)!important;
   object-fit:contain!important;
   object-position:center center!important;
 }
}
