/* SunMax mobile drawer: only enabled when the script has initialized. */
.smx-nav-layer { display: none; }
@media (max-width: 767px) {
  html.smx-nav-ready body .sx-home-nav__links,
  html.smx-nav-ready body .sx-home-nav__links.is-open,
  html.smx-nav-ready body .sx-home-nav__links[aria-expanded="true"] { display: none !important; }
  html.smx-nav-open, html.smx-nav-open body { overflow: hidden !important; }
  html.smx-nav-ready .smx-nav-layer {
    position: fixed; inset: 0; z-index: 2147483000;
    display: block; visibility: hidden; pointer-events: none;
  }
  html.smx-nav-ready .smx-nav-layer.is-open { visibility: visible; pointer-events: auto; }
  .smx-nav-layer * { box-sizing: border-box; }
  .smx-nav-scrim {
    position: absolute; inset: 0; width: 100%; height: 100%;
    border: 0; border-radius: 0; padding: 0; margin: 0;
    background: rgba(2,17,29,.64); opacity: 0;
    transition: opacity .26s ease; cursor: default;
  }
  .smx-nav-layer.is-open .smx-nav-scrim { opacity: 1; }
  .smx-nav-panel {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: min(80vw, 355px); max-width: calc(100vw - 49px);
    height: 100%; height: 100dvh;
    min-height: 0; overflow-y: auto; overflow-x: hidden;
    overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    color: #fff; border-radius: 27px 0 0 27px;
    background:
      radial-gradient(ellipse 138% 39% at 106% 106%, rgba(5,148,196,.23) 0 45%, transparent 45.5%),
      radial-gradient(ellipse 155px 290px at 104% 74%, rgba(6,131,179,.28),transparent 92%),
      radial-gradient(ellipse 165px 170px at 0% 4%,rgba(0,165,216,.20),transparent 85%),
      linear-gradient(145deg,#075470 0%,#014361 42%,#075878 78%,#087096 100%);
    border-left: 1px solid rgba(140,222,245,.52);
    box-shadow: -14px 0 42px rgba(0,24,43,.32);
    transform: translate3d(104%,0,0);
    transition: transform .30s cubic-bezier(.22,.85,.28,1);
    isolation: isolate;
  }
  .smx-nav-panel::before, .smx-nav-panel::after {
    content:""; position:absolute;z-index:-1;pointer-events:none;
    border-radius:50%; border:1px solid rgba(96,201,239,.16);
  }
  .smx-nav-panel::before { width:370px;height:175px;right:-255px;top:140px; transform:rotate(-25deg); }
  .smx-nav-panel::after { display:none; }
  .smx-nav-layer.is-open .smx-nav-panel { transform: translate3d(0,0,0); }
  .smx-nav-panel:focus { outline: none; }
  .smx-nav-panel-content {
    width: 100%; max-width: 100%; min-height: 100%;
    padding: max(23px,env(safe-area-inset-top)) 19px max(24px,env(safe-area-inset-bottom));
    display: flex; flex-direction: column; gap: 0;
  }
  .smx-nav-top { display: flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:30px; }
  .smx-nav-brand { flex:1;min-width:0;text-decoration:none!important;color:#fff!important; }
  .smx-nav-brand img {
    display:block!important;width:min(100%,168px)!important;max-width:100%!important;height:auto!important;
    max-height:49px!important;object-fit:contain!important;object-position:left center!important;
    filter: brightness(0) invert(1) !important;
  }
  .smx-nav-website {
    display:block;margin-top:3px;color:#d3eaf6;letter-spacing:0;
    font-size:9.6px;font-weight:450;white-space:nowrap;
  }
  .smx-nav-close {
    flex:0 0 31px;width:31px;height:31px;border:0!important;border-radius:8px!important;
    background:transparent!important;color:#fff!important;cursor:pointer!important;
    padding:5px!important;margin:-2px -3px 0 0!important;
    display:grid!important;place-items:center!important;
  }
  .smx-nav-close svg { width:20px;height:20px;display:block; }
  .smx-nav-close:hover,.smx-nav-close:focus-visible {background:rgba(255,255,255,.11)!important;}
  .smx-nav-links { display:flex;flex-direction:column;gap:6px;width:100%; }
  .smx-nav-link {
    display:flex;align-items:center;gap:14px;position:relative;isolation:isolate;
    min-height:48px; width:100%;padding:9px 12px;margin:0;
    font-size:16px;line-height:1.32;font-weight:620;letter-spacing:-.17px;
    color:#fff!important;text-decoration:none!important;
    background:none;border-radius:12px;
    border-bottom:1px solid rgba(204,238,248,.19);
    transition: background .15s ease,color .15s ease;
  }
  .smx-nav-link:last-child { border-bottom:1px solid rgba(204,238,248,.19); }
  .smx-nav-link-icon {width:21px;height:21px;flex:0 0 21px;display:grid;place-items:center;}
  .smx-nav-link-icon svg {display:block;width:21px;height:21px;}
  .smx-nav-link.is-current {
    color:#ffe335!important;background:linear-gradient(105deg,rgba(249,228,60,.12),rgba(154,197,166,.10));font-weight:710;
    border-bottom-color:transparent;
  }
  .smx-nav-link.is-current::before {
    content:"";position:absolute;left:0;top:0;bottom:0;width:3px;
    border-radius:10px 0 0 10px;background:#ffe437;
  }
  .smx-nav-link:hover:not(.is-current),.smx-nav-link:focus-visible:not(.is-current) { background:rgba(255,255,255,.1); }
  .smx-nav-link:focus-visible,.smx-nav-help-cta:focus-visible,.smx-nav-close:focus-visible {
    outline:2px solid #ffe437!important;outline-offset:3px!important;
  }
  .smx-nav-help {
    margin-top:29px;margin-bottom:7px;
    padding:19px 16px 20px;
    border:1px solid rgba(172,225,245,.69);
    border-radius:15px;
    background:linear-gradient(140deg,rgba(0,80,119,.21),rgba(10,106,139,.10));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  }
  .smx-nav-yellow-line {width:26px;height:3px;border-radius:4px;background:#ffe334;margin-bottom:13px;}
  .smx-nav-help-heading {margin:0 0 10px!important;color:#fff!important;font-size:18px!important;font-weight:700!important;line-height:1.25!important;letter-spacing:-.32px;}
  .smx-nav-help-description {margin:0 0 16px!important;font-size:12px!important;line-height:1.52!important;color:#cde7f3!important;font-weight:400;}
  .smx-nav-help-cta {
    display:flex;align-items:center;justify-content:space-between;gap:9px;
    min-height:43px;padding:10px 13px!important;margin:0!important;
    border:0!important;border-radius:10px!important;
    background:#ffe337!important;color:#123548!important;text-decoration:none!important;
    font-size:12.5px!important;font-weight:720!important;line-height:1.25;
    white-space:nowrap!important;
    box-shadow:0 4px 15px rgba(0,31,49,.16);
  }
  .smx-nav-help-cta svg {width:16px;height:16px;flex:0 0 16px;}
  .smx-nav-help-cta:hover { background:#ffec6e!important;color:#123548!important; }
  @media (max-height: 640px) {
    .smx-nav-top{margin-bottom:18px;}
    .smx-nav-link{min-height:44px;font-size:15px;}
    .smx-nav-help{margin-top:20px;padding:16px 14px;}
  }
  @media (max-width: 350px) {
    .smx-nav-panel { width: min(82vw,320px);max-width:calc(100vw - 35px); }
    .smx-nav-panel-content {padding-left:14px;padding-right:14px;}
    .smx-nav-link{gap:10px;font-size:15px;padding-left:9px;padding-right:9px;}
    .smx-nav-top{margin-bottom:21px;}
    .smx-nav-help{padding:17px 13px;}
    .smx-nav-help-heading{font-size:17px!important;}
  }
  @media (prefers-reduced-motion:reduce) {
    .smx-nav-panel,.smx-nav-scrim,.smx-nav-link {transition:none!important;}
  }
}
@media (min-width:768px) {
  html.smx-nav-ready .smx-nav-layer{display:none!important;}
}
