.site-header {
  z-index: 200;
  background: var(--dmc-White);
  position: sticky;
  top: 0;
}

.site-menu__header-inner {
  box-sizing: border-box;
  align-items: center;
  display: flex;
}

.site-menu__logo-wrap {
  flex-shrink: 0;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}

.site-menu__logo {
  width: 102.81%;
  max-width: none;
  height: 119.02%;
  display: block;
  position: absolute;
  top: -5.74%;
  left: -2.81%;
}

.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-menu__primary {
  align-items: center;
  display: flex;
}

.site-menu__item {
  position: relative;
}

.site-menu__row {
  align-items: center;
  display: flex;
}

.site-menu__label, .site-menu__submenu a {
  font: var(--dmc-desktop-p1-regular);
  color: var(--dmc-Cloud-Burst);
  text-decoration: none;
}

.site-menu__label {
  cursor: pointer;
  font: inherit;
  background: none;
  border: 0;
  align-items: center;
  padding: 0;
  display: inline-flex;
}

.site-menu__toggle {
  cursor: pointer;
  background: none;
  border: 0;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: inline-flex;
}

.site-menu__chevron {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  transform: rotate(180deg);
}

.site-menu__grid-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}

.site-menu__submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-menu__submenu a {
  white-space: nowrap;
  display: block;
}

.site-menu__item.is-active > .site-menu__row > .site-menu__label {
  color: var(--dmc-Mexican-Red);
}

.site-menu__submenu-underline {
  width: 0;
  height: .1875rem;
  box-shadow: 0-3px 0 0 var(--dmc-Mexican-Red);
  pointer-events: none;
  background: none;
  display: none;
  position: absolute;
  top: .125rem;
  left: 0;
}

.site-menu__submenu-bar {
  position: relative;
}

.site-menu__submenu a[aria-current="page"] {
  color: var(--dmc-Mexican-Red);
  text-decoration: none;
}

.site-menu__dialog-grid {
  cursor: pointer;
  background: none;
  border: 0;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: inline-flex;
}

.nav-toggle {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

.site-menu__dialog {
  border: 0;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
}

.site-menu__dialog[open] {
  border: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  inset: 0;
}

.site-menu__dialog::backdrop {
  background: none;
}

.site-menu__dialog-header {
  box-sizing: border-box;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.site-menu__close {
  cursor: pointer;
  background: none;
  border: 0;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: inline-flex;
}

.site-menu__close-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}

html:not([data-site-menu-ready]) .site-menu__submenu {
  height: auto;
  padding: 0;
  display: block;
  position: static;
}

html:not([data-site-menu-ready]) .site-menu__submenu a {
  padding: .25rem 0;
}

@media (width >= 68.25rem) {
  .site-header {
    box-sizing: border-box;
    height: 5.5rem;
    min-height: 5.5rem;
    overflow: visible;
  }

  .site-header:has(.site-menu__item:hover), .site-header:has(.site-menu__item:focus-within) {
    height: 9rem;
    min-height: 9rem;
    margin-bottom: -3.5rem;
  }

  .site-menu__header-inner {
    box-sizing: border-box;
    align-items: flex-start;
    width: min(79.5rem, 100vw - 3rem);
    min-height: 5.5rem;
    margin: 0 auto;
    padding-right: 5rem;
    display: flex;
    position: relative;
  }

  .site-menu__logo-wrap {
    align-self: center;
    width: 11.125rem;
    height: 3.5rem;
  }

  .main-nav {
    height: 1.5rem;
    margin-top: 2rem;
    margin-left: 3rem;
    display: flex;
    overflow: clip;
  }

  .site-menu__primary {
    box-sizing: border-box;
    width: 22.3125rem;
    height: 1.5rem;
    font: var(--dmc-desktop-p1-regular);
    align-items: center;
    gap: 2rem;
    display: flex;
    overflow: clip;
  }

  .site-menu__item {
    align-items: center;
    height: 1.5rem;
    display: flex;
    position: relative;
  }

  .site-menu__item:before {
    content: "";
    position: absolute;
    inset: -2rem -1rem;
  }

  .site-menu__row {
    z-index: 1;
    align-items: center;
    height: 1.5rem;
    display: flex;
    position: relative;
  }

  .site-menu__item:hover > .site-menu__row > .site-menu__label, .site-menu__item:focus-within > .site-menu__row > .site-menu__label, .site-menu__item.is-active > .site-menu__row > .site-menu__label {
    color: var(--dmc-Mexican-Red);
  }

  .site-menu__label {
    font: var(--dmc-desktop-p1-regular);
  }

  .site-menu__toggle {
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    pointer-events: none;
    border: 0;
    width: .0625rem;
    height: .0625rem;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 100%;
    overflow: hidden;
    transform: translateY(-50%);
  }

  [data-site-menu-ready] .site-menu__submenu-bar {
    z-index: 201;
    box-sizing: border-box;
    visibility: hidden;
    pointer-events: none;
    background: var(--dmc-White);
    width: 100%;
    height: 3.5rem;
    box-shadow: inset 0 1px 0 var(--dmc-Cararra);
    border-top: 0;
    padding: 1rem 21.125rem 1rem max(1.5rem, 50vw + min(79.5rem, 100vw - 3rem) / -2);
    display: block;
    position: fixed;
    top: 5.5rem;
    left: 0;
    right: 0;
  }

  [data-site-menu-ready] .site-menu__submenu {
    box-sizing: border-box;
    background: none;
    border: 0;
    align-items: center;
    gap: 2rem;
    width: 100%;
    height: 1.5rem;
    margin: 0;
    padding: 0;
    display: flex;
    position: static;
  }

  [data-site-menu-ready] .site-menu__item:hover .site-menu__submenu-bar, [data-site-menu-ready] .site-menu__item:focus-within .site-menu__submenu-bar, [data-site-menu-ready] .site-menu__item.is-submenu-hover .site-menu__submenu-bar, [data-site-menu-ready] .site-header:not(:has(.site-menu__item:hover)) .site-menu__item:focus-within .site-menu__submenu-bar {
    visibility: visible;
    pointer-events: auto;
  }

  .site-menu__submenu a:focus, .site-menu__submenu a:focus-visible {
    color: var(--dmc-Mexican-Red);
    text-decoration: none;
  }

  .site-menu__submenu li {
    flex: none;
  }

  .site-menu__submenu a {
    font: var(--dmc-desktop-p1-regular);
  }

  @media (hover: hover) and (pointer: fine) {
    .site-menu__submenu a:hover {
      color: var(--dmc-Mexican-Red);
      text-decoration: none;
    }
  }

  .nav-toggle, .site-menu__dialog-header, .site-menu__close {
    display: none;
  }
}

body:has(#site-menu-dialog[open]) #site-header .nav-toggle {
  display: none;
}

@media (width < 68.25rem) {
  .site-menu__submenu-bar {
    visibility: visible;
    pointer-events: auto;
    background: none;
    border: 0;
    width: auto;
    height: auto;
    padding: 0;
    display: block;
    position: static;
  }

  .site-menu__submenu-underline {
    display: none !important;
  }
}

@media (48rem <= width < 68.25rem) {
  body {
    scrollbar-gutter: stable;
  }

  .site-header {
    width: 100%;
    height: 5.5rem;
  }

  .site-menu__header-inner {
    justify-content: center;
    height: 5.5rem;
    padding: 0 1.5rem;
    position: relative;
  }

  .site-menu__logo-wrap {
    width: 10.125rem;
    height: 3.125rem;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50vw;
    transform: translate(-50%, -50%);
  }

  .nav-toggle {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
  }

  .site-menu__header-inner > .main-nav {
    display: none;
  }

  #site-menu-dialog .main-nav {
    display: block;
  }

  #site-menu-dialog {
    background: var(--dmc-White);
    width: 100%;
    height: 100vh;
  }

  #site-menu-dialog[open] {
    z-index: 250;
    width: 100%;
    top: 0;
  }

  .site-menu__dialog-header {
    background: var(--dmc-White);
    justify-content: center;
    align-items: center;
    height: 5.5rem;
    padding: 0 1.5rem;
    display: flex;
    position: relative;
  }

  .site-menu__dialog-header .site-menu__dialog-grid {
    z-index: 1;
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
  }

  .site-menu__dialog-header .site-menu__logo-wrap {
    width: 10.125rem;
    height: 3.125rem;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50vw;
    transform: translate(-50%, -50%);
  }

  .site-menu__dialog-header .site-menu__close {
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    width: .0625rem;
    height: .0625rem;
    margin: -.0625rem;
    padding: 0;
    position: absolute;
    overflow: hidden;
  }

  .site-menu__primary {
    flex-direction: column;
    align-items: stretch;
  }

  .site-menu__item {
    border-bottom: 1px solid var(--dmc-Cararra);
  }

  .site-menu__row {
    justify-content: space-between;
    min-height: 4.5rem;
    padding: 0 1.5rem;
  }

  .site-menu__label {
    font: var(--dmc-tablet-H4);
  }

  .site-menu__item.is-accordion-open > .site-menu__row {
    background: var(--dmc-Mexican-Red);
    color: var(--dmc-White);
  }

  .site-menu__item.is-accordion-open > .site-menu__row .site-menu__label {
    color: var(--dmc-White);
  }

  .site-menu__item.is-accordion-open > .site-menu__row .site-menu__chevron {
    filter: brightness(0) invert();
    transform: rotate(0);
  }

  #site-menu-dialog .site-menu__item.is-accordion-open > .site-menu__submenu-bar {
    padding: 1.5rem 1.5rem 0;
  }

  #site-menu-dialog .site-menu__submenu-bar .site-menu__submenu:not([hidden]), #site-menu-dialog .site-menu__submenu:not([hidden]) {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 0 0 1.5rem;
    display: flex;
  }

  #site-menu-dialog .site-menu__submenu[hidden] {
    display: none;
  }

  #site-menu-dialog .site-menu__submenu a {
    width: max-content;
    font: var(--dmc-tablet-p2);
    line-height: 1.5rem;
    display: block;
  }

  @media (hover: hover) and (pointer: fine) {
    #site-menu-dialog .site-menu__item:not(.is-accordion-open) > .site-menu__row:hover {
      background: var(--dmc-Mexican-Red);
      color: var(--dmc-White);
    }

    #site-menu-dialog .site-menu__item:not(.is-accordion-open) > .site-menu__row:hover .site-menu__label {
      color: var(--dmc-White);
    }

    #site-menu-dialog .site-menu__item:not(.is-accordion-open) > .site-menu__row:hover .site-menu__chevron {
      filter: brightness(0) invert();
    }

    #site-menu-dialog .site-menu__submenu a:hover {
      color: var(--dmc-Mexican-Red);
      background: none;
    }
  }
}

@media (width < 48rem) {
  .site-header {
    height: 4rem;
  }

  .site-menu__header-inner {
    height: 4rem;
    padding: 0 1.5rem;
    position: relative;
  }

  .site-menu__logo-wrap {
    width: min(6.5625rem, 100% - 5.25rem);
    max-width: calc(100% - 5.25rem);
    height: 2rem;
    position: absolute;
    top: 1rem;
    left: 3.75rem;
  }

  .nav-toggle {
    position: absolute;
    top: 1.25rem;
    left: 1.5rem;
  }

  .site-menu__header-inner > .main-nav {
    display: none;
  }

  #site-menu-dialog .main-nav {
    display: block;
  }

  #site-menu-dialog {
    background: var(--dmc-Whisper);
    width: 100%;
    height: 100vh;
  }

  #site-menu-dialog .main-nav {
    background: var(--dmc-Whisper);
  }

  .site-menu__item > .site-menu__row {
    background: none;
  }

  #site-menu-dialog[open] {
    z-index: 250;
    top: 0;
  }

  .site-menu__dialog-header {
    background: var(--dmc-White);
    justify-content: center;
    align-items: center;
    height: 4rem;
    padding: 0 1.5rem;
    display: flex;
    position: relative;
  }

  .site-menu__dialog-header .site-menu__dialog-grid {
    z-index: 1;
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
  }

  .site-menu__dialog-header .site-menu__logo-wrap {
    width: 6.5625rem;
    height: 2rem;
    margin: 0;
    position: absolute;
    top: 1rem;
    left: 3.75rem;
    transform: none;
  }

  .site-menu__dialog-header .site-menu__close {
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    width: .0625rem;
    height: .0625rem;
    margin: -.0625rem;
    padding: 0;
    position: absolute;
    overflow: hidden;
  }

  .site-menu__primary {
    flex-direction: column;
    align-items: stretch;
  }

  .site-menu__item {
    border-bottom: 1px solid var(--dmc-Cararra);
  }

  .site-menu__row {
    justify-content: space-between;
    min-height: 4.5rem;
    padding: 0 1.5rem;
  }

  .site-menu__label {
    font: var(--dmc-mobile-H3);
  }

  .site-menu__item.is-accordion-open > .site-menu__row {
    background: var(--dmc-Mexican-Red);
    color: var(--dmc-White);
  }

  .site-menu__item.is-accordion-open > .site-menu__row .site-menu__label {
    color: var(--dmc-White);
  }

  .site-menu__item.is-accordion-open > .site-menu__row .site-menu__chevron {
    filter: brightness(0) invert();
    transform: rotate(0);
  }

  #site-menu-dialog .site-menu__item.is-accordion-open > .site-menu__submenu-bar {
    padding: 1.5rem 1.5rem 0;
  }

  #site-menu-dialog .site-menu__submenu-bar .site-menu__submenu:not([hidden]), #site-menu-dialog .site-menu__submenu:not([hidden]) {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 0 0 1.5rem;
    display: flex;
  }

  #site-menu-dialog .site-menu__submenu[hidden] {
    display: none;
  }

  #site-menu-dialog .site-menu__submenu a {
    width: max-content;
    font: var(--dmc-mobile-p1);
    line-height: 1.3125rem;
    display: block;
  }

  @media (hover: hover) and (pointer: fine) {
    #site-menu-dialog .site-menu__item:not(.is-accordion-open) > .site-menu__row:hover {
      background: var(--dmc-Mexican-Red);
      color: var(--dmc-White);
    }

    #site-menu-dialog .site-menu__item:not(.is-accordion-open) > .site-menu__row:hover .site-menu__label {
      color: var(--dmc-White);
    }

    #site-menu-dialog .site-menu__item:not(.is-accordion-open) > .site-menu__row:hover .site-menu__chevron {
      filter: brightness(0) invert();
    }

    #site-menu-dialog .site-menu__submenu a:hover {
      color: var(--dmc-Mexican-Red);
      background: none;
    }
  }
}
