.elementor-kit-21{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-color-962ef49:#D93124;--e-global-color-3c7f518:#222222;--e-global-color-55ca8dd:#FFFFFF;--e-global-typography-primary-font-family:"Poppins";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Poppins";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Poppins";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Poppins";--e-global-typography-accent-font-weight:500;font-family:"Poppins", Sans-serif;}.elementor-kit-21 e-page-transition{background-color:#FFBC7D;}.elementor-kit-21 p{margin-bottom:25px;}.elementor-kit-21 h2{font-family:"Poppins", Sans-serif;font-size:25px;font-weight:500;}.elementor-kit-21 h3{font-family:"Poppins", Sans-serif;font-size:20px;font-weight:500;}.elementor-kit-21 h5{font-family:"Poppins", Sans-serif;}.elementor-kit-21 h6{font-family:"Poppins", Sans-serif;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}@media(max-width:1024px){.elementor-kit-21 p{margin-bottom:25px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-21 p{margin-bottom:35px;}.elementor-kit-21 h2{font-size:22px;}.elementor-kit-21 h3{font-size:18px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* ===========================================
   MEGA-MENU PATCH – Signography.ca
   =========================================== */

/* ---------- 1. PHONES  ≤ 767 px ---------- */
@media (max-width:767px){

  /* a. full-screen, scrollable drawer */
  .e-n-menu[data-layout="dropdown"] .e-n-menu-wrapper{
    position:fixed !important;
    top:56px !important;              /* mobile header height */
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:100vw !important;
    max-width:none !important;
    height:calc(100dvh - 56px) !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain !important;   /* <── NEW  */
    padding-bottom:10vh !important;           /* lets you scroll past “Contact” */
    background:#fff;
    z-index:99999;
    border-radius:0;
  }

  /* b. patch the tiny corner gap under the header */
  .e-n-menu[data-layout="dropdown"] .e-n-menu-wrapper::before{
    content:'';
    position:fixed;
    top:56px;
    left:0;
    right:0;
    height:1px;
    background:#c5332b;       /* <── now header-red, not white */
    z-index:100000;
  }

  /* c. stop the page behind from scrolling */
  body:has(.e-n-menu-toggle[aria-expanded="true"]){
    overflow:hidden;
  }
}

/* ---------- 2. TABLETS  768 – 1024 px ---------- */
@media (min-width:768px) and (max-width:1024px){

  .e-n-menu[data-layout="dropdown"] .e-n-menu-wrapper{
    top:64px !important;              /* tablet header */
    height:calc(100dvh - 64px) !important;
    overscroll-behavior:contain !important;
    padding-bottom:8vh !important;
    border-radius:0 !important;
  }

  /* remove default nav margin that left gaps at edges */
  .e-n-menu[data-layout="dropdown"] nav{
    margin:0 !important;
    border-radius:0 !important;
  }
}

/* ---------- 3. DESKTOPS  ≥ 1025 px ---------- */
@media (min-width:1025px){

  /* nuke Elementor’s white backdrop so only the card shows */
  :where(.elementor-widget-n-menu .e-n-menu-content > .e-con){
    background-color:transparent !important;
  }

  /* keep the curved 24-px card & avoid scrollbar gaps */
  .e-n-menu[data-layout="dropdown"] nav{
    border-radius:24px !important;
    overflow:hidden !important;
  }
}/* End custom CSS */