/* Featured video player slot */
.video-playback-slot {
  position: relative;
  display: block;
  width: min(350px, calc(100% - 32px));
  aspect-ratio: 1 / 1;
  margin: 24px auto 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background: #12060b;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.video-playback-slot video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #12060b;
}
.video-playback-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Sound toggle button in the top-right corner of the video */
.video-sound-btn {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 12px 0 10px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  background: rgba(0, 0, 0, .64);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.video-sound-btn:hover {
  transform: scale(1.04);
}
.video-sound-btn.is-sound-on {
  background: rgba(220, 20, 60, .92);
  border-color: rgba(255, 255, 255, .55);
  box-shadow: 0 4px 14px rgba(220, 20, 60, .45);
}

/* Sound hint on muted state */
.video-sound-hint {
  position: absolute;
  z-index: 2;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .64);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  pointer-events: none;
  opacity: 1;
  transition: opacity .35s ease;
  white-space: nowrap;
}
.video-sound-hint.is-hidden {
  opacity: 0;
}
.video-sound-hint::before {
  content: '🔇';
  font-size: 12px;
}

.video-play-label {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(0, 0, 0, .56);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 18px;
}

@media (max-width: 767px) {
  .video-playback-slot {
    margin: 16px auto 12px;
    border-radius: 14px;
  }
}
