/* Changes for running the original layouts independently of Wix. */
body,
body.device-mobile-optimized {
  --wix-ads-height: 0px !important;
  --sticky-offset: 0px !important;
  --wix-ads-top-height: 0px !important;
}

.skip-link {
  position: fixed;
  z-index: 100001;
  inset: 12px auto auto 12px;
  padding: 10px 16px;
  font: 16px Arial, sans-serif;
  color: #141416;
  background: white;
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

#comp-m607dqkb,
#comp-m607dqkbitemsContainer { visibility: visible; }

/* Match the vertical position of the menu labels in the published desktop header. */
#comp-m607dqkbitemsContainer { translate: 0 15px; }

#MENU_AS_CONTAINER_TOGGLE {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

#mobile-navigation {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 112px 0 20px;
  border: 0;
  background: #141416;
  color: #fafafa;
}
html:has(#mobile-navigation[open]) { overflow: hidden; }

#mobile-navigation nav {
  width: min(280px, 100%);
  margin-inline: auto;
}
#mobile-navigation nav a {
  display: grid;
  min-height: 68px;
  padding-inline: 12px;
  place-items: center;
  font: 14px/1.4 'open sans', sans-serif;
  text-align: center;
  color: inherit;
  text-decoration: none;
}
#mobile-navigation a[aria-current="page"] { color: #d65454; }

.mobile-navigation-close {
  position: absolute;
  top: 44px;
  right: 16px;
  width: 36px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.mobile-navigation-close::before,
.mobile-navigation-close::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 22px;
  height: 2px;
  background: currentColor;
  content: '';
  translate: -50% -50%;
  rotate: 45deg;
}
.mobile-navigation-close::after { rotate: -45deg; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
