/* Video section */

.video-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.video-slot {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}

/* If a real <video> is dropped in, it should fill the slot */
.video-slot video,
.video-slot iframe {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 0;
}

.video-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.video-placeholder-bg {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(242,237,227,0.04) 0 12px,
      transparent 12px 24px
    ),
    radial-gradient(ellipse 50% 60% at 50% 40%, color-mix(in oklab, var(--accent) 12%, transparent), transparent 70%),
    var(--bg-2);
}
.video-placeholder-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}
.video-play {
  color: var(--accent);
  transition: transform 0.2s;
  cursor: pointer;
}
.video-play:hover { transform: scale(1.05); }
.video-placeholder-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--fg);
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: rgba(0,0,0,0.4);
}
.video-placeholder-sub {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--fg-dim);
}
.video-placeholder-bar {
  position: absolute;
  left: 24px; right: 24px; bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10.5px;
  color: var(--fg-muted);
}
.video-placeholder-track {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  overflow: hidden;
}
.video-placeholder-track-fill {
  width: 14%;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}

.video-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 700px) { .video-meta { grid-template-columns: 1fr; } }
.video-meta-item {
  background: var(--surface);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.video-meta-item > span:last-child {
  font-size: 15px;
}
