@media (max-width: 1000px) {
  #ld-header .ld-mobile-menu {
    position: fixed;
    top: 118px;
    left: 0;
    right: 0;
    z-index: 2;
    max-height: calc(100vh - 118px);
    max-height: calc(100dvh - 118px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 30px 24px;
    background: #fff;
    box-shadow: 0 8px 20px #0002;
  }
  #ld-header .ld-mobile-list > li { border-bottom: 1px solid #e8e8ee; }
  #ld-header .ld-mobile-list > li > a {
    padding: 16px 0;
    color: #555;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
  }
  #ld-header .ld-mobile-list li.menu-item-has-children {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    align-items: center;
  }
  #ld-header .ld-mobile-list li.menu-item-has-children > .sub-menu { grid-column: 1 / -1; }
  #ld-header .ld-mobile-list .sub-menu[hidden] { display: none !important; }
  #ld-header .ld-mobile-list .sub-menu a { padding: 9px 0; }
  #ld-header .ld-submenu-toggle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    min-height: 42px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #211e54;
    cursor: pointer;
  }
  #ld-header .ld-submenu-toggle::after {
    content: '';
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
  }
  #ld-header .ld-submenu-toggle[aria-expanded='true']::after { transform: rotate(225deg) translate(-2px, -2px); }
  #ld-header .ld-menu-trigger[aria-expanded='true'] svg { display: none; }
  #ld-header .ld-menu-trigger[aria-expanded='true']::after { content: '×'; font: 32px/1 Arial, sans-serif; }
  .ld-mobile-menu-backdrop[hidden] { display: none !important; }
  .ld-mobile-menu-backdrop {
    position: fixed;
    inset: 118px 0 0;
    z-index: 29;
    width: 100vw;
    height: calc(100vh - 118px);
    height: calc(100dvh - 118px);
    margin: 0;
    padding: 0;
    border: 0;
    background: rgb(0 0 0 / 48%);
    cursor: default;
  }
  body.ld-menu-open .htw-mobile-bottom-nav { visibility: hidden; }
}
