/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.5.1762607256
Updated: 2025-11-08 13:07:36

*/

/* NGP HEADER MOBILE ROW FIX */
@media (max-width: 767px) {
  .elementor-location-header .elementor-element-1646d8f5 > .e-con-inner {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
  }

  .elementor-location-header .elementor-element-5d8e42b1 {
    flex: 0 0 70px !important;
    width: 70px !important;
    min-width: 70px !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  .elementor-location-header .elementor-element-4f01909b {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  .elementor-location-header .elementor-element-3d35d88 {
    flex: 0 0 138px !important;
    width: 138px !important;
    min-width: 138px !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding: 0 !important;
  }

  .elementor-location-header .elementor-element-796e57a5,
  .elementor-location-header .elementor-element-796e57a5 .elementor-widget-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* NGP MOBILE MEGA MENU — collegamento al menu reale */
@media (max-width: 767px) {
  body.ngp-mobile-menu-open {
    overflow: hidden;
  }

  .elementor-location-header .elementor-element-1646d8f5 {
    position: relative !important;
    z-index: 1000;
  }

  .elementor-location-header .elementor-element-7296ffc1 a.elementor-icon {
    display: grid !important;
    width: 44px !important;
    height: 44px !important;
    place-items: center;
    color: var(--ngp-ink, #1f1f1c) !important;
    border-radius: 8px;
  }

  .elementor-location-header .elementor-element-7296ffc1 a.elementor-icon svg {
    width: 18px !important;
    height: 18px !important;
    fill: currentColor !important;
  }

  body.ngp-mobile-menu-open .elementor-element-7296ffc1 a.elementor-icon {
    background: rgba(152, 189, 184, 0.18);
  }

  .elementor-location-header .elementor-element-5043f6b.ngp-mobile-menu-widget {
    position: absolute !important;
    z-index: 10000;
    top: 100%;
    right: 0;
    left: 0;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ngp-mobile-menu-widget #mega-menu-wrap-menu-1 {
    width: 100% !important;
    max-width: none !important;
  }

  .ngp-mobile-menu-widget #mega-menu-wrap-menu-1 .mega-menu-toggle {
    display: none !important;
  }

  .ngp-mobile-menu-widget #mega-menu-menu-1 {
    display: none !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: none !important;
    max-height: calc(100dvh - 95px);
    margin: 0 !important;
    padding: 8px 0 16px !important;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #f8f7f6 !important;
    border-top: 1px solid var(--ngp-line, #d9d5ce) !important;
    box-shadow: 0 16px 32px rgba(31, 31, 28, 0.14) !important;
  }

  .ngp-mobile-menu-widget.ngp-menu-open #mega-menu-menu-1 {
    display: flex !important;
  }

  .ngp-mobile-menu-widget #mega-menu-menu-1 > li.mega-menu-item {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .ngp-mobile-menu-widget #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
    display: flex !important;
    width: 100% !important;
    min-height: 50px !important;
    align-items: center;
    padding: 12px 20px !important;
    color: var(--ngp-ink, #1f1f1c) !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(217, 213, 206, 0.78) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: "IBM Plex Sans", sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
  }

  .ngp-mobile-menu-widget #mega-menu-menu-1 > li.mega-current-menu-item > a.mega-menu-link,
  .ngp-mobile-menu-widget #mega-menu-menu-1 > li.ngp-submenu-open > a.mega-menu-link,
  .ngp-mobile-menu-widget #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link:hover,
  .ngp-mobile-menu-widget #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link:focus-visible {
    color: var(--ngp-ink, #1f1f1c) !important;
    background: rgba(152, 189, 184, 0.18) !important;
    font-weight: 600 !important;
  }

  .ngp-mobile-menu-widget #mega-menu-menu-1 .mega-indicator {
    margin-left: auto !important;
  }

  .ngp-mobile-menu-widget #mega-menu-menu-1 > li.mega-menu-item > ul.mega-sub-menu {
    display: none !important;
  }

  .ngp-mobile-menu-widget #mega-menu-menu-1 > li.ngp-submenu-open ul.mega-sub-menu,
  .ngp-mobile-menu-widget #mega-menu-menu-1 > li.ngp-submenu-open .mega-menu-row,
  .ngp-mobile-menu-widget #mega-menu-menu-1 > li.ngp-submenu-open .mega-menu-column {
    position: static !important;
    display: block !important;
    float: none !important;
    visibility: visible !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .ngp-mobile-menu-widget #mega-menu-menu-1 > li.ngp-submenu-open > ul.mega-sub-menu {
    padding: 8px 12px 14px !important;
    background: #ffffff !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ngp-line, #d9d5ce) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .ngp-mobile-menu-widget #mega-menu-menu-1 > li.ngp-submenu-open ul.mega-sub-menu a.mega-menu-link {
    min-height: 40px !important;
    padding: 9px 16px !important;
    color: var(--ngp-ink, #1f1f1c) !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: "IBM Plex Sans", sans-serif !important;
    font-size: 13.5px !important;
    line-height: 1.4 !important;
  }
}

/* Mantiene il menu mobile sotto l'header, non in fullscreen */
@media (max-width: 767px) {
  .ngp-mobile-menu-widget #mega-menu-menu-1 {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .ngp-mobile-menu-widget #mega-menu-wrap-menu-1 > .mega-close {
    display: none !important;
  }
}
