@media screen and (min-width: 992px) {
  .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
    border: none;
  }
  .wp-block-navigation .wp-block-page-list {
    width: 100%;
  }
  .wp-block-navigation ul li ul {
    border: none !important;
    box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.0509803922);
    transform: translateY(-5px);
    transform: translateY(0) scaleY(0.8);
    transform-origin: top;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transition-duration: 0.3s;
    transition-property: opacity, visibility, transform;
    transition-timing-function: cubic-bezier(0.1, 0, 0.2, 1);
    transition-timing-function: ease;
    top: 35px !important;
  }
  .wp-block-navigation ul li ul li {
    border-bottom: 1px solid rgba(146, 146, 146, 0.231372549);
  }
  .wp-block-navigation ul li ul li:last-child {
    border: none;
  }
  .wp-block-navigation ul li ul li ul {
    top: -10px !important;
  }
  .wp-block-navigation ul li.open-on-click ul {
    top: 50px;
  }
  .wp-block-navigation ul li.open-on-hover-click ul {
    opacity: 0;
    visibility: hidden;
    border: none !important;
    box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.0509803922);
    transform: translateY(0) scaleY(0.8);
    pointer-events: none;
    z-index: 999;
    transition: transform 0.4s ease !important;
  }
  .wp-block-navigation ul li.open-on-hover-click:hover > ul, .wp-block-navigation ul li.open-on-hover-click:focus > ul, .wp-block-navigation ul li.open-on-hover-click:active > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
    pointer-events: auto;
  }
  .wp-block-navigation .wp-block-navigation__submenu-icon {
    height: 0.85em;
    width: 0.85em;
  }
  /* Desktop */
  .wp-block-navigation ul li ul {
    width: 230px !important;
  }
  .wp-block-navigation ul li ul::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 45px;
    top: -25px;
  }
  .wp-block-navigation ul li.open-on-hover-click ul {
    width: 320px;
    max-height: none;
  }
}
/* Mobile (max-width: 600px) */
@media screen and (max-width: 991px) {
  .wp-block-navigation .wp-block-navigation__responsive-container:not(.is-menu-open.is-menu-open),
  .wp-block-navigation .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) {
    background: var(--wp--preset--color--background) !important;
  }
  .wp-block-navigation .wp-block-navigation__responsive-container {
    transform: translateX(100%) !important;
    transition: all 0.7s ease !important;
    visibility: hidden !important;
    display: block !important;
    animation: inherit !important;
    animation-fill-mode: inherit !important;
    background: var(--wp--preset--color--background);
  }
  .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
    transform: translateX(0) !important;
    visibility: visible !important;
    display: block !important;
  }
  .wp-block-navigation .wp-block-navigation__responsive-container-close {
    right: 1.5rem;
    top: 1rem;
  }
  .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container {
    width: 100%;
    gap: 0 !important;
    border: 1px solid rgba(0, 0, 0, 0.0509803922);
    border-bottom: none;
  }
  .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item {
    width: 100%;
    border-bottom: none;
  }
  .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item a {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.0509803922);
    padding: 0.625rem 3.125rem 0.625rem 1.25rem;
    box-sizing: border-box;
  }
  .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item ul {
    padding: 0 !important;
    transform: inherit !important;
    top: 0 !important;
  }
  .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item ul li a {
    padding: 0.625rem 3.125rem 0.625rem 2.25rem !important;
  }
  .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item ul li li a {
    padding: 0.625rem 3.125rem 0.625rem 3.25rem !important;
  }
  .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item .wp-block-navigation__submenu-icon {
    display: block !important;
    position: absolute;
    right: 1rem;
    top: 0;
    height: 42px;
    width: 42px;
    z-index: 99;
  }
  .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item .wp-block-navigation__submenu-icon svg {
    width: 15px;
    height: 15px;
  }
  .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item ul.wp-block-navigation__submenu-container {
    display: none;
    width: 100%;
    box-shadow: none;
    position: inherit !important;
    padding-top: 0;
    margin-bottom: 10px;
    margin-top: 0;
  }
  .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item .wp-block-navigation-submenu__toggle[aria-expanded=true] + ul {
    display: block;
  }
  .wp-block-navigation.is-responsive .wp-block-navigation__responsive-container {
    height: 100vh;
  }
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    background-color: inherit;
    display: block;
    position: fixed;
    width: 100%;
    z-index: auto;
  }
}
@media (min-width: 992px) {
  .wp-block-navigation:has(.always-shown) .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon svg {
    transform: rotate(180deg);
  }
  .wp-block-navigation:has(.always-shown) .has-modal-open .wp-block-navigation__responsive-close {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--wp--style--global--content-size, 100%);
    padding-top: var(--wp--preset--spacing--50);
  }
  .wp-block-navigation:has(.always-shown) .wp-block-navigation__responsive-container:not(.is-menu-open.is-menu-open),
  .wp-block-navigation:has(.always-shown) .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) {
    background: var(--wp--preset--color--background) !important;
  }
  .wp-block-navigation:has(.always-shown) .wp-block-navigation__responsive-container {
    transform: translateY(-100%) !important;
    transition: all 0.7s ease !important;
    visibility: hidden !important;
    display: block !important;
    animation: inherit !important;
    animation-fill-mode: inherit !important;
    background: var(--wp--preset--color--background);
  }
  .wp-block-navigation:has(.always-shown) .wp-block-navigation__responsive-container.is-menu-open {
    transform: translateY(0) !important;
    visibility: visible !important;
    display: block !important;
  }
  .wp-block-navigation:has(.always-shown) .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) .wp-block-navigation__responsive-container-content {
    padding-top: calc(5rem + 24px);
  }
  .wp-block-navigation:has(.always-shown) .wp-block-navigation__responsive-container-close {
    right: 1.5rem;
    top: 1rem;
  }
  .wp-block-navigation:has(.always-shown) .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container {
    width: 100%;
    gap: 0 !important;
    border-bottom: none;
  }
  .wp-block-navigation:has(.always-shown) .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item {
    width: 100%;
    border-bottom: none;
  }
  .wp-block-navigation:has(.always-shown) .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item a {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.0509803922);
    padding: 1rem 0;
    box-sizing: border-box;
  }
  .wp-block-navigation:has(.always-shown) .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item ul {
    padding: 0 !important;
    transform: inherit !important;
    top: 0 !important;
  }
  .wp-block-navigation:has(.always-shown) .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item ul li a {
    padding: 0.625rem 3.125rem 0.625rem 2.25rem !important;
  }
  .wp-block-navigation:has(.always-shown) .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item ul li li a {
    padding: 0.625rem 3.125rem 0.625rem 3.25rem !important;
  }
  .wp-block-navigation:has(.always-shown) .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item .wp-block-navigation__submenu-icon {
    display: block !important;
    position: absolute;
    right: 1rem;
    top: 0;
    height: 42px;
    width: 42px;
    z-index: 99;
  }
  .wp-block-navigation:has(.always-shown) .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item .wp-block-navigation__submenu-icon svg {
    width: 15px;
    height: 15px;
  }
  .wp-block-navigation:has(.always-shown) .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item ul.wp-block-navigation__submenu-container {
    display: none;
    width: 100% !important;
    box-shadow: none;
    position: inherit !important;
    padding-top: 0;
    margin-bottom: 10px;
    margin-top: 0;
  }
  .wp-block-navigation:has(.always-shown) .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item .wp-block-navigation-submenu__toggle[aria-expanded=true] + ul {
    display: block;
  }
  .wp-block-navigation:has(.always-shown).is-responsive .wp-block-navigation__responsive-container {
    height: 100vh;
  }
  body.home .up-down-sticky-header.header-transparent-only-home-enabled:not(.wp-header--fixed) :not(.wp-block-gutenify-mega-menu-mega-menu) .wp-block-navigation:has(.always-shown) > li > .wp-block-navigation-item__content {
    color: #000000;
  }
  body.home .up-down-sticky-header.header-transparent-only-home-enabled:not(.wp-header--fixed) :not(.wp-block-gutenify-mega-menu-mega-menu) .wp-block-navigation:has(.always-shown) .wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg {
    color: #000 !important;
  }
}
@media (max-width: 991px) {
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: block;
  }
}