.video-item {
  cursor: pointer;
  background-color: #181a24;
  padding: 10px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  flex: 0 0 220px;
  margin-right: 10px;
}

.video-item:hover {
  transform: scale(1.1);
}

.preview-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 6px;
}

.preview-container img,
.preview-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-title-with-icon {
  display: flex;
  align-items: center;
  margin-top: 10px;
  gap: 8px;
  color: white;
  font-size: 0.8rem;
}

.video-title-text::first-line {
  font-size: 0.85rem;
  font-weight: bold;
}

.icon-placeholder {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: ##181a24;
  object-fit: cover;
  margin-left: 8px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  max-width: 100%;
  max-height: 100%;
}

.modal-content video,
.modal-content iframe {
  width: 81vw;
  height: 81vh;
}

.close-button {
  position: absolute;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  font-size: 40px;
  top: -20px;
  right: -20px;
  z-index: 9999;
  border-radius: 50%;
}
