/* =========================================================
   GLOBAL UNIFIED HEADER & NAVIGATION STYLES
   Exact Font, Weight, & Stable Font-Size across ALL pages
   ========================================================= */

/* Hide unwanted/duplicate categories */
.menu-item-2294,
.menu-item-2310 {
  display: none !important;
}

/* Base Header Container */
.elementor-52,
header.elementor-52,
.elementor-location-header,
header {
  position: relative !important;
  width: 100% !important;
  z-index: 999 !important;
  background-color: transparent !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.elementor-52 .elementor-element.elementor-element-df02ec0,
.elementor-location-header .elementor-element-df02ec0 {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 1vw 3vw !important;
  min-height: 14vh !important;
  position: relative !important;
}

/* DESKTOP LAYOUT (min-width: 1025px) */
@media (min-width: 1025px) {
  /* 1. Logo on Right (order 1 in RTL) */
  .elementor-52 .elementor-element.elementor-element-57a2766,
  .elementor-location-header .elementor-element-57a2766 {
    position: static !important;
    transform: none !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    order: 1 !important;
    flex: 0 0 140px !important;
    width: 140px !important;
    max-width: 140px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 10 !important;
  }

  .elementor-52 .elementor-element.elementor-element-57a2766 > .elementor-widget-container,
  .elementor-location-header .elementor-element-57a2766 > .elementor-widget-container {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
  }

  .elementor-52 .elementor-element.elementor-element-57a2766 img,
  .elementor-location-header .elementor-element-57a2766 img {
    display: block !important;
    max-height: 68px !important;
    height: auto !important;
    width: auto !important;
    max-width: 120px !important;
    object-fit: contain !important;
    cursor: pointer !important;
  }

  /* 2. Menu in Absolute Dead Center (order 2) */
  .elementor-52 .elementor-element.elementor-element-a6df420,
  .elementor-location-header .elementor-element-a6df420 {
    position: static !important;
    transform: none !important;
    order: 2 !important;
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
    padding: 0 10px !important;
    width: auto !important;
    max-width: none !important;
    z-index: 10 !important;
  }

  .elementor-52 .elementor-element.elementor-element-a6df420 .elementor-widget-container,
  .elementor-location-header .elementor-element-a6df420 .elementor-widget-container,
  .elementor-52 .elementor-element.elementor-element-a6df420 .elementor-nav-menu--main,
  .elementor-location-header .elementor-element-a6df420 .elementor-nav-menu--main,
  .elementor-52 .elementor-element.elementor-element-a6df420 ul.elementor-nav-menu,
  .elementor-location-header .elementor-element-a6df420 ul.elementor-nav-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
    width: auto !important;
    gap: clamp(16px, 2vw, 36px) !important;
  }

  .elementor-52 .elementor-element.elementor-element-a6df420 ul.elementor-nav-menu > li,
  .elementor-location-header .elementor-element-a6df420 ul.elementor-nav-menu > li {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Header font and size settings */
  .elementor-52 .elementor-element.elementor-element-a6df420 .elementor-nav-menu .elementor-item,
  .elementor-location-header .elementor-element-a6df420 .elementor-nav-menu .elementor-item,
  .elementor-nav-menu--main .elementor-item {
    font-family: "sprinter", sans-serif !important;
    font-size: clamp(16px, 1.15vw, 18px) !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
    padding: 6px clamp(6px, 0.7vw, 12px) !important;
    color: var(--e-global-color-text, #0E404B) !important;
    fill: var(--e-global-color-text, #0E404B) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .elementor-52 .elementor-element.elementor-element-a6df420 .elementor-nav-menu .elementor-item:hover,
  .elementor-52 .elementor-element.elementor-element-a6df420 .elementor-nav-menu .elementor-item.elementor-item-active,
  .elementor-location-header .elementor-element-a6df420 .elementor-nav-menu .elementor-item:hover,
  .elementor-location-header .elementor-element-a6df420 .elementor-nav-menu .elementor-item.elementor-item-active,
  .elementor-nav-menu--main .elementor-item:hover,
  .elementor-nav-menu--main .elementor-item.elementor-item-active {
    color: var(--e-global-color-primary, #D2A03F) !important;
    fill: var(--e-global-color-primary, #D2A03F) !important;
  }

  /* 3. Donate Button on Left (order 3 in RTL) */
  .elementor-52 .elementor-element.elementor-element-2b3e998,
  .elementor-location-header .elementor-element-2b3e998 {
    position: static !important;
    transform: none !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    order: 3 !important;
    flex: 0 0 140px !important;
    width: 140px !important;
    max-width: 140px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 10 !important;
  }

  .elementor-52 .elementor-element.elementor-element-2b3e998 > .elementor-widget-container,
  .elementor-location-header .elementor-element-2b3e998 > .elementor-widget-container {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 100% !important;
  }

  .elementor-52 .elementor-element.elementor-element-2b3e998 .elementor-button,
  .elementor-location-header .elementor-element-2b3e998 .elementor-button {
    font-family: "sprinter", Sans-serif !important;
    font-size: 16px !important;
    font-weight: bold !important;
    color: var(--e-global-color-text, #0E404B) !important;
    border-style: solid !important;
    border-width: 1px !important;
    border-color: var(--e-global-color-secondary, #4C5968) !important;
    border-radius: 10em !important;
    background-color: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 10px 22px !important;
  }

  .elementor-52 .elementor-element.elementor-element-2b3e998 .elementor-button-content-wrapper,
  .elementor-location-header .elementor-element-2b3e998 .elementor-button-content-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .elementor-52 .elementor-element.elementor-element-2b3e998 .elementor-button-text,
  .elementor-location-header .elementor-element-2b3e998 .elementor-button-text {
    text-align: center !important;
  }

  /* Hide Mobile Elements on Desktop */
  .elementor-52 .elementor-element.elementor-element-754abd2,
  .elementor-location-header .elementor-element-754abd2,
  .elementor-52 .elementor-element.elementor-element-e4580a8,
  .elementor-location-header .elementor-element-e4580a8 {
    display: none !important;
  }
}

/* MOBILE & TABLET LAYOUT (max-width: 1024px) */
@media (max-width: 1024px) {
  .elementor-52 .elementor-element.elementor-element-df02ec0,
  .elementor-location-header .elementor-element-df02ec0 {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 16px !important;
    min-height: 64px !important;
  }

  /* Hamburger Icon on Right */
  .elementor-52 .elementor-element.elementor-element-754abd2,
  .elementor-location-header .elementor-element-754abd2 {
    order: 1 !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
  }

  .elementor-52 .elementor-element.elementor-element-754abd2 > .elementor-widget-container,
  .elementor-location-header .elementor-element-754abd2 > .elementor-widget-container {
    display: flex !important;
    align-items: center !important;
  }

  /* Logo in Dead Center */
  .elementor-52 .elementor-element.elementor-element-57a2766,
  .elementor-location-header .elementor-element-57a2766 {
    order: 2 !important;
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
    position: static !important;
    transform: none !important;
  }

  .elementor-52 .elementor-element.elementor-element-57a2766 > .elementor-widget-container,
  .elementor-location-header .elementor-element-57a2766 > .elementor-widget-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .elementor-52 .elementor-element.elementor-element-57a2766 img,
  .elementor-location-header .elementor-element-57a2766 img {
    max-height: 48px !important;
    width: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }

  /* Donate Button on Left */
  .elementor-52 .elementor-element.elementor-element-2b3e998,
  .elementor-location-header .elementor-element-2b3e998 {
    order: 3 !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    position: static !important;
    transform: none !important;
  }

  .elementor-52 .elementor-element.elementor-element-2b3e998 > .elementor-widget-container,
  .elementor-location-header .elementor-element-2b3e998 > .elementor-widget-container {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }

  .elementor-52 .elementor-element.elementor-element-2b3e998 .elementor-button,
  .elementor-location-header .elementor-element-2b3e998 .elementor-button {
    font-family: "sprinter", Sans-serif !important;
    font-size: 14px !important;
    font-weight: bold !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 8px 16px !important;
  }

  /* Hide Desktop Menu */
  .elementor-52 .elementor-element.elementor-element-a6df420,
  .elementor-location-header .elementor-element-a6df420 {
    display: none !important;
  }
}

/* OFF-CANVAS HAMBURGER MENU FIXES (MOBILE DRAWER) */
.e-off-canvas[aria-hidden="false"] {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  display: block !important;
  z-index: 2147483647 !important;
}

.e-off-canvas[aria-hidden="true"] {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.e-off-canvas__no-scroll {
  overflow: hidden !important;
}

/* Mobile Off-Canvas Drawer text & layout alignment */
.elementor-widget-off-canvas .e-off-canvas__content,
.e-off-canvas__content {
  box-sizing: border-box !important;
}

.elementor-element-6d5845c {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.elementor-element-4d0b034 .elementor-nav-menu--dropdown {
  display: none !important;
}

/* Off-Canvas Navigation Links: Matching Header Font, Weight & Delicate Form Stroke */
.elementor-element-4d0b034 .elementor-nav-menu--main,
.elementor-element-4d0b034 .elementor-nav-menu__container,
.elementor-element-4d0b034 ul.elementor-nav-menu {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  gap: 0 !important;
}

.elementor-element-4d0b034 ul.elementor-nav-menu > li {
  width: 100% !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 8px 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  border-bottom: 1px solid var(--e-global-color-accent, #6F9894) !important; /* Delicate stroke line like form input stroke */
  box-sizing: border-box !important;
}

.elementor-element-4d0b034 ul.elementor-nav-menu > li:last-child {
  border-bottom: none !important;
}

.elementor-element-4d0b034 ul.elementor-nav-menu > li > a {
  font-family: "sprinter", Sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  padding: 10px 0 !important;
  color: var(--e-global-color-text, #0E404B) !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.elementor-element-4d0b034 ul.elementor-nav-menu > li > a:hover,
.elementor-element-4d0b034 ul.elementor-nav-menu > li > a.elementor-item-active {
  color: var(--e-global-color-accent, #6F9894) !important;
}

/* Keep only the main off-canvas menu; Elementor also outputs a duplicate dropdown nav. */
.elementor-location-header .elementor-element-4d0b034 nav.elementor-nav-menu--dropdown {
  display: none !important;
}

/* Give the mobile menu trigger a full, centered tap target so it stays inside the header. */
@media (max-width: 1024px) {
  .elementor-location-header .elementor-element-e4580a8 {
    --e-off-canvas-width: 100vw !important;
  }

  .elementor-location-header .elementor-element-e4580a8 .e-off-canvas__content {
    width: 100vw !important;
    max-width: 100vw !important;
  }

  .elementor-location-header .elementor-element-754abd2 {
    box-sizing: border-box !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    overflow: visible !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 2 !important;
  }

  .elementor-location-header .elementor-element-754abd2 > .elementor-widget-container,
  .elementor-location-header .elementor-element-754abd2 .elementor-icon-wrapper,
  .elementor-location-header .elementor-element-754abd2 a.elementor-icon {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
  }

  .elementor-location-header .elementor-element-754abd2 svg {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
  }

  body.e-off-canvas__no-scroll .elementor-location-header .elementor-element-754abd2 {
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* Keep the hamburger categories on the same Sprinter font and regular weight as the header. */
.elementor-location-header .elementor-element.elementor-element-4d0b034 .elementor-nav-menu .elementor-item {
  font-family: "sprinter", sans-serif !important;
  font-weight: 400 !important;
}

/* Remove Elementor's default thick underline pointer effect on active/hovered items */
.elementor-element-4d0b034 .elementor-nav-menu a.elementor-item:before,
.elementor-element-4d0b034 .elementor-nav-menu a.elementor-item:after,
.elementor-element-4d0b034 .elementor-nav-menu a.elementor-item-active:before,
.elementor-element-4d0b034 .elementor-nav-menu a.elementor-item-active:after {
  display: none !important;
  content: none !important;
  height: 0 !important;
  border: none !important;
  background: none !important;
}

.elementor-element-4d0b034 .elementor-nav-menu a.elementor-item,
.elementor-element-4d0b034 .elementor-nav-menu a.elementor-item-active {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.elementor-element-4d0b034 nav.e--pointer-underline .elementor-item:before,
.elementor-element-4d0b034 nav.e--pointer-underline .elementor-item:after,
.elementor-element-4d0b034 .e--pointer-underline .elementor-item:before,
.elementor-element-4d0b034 .e--pointer-underline .elementor-item:after {
  display: none !important;
  content: none !important;
  height: 0 !important;
  width: 0 !important;
  border: none !important;
  background: none !important;
}
