body .wp-block-navigation {
  background-color: transparent !important;
}

/* When the mobal is open */
.has-modal-open .wp-block-navigation .wp-block-navigation__responsive-container {
  .wp-block-navigation__responsive-dialog,
  .wp-block-navigation__responsive-close {
    flex: 1 0 auto;
    height: 100%;
  }

  .wp-block-navigation__responsive-close {
    padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--80);
    margin: 0;
    flex: 1 0 auto;
    max-width: unset;
  }

  .wp-block-navigation__responsive-dialog {
    display: flex;
    justify-content: start;
    align-items: end;
    flex-direction: column;

    .wp-block-navigation__responsive-container-close {
      display: block;
      position: relative;

      filter: brightness( 0 ) invert( 1 );
    }
  }

  .wp-block-navigation__responsive-container-content {
    padding: var(--wp--preset--spacing--70) 0 var(--wp--preset--spacing--70) var(--wp--preset--spacing--80);
    flex: 1 0 auto;
    width: 100%;

    @media screen and ( max-width: 781px ) {
      padding-left: 0;
    }

    ul {
      flex: 1 0 auto;
      width: 100%;
      max-width: calc( calc( 50dvw + 147px ) - var( --wp--preset--spacing--80 ) );
      gap: 0;

      @media screen and ( max-width: 781px ) {
        max-width: 100%;
      }

      li {
        padding: 0;
        margin: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        gap: 0;

        margin-bottom: -1px;

        border-bottom: 1px solid #6E6E6E;

        &.current-menu-item {
          a {
            color: #fff;
          }
        }

        a {
          padding: 24px 0;
          width: 100%;

          color: #B2B2B2;
          font-family: "Times Now", serif;
          font-size: 32px;
          font-style: normal;
          font-weight: 400;
          line-height: 110%;
          transition: transform 300ms ease-in-out, color 300ms ease-in-out;

          @media screen and ( max-width: 781px ) {
            font-size: 30px;
          }

          &:hover {
            color: #9BD2AF;
            transform: skewX( -12deg );
          }
        }

        &:has(ul) {
          a {
            padding-bottom: 10px;
          }
        }

        ul {
          flex: 1 0 auto;
          display: flex;
          flex-direction: row;
          flex-wrap: wrap;
          gap: 10px;
          width: 100%;
          padding: 0 0 24px 0 !important;

          li {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: row;
            gap: 10px;
            white-space: nowrap;
            width: auto;
            border-bottom: none;

            &:not(:last-child)::after {
              content: "/";
              color: #B2B2B2;
              flex-shrink: 0;
            }

            a {
              display: inline-block;
              width: auto;
              padding: 0;
              
              color: #B2B2B2;
              font-family: "Suisse Intl";
              font-size: 16px;
              font-style: normal;
              font-weight: 400;
              line-height: 150%; /* 24px */
              white-space: nowrap;

              span {
                display: inline-block;
                width: auto;
                white-space: nowrap;
              }
            }
          }
        }
      }
    }
  }
}
