/* R140: one document scroll context, mobile only. Body height:100% combined
   with overflow-x:hidden creates a second scroll pane on narrow screens. */
@media (max-width: 720px) {
  html { height:auto!important; min-height:100%!important; overflow-y:auto!important; overflow-x:hidden!important; }
  html body { height:auto!important; min-height:100%!important; max-height:none!important; overflow-x:clip!important; overflow-y:visible!important; }
  /* Existing menu and modal handlers set inline overflow:hidden; retain the lock. */
  html:has(body[style*="overflow: hidden"]),
  html:has(body[style*="overflow:hidden"]) { overflow:hidden!important; }
  html body[style*="overflow: hidden"], html body[style*="overflow:hidden"] { overflow:hidden!important; }
  html body #main { min-width:0; max-width:100%; }
}
@media (max-width: 768px) {
  /* Keep country headings readable even before their background image loads. */
  html body #main section.country-hero.saa-inner-hero { background-color:#eaf4fa!important; }
  html body #main section.country-hero.saa-inner-hero > .country-hero-frost {
    background:linear-gradient(90deg,rgba(248,252,255,.58),rgba(248,252,255,.82) 48%,rgba(248,252,255,.58))!important;
    backdrop-filter:blur(1.5px)!important; -webkit-backdrop-filter:blur(1.5px)!important;
  }
  html body #main section.country-hero.saa-inner-hero .saa-inner-hero__sub { color:#334155!important; }
  html body #main section.country-hero.saa-inner-hero .saa-inner-hero__title { color:#0f172a!important; }
}
