.video__popup__thumb__link{
  display: inline-flex;
  min-width: 100%;
  min-height: 150px;
  align-items: end;
  background-size: cover;
  cursor: pointer;
  position: relative;
}

@media(min-width: 768px){
  .video__popup__thumb__link{
    min-width: 300px;
    min-height: 300px;
    background-size: cover;
    background-position: center;
  }
}

@media(min-width: 1200px){
  .video__popup__thumb__link{
    min-width: 100%;
  }
}

.video__popup__thumb__link:before{
  content: '';
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  transition: 0.3s;
}
.video__popup__thumb__link:after{
  content: '';
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9;
  background-image: url(https://f.hubspotusercontent30.net/hub/20217237/hubfs/raw_assets/public/inteco/img/global/video-icon.svg);
  background-repeat: no-repeat;
  background-position: center;
}

.video__popup__thumb__title{
  display: inline-block;
  padding: 10px 15px;
  border-radius: 0px 35.5px 0px 0px;
  position: relative;
  z-index: 9;
  line-height: 1.3;
}

@media(min-width: 768px){
  .video__popup__thumb__title{
    width: 80%;
  }
}

.video-modal {
  position: fixed;
  z-index: 99999;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-modal.open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}
.video-modal-bg {
  position: absolute;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
  width: 100%;
  height: 100%;
}
.video-modal-container {
  border-radius: 10px;
  background: #fff;
  position: relative;
  padding: 30px;
}

.video-modal-container .hs-video-container{
  min-width: 300px;
}

@media(min-width: 768px){
  .video-modal-container .hs-video-container{
    min-width: 500px;
  }
}

.video-modal-close {
  position: absolute;
  right: 15px;
  top: 15px;
  outline: none;
  appearance: none;
  color: red;
  background: none;
  border: 0px;
  font-weight: bold;
  cursor: pointer;
}