.block--hero-video {
  background-color: #280A5F;
}
.block--hero-video .backdrop {
  position: fixed !important;
  display: none;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
}
.block--hero-video .video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.block--hero-video .video-wrapper .video {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
}
.block--hero-video .play-button {
  background-color: transparent;
  border: none;
}
.block--hero-video .play-button::before {
  content: url('data:image/svg+xml; utf8, <svg width="94" height="95" viewBox="0 0 94 95" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="47" cy="47.6353" r="47" fill="white" fill-opacity="0.9"/><path d="M36 68.6353V26.6353L65 46.6353L36 68.6353Z" fill="%23321478"/></svg>');
  position: relative;
  display: block;
  transform: scale(1);
  transition-property: transform;
}
.block--hero-video .play-button:hover::before {
  transform: scale(1.1);
  transition-property: transform;
}
.block--hero-video.expanded .backdrop {
  display: block;
  z-index: 2000;
  opacity: 1;
  transition: opacity 1s ease 0.5s;
}
.block--hero-video.expanded .video-wrapper {
  z-index: 2010;
  pointer-events: none;
}
.block--hero-video.expanded .video-wrapper .video {
  width: 80vw;
  height: auto;
  max-height: 70vh;
  aspect-ratio: 1.778;
  border: 2px solid #FFFFFF;
  border-radius: 10px;
  pointer-events: all;
}
@media (max-width: 991.98px) {
  .block--hero-video.expanded .video-wrapper .video {
    left: 1rem;
    width: calc(100vw - 2rem);
  }
}
.block--hero-video.expanded .video-wrapper .video::before {
  display: none;
}
.block--hero-video.expanded .video-wrapper .video .close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  color: #FFFFFF;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
}
.block--hero-video.expanded .video-wrapper .video iframe,
.block--hero-video.expanded .video-wrapper .video video {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  height: 100% !important;
  width: 100%;
  border-radius: 10px;
}
