body #home-hero {
  --ia-hero-min: clamp(560px, 64vh, 680px);
  --ia-hero-gutter: max(20px, calc((100vw - var(--ia-container)) / 2));
  --ia-hero-stats: 165px;
  min-height: var(--ia-hero-min);
}

body #home-hero > .elementor-element:not(#home-slider) {
  width: 100%;
  align-self: stretch;
  min-height: var(--ia-hero-min);
  padding-bottom: 0 !important;
}

body #home-hero > .elementor-element:not(#home-slider) > .e-con-inner {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  min-height: var(--ia-hero-min);
  padding-top: var(--ia-space-2xl) !important;
  padding-bottom: 0 !important;
}

body #home-hero .e-con-inner > .elementor-element:has(h1) {
  width: 100% !important;
  max-width: min(56%, 640px);
  margin: 0;
  flex: 0 0 auto;
}

body #home-hero h1.elementor-heading-title {
  font-size: var(--ia-text-display) !important;
  line-height: var(--ia-leading-tight) !important;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ia-content-inverse);
  text-wrap: balance;
}

body #home-hero #home-slider .owl-item .eleinside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-sizing: border-box;
  padding: 0 var(--ia-hero-gutter)
    calc(var(--ia-hero-stats) + var(--ia-space-xl));
}

body #home-hero #home-slider .owl-item .eleinside > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body #home-hero #home-slider::after {
  display: none;
}

body #home-hero #home-slider .owl-item .eleinside::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 36, 64, 0.14) 0%,
      rgba(0, 36, 64, 0.08) 28%,
      rgba(0, 36, 64, 0.4) 68%,
      rgba(0, 36, 64, 0.8) 100%
    ),
    radial-gradient(
      84% 78% at 8% 54%,
      rgba(0, 36, 64, 0.88) 0%,
      rgba(0, 36, 64, 0.66) 40%,
      rgba(0, 36, 64, 0.26) 68%,
      rgba(0, 36, 64, 0) 86%
    );
}

body #home-hero #home-slider .eleslideinside {
  position: relative;
  z-index: 2;
  inset: auto;
  transform: none;
  margin: 0;
  max-width: min(58%, 700px);
  padding: 0;
}

body #home-hero .eleslideinside h2 {
  font-size: var(--ia-text-sm) !important;
  line-height: var(--ia-leading-snug) !important;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin: 0 0 var(--ia-space-2xs);
  color: rgba(255, 255, 255, 0.66);
}

body #home-hero .eleslideinside p {
  font-size: var(--ia-text-lg);
  line-height: var(--ia-leading-normal);
  margin: 0;
  max-width: none;
  color: rgba(255, 255, 255, 0.9);
  text-wrap: pretty;
}

body #home-hero .eleslideinside > a:last-of-type {
  display: block;
  color: inherit;
}

body #home-hero .eleslideinside > a:last-of-type p::after {
  content: "";
  display: inline-block;
  vertical-align: -0.16em;
  margin-left: 0.45em;
  width: 1.05em;
  height: 1.05em;
  background-color: var(--ia-content-inverse);
  transition: transform var(--ia-motion-fast) var(--ia-ease);
  -webkit-mask: var(--ia-arrow-mask) no-repeat center / contain;
  mask: var(--ia-arrow-mask) no-repeat center / contain;
}

body #home-hero .eleslideinside > a:last-of-type:hover p::after,
body #home-hero .eleslideinside > a:last-of-type:focus-visible p::after {
  transform: translateX(0.25em);
}

body #home-hero .eleslideinside h2 br {
  display: none;
}

body #home-hero .e-con-inner > .elementor-element:has(.elementor-counter) {
  width: 100% !important;
  max-width: none !important;
  margin-top: auto;
  margin-bottom: 0 !important;
  flex: 0 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: end;
  column-gap: var(--ia-space-xl);
  padding-bottom: var(--ia-space-md);
}

body #home-hero
  .e-con-inner
  > .elementor-element:has(.elementor-counter)
  > .elementor-element {
  border: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 0 !important;
  padding: var(--ia-space-md) 0 0 !important;
}

body #home-hero .e-con-inner .elementor-element:has(> .elementor-icon-wrapper) {
  display: none;
}

body #home-hero .e-con-inner .elementor-counter-number-wrapper {
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.375rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}

@media screen and (max-width: 1155px) {
  body #home-hero #home-slider .owl-item .eleinside::after {
    background-image: linear-gradient(
      to bottom,
      rgba(0, 36, 64, 0.8) 0%,
      rgba(0, 36, 64, 0.66) 34%,
      rgba(0, 36, 64, 0.52) 50%,
      rgba(0, 36, 64, 0.7) 70%,
      rgba(0, 36, 64, 0.82) 100%
    );
  }
}

@media screen and (max-width: 1155px) {
  body #home-hero {
    --ia-hero-min: auto;
    --ia-hero-stats: 0px;
    --ia-hero-slide-top: var(--ia-space-xl);
    --ia-hero-slide-space: 300px;
    min-height: 0;
  }

  body #home-hero > .elementor-element:not(#home-slider),
  body #home-hero > .elementor-element:not(#home-slider) > .e-con-inner {
    min-height: 0;
  }

  body #home-hero > .elementor-element:not(#home-slider) > .e-con-inner {
    padding-top: var(--ia-hero-slide-space) !important;
    padding-bottom: var(--ia-space-xl);
  }

  body #home-hero #home-slider .owl-item .eleinside {
    justify-content: flex-start;
    padding: var(--ia-hero-slide-top) max(20px, var(--ia-gutter)) 0;
  }

  body #home-hero #home-slider .eleslideinside {
    max-width: none;
  }

  body #home-hero .e-con-inner > .elementor-element:has(.elementor-counter) {
    margin-top: var(--ia-space-xl);
  }
}

@media screen and (min-width: 641px) {
  body #home-hero .e-con-inner > .elementor-element:has(.elementor-counter) {
    grid-template-rows: auto !important;
  }
}

@media screen and (max-width: 640px) {
  body #home-hero .e-con-inner > .elementor-element:has(.elementor-counter) {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0;
  }

  body #home-hero
    .e-con-inner
    > .elementor-element:has(.elementor-counter)
    > .elementor-element {
    align-items: flex-start !important;
    text-align: left !important;
    padding: var(--ia-space-sm) 0 !important;
  }

  body #home-hero .e-con-inner .elementor-counter {
    flex-direction: row-reverse !important;
    align-items: baseline !important;
    justify-content: flex-end !important;
    gap: var(--ia-space-xs);
    text-align: left !important;
  }

  body #home-hero .e-con-inner .elementor-counter-number-wrapper {
    font-size: 1.875rem !important;
    justify-content: flex-start !important;
    white-space: nowrap;
  }

  body #home-hero .e-con-inner .elementor-counter-title {
    flex: 0 1 auto;
    margin: 0 !important;
    text-align: left !important;
  }
}

@media screen and (min-width: 1156px) {
  body #home-hero .owl-nav {
    position: absolute;
    z-index: 4;
    right: var(--ia-hero-gutter);
    bottom: calc(var(--ia-hero-stats) + var(--ia-space-xl));
    display: flex;
    gap: var(--ia-space-2xs);
    width: auto;
    height: auto;
    margin: 0;
  }

  body #home-hero .owl-nav > div {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--ia-radius-full);
    background-color: rgba(0, 36, 64, 0.55);
    opacity: 1;
    cursor: pointer;
    transition: background-color var(--ia-motion-fast) var(--ia-ease),
      border-color var(--ia-motion-fast) var(--ia-ease);
  }

  body #home-hero .owl-nav > div::before {
    content: "";
    width: 20px;
    height: 20px;
    background-color: var(--ia-content-inverse);
    -webkit-mask: var(--ia-arrow-mask) no-repeat center / contain;
    mask: var(--ia-arrow-mask) no-repeat center / contain;
  }

  body #home-hero .owl-nav > div.owl-prev::before {
    transform: rotate(180deg);
  }

  body #home-hero .owl-nav > div:hover,
  body #home-hero .owl-nav > div:focus-visible {
    background-color: rgba(0, 36, 64, 0.85);
    border-color: var(--ia-content-inverse);
  }

  body #home-hero .owl-nav > div:focus-visible {
    outline: 2px solid var(--ia-content-inverse);
    outline-offset: 2px;
  }

  body #home-hero .owl-nav > div.disabled {
    opacity: 0.4;
    cursor: default;
  }
}



body #home-hero .e-con-inner > .elementor-element:has(h1) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

body #home-hero .eleslideinside h2 {
  font-size: var(--ia-text-h2) !important;
  line-height: var(--ia-leading-tight) !important;
  font-weight: 600;
  letter-spacing: 0.005em;
  margin: 0 0 var(--ia-space-sm);
  color: var(--ia-content-inverse);
  text-wrap: balance;
}

@media screen and (min-width: 1156px) {
  body #home-hero #home-slider .eleslideinside {
    max-width: min(58%, 700px);
  }
}
