/* R142: country-inspired, integrated mobile heroes. No desktop or country-page rules. */
@media (max-width:720px) {
  html body #main.saa-page-services {--r142-art:url('/assets/hero/services-r142-mobile.webp');}
  html body #main.saa-experts-page {--r142-art:url('/assets/hero/experts-r142-mobile.webp');}
  html body #main.saa-success-page {--r142-art:url('/assets/hero/success-stories-r142-mobile.webp');}
  html body #main.saa-page-contact {--r142-art:url('/assets/hero/contact-r142-mobile.webp');}
  html body #main.saa-page-about {--r142-art:url('/assets/hero/about-r142-mobile.webp');}
  html body #main:is(.saa-page-services,.saa-experts-page,.saa-success-page,.saa-page-contact,.saa-page-about) section.saa-inner-hero.contact-hero {
    --saa-inner-hero-height:auto;
    height:auto!important;block-size:auto!important;min-height:222px!important;min-block-size:222px!important;max-height:none!important;max-block-size:none!important;
    position:relative!important;isolation:isolate!important;display:flex!important;align-items:center!important;justify-content:center!important;
    background-color:#edf5fa!important;
    background-image:linear-gradient(90deg,rgba(249,251,255,.48),rgba(249,251,255,.82) 24%,rgba(249,251,255,.87) 50%,rgba(249,251,255,.82) 76%,rgba(249,251,255,.48)),var(--r142-art)!important;
    background-size:cover!important;background-position:center center!important;background-repeat:no-repeat!important;box-shadow:none!important;
  }
  html body #main:is(.saa-page-services,.saa-experts-page,.saa-success-page,.saa-page-contact,.saa-page-about) section.saa-inner-hero.contact-hero::before,
  html body #main:is(.saa-page-services,.saa-experts-page,.saa-success-page,.saa-page-contact,.saa-page-about) section.saa-inner-hero.contact-hero::after,
  html body #main:is(.saa-page-services,.saa-experts-page,.saa-success-page,.saa-page-contact,.saa-page-about) section.saa-inner-hero.contact-hero .contact-hero-overlay {display:none!important;content:none!important;background:none!important;}
  html body #main:is(.saa-page-services,.saa-experts-page,.saa-success-page,.saa-page-contact,.saa-page-about) section.saa-inner-hero.contact-hero > .saa-inner-hero__inner {
    display:flex!important;align-items:center!important;justify-content:center!important;height:auto!important;block-size:auto!important;min-height:222px!important;min-block-size:222px!important;max-height:none!important;max-block-size:none!important;padding:30px 0!important;box-sizing:border-box!important;
  }
  html body #main:is(.saa-page-services,.saa-experts-page,.saa-success-page,.saa-page-contact,.saa-page-about) section.saa-inner-hero.contact-hero .saa-inner-hero__copy {width:calc(100% - 32px)!important;max-width:540px!important;min-width:0!important;position:relative!important;text-align:center!important;}
  html body #main:is(.saa-page-services,.saa-experts-page,.saa-success-page,.saa-page-contact,.saa-page-about) section.saa-inner-hero.contact-hero .saa-inner-hero__title {
    font-size:clamp(29px,8vw,36px)!important;font-weight:800!important;line-height:1.1!important;letter-spacing:-.04em!important;margin:0 0 13px!important;color:#0f172a!important;text-align:center!important;text-wrap:balance;text-shadow:0 1px 3px rgba(255,255,255,.8)!important;
  }
  html body #main:is(.saa-page-services,.saa-experts-page,.saa-success-page,.saa-page-contact,.saa-page-about) section.saa-inner-hero.contact-hero .saa-inner-hero__accent {color:#007eb9!important;white-space:normal!important;-webkit-text-fill-color:initial!important;}
  html body #main:is(.saa-page-services,.saa-experts-page,.saa-success-page,.saa-page-contact,.saa-page-about) section.saa-inner-hero.contact-hero .saa-inner-hero__sub {
    max-width:46ch!important;margin:0 auto!important;font-size:15px!important;line-height:1.48!important;color:#334155!important;text-align:center!important;text-shadow:0 1px 3px rgba(255,255,255,.8)!important;text-wrap:pretty;
  }
  /* Homepage remains an interactive destination carousel. Use each slide's existing artwork as a subtle full-bleed backdrop; retain the student photo, controls, buttons and stats. */
  html body #main section.hero .hero-slide {
    background-image:linear-gradient(180deg,rgba(248,252,255,.89),rgba(248,252,255,.96) 45%,#f7fbfe 100%),var(--saa-mobile-bg,none)!important;
    background-position:center top!important;background-size:cover!important;background-repeat:no-repeat!important;
  }
  html body #main section.hero .hero-copy > .hero-title {font-size:clamp(28px,7.8vw,36px)!important;line-height:1.12!important;text-wrap:balance;text-align:center!important;}
  html body #main section.hero .hero-copy > .lead {text-align:center!important;font-size:14.5px!important;line-height:1.5!important;text-wrap:pretty;}
  html body #main section.hero .hero-copy > .eyebrow {display:table!important;margin:0 auto 12px!important;text-align:center!important;}
  /* Editorial pages should open with an elegant heading, not unrelated stock photographs. */
  html body #main.r137-story-page .r137-title {background:linear-gradient(135deg,#eef8fc,#f6f1fa 85%);border:1px solid #dce8ef;border-radius:14px;padding:18px 12px!important;text-align:center!important;margin-bottom:16px!important;}
  html body #main.r137-story-page .r137-title h1 {font-size:clamp(25px,7vw,34px)!important;line-height:1.25!important;margin:10px 0!important;}
  html body #main.r137-story-page .r137-title .r137-sub {justify-content:center!important;text-align:center!important;}
  html body #main.saa-page-legal section.policy {background:linear-gradient(180deg,#eaf5fc 0,#f7f2f8 135px,#fff 295px)!important;padding-top:30px!important;}
  html body #main.saa-page-legal .pol-title {font-size:clamp(29px,8vw,36px)!important;line-height:1.15!important;text-align:center!important;text-wrap:balance;}
  html body #main.saa-page-legal .pol-sub {text-align:center!important;font-size:15px!important;line-height:1.55!important;margin:0 0 16px!important;}
  html body #main.saa-page-legal .pol-updated {text-align:center!important;font-size:12px!important;}
  html body main > section.page-hero {background:linear-gradient(135deg,#edf7fc,#f8f1f7)!important;padding:26px 0!important;}
  html body main > section.page-hero h1 {font-size:clamp(29px,8vw,36px)!important;line-height:1.15!important;text-align:center!important;}
  html body main > section.page-hero .lead {text-align:center!important;font-size:15px!important;line-height:1.55!important;}
}
