.emmg-hm-widget {
  --emmg-hm-overlay-bg: #101010;
  --emmg-hm-overlay-opacity: 0.88;
  --emmg-hm-overlay-blur: 10px;
  --emmg-hm-drawer-width: min(86vw, 420px);
  --emmg-hm-drawer-bg: #D9E0D6;
  --emmg-hm-bar-color: #111111;
  --emmg-hm-bar-opacity: 1;
  --emmg-hm-bar-thickness: 2px;
  --emmg-hm-bar-width: 30px;
  --emmg-hm-bar-gap: 7px;
  position: relative;
  display: inline-flex;
  pointer-events: auto;
}

.emmg-hm-button {
  position: relative;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2147483646;
  padding: 0;
  pointer-events: auto;
}

.emmg-hm-widget.is-editor .emmg-hm-overlay {
  display: none !important;
}

.emmg-hm-typography-probe {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
}

.emmg-hm-overlay-color-probe {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  background-color: #101010;
}

.emmg-hm-button:hover,
.emmg-hm-button:active,
.emmg-hm-button:focus {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

.emmg-hm-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

.emmg-hm-button::before,
.emmg-hm-button::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
}

.emmg-hm-bars {
  position: relative;
  width: var(--emmg-hm-bar-width);
  height: calc(var(--emmg-hm-bar-gap) * 2 + var(--emmg-hm-bar-thickness) * 3);
  display: block;
}

.emmg-hm-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--emmg-hm-bar-thickness);
  background-color: var(--emmg-hm-bar-color);
  border-radius: 999px;
  opacity: var(--emmg-hm-bar-opacity);
  transform-origin: center;
  transition: transform 0.28s ease, opacity 0.2s ease, top 0.28s ease;
}

.emmg-hm-widget:not(.is-open) .emmg-hm-button:hover .emmg-hm-bars span:nth-child(1) {
  transform: translateX(3px);
}

.emmg-hm-widget:not(.is-open) .emmg-hm-button:hover .emmg-hm-bars span:nth-child(2) {
  transform: translateX(-3px);
}

.emmg-hm-widget:not(.is-open) .emmg-hm-button:hover .emmg-hm-bars span:nth-child(3) {
  transform: translateX(2px);
}

.emmg-hm-bars span:nth-child(1) {
  top: 0;
}

.emmg-hm-bars span:nth-child(2) {
  top: calc(var(--emmg-hm-bar-gap) + var(--emmg-hm-bar-thickness));
}

.emmg-hm-bars span:nth-child(3) {
  top: calc(var(--emmg-hm-bar-gap) * 2 + var(--emmg-hm-bar-thickness) * 2);
}

.emmg-hm-widget.is-open .emmg-hm-bars span:nth-child(1) {
  top: calc(var(--emmg-hm-bar-gap) + var(--emmg-hm-bar-thickness));
  transform: rotate(45deg);
}

.emmg-hm-widget.is-open .emmg-hm-bars span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}

.emmg-hm-widget.is-open .emmg-hm-bars span:nth-child(3) {
  top: calc(var(--emmg-hm-bar-gap) + var(--emmg-hm-bar-thickness));
  transform: rotate(-45deg);
}

.emmg-hm-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483645;
  display: block;
  opacity: 0;
  pointer-events: none;
  background: transparent;
  backdrop-filter: blur(var(--emmg-hm-overlay-blur));
  -webkit-backdrop-filter: blur(var(--emmg-hm-overlay-blur));
  transition: opacity 0.28s ease;
}

.emmg-hm-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--emmg-hm-overlay-bg);
  opacity: var(--emmg-hm-overlay-opacity);
}

.emmg-hm-widget.is-open .emmg-hm-overlay {
  opacity: 1;
  pointer-events: auto;
}

.emmg-hm-menu {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  box-sizing: border-box;
  width: var(--emmg-hm-drawer-width);
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: auto;
  padding: 96px 32px 32px;
  background: var(--emmg-hm-drawer-bg);
  box-shadow: -24px 0 64px rgba(0, 0, 0, .28);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.emmg-hm-widget.is-open .emmg-hm-menu {
  transform: translateX(0);
}

.emmg-hm-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.emmg-hm-menu a {
  display: inline-block;
  color: #111111;
  text-decoration: none;
  line-height: 1.1;
  font-size: clamp(26px, 5vw, 56px);
  font-weight: 600;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.emmg-hm-menu a:hover,
.emmg-hm-menu a:focus-visible {
  opacity: 0.82;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

.emmg-hm-menu a::before,
.emmg-hm-menu a::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
}

body.emmg-hm-open {
  overflow: hidden;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .emmg-hm-overlay {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
