/* плейсхолдер для видеообзора (анимированный кружочек) */

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 50.25%;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-container .loading-spinner {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 4px solid #fff;
  border-top: 4px solid #656464;
  border-radius: 50% !important;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}
