/* 
   IMPORTANT: 
   To support Elementor native Section > Column layouts without Flexbox Containers,
   we need the widget wrapper to span the full width and inherit height dynamically.
   The user should set a min-height on the Section if they want 100vh hero effect.
   If 'Force full height' is toggled, it adds a specific class to stretch vertically.
*/

.elementor-widget-hero_section_pro_0dc0854d,
.elementor-widget-hero_section_pro_0dc0854d .elementor-widget-container,
.elementor-widget-hero_section_pro_0dc0854d .hero-pro-0dc0854d,
.elementor-widget-hero_section_pro_0dc0854d .hero-pro-0dc0854d__inner {
  width: 100%;
}

.elementor-widget-hero_section_pro_0dc0854d .elementor-widget-container {
  overflow: hidden !important;
}

.elementor-widget-hero_section_pro_0dc0854d.hero-pro-0dc0854d-force-full-height-yes,
.elementor-widget-hero_section_pro_0dc0854d.hero-pro-0dc0854d-force-full-height-yes .elementor-widget-container,
.elementor-widget-hero_section_pro_0dc0854d.hero-pro-0dc0854d-force-full-height-yes .hero-pro-0dc0854d,
.elementor-widget-hero_section_pro_0dc0854d.hero-pro-0dc0854d-force-full-height-yes .hero-pro-0dc0854d__inner {
  height: 100%;
}

.hero-pro-0dc0854d {
  position: relative;
  width: 100%;
  min-height: var(--hero-min-height, 100vh);
  height: var(--hero-height, auto);
  overflow: hidden !important;
  border-radius: var(--hero-radius, 0px);
}

.hero-pro-0dc0854d__inner,
.hero-pro-0dc0854d__media {
  border-radius: inherit;
}

.hero-pro-0dc0854d__inner {
  position: relative;
  width: 100%;
  min-height: inherit;
  height: 100%;
}

.hero-pro-0dc0854d__media,
.hero-pro-0dc0854d__content {
  position: absolute;
  inset: 0;
}

.hero-pro-0dc0854d__media {
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden !important;
}

.hero-pro-0dc0854d__media video,
.hero-pro-0dc0854d__media iframe,
.hero-pro-0dc0854d__media img,
.hero-pro-0dc0854d-bg-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  transform: scale(var(--hero-media-scale, 1));
  transform-origin: center center;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
}

/* Vimeo Background Cover and Position Calculations */
.hero-pro-0dc0854d-bg-vimeo {
  width: 177.78vh !important; /* 16:9 ratio in height units */
  height: 56.25vw !important;  /* 16:9 ratio in width units */
  min-width: 100% !important;
  min-height: 100% !important;
  position: absolute;
  top: 50% !important;
  left: 50% !important;
  /* Translate centering offset combined with the user-defined positional offsets and scale */
  /* Convert 0-100% variables to shift around the -50% center */
  transform: translate(
    calc(-50% + (var(--hero-media-pos-x, 50%) - 50%)),
    calc(-50% + (var(--hero-media-pos-y, 50%) - 50%))
  ) scale(var(--hero-media-scale, 1)) !important;
  transform-origin: center center !important;
  object-fit: cover;
}

.hero-pro-0dc0854d-bg-video {
  object-fit: cover;
  object-position: var(--hero-media-pos-x, 50%) var(--hero-media-pos-y, 50%);
}

.hero-pro-0dc0854d-bg-image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.hero-pro-0dc0854d-bg-poster {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease-in-out;
  z-index: 2;
}

.hero-pro-0dc0854d__content {
  z-index: 3;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.hero-pro-0dc0854d-text-content {
  display: flex;
  flex-direction: column;
  align-items: inherit;
  width: 100%;
}

.hero-pro-0dc0854d-subtitle {
  margin: 0;
  will-change: opacity, transform;
}

.hero-pro-0dc0854d-btn {
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: inherit;
}
