The base of a lampshade is a regular hexagon with a height of 12 inches for each lateral face. The lateral area is 396 square inches. Determine the length of each side of the base