.video-post-holder {
  width: 100%;
  position: relative;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-left: 0 auto;
  margin-right: 0 auto;
  cursor: pointer;
  margin-top: 5px;
  margin-bottom: 5px;
}

.video-post-holder .video-poster {
  object-fit: cover;
  width: 100%;
  aspect-ratio: 16/9;
}

.video-post-title {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 4px;
  right: 4px;
  color: #000;
  font-weight: normal;
  font-size: clamp(14px, 4vw, 20px);
}

.video-post-holder:hover .video-post-title {
  color: #0000ff;
}

.video-post-holder:before {
  content: '';
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: all 0.3s;
} 

.video-post-holder:hover:before {
  content: '';
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
  background-color: #e4e4ea;
  position: absolute;
  transition: all 0.3s;
  opacity: 0.4;
}

.oembed_custom-thumbnail,
.oembed_custom-thumbnail:hover,
.oembed_custom-thumbnail:focus,
.oembed_custom-thumbnail:active {
  align-items: center;
  appearance: none;
  background-color: transparent;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0;
  border: none;
  display: flex;
  height: 100%;
  justify-content: center;
  left: 0;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

.oembed_custom-thumbnail_icon {
  align-items: center;
  cursor: pointer;
  display: flex;
  justify-content: center;
  position: absolute;
  width: 70px;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media only screen and (min-width: 768px) {
  .video-post-holder {
    width: 28%; /* Approximately one-third of the container */
    float: left;
    margin-left: 2%; /* Small margin to separate the videos */
    margin-right: 2%;
  }

  .video-post-holder:nth-child(3n+1) {
    clear: left; /* Clear left for the first video in each row */
  }
}


  .video-listing-wrapper:after { 
    content: "";
    display: table;
    clear: both;
  }
}
