.maepora-global-header {
  --maepora-header-navy: #0D1422;
  --maepora-header-slate: #2A3340;
  --maepora-header-gold: #C9A15A;
  --maepora-header-cream: #E6E2D8;
  --maepora-header-white: #FFFFFF;
  position: relative;
  z-index: 100;
  width: 100%;
  color: var(--maepora-header-white);
  background: var(--maepora-header-navy);
  border-bottom: 1px solid rgba(201, 161, 90, 0.34);
  font-family: Arial, Helvetica, sans-serif;
}

.maepora-global-header,
.maepora-global-header * {
  box-sizing: border-box;
}

.maepora-global-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1440px;
  min-height: 86px;
  margin: 0 auto;
  padding: 14px 34px;
}

.maepora-global-header__brand {
  --maepora-header-logo-width: 210px;
  flex: 0 0 var(--maepora-header-logo-width);
  width: var(--maepora-header-logo-width);
  min-width: var(--maepora-header-logo-width);
}

.maepora-global-header__brand .theme-branding-info {
  display: flex;
  align-items: center;
  min-width: var(--maepora-header-logo-width);
  flex-shrink: 0;
}

.maepora-global-header__brand [data-zs-logo-container],
.maepora-global-header__brand [data-zs-logo-container].theme-disable-logo-mobile {
  display: block;
  width: var(--maepora-header-logo-width);
  height: 57px;
  overflow: visible;
  flex-shrink: 0;
}

.maepora-global-header__brand [data-zs-logo-container] a,
.maepora-global-header__brand [data-zs-logo-container] picture {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

.maepora-global-header__brand [data-zs-logo] {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto !important;
  object-fit: contain;
  flex-shrink: 0;
  transform: none;
}

.maepora-global-header__desktop-nav {
  min-width: 0;
}

.maepora-global-header__nav-list,
.maepora-global-header__mobile-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.maepora-global-header__nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  white-space: nowrap;
}

.maepora-global-header__nav-list > li {
  position: relative;
  margin: 0;
  padding: 0;
}

.maepora-global-header__nav-list a,
.maepora-global-header__utility > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 9px;
  color: var(--maepora-header-white);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.055em;
  text-decoration: none;
  cursor: pointer;
}

.maepora-global-header__nav-list a:hover,
.maepora-global-header__nav-list a:focus-visible,
.maepora-global-header__utility > summary:hover,
.maepora-global-header__utility > summary:focus-visible,
.maepora-global-header__nav-list a[aria-current="page"] {
  color: #8A682B;
}

.maepora-global-header__nav-list a:focus-visible,
.maepora-global-header__utility > summary:focus-visible,
.maepora-global-header__mobile-menu > summary:focus-visible,
.maepora-global-header__mobile-list a:focus-visible,
.maepora-global-header__mobile-utility > summary:focus-visible {
  outline: 2px solid var(--maepora-header-gold);
  outline-offset: 3px;
}

.maepora-global-header__nav-list a[aria-current="page"]::after {
  position: absolute;
  right: 9px;
  bottom: 5px;
  left: 9px;
  height: 2px;
  background: var(--maepora-header-gold);
  content: "";
}

.maepora-global-header__nav-list .maepora-global-header__book {
  margin-inline: 3px;
  padding-inline: 14px;
  color: var(--maepora-header-navy);
  background: var(--maepora-header-gold);
  border: 1px solid var(--maepora-header-gold);
}

.maepora-global-header__nav-list .maepora-global-header__book:hover,
.maepora-global-header__nav-list .maepora-global-header__book:focus-visible,
.maepora-global-header__nav-list .maepora-global-header__book[aria-current="page"] {
  color: var(--maepora-header-white);
  background: var(--maepora-header-navy);
  border-color: var(--maepora-header-navy);
}

.maepora-global-header__nav-list .maepora-global-header__book[aria-current="page"]::after {
  content: none;
}

.maepora-global-header__utility {
  position: relative;
}

.maepora-global-header__utility > summary,
.maepora-global-header__mobile-menu > summary,
.maepora-global-header__mobile-utility > summary {
  list-style: none;
}

.maepora-global-header__utility > summary::-webkit-details-marker,
.maepora-global-header__mobile-menu > summary::-webkit-details-marker,
.maepora-global-header__mobile-utility > summary::-webkit-details-marker {
  display: none;
}

.maepora-global-header__utility > summary::after,
.maepora-global-header__mobile-utility > summary::after {
  margin-inline-start: 5px;
  color: var(--maepora-header-gold);
  content: "+";
  font-size: 14px;
  line-height: 1;
}

.maepora-global-header__utility[open] > summary::after,
.maepora-global-header__mobile-utility[open] > summary::after {
  content: "−";
}

.maepora-global-header__utility--sign-in > summary {
  min-height: 38px;
  margin-inline-start: 3px;
  padding-inline: 12px;
  border: 1px solid rgba(230, 226, 216, 0.78);
}

.maepora-global-header__popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 2;
  min-width: 146px;
  padding: 13px 16px;
  color: var(--maepora-header-cream);
  background: var(--maepora-header-navy);
  border-top: 2px solid var(--maepora-header-gold);
  box-shadow: 0 12px 28px rgba(13, 20, 34, 0.18);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-align: center;
}

.maepora-global-header__mobile-menu {
  display: none;
}

@media only screen and (max-width: 1199px) {
  .maepora-global-header__inner {
    gap: 16px;
    padding-inline: 24px;
  }

  .maepora-global-header__nav-list a,
  .maepora-global-header__utility > summary {
    padding-inline: 7px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .maepora-global-header__nav-list .maepora-global-header__book {
    padding-inline: 11px;
  }

  .maepora-global-header__utility--sign-in > summary {
    padding-inline: 10px;
  }
}

@media only screen and (max-width: 1079px) {
  .maepora-global-header__inner {
    position: relative;
    min-height: 74px;
    padding: 9px 26px;
  }

  .maepora-global-header__brand {
    --maepora-header-logo-width: 180px;
  }

  .maepora-global-header__brand [data-zs-logo-container],
  .maepora-global-header__brand [data-zs-logo-container].theme-disable-logo-mobile {
    width: var(--maepora-header-logo-width);
    height: 49px;
  }

  .maepora-global-header__desktop-nav {
    display: none;
  }

  .maepora-global-header__mobile-menu {
    display: block;
  }

  .maepora-global-header__mobile-menu > summary {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-height: 44px;
    padding: 0 2px 0 14px;
    color: var(--maepora-header-white);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    cursor: pointer;
  }

  .maepora-global-header__menu-label--close {
    display: none;
  }

  .maepora-global-header__mobile-menu[open] .maepora-global-header__menu-label--open {
    display: none;
  }

  .maepora-global-header__mobile-menu[open] .maepora-global-header__menu-label--close {
    display: inline;
  }

  .maepora-global-header__menu-icon {
    display: grid;
    gap: 4px;
    width: 22px;
  }

  .maepora-global-header__menu-icon span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .maepora-global-header__mobile-menu[open] .maepora-global-header__menu-icon span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .maepora-global-header__mobile-menu[open] .maepora-global-header__menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .maepora-global-header__mobile-menu[open] .maepora-global-header__menu-icon span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .maepora-global-header__mobile-panel {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    overscroll-behavior: contain;
    color: var(--maepora-header-white);
    background: var(--maepora-header-navy);
    border-top: 2px solid var(--maepora-header-gold);
    box-shadow: 0 18px 34px rgba(13, 20, 34, 0.22);
  }

  .maepora-global-header__mobile-list {
    display: grid;
    width: 100%;
    padding: 14px 26px 24px;
  }

  .maepora-global-header__mobile-list > li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(230, 226, 216, 0.18);
  }

  .maepora-global-header__mobile-list a,
  .maepora-global-header__mobile-utility > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    padding: 6px 4px;
    color: var(--maepora-header-white);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.07em;
    text-decoration: none;
    cursor: pointer;
  }

  .maepora-global-header__mobile-list a:hover,
  .maepora-global-header__mobile-list a:focus-visible,
  .maepora-global-header__mobile-list a[aria-current="page"],
  .maepora-global-header__mobile-utility > summary:hover,
  .maepora-global-header__mobile-utility > summary:focus-visible {
    color: var(--maepora-header-gold);
  }

  .maepora-global-header__mobile-list .maepora-global-header__book {
    margin: 10px 0;
    padding-inline: 16px;
    color: var(--maepora-header-navy);
    background: var(--maepora-header-gold);
    border: 1px solid var(--maepora-header-gold);
  }

  .maepora-global-header__mobile-utility > div {
    margin: 0 4px 14px;
    padding: 11px 14px;
    color: var(--maepora-header-cream);
    background: var(--maepora-header-slate);
    border-inline-start: 2px solid var(--maepora-header-gold);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.08em;
  }

  .maepora-global-header__mobile-utility--sign-in > summary {
    margin: 12px 0 0;
    padding-inline: 16px;
    border: 1px solid rgba(230, 226, 216, 0.72);
  }
}

@media only screen and (max-width: 480px) {
  .maepora-global-header__inner {
    min-height: 68px;
    padding-inline: 18px;
  }

  .maepora-global-header__brand {
    --maepora-header-logo-width: 162px;
  }

  .maepora-global-header__brand [data-zs-logo-container],
  .maepora-global-header__brand [data-zs-logo-container].theme-disable-logo-mobile {
    width: var(--maepora-header-logo-width);
    height: 44px;
  }

  .maepora-global-header__mobile-panel {
    max-height: calc(100vh - 68px);
  }

  .maepora-global-header__mobile-list {
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .maepora-global-header__menu-icon span {
    transition: none;
  }
}
