.vann-hero .vann-hero-logo-mask {
  width: clamp(680px, 52vw, 900px);
  margin: 0 auto;
}

.vann-hero .vann-hero-logo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 2560 / 654;
  overflow: hidden;
}

.vann-hero .vann-hero-mask-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: transparent;
  -webkit-mask-image: url("https://vann-fid.com/wp-content/uploads/2026/05/logo-hero-scaled.png");
  mask-image: url("https://vann-fid.com/wp-content/uploads/2026/05/logo-hero-scaled.png");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.vann-hero .vann-hero-logo-mask .vann-hero-mask-slide {
  position: absolute;
  inset: 0 !important;
  z-index: 1;
  opacity: 0;
  transform: none !important;
  transition: opacity 650ms cubic-bezier(0.45, 0, 0.55, 1);
  will-change: opacity;
  backface-visibility: hidden;
}

.vann-hero .vann-hero-mask-media {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 108%;
  max-width: none;
  height: auto;
  opacity: 1;
  pointer-events: none;
  transform: translate3d(0, -50%, 0);
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform;
}

.vann-hero .vann-hero-logo-mask .vann-hero-mask-slide.is-active,
.vann-hero .vann-hero-logo-mask .vann-hero-mask-slide.is-leaving {
  opacity: 1;
}

.vann-hero .vann-hero-mask-slide.is-active > .vann-hero-mask-media,
.vann-hero .vann-hero-mask-slide.is-leaving > .vann-hero-mask-media {
  animation-duration: 7010ms;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  animation-name: vann-hero-media-pan-left-v18;
}

.vann-hero .vann-hero-logo-mask .vann-hero-mask-slide.is-leaving { z-index: 2; }
.vann-hero .vann-hero-logo-mask .vann-hero-mask-slide.is-active:not(.is-leaving) { z-index: 3; }

@keyframes vann-hero-media-pan-left-v18 {
  from { transform: translate3d(0, -50%, 0); }
  to { transform: translate3d(-7.407407%, -50%, 0); }
}

.vann-hero .vann-hero-label,
.vann-hero .vann-hero-label.is-active,
.vann-hero .vann-hero-label:not(.is-active) {
  color: rgba(255, 255, 255, 0.42) !important;
  opacity: 1 !important;
  transition: color 260ms ease !important;
}

.vann-hero .vann-hero-label:hover,
.vann-hero .vann-hero-label:focus-visible {
  color: #fff !important;
}

@media (max-width: 1024px) {
  .vann-hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .vann-hero .vann-hero-mask {
    width: 64% !important;
  }

  .vann-hero .vann-hero-logo-mask {
    width: min(64vw, 600px);
  }
}

@media (max-width: 767px) {
  .vann-hero .vann-hero-mask {
    width: 73% !important;
  }

  .vann-hero .vann-hero-logo-mask {
    width: min(73vw, 440px);
  }
}

@media (orientation: landscape) and (max-width: 1180px) {
  .vann-hero {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    padding-block: 0 !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .vann-hero .vann-hero-mask {
    width: min(58vw, 680px) !important;
    margin: 0 auto !important;
    align-self: center !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .vann-hero .vann-hero-mask > .elementor-widget-html,
  .vann-hero .elementor-element-5629a45 {
    width: 100% !important;
    flex: 0 0 auto !important;
  }

  .vann-hero .vann-hero-logo-mask {
    width: 100% !important;
  }
}

@media (orientation: landscape) and (max-height: 600px) and (max-width: 1180px) {
  .vann-hero .elementor-element-5744db2 {
    width: clamp(56px, 10vh, 78px) !important;
    inset-block-end: max(10px, env(safe-area-inset-bottom)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vann-hero .vann-hero-mask-slide,
  .vann-hero .vann-hero-label {
    transition-duration: 300ms !important;
  }

  .vann-hero .vann-hero-logo-mask .vann-hero-mask-slide,
  .vann-hero .vann-hero-logo-mask .vann-hero-mask-slide.is-active,
  .vann-hero .vann-hero-logo-mask .vann-hero-mask-slide.is-leaving {
    animation: none !important;
  }

  .vann-hero .vann-hero-mask-slide > .vann-hero-mask-media,
  .vann-hero .vann-hero-mask-slide.is-active > .vann-hero-mask-media,
  .vann-hero .vann-hero-mask-slide.is-leaving > .vann-hero-mask-media {
    animation: none !important;
    transform: translate3d(-3.703704%, -50%, 0);
  }
}

