.t888-video-wrapper {
  aspect-ratio: 26 / 11;
  position: relative;
  cursor: pointer;
}

/* Gradient overlay cho style3 (.t888-hero-video-overlay) */
.t888-video-wrapper.t888-video-style3 .t888-hero-video-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  /* Không chặn tương tác bên dưới */
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(64, 0, 0, 0.008) 40%,
      rgba(0, 0, 0, 0.35) 100%);
  z-index: 2;
}

.t888-video-overlay .t888-video-thumbnail {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
  outline: 1px solid var(--secondary-color);
  outline-offset: -20px;
}

.t888-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--secondary-color);
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--third-color);
  transition: all 0.3s ease;
  z-index: 3;
  /* Cao hơn .hero-video__overlay (z-index: 2) */
}

.t888-play-button:hover {
  background-color: var(--third-color);
  color: var(--secondary-color);
}

.t888-video-frame {
  position: relative;
  width: 100%;
  padding-top: 42.31%;
  display: none;
}

.t888-video-frame iframe,
.t888-video-frame video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 767px) {
  .t888-video-wrapper {
    aspect-ratio: 16 / 9 !important;
  }
}

@media (max-width: 480px) {
  .t888-play-button {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}