/* Core layout. */
.hgw-main-menu,
.hgw-main-menu * {
  box-sizing: border-box;
}

.hgw-main-menu {
  --menu-gold: #c18a18;
  --menu-black: #111;
  position: relative;
  width: max-content;
  max-width: calc(100vw - 24px);
  color: var(--menu-black);
  direction: rtl;
  font-family: Polin, Arial, sans-serif;
  letter-spacing: 0;
  z-index: 1000;
}

button.hgw-main-menu__toggle {
  display: none !important;
}

.hgw-main-menu__list,
.hgw-main-menu__submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hgw-main-menu__list {
  display: flex !important;
  align-items: stretch;
  justify-content: center;
  gap: 2px;
}

.hgw-main-menu__item {
  position: relative;
  margin: 0;
  padding: 0;
}

.hgw-main-menu__link,
.hgw-main-menu button.hgw-main-menu__summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 11px !important;
  border: 0 !important;
  border-radius: 0;
  color: var(--menu-black) !important;
  background: transparent !important;
  cursor: pointer;
  font-family: Futurism, Polin, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease;
}

.hgw-main-menu__link:hover,
.hgw-main-menu__link:focus-visible,
.hgw-main-menu button.hgw-main-menu__summary:hover,
.hgw-main-menu button.hgw-main-menu__summary:focus-visible,
.hgw-main-menu__section.is-open > button.hgw-main-menu__summary {
  color: var(--menu-gold) !important;
  background: #fff !important;
  outline: 0;
}

.hgw-main-menu__item--accent .hgw-main-menu__link {
  color: var(--menu-gold);
}

.hgw-main-menu__chevron {
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 0 1.5px 1.5px;
  transform: rotate(-45deg) translateY(-1px);
  transition: transform 180ms ease;
}

.hgw-main-menu__section.is-open > .hgw-main-menu__summary .hgw-main-menu__chevron {
  transform: rotate(135deg) translate(-1px, -1px);
}

.hgw-main-menu__dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: max-content;
  min-width: 290px;
  max-width: min(680px, 90vw);
  display: block;
  padding: 16px;
  border: 1px solid rgba(193, 138, 24, .42);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.hgw-main-menu__item:nth-last-child(-n + 3) .hgw-main-menu__dropdown {
  right: auto;
  left: 0;
}

.hgw-main-menu__section.is-open > .hgw-main-menu__dropdown,
.hgw-main-menu__section:hover > .hgw-main-menu__dropdown,
.hgw-main-menu__section:focus-within > .hgw-main-menu__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.hgw-main-menu__submenu {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 6px;
}

.hgw-main-menu__submenu a {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 5px;
  color: #252525;
  background: #f7f7f7;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.hgw-main-menu__submenu a:hover,
.hgw-main-menu__submenu a:focus-visible {
  color: #fff;
  background: var(--menu-black);
  outline: 0;
}

.hgw-main-menu__all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: 5px;
  color: #fff;
  background: var(--menu-gold);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.hgw-main-menu__all:hover,
.hgw-main-menu__all:focus-visible {
  color: #fff;
  background: var(--menu-black);
  outline: 0;
}

@media (max-width: 1023px) {
  .hgw-main-menu {
    width: 100%;
    max-width: none;
  }

  .hgw-main-menu__root {
    position: relative;
    width: 100%;
  }

  button.hgw-main-menu__toggle {
    width: max-content;
    min-width: 48px;
    min-height: 48px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 13px;
    border: 1px solid rgba(193, 138, 24, .46);
    border-radius: 6px;
    color: var(--menu-black);
    background: #fff;
    cursor: pointer;
    font-family: Futurism, Polin, Arial, sans-serif;
    font-size: 15px;
    font-weight: 800;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .hgw-main-menu__toggle:hover,
  .hgw-main-menu__toggle:focus-visible,
  .hgw-main-menu__root.is-open > button.hgw-main-menu__toggle {
    color: #fff;
    background: var(--menu-black);
    border-color: var(--menu-black);
    outline: 0;
  }

  .hgw-main-menu__hamburger {
    width: 22px;
    height: 18px;
    display: grid;
    align-content: space-between;
  }

  .hgw-main-menu__hamburger i {
    width: 100%;
    height: 2px;
    display: block;
    border-radius: 2px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .hgw-main-menu__root.is-open .hgw-main-menu__hamburger i:first-child {
    transform: translateY(8px) rotate(45deg);
  }

  .hgw-main-menu__root.is-open .hgw-main-menu__hamburger i:nth-child(2) {
    opacity: 0;
  }

  .hgw-main-menu__root.is-open .hgw-main-menu__hamburger i:last-child {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hgw-main-menu__list {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(390px, calc(100vw - 24px));
    max-height: min(72vh, 620px);
    display: none !important;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid rgba(193, 138, 24, .72);
    border-radius: 8px;
    background: var(--menu-black);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .3);
    overscroll-behavior: contain;
  }

  .hgw-main-menu__root.is-open > .hgw-main-menu__list {
    display: block !important;
  }

  .hgw-main-menu__item + .hgw-main-menu__item {
    border-top: 1px solid rgba(255, 255, 255, .1);
  }

  .hgw-main-menu__link,
  .hgw-main-menu button.hgw-main-menu__summary {
    width: 100%;
    min-height: 50px;
    justify-content: space-between;
    padding: 12px !important;
    color: #fff !important;
    background: transparent !important;
    font-size: 16px;
    text-align: right;
  }

  .hgw-main-menu__link:hover,
  .hgw-main-menu__link:focus-visible,
  .hgw-main-menu button.hgw-main-menu__summary:hover,
  .hgw-main-menu button.hgw-main-menu__summary:focus-visible,
  .hgw-main-menu__section.is-open > button.hgw-main-menu__summary {
    color: var(--menu-gold) !important;
    background: rgba(255, 255, 255, .05) !important;
  }

  .hgw-main-menu__dropdown {
    position: static;
    width: auto;
    min-width: 0;
    max-width: none;
    display: none;
    padding: 4px 8px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .hgw-main-menu__section.is-open > .hgw-main-menu__dropdown {
    display: block;
  }

  .hgw-main-menu__submenu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hgw-main-menu__submenu a {
    min-height: 42px;
    color: #f8f8f8;
    background: rgba(255, 255, 255, .08);
  }

  .hgw-main-menu__submenu a:hover,
  .hgw-main-menu__submenu a:focus-visible {
    color: var(--menu-black);
    background: var(--menu-gold);
  }

  .hgw-main-menu__all {
    margin-top: 8px;
  }
}

@media (max-width: 420px) {
  .hgw-main-menu__toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .hgw-main-menu__submenu {
    grid-template-columns: 1fr;
  }
}

/* Mega menu. */
.hgw-main-menu {
  --menu-gold: #c18a18;
  --menu-black: #050505;
}

.hgw-main-menu .hgw-main-menu__item--parent,
.hgw-main-menu .hgw-main-menu__section {
  position: static;
}

.hgw-main-menu button.hgw-main-menu__toggle {
  border: 1px solid rgba(193, 138, 24, .55) !important;
  border-radius: 6px !important;
  color: #111 !important;
  background: #fff !important;
  box-shadow: none !important;
  font-family: Futurism, Polin, Arial, sans-serif !important;
}

.hgw-main-menu button.hgw-main-menu__toggle:hover,
.hgw-main-menu button.hgw-main-menu__toggle:focus-visible,
.hgw-main-menu .hgw-main-menu__root.is-open > button.hgw-main-menu__toggle {
  border-color: #111 !important;
  color: #fff !important;
  background: #111 !important;
  box-shadow: none !important;
}

.hgw-main-menu button.hgw-main-menu__summary {
  display: flex !important;
  padding: 0 11px !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #111 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: Futurism, Polin, Arial, sans-serif !important;
}

.hgw-main-menu button.hgw-main-menu__summary:hover,
.hgw-main-menu button.hgw-main-menu__summary:focus-visible,
.hgw-main-menu .hgw-main-menu__section.is-open > button.hgw-main-menu__summary {
  border: 0 !important;
  color: var(--menu-gold) !important;
  background: #fff !important;
  box-shadow: none !important;
}

.hgw-main-menu .hgw-main-menu__dropdown {
  right: 50%;
  left: auto;
  width: min(1320px, calc(100vw - 56px));
  min-width: 760px;
  max-width: none;
  max-height: calc(100vh - 125px);
  padding: 18px 28px 22px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(193, 138, 24, .7);
  border-radius: 0 0 8px 8px;
  color: #fff;
  background: var(--menu-black);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .42);
  transform: translate(50%, 8px);
  scrollbar-color: #999 #fff;
  scrollbar-width: thin;
}

.hgw-main-menu .hgw-main-menu__section.is-open > .hgw-main-menu__dropdown,
.hgw-main-menu .hgw-main-menu__section:hover > .hgw-main-menu__dropdown,
.hgw-main-menu .hgw-main-menu__section:focus-within > .hgw-main-menu__dropdown {
  transform: translate(50%, 0);
}

.hgw-main-menu__panel-title {
  display: block;
  margin: 0 0 18px;
  color: #fff;
  font-family: Futurism, Polin, Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
  text-align: right;
}

.hgw-main-menu__cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px 32px;
  align-items: start;
}

.hgw-main-menu a.hgw-main-menu__card,
.hgw-main-menu a.hgw-main-menu__card:visited {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  text-align: center;
  text-decoration: none;
}

.hgw-main-menu__card-image {
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  display: block;
  overflow: hidden;
  border: 2px solid var(--menu-gold);
  border-radius: 50%;
  background: #151515;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .34);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.hgw-main-menu__card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hgw-main-menu__card-title {
  display: block;
  color: #fff;
  font-family: Futurism, Polin, Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.hgw-main-menu a.hgw-main-menu__card:hover .hgw-main-menu__card-image,
.hgw-main-menu a.hgw-main-menu__card:focus-visible .hgw-main-menu__card-image {
  border-color: #f0bb43;
  box-shadow: 0 10px 30px rgba(193, 138, 24, .25);
  transform: translateY(-3px) scale(1.04);
}

.hgw-main-menu a.hgw-main-menu__card:hover .hgw-main-menu__card-title,
.hgw-main-menu a.hgw-main-menu__card:focus-visible .hgw-main-menu__card-title {
  color: #e1aa34;
}

.hgw-main-menu a.hgw-main-menu__card:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.hgw-main-menu__loader {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.hgw-main-menu__loader[hidden] {
  display: none;
}

.hgw-main-menu__spinner {
  width: 34px;
  height: 34px;
  display: block;
  border: 3px solid rgba(255, 255, 255, .22);
  border-top-color: var(--menu-gold);
  border-radius: 50%;
  animation: hgw-main-menu-spin 750ms linear infinite;
}

.hgw-main-menu__error {
  min-height: 120px;
  display: grid;
  place-items: center;
  margin: 0;
  color: #fff;
  text-align: center;
}

.hgw-main-menu a.hgw-main-menu__all,
.hgw-main-menu a.hgw-main-menu__all:visited {
  width: max-content;
  min-width: 118px;
  margin: 24px 0 0 auto;
  padding: 9px 16px;
  border: 2px solid var(--menu-gold);
  border-radius: 22px;
  color: #111 !important;
  background: #fff !important;
  box-shadow: none;
}

.hgw-main-menu a.hgw-main-menu__all:hover,
.hgw-main-menu a.hgw-main-menu__all:focus-visible {
  border-color: #fff;
  color: #fff !important;
  background: var(--menu-gold) !important;
  outline: 0;
}

@keyframes hgw-main-menu-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1199px) and (min-width: 1024px) {
  .hgw-main-menu__cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .hgw-main-menu .hgw-main-menu__item--parent,
  .hgw-main-menu .hgw-main-menu__section {
    position: relative;
  }

  .hgw-main-menu .hgw-main-menu__root.is-open > .hgw-main-menu__list {
    display: block !important;
  }

  .hgw-main-menu button.hgw-main-menu__summary {
    width: 100%;
    min-height: 50px;
    justify-content: space-between;
    padding: 12px !important;
    color: #fff !important;
    background: transparent !important;
    font-size: 16px;
    text-align: right;
  }

  .hgw-main-menu button.hgw-main-menu__summary:hover,
  .hgw-main-menu button.hgw-main-menu__summary:focus-visible,
  .hgw-main-menu .hgw-main-menu__section.is-open > button.hgw-main-menu__summary {
    color: var(--menu-gold) !important;
    background: rgba(255, 255, 255, .05) !important;
  }

  .hgw-main-menu .hgw-main-menu__dropdown {
    position: static;
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: none;
    display: none;
    padding: 8px 8px 16px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .hgw-main-menu .hgw-main-menu__section.is-open > .hgw-main-menu__dropdown {
    display: block !important;
    transform: none;
  }

  .hgw-main-menu__panel-title {
    margin-bottom: 14px;
    font-size: 21px;
  }

  .hgw-main-menu__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .hgw-main-menu__card-image {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }

  .hgw-main-menu__card-title {
    font-size: 13px;
  }

  .hgw-main-menu__loader {
    min-height: 130px;
  }

  .hgw-main-menu a.hgw-main-menu__all,
  .hgw-main-menu a.hgw-main-menu__all:visited {
    width: 100%;
    justify-content: space-between;
    margin-top: 18px;
  }
}

/* Shortcode content normalization. */
.hgw-main-menu .hgw-main-menu__panel-content .hgw-brand-grid-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
}

.hgw-main-menu .hgw-main-menu__panel-content .hgw-brand-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px 32px;
  align-items: start;
}

.hgw-main-menu .hgw-main-menu__panel-content .hgw-brand-card {
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
}

.hgw-main-menu .hgw-main-menu__panel-content a.hgw-brand-link,
.hgw-main-menu .hgw-main-menu__panel-content a.hgw-brand-link:visited {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  text-align: center;
  text-decoration: none;
}

.hgw-main-menu .hgw-main-menu__panel-content figure.hgw-brand-image {
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  display: block;
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--menu-gold);
  border-radius: 50%;
  background: #151515;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .34);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.hgw-main-menu .hgw-main-menu__panel-content .hgw-brand-img-shell,
.hgw-main-menu .hgw-main-menu__panel-content img.hgw-brand-img {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  border-radius: 0;
  object-fit: cover;
}

.hgw-main-menu .hgw-main-menu__panel-content h3.hgw-brand-title {
  display: block;
  margin: 0;
  padding: 0;
  color: #fff;
  font-family: Futurism, Polin, Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.hgw-main-menu .hgw-main-menu__panel-content a.hgw-brand-link:hover figure.hgw-brand-image,
.hgw-main-menu .hgw-main-menu__panel-content a.hgw-brand-link:focus-visible figure.hgw-brand-image {
  border-color: #f0bb43;
  box-shadow: 0 10px 30px rgba(193, 138, 24, .25);
  transform: translateY(-3px) scale(1.04);
}

.hgw-main-menu .hgw-main-menu__panel-content a.hgw-brand-link:hover h3.hgw-brand-title,
.hgw-main-menu .hgw-main-menu__panel-content a.hgw-brand-link:focus-visible h3.hgw-brand-title {
  color: #e1aa34;
}

.hgw-main-menu .hgw-main-menu__panel-content a.hgw-brand-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

@media (max-width: 1199px) and (min-width: 1024px) {
  .hgw-main-menu .hgw-main-menu__panel-content .hgw-brand-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .hgw-main-menu .hgw-main-menu__panel-content .hgw-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .hgw-main-menu .hgw-main-menu__panel-content figure.hgw-brand-image {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }

  .hgw-main-menu .hgw-main-menu__panel-content h3.hgw-brand-title {
    font-size: 13px;
  }
}

/* Interaction states. */
@media (min-width: 1024px) {
  .hgw-main-menu .hgw-main-menu__section:hover:not(.is-open):not(:focus-within) > .hgw-main-menu__dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translate(50%, 8px);
    pointer-events: none;
  }

  .hgw-main-menu .hgw-main-menu__section.is-open > .hgw-main-menu__dropdown,
  .hgw-main-menu .hgw-main-menu__section:focus-within > .hgw-main-menu__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(50%, 0);
    pointer-events: auto;
  }
}

/* Desktop positioning. */
@media (min-width: 1024px) {
  .hgw-main-menu .hgw-main-menu__item:nth-last-child(-n + 3) .hgw-main-menu__dropdown {
    right: 50%;
    left: auto;
  }
}

