.teaser-wrapper {
    display: grid;
    justify-items: center;
    align-items: start;
}

.teaser {
    position: relative;
    /*border-radius: 16px;*/
    overflow: hidden;
    /*max-width: 900px;*/
    aspect-ratio: 4/4;

}

.teaser__video {
    width: 100%;
    /* height: auto; */
    height: 100%;
    display: block;
    object-fit: cover;
    z-index: 1;
}

.teaser__playBtn {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 60px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: 0;
    cursor: pointer;
}

.teaser__overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 2;
}

.teaser.is-ended .teaser__overlay {
    opacity: 1;
    pointer-events: auto;
}

.teaser__overlayInner {
    text-align: center;
    padding: 18px;
    color: #fff;
}

.teaser__title {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 12px;
}

.teaser__btn {
    display: inline-block;
    /*background-color: #0866ff;*/
    /*background-color: rgb(8, 102, 255);*/
    /*color: #fff;*/
    /*color: rgba(246, 248, 255, .86);*/
    border-radius: 999px;
    text-decoration: none;
    /*font-weight: 600;*/

    margin-top: 12px;
    padding: 10px 16px;
}

.teaser__replay {
    margin-top: 10px;
    /* background: transparent; */
    background: none;
    border: 0;
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    .teaser__overlay {
        opacity: 1;
        pointer-events: auto;
    }

    /* no autoplay preview */
}



/* Play button */
.play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: none;
  background: transparent;
  cursor: pointer;
}

.play--glass .play__triangle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.15);
  display: grid;
  place-items: center;
  position: relative;
}

.play--glass .play__triangle::after {
  content: "";
  border-left: 18px solid white;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

.play--glass:hover .play__triangle {
  transform: scale(1.05);
}

.play__triangle {
    transition: transform 0.2s ease;
}
