/* Front website responsive audit fixes: layout only, using the active EMS theme palette. */
html{max-width:100%;scroll-padding-top:calc(var(--fp-header-offset,110px) + 8px)}
body{max-width:100%;overflow-x:clip}
img,video,canvas,iframe{max-width:100%}
@media (min-width:761px) and (max-width:1050px){
 #fpSiteHeader .fp-topbar-inner{gap:8px!important;padding-inline:12px!important;font-size:10px!important}
 #fpSiteHeader .fp-mainnav-inner{gap:12px!important;padding-inline:16px!important}
 #fpSiteHeader .fp-brand{min-width:0!important;flex:0 1 auto!important}
 #fpSiteHeader .fp-brand img{width:50px!important;height:50px!important}
 #fpSiteHeader .fp-brand strong{font-size:23px!important}
 #fpSiteHeader .fp-brand b{font-size:12px!important;letter-spacing:3px!important}
 #fpSiteHeader .fp-nav-toggle{display:block!important;margin-left:auto!important;flex:0 0 auto!important}
 #fpSiteHeader .fp-navlinks{display:none!important;position:absolute!important;top:100%!important;left:12px!important;right:12px!important;z-index:100!important;max-height:calc(100dvh - 110px)!important;overflow:auto!important;padding:10px!important;border:1px solid var(--ems-theme-border,#d8e3ef)!important;border-radius:14px!important;background:var(--ems-surface,#fff)!important;box-shadow:0 16px 36px #102b5030!important}
 #fpSiteHeader .fp-navlinks.show{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important}
 #fpSiteHeader .fp-navlinks a{display:flex!important;min-height:44px!important;align-items:center!important;white-space:normal!important;padding:10px 12px!important}
}
@media(max-width:760px){
 html,body{width:100%!important;max-width:100%!important;overflow-x:clip!important}
 #fpSiteHeader{width:100%!important;max-width:100%!important}
 #fpSiteHeader .fp-mainnav{position:sticky!important;top:0!important}
 #fpSiteHeader .fp-mainnav-inner{width:100%!important;max-width:100%!important;box-sizing:border-box!important;flex-wrap:nowrap!important}
 #fpSiteHeader .fp-navlinks{position:absolute!important;top:100%!important;left:10px!important;right:10px!important;z-index:100!important;width:auto!important;max-height:calc(100dvh - 100px)!important;overflow:auto!important;padding:10px!important;border:1px solid var(--ems-theme-border,#d8e3ef)!important;border-radius:14px!important;background:var(--ems-surface,#fff)!important;box-shadow:0 16px 36px #102b5030!important}
 #fpSiteHeader .fp-navlinks.show{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important}
 #fpSiteHeader .fp-navlinks a{min-height:44px!important;white-space:normal!important;text-align:left!important}
 .fp-category-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .fp-category-strip a{min-width:0!important;min-height:70px!important;padding:9px 5px!important;overflow-wrap:anywhere!important}
 .fp-category-strip a span{line-height:1.2!important}
 .fp-feature-cards,.fpPeopleGrid,.fpPlacementGrid,.fpContentGrid,.alumniGrid,.fpReviewGrid{min-width:0!important;max-width:100%!important}
 #fpBackToTop{right:14px!important;bottom:calc(138px + env(safe-area-inset-bottom))!important}
 #fpChatLauncher{left:12px!important;right:auto!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;max-width:calc(100vw - 24px)!important}
 #fpChatPanel{left:10px!important;right:10px!important;bottom:calc(66px + env(safe-area-inset-bottom))!important;width:auto!important;max-width:calc(100vw - 20px)!important;max-height:72dvh!important}
 .fp-home-login,.fp-home-quick{bottom:calc(80px + env(safe-area-inset-bottom))!important}
 .fp-home-login{right:128px!important}
 .fp-home-quick{right:12px!important}
 :where(.section,.fp-public-updates,.fpCourseSection,.fpPeopleSection,.fpGoogleReviews){min-width:0!important;max-width:100%!important}
 :where(input,select,textarea,button){max-width:100%}
}
@media(max-width:390px){
 #fpSiteHeader .fp-brand img{width:38px!important;height:38px!important;flex-basis:38px!important}
 #fpSiteHeader .fp-brand small{display:none!important}
 #fpSiteHeader .fp-topbar-inner{gap:5px!important}
 .fp-category-strip a{font-size:9px!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
