﻿/* Phone and tablet menu: full-width tap-to-open lists, large readable text */
@media (max-width: 960px){
  header{position:static!important}
  header nav.primary{display:flex!important;flex-wrap:wrap;gap:8px;width:100%;margin-top:10px}
  header nav.primary .dd{display:block!important;width:100%;position:relative}
  header nav.primary .dd>a{display:flex!important;justify-content:space-between;align-items:center;width:100%;box-sizing:border-box;padding:13px 16px;font-size:17px;font-weight:600;line-height:1.2;color:#1b2a4a!important;background:#fff;border:1px solid rgba(0,0,0,.14);border-radius:10px}
  header nav.primary .dd .dd-menu,header nav.primary .dd .dd-menu.wide{display:none!important;position:static!important;width:100%!important;min-width:0!important;max-width:none!important;max-height:none!important;overflow:visible!important;box-shadow:none!important;border:0!important;background:#fff!important;padding:4px 0 8px!important;margin:0!important;columns:1!important;flex-flow:column nowrap!important}
  header nav.primary .dd.open .dd-menu,header nav.primary .dd.open .dd-menu.wide{display:flex!important;max-height:none!important;overflow:visible!important;-webkit-overflow-scrolling:touch}
  header nav.primary .dd.open>a{background:#f3eee6;border-color:#c9581f}
  header nav.primary .dd-menu a{display:block!important;white-space:normal!important;padding:13px 16px!important;font-size:17px!important;line-height:1.3!important;color:#111!important;background:#fff!important;border-bottom:1px solid rgba(0,0,0,.08);border-radius:0}
  header nav.primary .dd-menu a.dd-all{font-weight:700;color:#1b2a4a!important}
  header nav.primary>a:not(.phone-pill){display:block;width:100%;box-sizing:border-box;padding:13px 16px;font-size:17px;font-weight:600;color:#1b2a4a!important;background:#fff;border:1px solid rgba(0,0,0,.14);border-radius:10px}
}
/* Desktop: keep menu open while the mouse moves from the label into the list */
@media (min-width: 961px){
  .dd .dd-menu{margin-top:0}
  .dd::after{content:"";position:absolute;left:0;right:0;top:100%;height:12px}
}



/* Phone header toggle (Nov 2026 sweep): the stacked menu used to fill the whole first screen on
   phones. It now starts collapsed behind a "Menu" button; the call button always stays visible. */
.menu-toggle{display:none}
@media (max-width: 960px){
  header nav.primary{justify-content:center}
  header nav.primary .menu-toggle{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;font:600 16px/1 "Source Sans 3",system-ui,sans-serif;color:#1b2a4a;background:#fff;border:1px solid rgba(0,0,0,.18);border-radius:999px;cursor:pointer}
  header nav.primary .menu-toggle .bars{display:inline-block;width:16px;height:2px;background:currentColor;box-shadow:0 -5px 0 currentColor,0 5px 0 currentColor}
  header nav.primary:not(.is-open)>*:not(.phone-pill):not(.menu-toggle){display:none!important}
  header nav.primary.is-open .menu-toggle{order:-1}
}
