.block-type-hero {
  background:#eee;
  
}

.block-type-hero .video div.dexktop-only-poster{
  display: flex;
}

.block-type-hero div.mobile-only-poster{
  display: none;
}

.block-type-hero .container {
  margin-top: var(--margin-desktop);
  margin-bottom: var(--margin-bottom-desktop);
  overflow:hidden;
  position:relative;
}

.block-type-hero .video {
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  left:0;
}
.block-type-hero .video video {
  object-fit:cover;
  height: 100%;
  width: 100%;
}


.block-type-hero .poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background-size: cover;
  background-position: 50% 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}
.block-type-hero .poster-play {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background-size: cover;
  background-position: 50% 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-white);
}


@media screen and (max-width:980px) {
  .block-type-hero .poster-play img {
    width: 30px;
    height: 30px;
  }

  .block-type-hero .container{
    height: 95vh;
    max-width:100%;
  }
  .block-type-hero .video div.desktop-only-poster{
    display: none;
  }
  .block-type-hero div.mobile-only-poster{
    display: flex;
  }
}
