/**
* Block Name: hero
*/

section.hero .custom-clipped {
  clip-path: polygon(0% 100%, 25% 0%, 100% 0%, 100% 100%, 100% 100%);
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  overflow: hidden;
}

section.hero .custom-clipped video {
  object-fit: cover;
  height: 100%;
}

section.hero .swiper-container,
section.hero .swiper-wrapper,
section.hero .swiper-slide {
  min-height: 619px;
  border-radius: 10px;
}

section.hero .swiper-container {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  padding: 20px;
}

section.hero .swiper-container .swiper-pagination {
  top: 100px;
  bottom: 0;
  display: flex;
  flex-direction: row;
  gap: 10px;
  height: 10px;
  position: relative;
}

section.hero
  .swiper-container
  .swiper-pagination
  span.swiper-pagination-bullet {
  position: relative;
  background: #000;
  height: 5px;
  border-radius: 18px;
  width: 5px; /* base width is 95px as required */
  overflow: hidden;
  opacity: 1;
}

section.hero
  .swiper-container
  .swiper-pagination
  span.swiper-pagination-bullet-active {
  width: 95px; /* active bullet becomes 95px */
}

section.hero
  .swiper-container
  .swiper-pagination
  span.swiper-pagination-bullet-active
  .fill {
  background: #fdbd26;
  height: 5px;
  display: block;
}

section.hero .swiper-slide {
  width: 100%;
  background: radial-gradient(
    182.98% 104.53% at 1.15% 0%,
    #fff 0%,
    #eaeaea 100%
  );
}

section.hero .swiper-slide p {
  font-size: 28px;
  font-style: normal;
  font-weight: 300;
}

section.hero .bg_static_cover {
  position: absolute;
  top: 0;
  right: 0;
  width: 75%;
}

section.hero .video .image_wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 75%;
  height: 100%;
}
section.hero iframe,
section.hero object,
section.hero embed {
  width: 100%;
  height: 100%;
  position: absolute;
}

@media (min-width: 1440px) {
  section.hero .bg_static_cover,
  section.hero .video .image_wrapper {
    width: 65%;
  }
}

@media (max-width: 1199px) {
  section.hero .links_container {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 30px;
  }
}

@media (max-width: 992px) {
  section.hero .swiper-pagination.is-mobile {
    position: relative;
    top: auto;
    bottom: auto;
    height: auto;
    display: flex;
    justify-content: flex-start;
    margin: 15px 0;
    order: 2;
  }

  section.hero
    .swiper-container
    .swiper-pagination
    span.swiper-pagination-bullet {
    height: 5px;
  }

  section.hero .swiper-slide {
    background: none;
  }

  section.hero .swiper-slide .col-sm-12 {
    background: radial-gradient(
      182.98% 104.53% at 1.15% 0%,
      #fff 0%,
      #eaeaea 100%
    );
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 15px;
  }

  section.hero .swiper-slide .pt_150 {
    padding-top: 0px;
  }
  section.hero .container.image {
    overflow: hidden;
  }

  section.hero .row .gap,
  section.hero .row {
    order: 3;
  }

  section.hero .row .gap {
    gap: 0;
  }

  section.hero .links_container {
    flex-direction: row !important;
    gap: 30px !important;
  }

  section.hero .swiper-container,
  section.hero .swiper-wrapper,
  section.hero .swiper-slide {
    min-height: 30svh;
  }

  section.hero .swiper-slide:not(.swiper-slide-fully-visible) {
    opacity: 0 !important;
  }

  section.hero .swiper-slide .col-lg-4 {
    width: 100%;
  }

  section.hero .image_wrapper,
  section.hero .video .image_wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    clip-path: none;
    border-radius: 0;
    order: 1;
  }

  section.hero .image_wrapper img,
  section.hero .video .image_wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: none;
    border-radius: 0;
  }

  section.hero .bg_static_cover {
    position: relative;
    width: 100%;
  }

  section.hero .swiper-container {
    padding: 0;
  }

  section.hero .swiper-slide .container {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  section.hero .swiper-slide .container.video {
    height: 100%;
  }

  section.hero iframe,
  section.hero object,
  section.hero embed,
  section.hero .video .image_wrapper {
    position: relative;
    width: 100%;
  }
}
