/* Approved mobile rhythm: content starts 40px inside each module.
   Loaded last; desktop and content heights remain unchanged. */
@media (max-width:768px) {
  html {scroll-snap-type:none!important;scroll-padding-top:56px;scroll-behavior:auto!important;}
  html body main > section:not(#home):not(.hero):not(.ydc-hero):not(.care-scene),
  html body .talent-list > section,
  html body footer.ydc-home-footer {padding-top:40px!important;}
  main > section, .talent-list > section, footer.ydc-home-footer {
    scroll-snap-align:none;scroll-margin-top:0!important;
  }
  /* Social modules already had their own 40px nested padding. */
  html body main > section :is(.ydc-social,#ydc-social-spacing) {padding-top:0!important;}
  main > section.industry {align-items:flex-start!important;}
  /* Keep the medical benefit heading at the same start, icons alongside. */
  .home-medical-page .ydc-section.soft:not(.ydc-service-section) .ydc-feature::before {
    position:absolute;top:0;right:0;width:44px;height:44px;margin:0!important;
  }
  .home-medical-page .ydc-section.soft:not(.ydc-service-section) .ydc-feature h3 {padding-right:54px;}
  html body main > section:is(#home, .hero, .ydc-hero) {
    height:calc(100lvh + 72px)!important;min-height:calc(100lvh + 72px)!important;
  }
  #home .hero-copy {top:26lvh!important;}
}
@media (prefers-reduced-motion:reduce) {html{scroll-behavior:auto!important;}}
