.hc-menu {
  --hc-menu-color: currentColor;
  --hc-menu-hover-color: currentColor;
  --hc-menu-active-color: currentColor;
  --hc-menu-column-gap: 28px;
  --hc-menu-row-gap: 12px;
  --hc-menu-duration: 240ms;
  --hc-menu-ease: cubic-bezier(.2,.78,.25,1);
  --hc-menu-effect-pad-x: 0px;
  --hc-menu-effect-pad-y: 0px;
  --hc-menu-underline-color: currentColor;
  --hc-menu-underline-thickness: 2px;
  --hc-menu-underline-distance: 6px;
  --hc-menu-underline-max: 100%;
  --hc-menu-underline-start: 28%;
  --hc-menu-pill-fill: rgba(0,0,0,.07);
  --hc-menu-pill-active-fill: rgba(0,0,0,.11);
  --hc-menu-pill-active-text: var(--hc-menu-active-color);
  --hc-menu-pill-border: rgba(0,0,0,.12);
  --hc-menu-pill-border-width: 1px;
  --hc-menu-pill-radius: 999px;
  --hc-menu-pill-rest-y: 0px;
  --hc-menu-pill-hover-y: -1px;
  --hc-menu-pill-press-y: 1px;
  --hc-menu-fill-color: rgba(0,0,0,.07);
  --hc-menu-fill-radius: 8px;
  --hc-menu-bracket-color: currentColor;
  --hc-menu-bracket-height: 16px;
  --hc-menu-bracket-thickness: 1px;
  --hc-menu-bracket-outer: 14px;
  --hc-menu-bracket-hover: 5px;
  --hc-menu-marker-color: currentColor;
  --hc-menu-marker-size: 6px;
  --hc-menu-marker-offset: 7px;
  --hc-menu-lift: 2px;
  --hc-menu-lift-spacing: 1px;
  --hc-menu-lift-opacity: 1;
  --hc-menu-submenu-color: #30342f;
  --hc-menu-submenu-hover: #111;
  --hc-menu-submenu-active: #111;
  --hc-menu-submenu-bg: #fff;
  --hc-menu-submenu-offset: 10px;
  --hc-menu-submenu-gap: 4px;
  --hc-menu-focus: currentColor;
  --hc-menu-focus-width: 2px;
  --hc-menu-focus-offset: 4px;
  position: relative;
  z-index: 10;
  width: 100%;
  color: var(--hc-menu-color);
}

.hc-menu--ease-soft { --hc-menu-ease: cubic-bezier(.25,.7,.25,1); }
.hc-menu--ease-standard { --hc-menu-ease: ease; }
.hc-menu--ease-linear { --hc-menu-ease: linear; }

.hc-menu ul,
.hc-menu li {
  box-sizing: border-box;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hc-menu__list--root {
  display: flex;
  align-items: center;
  column-gap: var(--hc-menu-column-gap);
  row-gap: var(--hc-menu-row-gap);
  width: 100%;
}

.hc-menu--layout-horizontal .hc-menu__list--root { flex-direction: row; }
.hc-menu--layout-vertical .hc-menu__list--root { flex-direction: column; align-items: stretch; }
.hc-menu--wrap .hc-menu__list--root { flex-wrap: wrap; }

.hc-menu .menu-item { position: relative; }

.hc-menu__list--root > .menu-item > a,
.hc-menu__submenu a {
  color: inherit;
  text-decoration: none;
}

.hc-menu__list--root > .menu-item > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.4em;
  color: var(--hc-menu-color);
  white-space: nowrap;
  transition: color var(--hc-menu-duration) var(--hc-menu-ease);
}

.hc-menu__list--root > .menu-item > a:hover,
.hc-menu__list--root > .menu-item > a:focus-visible {
  color: var(--hc-menu-hover-color);
}

.hc-menu__list--root > .current-menu-item > a,
.hc-menu__list--root > .current-menu-parent > a,
.hc-menu__list--root > .current-menu-ancestor > a,
.hc-menu__list--root > .current_page_item > a,
.hc-menu__list--root > .current_page_ancestor > a {
  color: var(--hc-menu-active-color);
}

.hc-menu a:focus-visible {
  outline: var(--hc-menu-focus-width) solid var(--hc-menu-focus);
  outline-offset: var(--hc-menu-focus-offset);
}

.hc-menu__label {
  position: relative;
  z-index: 1;
  display: inline-block;
}

/* Editorial underline */
.hc-menu--hover-editorial-underline .hc-menu__list--root > .menu-item > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(var(--hc-menu-underline-distance) * -1);
  width: var(--hc-menu-underline-start);
  height: var(--hc-menu-underline-thickness);
  border-radius: 999px;
  background: var(--hc-menu-underline-color);
  opacity: 0;
  transform: translateX(-50%);
  transform-origin: center;
  transition: opacity var(--hc-menu-duration) var(--hc-menu-ease), width var(--hc-menu-duration) var(--hc-menu-ease), transform var(--hc-menu-duration) var(--hc-menu-ease);
}

.hc-menu--underline-origin-left .hc-menu__list--root > .menu-item > a::after { left: 0; transform: none; transform-origin: left; }
.hc-menu--underline-origin-right .hc-menu__list--root > .menu-item > a::after { left: auto; right: 0; transform: none; transform-origin: right; }
.hc-menu--hover-editorial-underline .hc-menu__list--root > .menu-item > a:hover::after,
.hc-menu--hover-editorial-underline .hc-menu__list--root > .menu-item > a:focus-visible::after,
.hc-menu--hover-editorial-underline.hc-menu--underline-active .hc-menu__list--root > .current-menu-item > a::after,
.hc-menu--hover-editorial-underline.hc-menu--underline-active .hc-menu__list--root > .current-menu-parent > a::after,
.hc-menu--hover-editorial-underline.hc-menu--underline-active .hc-menu__list--root > .current-menu-ancestor > a::after {
  opacity: 1;
  width: var(--hc-menu-underline-max);
  transform: translateX(-50%);
}
.hc-menu--underline-origin-left .hc-menu__list--root > .menu-item > a:hover::after,
.hc-menu--underline-origin-left .hc-menu__list--root > .menu-item > a:focus-visible::after,
.hc-menu--underline-origin-right .hc-menu__list--root > .menu-item > a:hover::after,
.hc-menu--underline-origin-right .hc-menu__list--root > .menu-item > a:focus-visible::after,
.hc-menu--underline-origin-left.hc-menu--underline-active .hc-menu__list--root > .current-menu-item > a::after,
.hc-menu--underline-origin-left.hc-menu--underline-active .hc-menu__list--root > .current-menu-parent > a::after,
.hc-menu--underline-origin-left.hc-menu--underline-active .hc-menu__list--root > .current-menu-ancestor > a::after,
.hc-menu--underline-origin-right.hc-menu--underline-active .hc-menu__list--root > .current-menu-item > a::after,
.hc-menu--underline-origin-right.hc-menu--underline-active .hc-menu__list--root > .current-menu-parent > a::after,
.hc-menu--underline-origin-right.hc-menu--underline-active .hc-menu__list--root > .current-menu-ancestor > a::after { width: var(--hc-menu-underline-max); transform: none; }

/* Pressed pill and soft fill reserve padding at rest to avoid reflow. */
.hc-menu--hover-pressed-pill .hc-menu__list--root > .menu-item > a,
.hc-menu--hover-soft-fill .hc-menu__list--root > .menu-item > a {
  padding: var(--hc-menu-effect-pad-y) var(--hc-menu-effect-pad-x);
}

.hc-menu--hover-pressed-pill .hc-menu__label::before,
.hc-menu--hover-soft-fill .hc-menu__label::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: calc(var(--hc-menu-effect-pad-y) * -1) calc(var(--hc-menu-effect-pad-x) * -1);
  pointer-events: none;
}

.hc-menu--hover-pressed-pill .hc-menu__label { transform: translateY(var(--hc-menu-pill-rest-y)); transition: transform var(--hc-menu-duration) var(--hc-menu-ease); }
.hc-menu--hover-pressed-pill .hc-menu__label::before {
  border: var(--hc-menu-pill-border-width) solid var(--hc-menu-pill-border);
  border-radius: var(--hc-menu-pill-radius);
  background: var(--hc-menu-pill-fill);
  opacity: 0;
  transform: scale(.96);
  transition: opacity var(--hc-menu-duration) var(--hc-menu-ease), transform var(--hc-menu-duration) var(--hc-menu-ease), background var(--hc-menu-duration) var(--hc-menu-ease);
}
.hc-menu--hover-pressed-pill .menu-item > a:hover .hc-menu__label,
.hc-menu--hover-pressed-pill .menu-item > a:focus-visible .hc-menu__label { transform: translateY(var(--hc-menu-pill-hover-y)); }
.hc-menu--hover-pressed-pill .menu-item > a:active .hc-menu__label { transform: translateY(var(--hc-menu-pill-press-y)); }
.hc-menu--hover-pressed-pill .menu-item > a:hover .hc-menu__label::before,
.hc-menu--hover-pressed-pill .menu-item > a:focus-visible .hc-menu__label::before,
.hc-menu--hover-pressed-pill .current-menu-item > a .hc-menu__label::before,
.hc-menu--hover-pressed-pill .current-menu-parent > a .hc-menu__label::before,
.hc-menu--hover-pressed-pill .current-menu-ancestor > a .hc-menu__label::before { opacity: 1; transform: scale(1); }
.hc-menu--hover-pressed-pill .current-menu-item > a,
.hc-menu--hover-pressed-pill .current-menu-parent > a,
.hc-menu--hover-pressed-pill .current-menu-ancestor > a { color: var(--hc-menu-pill-active-text); }
.hc-menu--hover-pressed-pill .current-menu-item > a .hc-menu__label::before,
.hc-menu--hover-pressed-pill .current-menu-parent > a .hc-menu__label::before,
.hc-menu--hover-pressed-pill .current-menu-ancestor > a .hc-menu__label::before { background: var(--hc-menu-pill-active-fill); }

.hc-menu--hover-soft-fill .hc-menu__label::before {
  border-radius: var(--hc-menu-fill-radius);
  background: var(--hc-menu-fill-color);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity var(--hc-menu-duration) var(--hc-menu-ease), transform var(--hc-menu-duration) var(--hc-menu-ease);
}
.hc-menu--fill-origin-left .hc-menu__label::before { transform-origin: left; }
.hc-menu--fill-origin-right .hc-menu__label::before { transform-origin: right; }
.hc-menu--fill-origin-bottom .hc-menu__label::before { transform: scaleY(0); transform-origin: bottom; }
.hc-menu--hover-soft-fill .menu-item > a:hover .hc-menu__label::before,
.hc-menu--hover-soft-fill .menu-item > a:focus-visible .hc-menu__label::before,
.hc-menu--hover-soft-fill.hc-menu--fill-active .current-menu-item > a .hc-menu__label::before,
.hc-menu--hover-soft-fill.hc-menu--fill-active .current-menu-parent > a .hc-menu__label::before,
.hc-menu--hover-soft-fill.hc-menu--fill-active .current-menu-ancestor > a .hc-menu__label::before { opacity: 1; transform: scale(1); }

/* Brackets */
.hc-menu--hover-bracket-focus .hc-menu__label::before,
.hc-menu--hover-bracket-focus .hc-menu__label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: var(--hc-menu-bracket-thickness);
  height: var(--hc-menu-bracket-height);
  background: var(--hc-menu-bracket-color);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity var(--hc-menu-duration) var(--hc-menu-ease), left var(--hc-menu-duration) var(--hc-menu-ease), right var(--hc-menu-duration) var(--hc-menu-ease);
}
.hc-menu--hover-bracket-focus .hc-menu__label::before { left: calc(var(--hc-menu-bracket-outer) * -1); }
.hc-menu--hover-bracket-focus .hc-menu__label::after { right: calc(var(--hc-menu-bracket-outer) * -1); }
.hc-menu--hover-bracket-focus a:hover .hc-menu__label::before,
.hc-menu--hover-bracket-focus a:focus-visible .hc-menu__label::before,
.hc-menu--hover-bracket-focus.hc-menu--bracket-active .current-menu-item > a .hc-menu__label::before { left: calc(var(--hc-menu-bracket-hover) * -1); opacity: 1; }
.hc-menu--hover-bracket-focus a:hover .hc-menu__label::after,
.hc-menu--hover-bracket-focus a:focus-visible .hc-menu__label::after,
.hc-menu--hover-bracket-focus.hc-menu--bracket-active .current-menu-item > a .hc-menu__label::after { right: calc(var(--hc-menu-bracket-hover) * -1); opacity: 1; }

/* Dot marker */
.hc-menu--hover-dot-marker .hc-menu__label::after {
  content: "";
  position: absolute;
  width: var(--hc-menu-marker-size);
  height: var(--hc-menu-marker-size);
  border-radius: 50%;
  background: var(--hc-menu-marker-color);
  opacity: 0;
  transform: scale(.4);
  transition: opacity var(--hc-menu-duration) var(--hc-menu-ease), transform var(--hc-menu-duration) var(--hc-menu-ease);
}
.hc-menu--marker-location-below .hc-menu__label::after { left: 50%; bottom: calc(var(--hc-menu-marker-offset) * -1); transform: translateX(-50%) scale(.4); }
.hc-menu--marker-location-left .hc-menu__label::after { left: calc((var(--hc-menu-marker-size) + var(--hc-menu-marker-offset)) * -1); top: 50%; transform: translateY(-50%) scale(.4); }
.hc-menu--marker-location-right .hc-menu__label::after { right: calc((var(--hc-menu-marker-size) + var(--hc-menu-marker-offset)) * -1); top: 50%; transform: translateY(-50%) scale(.4); }
.hc-menu--hover-dot-marker a:hover .hc-menu__label::after,
.hc-menu--hover-dot-marker a:focus-visible .hc-menu__label::after,
.hc-menu--hover-dot-marker.hc-menu--marker-active .current-menu-item > a .hc-menu__label::after { opacity: 1; }
.hc-menu--marker-location-below a:hover .hc-menu__label::after,
.hc-menu--marker-location-below a:focus-visible .hc-menu__label::after,
.hc-menu--marker-location-below.hc-menu--marker-active .current-menu-item > a .hc-menu__label::after { transform: translateX(-50%) scale(1); }
.hc-menu--marker-location-left a:hover .hc-menu__label::after,
.hc-menu--marker-location-left a:focus-visible .hc-menu__label::after,
.hc-menu--marker-location-left.hc-menu--marker-active .current-menu-item > a .hc-menu__label::after,
.hc-menu--marker-location-right a:hover .hc-menu__label::after,
.hc-menu--marker-location-right a:focus-visible .hc-menu__label::after,
.hc-menu--marker-location-right.hc-menu--marker-active .current-menu-item > a .hc-menu__label::after { transform: translateY(-50%) scale(1); }

/* Letter lift */
.hc-menu--hover-letter-lift .hc-menu__label {
  opacity: var(--hc-menu-lift-opacity);
  transform: translateY(0);
  transition: opacity var(--hc-menu-duration) var(--hc-menu-ease), transform var(--hc-menu-duration) var(--hc-menu-ease), letter-spacing var(--hc-menu-duration) var(--hc-menu-ease);
}
.hc-menu--hover-letter-lift a:hover .hc-menu__label,
.hc-menu--hover-letter-lift a:focus-visible .hc-menu__label { opacity: 1; transform: translateY(calc(var(--hc-menu-lift) * -1)); letter-spacing: var(--hc-menu-lift-spacing); }

/* Desktop submenus */
.hc-menu__submenu {
  position: absolute;
  z-index: 1000;
  top: calc(100% + var(--hc-menu-submenu-offset));
  left: 0;
  display: flex;
  flex-direction: column;
  gap: var(--hc-menu-submenu-gap);
  min-width: max(190px, 100%);
  color: var(--hc-menu-submenu-color);
  background: var(--hc-menu-submenu-bg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-5px);
  transition: opacity var(--hc-menu-duration) var(--hc-menu-ease), transform var(--hc-menu-duration) var(--hc-menu-ease), visibility 0s linear var(--hc-menu-duration);
}
.hc-menu__submenu .hc-menu__submenu { top: 0; left: calc(100% + var(--hc-menu-submenu-offset)); }
.hc-menu__submenu a { display: flex; width: 100%; color: var(--hc-menu-submenu-color); white-space: nowrap; }
.hc-menu__submenu a:hover,
.hc-menu__submenu a:focus-visible { color: var(--hc-menu-submenu-hover); }
.hc-menu__submenu .current-menu-item > a,
.hc-menu__submenu .current-menu-parent > a,
.hc-menu__submenu .current-menu-ancestor > a { color: var(--hc-menu-submenu-active); }

.hc-menu--submenu-hover-focus .menu-item-has-children:hover > .hc-menu__submenu,
.hc-menu .menu-item-has-children:focus-within > .hc-menu__submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.hc-menu__notice { padding: 12px; border: 1px dashed currentColor; opacity: .65; }

@media (prefers-reduced-motion: reduce) {
  .hc-menu *,
  .hc-menu *::before,
  .hc-menu *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}
