.block--hero-slide {
  position: relative;
  background-color: var(--bs-body-color);
  background-repeat: no-repeat !important;
  overflow: auto;
  transition-property: opacity;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 992px) {
  .block--hero-slide {
    height: auto;
    overflow: hidden;
    aspect-ratio: 16/9;
  }
}
.block--hero-slide .hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
}
.block--hero-slide .content {
  position: relative;
  height: 100%;
  width: 80%;
  background: rgb(40, 40, 40, var(--hero-slide-opacity));
}
@media (min-width: 992px) {
  .block--hero-slide .content {
    width: var(--hero-slide-content-width);
  }
}
.block--hero-slide .content > * {
  position: relative;
  z-index: 1;
}
.block--hero-slide .slide {
  position: relative;
  z-index: 1;
}
.block--hero-slide .slide.full-overlay {
  width: 100% !important;
  height: 100% !important;
}
.block--hero-slide .slide.full-overlay .content {
  width: 100% !important;
}
.block--hero-slide .slide .slide-image {
  position: absolute;
  display: block;
  inset: 0;
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
@media (max-width: 767.98px) {
  .block--hero-slide .slide .slide-image {
    position: relative;
    width: calc(100% + 3rem);
    inset: 0 -1.5rem;
  }
}

.editor-styles-wrapper .block--hero-slide {
  margin-bottom: 1rem;
  aspect-ratio: auto;
}
.editor-styles-wrapper .block--hero-slide .content {
  margin-top: 3rem;
  margin-bottom: 3rem;
}
