/* Video watch page — cinematic CARD player. Scoped to .video-show. */

.video-show .video-layout {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 960px) {
  .video-show .video-layout {
    grid-template-columns: minmax(0, 1fr) 17.5rem;
    align-items: start;
  }

  .video-show .video-main {
    grid-column: 1;
    grid-row: 1;
  }

  .video-show .video-sidebar {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: calc(var(--header-h, 4rem) + 1rem);
  }
}

.video-show .vid-player {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-card, 12px);
  border: 1px solid color-mix(in srgb, var(--green, #019c3e) 28%, var(--line, #e4e2dc));
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(1, 156, 62, 0.22), transparent 55%),
    #0c1a12;
  box-shadow: 0 18px 40px rgba(1, 77, 31, 0.16);
}

.video-show .vid-player::before {
  content: "";
  position: absolute;
  inset-inline: 0.7rem;
  top: 0.45rem;
  height: 0.22rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--accent-gold, #c4a035) 70%, #fff),
    transparent
  );
  opacity: 0.7;
  z-index: 2;
  pointer-events: none;
}

.video-show .vid-player iframe,
.video-show .vid-player video,
.video-show .vid-player img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #0c1a12;
}

.video-show .vid-player video {
  object-fit: contain;
}

.video-show .vid-player img {
  object-fit: cover;
}

.video-show .vid-player.is-live iframe,
.video-show .vid-player.is-live video {
  z-index: 1;
}

.video-show .video-meta-actions .btn {
  text-decoration: none;
}

.video-show .vid-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  margin: 0.75rem 0 0;
}

.video-show .vid-tags a {
  color: var(--green, #019c3e);
  font-size: var(--fs-sm, 0.875rem);
  font-weight: var(--fw-title, 600);
}

.video-show .vid-tags a:hover,
.video-show .vid-tags a:focus-visible {
  color: var(--green-dark, #014d1f);
}

@media (max-width: 639px) {
  .video-show .video-meta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .video-show .video-meta-actions .btn,
  .video-show .video-meta-actions .inner-crosslink {
    justify-content: center;
  }
}

.video-show--reel .video-stack {
  display: grid;
  justify-items: center;
}

.video-show--reel .vid-player {
  width: min(22rem, 100%);
  max-height: min(78vh, 42rem);
  aspect-ratio: 9 / 16;
  border-radius: 1.5rem;
  box-shadow: 0 22px 48px rgba(1, 77, 31, 0.22);
}

.video-show--reel .vid-player iframe {
  width: 315.55%;
  height: 100%;
  inset-inline-start: 50%;
  transform: translateX(-50%);
}

.video-show--reel .vid-player video,
.video-show--reel .vid-player img {
  object-fit: cover;
}

.video-show--reel .video-meta {
  width: min(36rem, 100%);
}

.video-show--reel .sidebar-videos-item img {
  height: 5rem;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
