.siteMobileNav[data-reach-dialog-content] {
  border-radius: 10px;
  width: calc(100% - var(--outer-right) - var(--outer-left));
  margin-top: calc(var(--site-header-nav-height) + var(--outer-top));
  margin-bottom: calc(var(--outer-bottom));
}

.sidebarNavBody {
  overflow-y: auto;
  background: white;
  flex: 1 1 auto;
  color: #2c3951;
  list-style: none;
  a {
    color: #505267;
    &:hover {
      color: var(--brand-color);
    }
  }
  font-weight: 500;
  font-size: 18px;
  margin: 0;
  padding-top: 1em;
  padding-bottom: 3em;

  > * {
    margin: 0;
  }
  > * + * {
    margin-top: 30px;
  }
  ul {
    font-size: 1rem;
    padding: 0;
    padding-left: 1em;
    list-style: none;
    > * {
      margin: 0;
    }
    > * + * {
      margin-top: 15px;
    }
    li > p {
      color: #6d708b;
      font-size: 14px;
      font-weight: 700;
      text-transform: uppercase;
      margin-top: 30px;
    }
  }
  li {
    > * {
      margin: 0;
    }
    > * + * {
      margin-top: 15px;
    }
    padding: 0;
  }
}

/*
  mobile nav trigger
*/

.mobileNavTrigger {
  --size: 24px;
  height: var(--size);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  appearance: none;
  background: none;
  cursor: pointer;
  outline: none;
  > .toggleBars {
    --bar-height: 3px;
    width: var(--size);
    height: var(--bar-height);
    position: relative;
    &,
    &::before,
    &::after {
      background-color: rgba(var(--rgb-ui-7), 1);
      transition-property: background-color, transform;
      transition-duration: 100ms;
      transition-timing-function: ease-in-out;
    }
    &::before,
    &::after {
      content: '';
      display: block;
      position: absolute;
      width: 100%;
      height: var(--bar-height);
      left: 0;
      top: 0;
      transform: translateY(var(--translateY, 0px)) rotate(var(--rotate, 0deg));
    }
    &::before {
      --translateY: calc((var(--bar-height) + 6px) / -1);
    }
    &::after {
      --translateY: calc((var(--bar-height) + 6px) / 1);
    }
    [aria-expanded='true'] > & {
      background: transparent;
      &::before,
      &::after {
        --translateY: 0px;
      }
      &::before {
        --rotate: 45deg;
      }
      &::after {
        --rotate: -45deg;
      }
    }
  }
}

/*
  mobile nav content
*/

/*
  @reach dialog overlay and content
*/

.dialogOverlay {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: auto;
  /* custom */
  user-select: none;
  &::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: hsla(0, 0%, 0%, 0.33);
    transition: opacity var(--xn-duration) linear;
  }
  &[class~='xn-site-mobile-nav-in']::before {
    opacity: 1;
  }
  &[class~='xn-site-mobile-nav-out']::before {
    opacity: 0;
  }
}

.dialogContent {
  user-select: text;
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 101;
  outline: none;
  padding: 0;
  /* background: pink; */
  height: 100vh;
  display: flex;
  flex-direction: column;
  /* overflow-y: auto; */
  transition-property: transform, opacity;
  transition-duration: var(--xn-duration);
  transition-timing-function: ease-in-out;
  /* transition: transform var(--xn-duration) ease-in-out; */
  @media (min-width: 32em) {
    width: 24rem;
    transform: translateX(var(--translateX, 0));
    [class~='xn-site-mobile-nav-in'] & {
      --translateX: 0%;
    }
    [class~='xn-site-mobile-nav-out'] & {
      --translateX: 100%;
    }
  }
  transform: scale(var(--scale));
  [class~='xn-site-mobile-nav-in'] & {
    --scale: 1;
    opacity: 1;
  }
  [class~='xn-site-mobile-nav-out'] & {
    --scale: 0.9;
    opacity: 0;
  }
}
