.menu-header-v8__link {
  display: block;
  text-align: center;
  font-size: calc(var(--font-body-scale) * 1.6rem);
  color: rgb(var(--color-foreground));
  padding-bottom: 1rem;
  margin-bottom: 1.4rem;
  margin-top: 1.5rem;
}

.menu-header-v8__heading {
  font-family: var(--font-body-family);
  font-size: calc(var(--font-heading-scale) * var(--font-body-scale) * 1.5rem);
  padding-bottom: 1rem;
  margin-bottom: 1.4rem;
  position: relative;
  font-weight: 500;
  transition: all 0.3s;
}
.menu-header-v8__heading::after {
  position: absolute;
  background-color: rgba(var(--color-foreground), 0.15);
  bottom: 0.1rem;
  width: 4rem;
  height: 0.1rem;
  content: "";
  left: 0;
}

.menu-header-v8__item {
  list-style: none;
  padding: 0.25rem 0;
}
.menu-header-v8__item a {
  font-size: calc(var(--font-body-scale) * 1.5rem);
  line-height: calc(1 + 0.6 / var(--font-heading-scale));
  color: rgba(var(--color-foreground), 0.5);
  transition: 0.3s ease;
  font-weight: 500;
}
.menu-header-v8__item a:hover {
  color: rgba(var(--color-foreground));
  padding-left: 0.5rem;
}

.menu-header-v8__list-item {
  padding: 0;
}

.xo-header-v8__desktop .xo-section-bg-image {
  background-color: rgb(var(--color-background));
}

.header-v8-links {
  position: relative;
}

.header-v8-links__label {
  top: 0.3rem;
  left: 100%;
  border-radius: 3rem;
  transform: translate(25%);
  font-size: calc(var(--font-body-scale) * 0.8rem);
  display: inline-block;
  text-transform: uppercase;
  padding: 0 0.6rem;
  font-weight: 500;
  line-height: calc(1 + 1 / var(--font-heading-scale));
  color: #fff;
  position: absolute;
}
.header-v8-links__label::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  display: inline-block;
  top: 100%;
  left: 1rem;
}

.menu-v8-image {
  overflow: hidden;
  border-radius: 1.8rem;
  height: fit-content;
}
.menu-v8-image .xo-image {
  border-radius: 1.8rem;
}
.menu-v8-image img {
  transition: 0.5s ease;
  max-height: 40rem;
  border-radius: 1.8rem;
}
.menu-v8-image a {
  display: block;
}
.menu-v8-image:hover img {
  transform: scale(1.05);
}
@media (max-width: 1199px) {
  .menu-v8-image {
    display: none;
  }
}

.menu-v8-image-none {
  display: none;
}

.xo-menu-hamburger-style1__mega-menu .menu-v8-image {
  display: none;
}