.video-thumbnail {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 5px;
  overflow: hidden;
  text-decoration: none;
}

.video-thumbnail .video-wrapper {
  position: relative;
}

.video-thumbnail img {
  width: 100%;
  display: block;
  border-radius: 5px;
}

.video-thumbnail::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -20px;
  margin-top: -30px;
  border-style: solid;
  border-width: 30px 0 30px 50px; /* top, right, bottom, left */
  border-color: transparent transparent transparent red;
  opacity: 0.8;
  z-index: 10;
  pointer-events: none;
}

.video-thumbnail-small {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 5px;
  overflow: hidden;
  text-decoration: none;
}

.video-thumbnail-small .video-wrapper {
  position: relative;
}

.video-thumbnail-small img {
  width: 100%;
  display: block;
  border-radius: 5px;
}

.video-thumbnail-small::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -10px;
  margin-top: -15px;
  border-style: solid;
  border-width: 15px 0 15px 25px; /* top, right, bottom, left */
  border-color: transparent transparent transparent red;
  opacity: 0.8;
  z-index: 10;
  pointer-events: none;
}
