  @keyframes fadeInBackground {
  0% {
    background-color: rgba(var(--bs-dark-rgb, #000), 0);
  }
  100% {
    background-color: rgba(var(--bs-dark-rgb, #000), 0.85);
  }
}
@keyframes stretchWidth-80 {
  0% {
    width: 0;
  }
  100% {
    width: 80%;
  }
}
@keyframes stretchWidth-98 {
  0% {
    width: 0;
  }
  100% {
    width: 98%;
  }
}
.video-player {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  opacity: 0;
  animation: fadeInBackground 0.1s ease-in;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 1rem;
}

.video-player.expanded {
  display: flex;
  opacity: 1;
}

.video-player > iframe,
.video-player > video {
  width: 80%;
  aspect-ratio: 16/9;
  height: auto;
  max-height: 80%;
  background: black;
  margin-bottom: 2%;
  animation: stretchWidth-80 0.1s ease-out;
}

@media (max-width: 575.98px) {
  .video-player {
    padding: 5px;
    animation: fadeInBackground 0.3s ease-in;
  }
  .video-player > iframe,
  .video-player > video {
    width: 98%;
    margin-bottom: 0;
    max-height: 90%;
    animation: stretchWidth-98 0.3s ease-out;
  }
}
.block--video-callout {
  position: relative;
  overflow: hidden;
}

.block--video-callout .backdrop-- {
  position: fixed !important;
  bottom: 0;
  left: 0;
  height: 0;
  pointer-events: none;
  width: 0;
  background-color: var(--bs-light);
  opacity: 0;
  transition: opacity 0.3s ease-out 0.15s;
}

.block--video-callout .video-callout-container {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
}

@media (max-width: 767.98px) {
  .block--video-callout .video-callout-container {
    min-height: 300px;
  }
}
.block--video-callout .video-callout-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.block--video-callout .video-callout-background .background-image,
.block--video-callout .video-callout-background .background-video-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.block--video-callout .video-callout-background .background-video-poster {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.block--video-callout .video-callout-background .background-video-poster:hover {
  transform: scale(1.02);
}

.block--video-callout .video-callout-background .background-video-element {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  -o-object-fit: cover;
     object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.block--video-callout .video-callout-background .background-video-element:hover {
  transform: translate(-50%, -50%) scale(1.02);
}

.block--video-callout.--overlay .video-callout-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

.block--video-callout .video-callout-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  padding: var(--wp--preset--spacing--70);
  gap: 2rem;
}

@media (max-width: 991.98px) {
  .block--video-callout .video-callout-content {
    padding: var(--wp--preset--spacing--60);
  }
}
@media (max-width: 767.98px) {
  .block--video-callout .video-callout-content {
    flex-direction: column;
    gap: 1.5rem;
  }
}
.block--video-callout .video-callout-play {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
}

.block--video-callout .video-callout-play .play-button {
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 100px;
}

.block--video-callout .video-callout-play .play-button > svg {
  top: 0 !important;
}

.block--video-callout .video-callout-inner {
  flex: 1 0 auto;
  max-width: 50%;
}

@media (max-width: 767.98px) {
  .block--video-callout .video-callout-inner {
    max-width: 100%;
  }
}
.block--video-callout .video-callout-inner .acf-innerblocks-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .block--video-callout.--image-bg .video-callout-content {
    justify-content: flex-end;
  }
}
.editor-styles-wrapper .block--video-callout .video-callout-inner {
  background: rgba(0, 0, 0, 0.1);
  padding: 1rem;
  border-radius: 4px;
}
