.mySlides {
  position: relative;
  align-items: center;
  width: 100%;
  height: 600px;
  border-radius: 30px;
  display: none; 
}

.mySlides .hero-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

img {
  vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
  position: relative;
  margin-inline: auto;
  width: 100%;
  max-width: 1920px;
  padding-inline: 40px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
 .slideshow-container {
   padding-inline: 20px;
  }
}

/* Next & previous buttons */
.prev,
.next,
.prev:hover,
.next:hover {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: #ffffff;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  user-select: none;
  text-decoration: none;
}

.next { right: 6.5%; border-radius: 5px 0 0 5px; }
.prev { left: 6.5%; border-radius: 0 5px 5px 0; }

@media screen and (max-width: 1699px) {
  .next { right: 0; }
  .prev { left: 0; }
}

@media screen and (min-width: 2400px) {
  .next { right: 12%; }
  .prev { left: 12%; }
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

/* Dot navigation */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

.heroslide-nav {
  margin: 0 auto;
  margin-top: 20px;
  width: 100%;
}

/* Fade animation */
.sfade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1s;
  animation-name: fade;
  animation-duration: 1s;
}

@-webkit-keyframes fade { from { opacity: 0.6; } to { opacity: 1; } }
@keyframes fade { from { opacity: 0.6; } to { opacity: 1; } }

/* Text overlay box on slide */
.headerslider-meta {
  min-width: 50%;
  max-width: 50%;
  padding: 40px;
  margin-left: 0;
  color: #ffffff;
  background-color: rgba(34, 34, 34, 0.6);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.headerslider-meta > p {
  margin: 0;
}

.headerslider-meta-title {
  font-size: 30px;
  font-weight: 500;
  line-height: 110% !important;
  font-variant: all-small-caps;
  color: #A8A8AC;
  letter-spacing: 0.1em;
}

.headerslider-meta-text {
  font-size: 50px;
  font-weight: 400;
  line-height: 110% !important;
  letter-spacing: 0px;
}

.headerslider-meta-button {
  margin-top: 20px;
  width: fit-content;
}

@media (min-width: 1001px) {
 .hero-inner {
    padding: 0 20px;
  }
  }

@media (max-width: 1000px) {
   .hero-inner {
   justify-content: center; 
  }
  
 .headerslider-meta {
   padding: 20px;
   width: 90%;
   max-width: none;
  } 
}

/* Responsive text */
@media screen and (max-width: 450px) {
  .headerslider-meta-title { font-size: 1.5em; }
  .headerslider-meta-text {
    font-size: 1.7em;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    -webkit-hyphenate-limit-before: 3;
    -webkit-hyphenate-limit-after: 4;
    -ms-hyphenate-limit-chars: 10 3 4;
    hyphenate-limit-chars: 10 3 4;
  }
}

@media (max-width: 568px) {
 .mySlides {
  position: relative;
  align-items: center;
  width: 100%;
  height: 300px;
  border-radius: 30px;
  display: none; 
} 
  
  .headerslider-meta-title {
   font-size: 18px; 
  }
  
  .headerslider-meta-text {
   font-size: 18px; 
  }
}

.video-embed-ratio {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #fff;
  border-radius: 30px;   
  overflow: hidden;
}

@supports not (aspect-ratio: 16 / 9) {
  .video-embed-ratio::before {
    content: "";
    display: block;
    padding-top: 56.25%;
  }
  .video-embed-ratio > iframe {
    position: absolute;
    inset: 0;
  }
}

.-hero-modal-video .video-embed-code {
  width: 100%;
}

.-hero-modal-video .video.modal-dialog {
  max-width: 800px;
  width: 100%;
  background: #fff;
  padding: 40px;
  border-radius: 30px;
  box-sizing: border-box;
}

.video-embed-ratio iframe {
  border: 0;
}