.yt-video-card__trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  overflow: hidden;
}

.yt-video-card {
  position: relative;
  z-index: 1;
}

.yt-video-card:after {
  content: "";
  width: 80px;
  height: 80px;
  background-color: var(--theme-palette-color-1);
  position: absolute;
  bottom: -16px;
  right: -16px;
  z-index: 0;
}

.yt-video-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  z-index: 1;
  position: relative;
}

.yt-video-card__trigger:hover .yt-video-card__thumb img {
  transform: scale(1.04);
}

.yt-video-card__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9;
}

.yt-video-card__title {
  font-size: 0.875rem;
  position: absolute;
  background-color: #e7e7e8;
  padding: 0.375rem 1.25rem;
  color: var(--theme-palette-color-4);
  left: 0;
  bottom: 1.5rem;
  margin: 0;
  z-index: 2;
}

.yt-video-card__title::before {
  content: "";
  width: 4px;
  height: 100%;
  background-color: var(--theme-palette-color-1);
  position: absolute;
  top: 0;
  left: -6px;
}

.yt-video-card__trigger:focus-visible {
  outline: 3px solid var(--theme-palette-color-1);
  outline-offset: 3px;
}
