.video-library {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.video-card {
  border: 1px solid var(--color--border, #ddd);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.video-card-media {
  padding: 0.9rem;
  padding-bottom: 0.4rem;
}

.video-player-host,
.video-poster-button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.video-player-host > iframe,
.video-player-host > video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.video-poster-button img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.video-poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.55));
  border-radius: 4px;
  transition: background 0.2s ease;
}

.video-poster-button:hover .video-poster-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.72));
}

.video-play-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  position: relative;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.video-play-icon::before {
  content: '';
  position: absolute;
  left: 1.13rem;
  top: 0.89rem;
  width: 0;
  height: 0;
  border-top: 0.62rem solid transparent;
  border-bottom: 0.62rem solid transparent;
  border-left: 1rem solid rgba(0, 0, 0, 0.8);
}

.video-provider-badge {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1;
  padding: 0.32rem 0.42rem;
  border-radius: 3px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.video-card-body {
  padding: 0.85rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.video-card-title {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.22;
}

.video-card-meta {
  margin: 0;
  color: var(--color--faded);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.video-card-description {
  margin: 0;
  color: var(--color--text);
  font-size: 0.95rem;
  line-height: 1.45;
  white-space: pre-line;
}

.video-card-actions {
  margin-top: 0.2rem;
}

.video-description-toggle {
  margin-top: 0.2rem;
  border: 0;
  padding: 0;
  background: none;
  color: var(--color--faded);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.video-description-toggle:hover {
  color: var(--color--text);
}

#related-gallery .filmhatas-album-block {
  margin-bottom: 2.5rem;
}

#related-gallery .filmhatas-album-cover {
  width: 100%;
  display: block;
  border-radius: 4px;
  margin-top: 0.75rem;
}

#related-gallery .filmhatas-album-title {
  margin-bottom: 0.4rem;
}

#related-gallery .filmhatas-album-description {
  margin-bottom: 0.75rem;
}
