.elementor-widget-em-header-navigation {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
}

.elementor-widget-em-header-navigation > .elementor-widget-container,
.em-header-menu {
  width: 100%;
  min-width: 0;
}

.em-header-menu {
  position: relative;
  z-index: 20;
  color: #20242a;
  font-size: var(--em-hm-font-size, 14px);
}

.em-header-menu *,
.em-header-menu *::before,
.em-header-menu *::after {
  box-sizing: border-box;
}

.em-header-menu__bar {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.em-header-menu__nav {
  display: flex;
  min-width: 0;
  align-items: center;
}

.em-header-menu__list,
.em-header-menu__list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.em-header-menu__list {
  display: flex;
  align-items: center;
  gap: var(--em-hm-gap, 20px);
}

.em-header-menu__list li {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.em-header-menu__list > li > a,
.em-header-menu__list > li > a:link,
.em-header-menu__list > li > a:visited {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--em-hm-link-color, #20242a);
  font-size: inherit;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

.em-header-menu__list > li > a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--em-hm-link-hover, #e60012);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.em-header-menu__list > li > a:hover,
.em-header-menu__list > li > a:focus-visible,
.em-header-menu__list > li.current-menu-item > a,
.em-header-menu__list > li.current-menu-ancestor > a {
  color: var(--em-hm-link-hover, #e60012);
}

.em-header-menu__list > li > a:hover::after,
.em-header-menu__list > li > a:focus-visible::after,
.em-header-menu__list > li.current-menu-item > a::after,
.em-header-menu__list > li.current-menu-ancestor > a::after {
  transform: scaleX(1);
}

.em-header-menu__list li.menu-item-has-children > a::before {
  width: 6px;
  height: 6px;
  margin: 0 0 3px 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  order: 2;
  transform: rotate(45deg);
}

.em-header-menu__list .sub-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  z-index: 30;
  display: none;
  min-width: 210px;
  padding: 8px;
  border: 1px solid #ecebea;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(32, 36, 42, .12);
}

.em-header-menu__list li:hover > .sub-menu,
.em-header-menu__list li:focus-within > .sub-menu {
  display: block;
}

.em-header-menu__list .sub-menu li > a {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 9px 12px;
  color: var(--em-hm-link-color, #20242a);
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease;
}

.em-header-menu__list .sub-menu li > a:hover,
.em-header-menu__list .sub-menu li > a:focus-visible {
  color: var(--em-hm-link-hover, #e60012);
  background: #fff7f7;
}

.em-header-menu__actions {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.em-header-menu__member {
  position: relative;
}

.em-header-menu__member-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 3px 5px;
  border: 0;
  background: transparent;
  color: var(--em-hm-member-color, #20242a);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
}

.em-header-menu__member-toggle:hover,
.em-header-menu__member-toggle:focus-visible,
.em-header-menu__member-toggle[aria-expanded="true"] {
  color: var(--em-hm-link-hover, #e60012);
}

.em-header-menu__member-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid #e8e8e6;
  border-radius: 50%;
  color: inherit;
  transition: border-color .2s ease, background-color .2s ease;
}

.em-header-menu__member-icon svg {
  display: block;
  width: 17px;
  height: 17px;
}

.em-header-menu__member-toggle:hover .em-header-menu__member-icon,
.em-header-menu__member-toggle[aria-expanded="true"] .em-header-menu__member-icon {
  border-color: #f1b4b9;
  background: #fff8f8;
}

.em-header-menu__chevron {
  width: 7px;
  height: 7px;
  margin: -3px 2px 0 1px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.em-header-menu__member-toggle[aria-expanded="true"] .em-header-menu__chevron {
  transform: translateY(3px) rotate(225deg);
}

.em-header-menu__member-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 40;
  width: 310px;
  padding: 21px;
  border: 1px solid #ecebea;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(32, 36, 42, .14);
}

.em-header-menu__member-panel[hidden] {
  display: none !important;
}

.em-header-menu__member-title {
  margin: 0 0 5px;
  color: #20242a;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 19px;
  font-weight: 700;
}

.em-header-menu__member-intro {
  margin: 0 0 15px;
  color: #737b83;
  font-size: 12px;
  line-height: 1.7;
}

.em-header-menu__member-setup-note {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-left: 2px solid var(--em-hm-link-hover, #e60012);
  background: #faf9f7;
  color: #737b83;
  font-size: 11px;
  line-height: 1.65;
}

.em-header-menu__member-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.em-header-menu__member-links a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid #e7e7e5;
  color: #20242a;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.em-header-menu__member-links a:hover,
.em-header-menu__member-links a:focus-visible {
  border-color: #efb6bb;
  color: #e60012;
  background: #fffafa;
}

.em-header-menu__employee-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid #eeeeec;
  color: #737b83;
  font-size: 11px;
  line-height: 1.7;
}

.em-header-menu__business {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--em-hm-cta-bg, #e60012);
  border-radius: var(--em-hm-cta-radius, 2px);
  background: var(--em-hm-cta-bg, #e60012);
  color: var(--em-hm-cta-text, #fff) !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.em-header-menu__business:link,
.em-header-menu__business:visited,
.em-header-menu__business:hover,
.em-header-menu__business:focus-visible,
.em-header-menu__business:active {
  color: var(--em-hm-cta-text, #fff) !important;
}

.em-header-menu__business:hover,
.em-header-menu__business:focus-visible,
.em-header-menu__business:active {
  border-color: var(--em-hm-cta-hover-bg, #c90010);
  background: var(--em-hm-cta-hover-bg, #c90010);
  color: var(--em-hm-cta-hover-text, #fff) !important;
  box-shadow: 0 8px 18px rgba(230, 0, 18, .18);
  transform: translateY(-2px);
}

.em-header-menu__business span {
  color: inherit;
  font-size: 14px;
  line-height: 1;
  transition: transform .2s ease;
}

.em-header-menu__business:hover span,
.em-header-menu__business:focus-visible span {
  transform: translateX(3px);
}

.em-header-menu__business--mobile,
.em-header-menu__mobile-actions,
.em-header-menu__toggle {
  display: none;
}

.em-header-menu button.em-header-menu__toggle,
.em-header-menu button.em-header-menu__toggle:hover,
.em-header-menu button.em-header-menu__toggle:focus-visible,
.em-header-menu button.em-header-menu__toggle:active {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border: 1px solid #e8e8e6 !important;
  border-radius: 2px !important;
  background: #fff !important;
  color: #20242a !important;
  box-shadow: none !important;
}

.em-header-menu__toggle {
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #e8e8e6;
  border-radius: 2px;
  background: #fff;
  color: #20242a;
  cursor: pointer;
}

.em-header-menu__toggle svg {
  display: block;
  width: 20px;
  height: 20px;
}

.em-header-menu__empty {
  padding: 10px 14px;
  border: 1px dashed #deddda;
  color: #737b83;
  font-size: 12px;
}

.em-header-menu__mobile-member-group {
  display: grid;
  gap: 7px;
}

.em-header-menu__mobile-member-heading {
  color: #737b83;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}

.em-header-menu__mobile-member-note {
  padding: 9px 12px;
  background: #faf9f7;
  color: #737b83;
  font-size: 11px;
  line-height: 1.6;
}

.em-header-menu__mobile-member-group > a {
  display: flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #e7e7e5;
  color: #20242a;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.em-header-menu__mobile-member-group > a:hover,
.em-header-menu__mobile-member-group > a:focus-visible {
  border-color: #efb6bb;
  color: #e60012;
  background: #fffafa;
}

@media (max-width: 767px) {
  .em-header-menu--breakpoint-mobile .em-header-menu__bar {
    position: relative;
    gap: 8px;
  }
  .em-header-menu--breakpoint-mobile .em-header-menu__nav {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    z-index: 35;
    display: none;
    width: min(420px, calc(100vw - 32px));
    max-height: min(75vh, 620px);
    flex-direction: column;
    align-items: stretch;
    overflow: auto;
    padding: 14px 18px 18px;
    border: 1px solid #ecebea;
    border-radius: 4px;
    background: var(--em-hm-panel-bg, #fff);
    box-shadow: 0 18px 38px rgba(32, 36, 42, .14);
  }
  .em-header-menu--breakpoint-mobile.is-nav-open .em-header-menu__nav { display: flex; }
  .em-header-menu--breakpoint-mobile .em-header-menu__list { width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .em-header-menu--breakpoint-mobile .em-header-menu__list > li { width: 100%; border-bottom: 1px solid #eeeeec; }
  .em-header-menu--breakpoint-mobile .em-header-menu__list > li > a { display: flex; min-height: 48px; white-space: normal; }
  .em-header-menu--breakpoint-mobile .em-header-menu__list > li > a::after { right: auto; width: 30px; }
  .em-header-menu--breakpoint-mobile .em-header-menu__list .sub-menu { position: static; display: block; min-width: 0; padding: 0 0 8px 12px; border: 0; background: transparent; box-shadow: none; }
  .em-header-menu--breakpoint-mobile .em-header-menu__list .sub-menu li > a { min-height: 40px; white-space: normal; }
  .em-header-menu--breakpoint-mobile .em-header-menu__mobile-actions { display: grid; width: 100%; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #eeeeec; }
  .em-header-menu--breakpoint-mobile .em-header-menu__mobile-actions > a:not(.em-header-menu__business) { display: flex; min-height: 43px; align-items: center; padding: 9px 12px; border: 1px solid #e7e7e5; color: #20242a; font-size: 13px; font-weight: 700; text-decoration: none; }
  .em-header-menu--breakpoint-mobile .em-header-menu__business--desktop { display: none; }
  .em-header-menu--breakpoint-mobile .em-header-menu__business--mobile { display: inline-flex; width: fit-content; max-width: 100%; min-width: 148px; min-height: 40px; justify-self: start; padding-inline: 14px; }
  .em-header-menu--breakpoint-mobile .em-header-menu__toggle { display: inline-flex; }
  .em-header-menu--breakpoint-mobile .em-header-menu__member-label,
  .em-header-menu--breakpoint-mobile .em-header-menu__chevron { display: none; }
  .em-header-menu--breakpoint-mobile .em-header-menu__member-toggle { min-width: 42px; justify-content: center; }
  .em-header-menu--breakpoint-mobile .em-header-menu__member-panel { position: absolute; top: calc(100% + 8px); right: 0; width: min(310px, calc(100vw - 32px)); }
}

@media (max-width: 1024px) {
  .em-header-menu--breakpoint-tablet .em-header-menu__bar,
  .em-header-menu--breakpoint-wide .em-header-menu__bar { position: relative; gap: 8px; }
  .em-header-menu--breakpoint-tablet .em-header-menu__nav,
  .em-header-menu--breakpoint-wide .em-header-menu__nav { position: absolute; top: calc(100% + 9px); right: 0; z-index: 35; display: none; width: min(420px, calc(100vw - 32px)); max-height: min(75vh, 620px); flex-direction: column; align-items: stretch; overflow: auto; padding: 14px 18px 18px; border: 1px solid #ecebea; border-radius: 4px; background: var(--em-hm-panel-bg, #fff); box-shadow: 0 18px 38px rgba(32, 36, 42, .14); }
  .em-header-menu--breakpoint-tablet.is-nav-open .em-header-menu__nav,
  .em-header-menu--breakpoint-wide.is-nav-open .em-header-menu__nav { display: flex; }
  .em-header-menu--breakpoint-tablet .em-header-menu__list,
  .em-header-menu--breakpoint-wide .em-header-menu__list { width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .em-header-menu--breakpoint-tablet .em-header-menu__list > li,
  .em-header-menu--breakpoint-wide .em-header-menu__list > li { width: 100%; border-bottom: 1px solid #eeeeec; }
  .em-header-menu--breakpoint-tablet .em-header-menu__list > li > a,
  .em-header-menu--breakpoint-wide .em-header-menu__list > li > a { display: flex; min-height: 48px; white-space: normal; }
  .em-header-menu--breakpoint-tablet .em-header-menu__list > li > a::after,
  .em-header-menu--breakpoint-wide .em-header-menu__list > li > a::after { right: auto; width: 30px; }
  .em-header-menu--breakpoint-tablet .em-header-menu__list .sub-menu,
  .em-header-menu--breakpoint-wide .em-header-menu__list .sub-menu { position: static; display: block; min-width: 0; padding: 0 0 8px 12px; border: 0; background: transparent; box-shadow: none; }
  .em-header-menu--breakpoint-tablet .em-header-menu__list .sub-menu li > a,
  .em-header-menu--breakpoint-wide .em-header-menu__list .sub-menu li > a { min-height: 40px; white-space: normal; }
  .em-header-menu--breakpoint-tablet .em-header-menu__mobile-actions,
  .em-header-menu--breakpoint-wide .em-header-menu__mobile-actions { display: grid; width: 100%; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #eeeeec; }
  .em-header-menu--breakpoint-tablet .em-header-menu__mobile-actions > a:not(.em-header-menu__business),
  .em-header-menu--breakpoint-wide .em-header-menu__mobile-actions > a:not(.em-header-menu__business) { display: flex; min-height: 43px; align-items: center; padding: 9px 12px; border: 1px solid #e7e7e5; color: #20242a; font-size: 13px; font-weight: 700; text-decoration: none; }
  .em-header-menu--breakpoint-tablet .em-header-menu__business--desktop,
  .em-header-menu--breakpoint-wide .em-header-menu__business--desktop { display: none; }
  .em-header-menu--breakpoint-tablet .em-header-menu__business--mobile,
  .em-header-menu--breakpoint-wide .em-header-menu__business--mobile { display: inline-flex; width: fit-content; max-width: 100%; min-width: 148px; min-height: 40px; justify-self: start; padding-inline: 14px; }
  .em-header-menu--breakpoint-tablet .em-header-menu__toggle,
  .em-header-menu--breakpoint-wide .em-header-menu__toggle { display: inline-flex; }
  .em-header-menu--breakpoint-tablet .em-header-menu__member-label,
  .em-header-menu--breakpoint-tablet .em-header-menu__chevron,
  .em-header-menu--breakpoint-wide .em-header-menu__member-label,
  .em-header-menu--breakpoint-wide .em-header-menu__chevron { display: none; }
  .em-header-menu--breakpoint-tablet .em-header-menu__member-toggle,
  .em-header-menu--breakpoint-wide .em-header-menu__member-toggle { min-width: 42px; justify-content: center; }
  .em-header-menu--breakpoint-tablet .em-header-menu__member-panel,
  .em-header-menu--breakpoint-wide .em-header-menu__member-panel { position: absolute; top: calc(100% + 8px); right: 0; width: min(310px, calc(100vw - 32px)); }
}

@media (max-width: 1200px) {
  .em-header-menu--breakpoint-wide .em-header-menu__bar { position: relative; gap: 8px; }
  .em-header-menu--breakpoint-wide .em-header-menu__nav { position: absolute; top: calc(100% + 9px); right: 0; z-index: 35; display: none; width: min(420px, calc(100vw - 32px)); max-height: min(75vh, 620px); flex-direction: column; align-items: stretch; overflow: auto; padding: 14px 18px 18px; border: 1px solid #ecebea; border-radius: 4px; background: var(--em-hm-panel-bg, #fff); box-shadow: 0 18px 38px rgba(32, 36, 42, .14); }
  .em-header-menu--breakpoint-wide.is-nav-open .em-header-menu__nav { display: flex; }
  .em-header-menu--breakpoint-wide .em-header-menu__list { width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .em-header-menu--breakpoint-wide .em-header-menu__list > li { width: 100%; border-bottom: 1px solid #eeeeec; }
  .em-header-menu--breakpoint-wide .em-header-menu__list > li > a { display: flex; min-height: 48px; white-space: normal; }
  .em-header-menu--breakpoint-wide .em-header-menu__list > li > a::after { right: auto; width: 30px; }
  .em-header-menu--breakpoint-wide .em-header-menu__list .sub-menu { position: static; display: block; min-width: 0; padding: 0 0 8px 12px; border: 0; background: transparent; box-shadow: none; }
  .em-header-menu--breakpoint-wide .em-header-menu__list .sub-menu li > a { min-height: 40px; white-space: normal; }
  .em-header-menu--breakpoint-wide .em-header-menu__mobile-actions { display: grid; width: 100%; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #eeeeec; }
  .em-header-menu--breakpoint-wide .em-header-menu__mobile-actions > a:not(.em-header-menu__business) { display: flex; min-height: 43px; align-items: center; padding: 9px 12px; border: 1px solid #e7e7e5; color: #20242a; font-size: 13px; font-weight: 700; text-decoration: none; }
  .em-header-menu--breakpoint-wide .em-header-menu__business--desktop { display: none; }
  .em-header-menu--breakpoint-wide .em-header-menu__business--mobile { display: inline-flex; width: fit-content; max-width: 100%; min-width: 148px; min-height: 40px; justify-self: start; padding-inline: 14px; }
  .em-header-menu--breakpoint-wide .em-header-menu__toggle { display: inline-flex; }
  .em-header-menu--breakpoint-wide .em-header-menu__member-label,
  .em-header-menu--breakpoint-wide .em-header-menu__chevron { display: none; }
  .em-header-menu--breakpoint-wide .em-header-menu__member-toggle { min-width: 42px; justify-content: center; }
  .em-header-menu--breakpoint-wide .em-header-menu__member-panel { position: absolute; top: calc(100% + 8px); right: 0; width: min(310px, calc(100vw - 32px)); }
}

@media (prefers-reduced-motion: reduce) {
  .em-header-menu *,
  .em-header-menu *::before,
  .em-header-menu *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
