.Video {
  --videoPlayButtonIconEasing: cubic-bezier(0.4, 0, 0.2, 1);
  --videoPlayButtonIconDuration: 350ms;
  --videoOverlayColor: rgba(0, 0, 0, 0.2);
  --videoBorderRadius: var(--cardBorderRadius, 0px);
  position: relative;
  z-index: 0;
  overflow: hidden;
  border-radius: var(--videoBorderRadius)
}

.Card .Video {
  height: 100%
}

.Video ::cue {
  font: var(--fontWeightBold), inherit, var(--fontFamily)
}

@supports (-moz-appearance:none) {
  .Video ::cue {
    font-size: 24px
  }
}

.Video--inCard {
  box-shadow: var(--cardShadowXLarge)
}

.Video--hasBorder {
  border: 1px solid var(--cardBorderColor)
}

.Video--hasMaxWidth {
  margin: 0 auto
}

.Video--excludeControls {
  cursor: pointer
}

.Video__overlay {
  display: var(--overlayDisplay, flex);
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  outline: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: opacity allow-discrete .5s
}

.Video--playing .Video__overlay {
  opacity: 0;
  pointer-events: none
}

.GatedVideo--ended .Video__overlay {
  display: none
}

@starting-style {
  .Video__overlay {
    opacity: 0
  }
}

.Video__overlay:before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: .5;
  background-color: var(--videoOverlayColor)
}

.Video__userLogo {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 3
}

.Video__playButton {
  position: relative;
  z-index: 3;
  transition: var(--videoPlayButtonIconEasing) var(--videoPlayButtonIconDuration)
}

.Video__overlay:hover .Video__playButton {
  transform: scale(1.05)
}

.Video__video {
  width: 100%;
  position: relative;
  z-index: 1;
  vertical-align: top
}

.Video--excludeControls .Video__video {
  pointer-events: none
}

.Video--hasAspectRatio .Video__video {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%
}

.Video--resizeModeFill .Video__video {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover
}

.GatedVideoFormCard__formSuccessfullySubmitted .Video__video {
  -o-object-fit: cover;
  object-fit: cover
}

.Video__video:fullscreen {
  -o-object-fit: contain;
  object-fit: contain
}

.Video__poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  transition: opacity .5s;
  pointer-events: none
}

.Video--posterHidden .Video__poster {
  opacity: 0
}

.Video__posterImage {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
  background: transparent
}
