.em-testimonial-player {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  aspect-ratio: var(--em-video-ratio, 16 / 9);
  background: #0c100e;
}

.em-testimonial-player iframe,
.em-testimonial-player video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: #0c100e;
}

.em-testimonial-poster {
  position: absolute;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: #f7f6f2;
  background: #0c100e;
  cursor: pointer;
}

.em-testimonial-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.em-testimonial-placeholder-label {
  position: absolute;
  inset: auto 20px 20px;
  z-index: 1;
  color: #e4d8bd;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-align: left;
  text-transform: uppercase;
}

.em-testimonial-poster::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, .25));
  content: "";
}

.em-testimonial-play {
  position: relative;
  z-index: 1;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  padding-left: 4px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  color: #18211d;
  background: #e4d8bd;
  box-shadow: 0 5px 24px rgba(0, 0, 0, .24);
  font-size: 19px;
  transition: transform .2s ease, background-color .2s ease;
}

.em-testimonial-poster:hover .em-testimonial-play,
.em-testimonial-poster:focus-visible .em-testimonial-play {
  transform: scale(1.06);
  background: #f1e8d5;
}

.em-testimonial-poster:focus-visible {
  outline: 3px solid #e4d8bd;
  outline-offset: -4px;
}

@media (prefers-reduced-motion: reduce) {
  .em-testimonial-play { transition: none; }
}
