
.video-item {
  background-color: #1a2c3a; /* A slightly lighter dark blue */
  border-radius: 8px;
  border: 1px solid #2a3c4a;
  transition: all 0.3s ease-in-out;
  color: #e2e8f0; /* Light text color for readability */
}

.video-item:hover {
  box-shadow: 0 0 15px rgba(52, 144, 220, 0.7); /* A nice blue glow */
  transform: translateY(-4px);
  border-color: #3490dc;
}

.audio-thumbnail-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px; /* Or match video-thumbnail height */
}

.audio-thumbnail-placeholder img {
  width: 50%;
  height: 50%;
  opacity: 0.8;
}

.video-item .card-body {
  padding: 0.75rem;
}

.video-item .card-title {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: #ffffff;
  font-weight: 500;
}

.video-thumbnail,
.video-thumbnail-placeholder,
.audio-thumbnail-placeholder {
  height: 120px;
  object-fit: cover;
}

.video-group-header {
  margin: 0;
  padding: 0;
  font-size: 1rem; /* Reset font size */
}

.group-toggle-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  background-color: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.group-toggle-btn .toggle-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease-in-out;
}

.group-toggle-btn[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}
