/* SafaSoch V14.9.2 — Mobile Header, Menu & Contrast Fix */
:root{--ss1492-green:#063f34;--ss1492-deep:#032f28;--ss1492-ivory:#fbf8f0;--ss1492-gold:#e5ad39;--ss1492-ink:#14362f}
@media(max-width:720px){
  /* Static microsite pages: one clean header, no in-content menu overlay */
  body>header{position:relative;z-index:1600;background:var(--ss1492-ivory)!important}
  body>header .header-inner{min-height:96px!important;padding:12px 0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important}
  body>header .brand{width:176px!important;height:auto!important;min-height:50px!important;margin:0!important}
  body>header .brand img{width:176px!important;height:auto!important;max-height:58px!important;object-fit:contain!important}
  body>header .menu-toggle{order:3!important;display:grid!important;place-items:center!important;width:52px!important;height:52px!important;min-height:52px!important;flex:0 0 52px!important;border-radius:50%!important;border:1px solid rgba(6,63,52,.22)!important;background:var(--ss1492-ivory)!important;color:transparent!important;font-size:0!important;padding:0!important;z-index:2}
  body>header .menu-toggle::before{content:"☰";font-size:23px;line-height:1;color:var(--ss1492-green)}
  body>header .menu-toggle[aria-expanded="true"]::before{content:"×";font-size:32px;font-weight:400}
  body>header #main-nav{display:none!important;position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;background:var(--ss1492-ivory)!important;z-index:1590!important;padding:118px 28px calc(120px + env(safe-area-inset-bottom,0px))!important;overflow-y:auto!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;box-shadow:none!important}
  body>header #main-nav.open{display:flex!important}
  body>header #main-nav a{font-size:1.25rem!important;min-height:58px!important;padding:15px 4px!important;border-bottom:1px solid rgba(20,54,47,.13)!important;background:transparent!important;color:var(--ss1492-ink)!important;border-radius:0!important;margin:0!important}
  body>header #main-nav a[aria-current]{color:#4f7b40!important;border-bottom-color:rgba(20,54,47,.13)!important}
  body>header #main-nav .business-call{margin-top:22px!important;min-height:56px!important;justify-content:center!important;border:0!important;border-radius:999px!important;background:var(--ss1492-green)!important;color:#fff!important;padding:15px 22px!important}
  body:has(#main-nav.open){overflow:hidden}

  /* Main PHP header stays compact and consistent */
  .ss143-header{background:var(--ss1492-ivory)!important}
  .ss143-header .ss143-row{min-height:92px!important;padding-block:10px!important}
  .ss143-brand img{max-height:56px!important;width:auto!important}
  .ss143-mobile{width:48px!important;height:48px!important;min-width:48px!important}
  .ss143-cta{white-space:nowrap!important}

  /* Persistent actions: useful without swallowing content */
  body:not(.v15-app-mode) .ss1315-mobile-actions{min-height:54px!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important}
  body:not(.v15-app-mode) .ss1315-mobile-actions>a{min-height:42px!important;font-size:12.5px!important}
  .ss-ai{bottom:calc(74px + env(safe-area-inset-bottom,0px))!important}
}
@media(max-width:430px){
  .ss143-header .ss143-actions .ss143-cta{font-size:12px!important;padding:11px 14px!important}
  .ss143-brand{max-width:150px!important}
  body>header .brand,body>header .brand img{width:164px!important}
}
@media(max-width:365px){.ss143-header .ss143-actions .ss143-cta{display:none!important}}

/* Footer / dark-surface contrast */
.ss1316a-footer,.ss1316a-footer *{--ss1492-footer-copy:#f6f3e9}
.ss1316a-footer h2,.ss1316a-footer h3,.ss1316a-footer strong{color:#fff!important}
.ss1316a-footer p,.ss1316a-footer li,.ss1316a-footer a,.ss1316a-footer span{color:rgba(255,253,247,.88)!important}
.ss1316a-footer .eyebrow{color:#e7c56e!important}
.ss1316a-footer .ss1316a-school-cta h2{color:#fff!important;opacity:1!important}
footer{background:var(--ss1492-green)!important;color:#fff!important}
footer h2,footer h3,footer a,footer p,footer span{color:rgba(255,253,247,.9)!important}
footer .small{color:#e7c56e!important}
