/* Base styles */
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {

}

/* Стили для видео блоков */
.video-content {
  margin: 1rem 0;
}

.video-content .ratio {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-content iframe,
.video-content video {
  border: none;
  border-radius: 8px;
}

/* YouTube плеер */
#youtube-player-* {
  background: #000;
  border-radius: 8px;
}

/* Fallback сообщения */
.video-fallback {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
}

.video-fallback i {
  color: #ffc107;
  margin-bottom: 1rem;
}

.video-fallback h5 {
  color: #495057;
  margin-bottom: 0.5rem;
}

.video-fallback p {
  color: #6c757d;
  margin-bottom: 1.5rem;
}

/* Анимации для видео блоков */
.video-content {
  transition: all 0.3s ease;
}

.video-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .video-content .ratio {
    margin: 0 -15px;
    border-radius: 0;
  }
  
  .video-content .ratio iframe,
  .video-content .ratio video {
    border-radius: 0;
  }
}
