/* Only this isolated mobile comparison. Typography and original assets stay intact. */
@media(max-width:900px){
  html[data-beginner-photo-flow=B] .welcome-company{padding-top:22px;padding-bottom:34px}
  html[data-beginner-photo-flow=B] .welcome-company .welcome-story{gap:34px}
}

.beginner-review-pair{display:none}
@media(max-width:900px){
  html[data-beginner-photo-flow=B] .welcome-company .welcome-story>figure:not(.beginner-review-pair){display:none!important}
  html[data-beginner-photo-flow=B] .welcome-company .beginner-review-pair{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;margin:0;padding:0;border:0;width:100%;height:auto}
  .welcome-company .beginner-review-pair>img{display:block;width:100%!important;height:auto!important;aspect-ratio:3/4;object-fit:contain;border-radius:0}
  .welcome-company .beginner-review-pair>.beginner-review-portrait{display:block;width:100%;height:auto;aspect-ratio:3/4;overflow:hidden;border-radius:0}
}

.beginner-opening-pair{display:none}
@media(max-width:900px){
  html[data-beginner-photo-flow=B] .welcome-opening-collage{display:none!important}
  html[data-beginner-photo-flow=B] .welcome-opening .beginner-opening-pair{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;width:100%;margin:0;padding:0;border:0;aspect-ratio:4/3;overflow:hidden}
  .welcome-opening .beginner-opening-pair>.beginner-opening-portrait,
  .welcome-opening .beginner-opening-pair>.beginner-opening-counter{display:block;width:100%!important;height:100%!important;min-height:0;overflow:hidden;object-fit:cover;object-position:50% 50%;border-radius:0}
}
/* This caption removal is explicitly requested on both PC and mobile. The auto
   height of each figure/section lets following content rise by the removed area. */
.welcome-main .welcome-moments .welcome-photo-pair figcaption{display:none!important}

/* Center only the five mobile lesson-description paragraphs in this review. */
@media(max-width:900px){
 .welcome-main .mobile-first-lesson .mobile-lesson-prose>p{text-align:center!important;text-wrap:balance!important}
 .mobile-first-lesson .mobile-lesson-prose .lesson-center-keep{white-space:nowrap}
}

/* Join the existing lower photo pair in the mobile B comparison as well. */
@media(max-width:900px){
 html[data-beginner-photo-flow=B] .welcome-moments .welcome-photo-pair{gap:0!important}
 html[data-beginner-photo-flow=B] .welcome-moments .welcome-photo-pair img{border-radius:0!important}
}

/* Keep the original photo intact; crop only its mobile B viewport. */
@media(max-width:900px){
 html[data-beginner-photo-flow=B] .welcome-moments .beginner-moments-smile{display:block;width:100%!important;height:auto!important;aspect-ratio:3/4;overflow:hidden;border-radius:0}
}
