@font-face {
  font-family: "Elementi Gill Sans";
  src: url("/assets/fonts/GillSans.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

[data-site-shell-fallback] {
  display: none !important;
}

.elementi-shell-header,
.elementi-shell-header * {
  box-sizing: border-box;
}

.elementi-shell-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  color: #111;
  font-family: "Elementi Gill Sans", "Gill Sans", Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.elementi-shell-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80px;
  padding: 2px 24px;
  background: #463c3d;
  transition: height 0.28s ease, padding 0.28s ease;
}

.elementi-shell-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
}

.elementi-shell-brand img {
  display: block;
  width: auto;
  height: 76px;
  max-width: none;
  max-height: 76px;
  object-fit: contain;
  transition: height 0.28s ease, max-height 0.28s ease;
}

.elementi-shell-nav {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  height: 40px;
  min-height: 40px;
  background: #dcd8d7;
  transition: height 0.28s ease, min-height 0.28s ease;
}

.elementi-shell-menu {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 32px;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.elementi-shell-menu > li {
  position: relative;
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
}

.elementi-shell-nav a,
.elementi-shell-nav summary {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0 8px;
  color: #111;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.elementi-shell-nav summary {
  cursor: pointer;
  list-style: none;
}

.elementi-shell-nav summary::-webkit-details-marker {
  display: none;
}

.elementi-shell-nav summary::after {
  box-sizing: border-box;
  width: 7px;
  height: 7px;
  margin: -4px 0 0 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.elementi-shell-group {
  display: flex;
  height: 100%;
  margin: 0;
}

.elementi-shell-nav a:hover,
.elementi-shell-nav a[aria-current="page"],
.elementi-shell-nav summary:hover,
.elementi-shell-group[open] > summary {
  color: rgba(0, 0, 0, 0.55);
}

.elementi-shell-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 2;
  display: none;
  width: max-content;
  min-width: 220px;
  max-width: 300px;
  max-height: min(520px, calc(100vh - 130px));
  margin: 0;
  padding: 7px 0;
  overflow-y: auto;
  list-style: none;
  background: #d9d9d9;
  box-shadow: 0 12px 28px rgba(37, 34, 36, 0.2);
  transform: translateX(-50%);
}

.elementi-shell-group[open] > .elementi-shell-submenu,
.elementi-shell-group:hover > .elementi-shell-submenu,
.elementi-shell-group:focus-within > .elementi-shell-submenu {
  display: block;
}

.elementi-shell-submenu li {
  margin: 0;
  padding: 0;
}

.elementi-shell-submenu a {
  display: flex;
  min-height: 38px;
  padding: 8px 16px;
  font-weight: 400;
  line-height: 1.2;
  white-space: normal;
}

.elementi-shell-submenu a:hover {
  color: #111;
  background: rgba(255, 255, 255, 0.42);
}

.elementi-shell-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 9px;
  border: 0;
  color: #111;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.elementi-shell-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.elementi-shell-nav.is-open .elementi-shell-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.elementi-shell-nav.is-open .elementi-shell-toggle span:nth-child(2) {
  opacity: 0;
}

.elementi-shell-nav.is-open .elementi-shell-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.elementi-shell-header.is-scrolled .elementi-shell-brand-row {
  height: 52px;
}

.elementi-shell-header.is-scrolled .elementi-shell-brand,
.elementi-shell-header.is-scrolled .elementi-shell-brand img {
  height: 48px;
  max-height: 48px;
}

.elementi-shell-header.is-scrolled .elementi-shell-nav {
  height: 34px;
  min-height: 34px;
}

@media (max-width: 900px) {
  .elementi-shell-brand-row {
    height: 58px;
  }

  .elementi-shell-brand,
  .elementi-shell-brand img {
    height: 54px;
    max-height: 54px;
  }

  .elementi-shell-nav {
    align-items: center;
    justify-content: flex-end;
    height: 46px;
    min-height: 46px;
    padding: 3px 14px;
  }

  .elementi-shell-toggle {
    display: block;
  }

  .elementi-shell-menu {
    position: absolute;
    top: 100%;
    right: 14px;
    z-index: 2;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(340px, calc(100vw - 28px));
    height: auto;
    max-height: calc(100vh - 116px);
    padding: 8px 0;
    overflow-y: auto;
    background: #dcd8d7;
    box-shadow: 0 16px 34px rgba(37, 34, 36, 0.24);
  }

  .elementi-shell-nav.is-open .elementi-shell-menu {
    display: flex;
  }

  .elementi-shell-menu > li,
  .elementi-shell-group {
    display: block;
    width: 100%;
    height: auto;
  }

  .elementi-shell-menu > li > a,
  .elementi-shell-nav summary {
    display: flex;
    width: 100%;
    min-height: 44px;
    padding: 10px 18px;
  }

  .elementi-shell-nav summary {
    justify-content: space-between;
  }

  .elementi-shell-submenu {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: none;
    max-height: none;
    padding: 3px 0 7px;
    background: rgba(255, 255, 255, 0.28);
    box-shadow: none;
    transform: none;
  }

  .elementi-shell-submenu a {
    min-height: 40px;
    padding-left: 34px;
  }

  .elementi-shell-header.is-scrolled .elementi-shell-brand-row {
    height: 48px;
  }

  .elementi-shell-header.is-scrolled .elementi-shell-brand,
  .elementi-shell-header.is-scrolled .elementi-shell-brand img {
    height: 44px;
    max-height: 44px;
  }

  .elementi-shell-header.is-scrolled .elementi-shell-nav {
    height: 40px;
    min-height: 40px;
  }
}
