/* Force HRA main menu to be horizontal */
header.elementor-element-75ab44a
  .elementor-icon-list-items.elementor-inline-items {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* Make each item truly inline */
header.elementor-element-75ab44a
  .elementor-icon-list-item.elementor-inline-item {
    display: inline-flex !important;
    align-items: center;
}

/* ===== MOBILE NAV RESPONSIVE FIXES ===== */

/* Cancel button: always hidden globally */
.hra-mobile-close-btn {
  display: none !important;
}

@media (max-width: 1024px) {
  /* Fix header overflow on mobile/tablet */
  header.elementor-element-75ab44a,
  header.elementor-element-75ab44a .elementor-container {
    overflow: hidden !important;
  }

  /* Fix the inner section container on mobile */
  header.elementor-element-75ab44a .elementor-element-a938ba8 .elementor-container,
  header.elementor-element-75ab44a .elementor-element-6af51b3 > .elementor-widget-wrap {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Fix logo column and hamburger column layout on mobile */
  header.elementor-element-75ab44a .elementor-element-3c7d7bf {
    width: auto !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 64px) !important;
  }

  header.elementor-element-75ab44a .elementor-element-bb15b57 {
    width: 64px !important;
    flex: 0 0 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
  }

  /* Fix logo image sizing inside the column */
  header.elementor-element-75ab44a .elementor-element-3c7d7bf img {
    max-width: 140px !important;
    width: auto !important;
    height: auto !important;
  }

  /* Fix any widget max-width inside logo col */
  header.elementor-element-75ab44a .elementor-element-3c7d7bf .elementor-widget-wrap {
    width: 100% !important;
    max-width: 100% !important;
  }

  header.elementor-element-75ab44a .elementor-element-3c7d7bf .elementor-widget {
    max-width: 100% !important;
  }

  /* Show the hamburger toggle */
  .hra-mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Mobile nav: hidden by default, covers full viewport when open */
  #hra-mobile-nav,
  .hra-mobile-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    max-height: 100vh !important;
    z-index: 999999 !important;
    overflow-y: auto !important;
    background: rgb(26, 45, 90) !important;
    display: none;
  }

  /* When open, show as flex column */
  #hra-mobile-nav.open,
  .hra-mobile-menu.open {
    display: flex !important;
    flex-direction: column !important;
    padding-top: 70px !important;
  }

  /* Nav links fill width */
  .hra-mobile-menu ul {
    width: 100% !important;
  }

  .hra-mobile-menu ul li a {
    padding: 18px 24px !important;
    font-size: 18px !important;
  }

  /* Cancel / Close button styling */
  .hra-mobile-close-btn {
    display: none !important;
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    width: 44px !important;
    height: 44px !important;
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    z-index: 1000001 !important;
    color: #fff !important;
    font-size: 20px !important;
    line-height: 1 !important;
    padding: 0 !important;
  }

  /* Show close button when nav is open */
  .hra-mobile-menu.open .hra-mobile-close-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}