/* ============================================================
   Video slot — shared by the education page and product pages.
   Rendered by snippets/lm-video-slot.liquid.
   ============================================================ */

.lm-video-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}

.lm-video-slot video,
.lm-video-slot iframe,
.lm-video-slot__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  display: block;
}

.lm-video-slot__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.03) 0 12px,
      transparent 12px 24px
    ),
    #14110f;
}

.lm-video-slot__placeholder-mark {
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  position: relative;
}

.lm-video-slot__placeholder-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.5rem 0 0.5rem 0.85rem;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.5);
}

.lm-video-slot__placeholder-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Locked state — same canvas as the placeholder, lock in place of play. */

.lm-video-slot__locked {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.03) 0 12px,
      transparent 12px 24px
    ),
    #14110f;
}

.lm-video-slot__lock {
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
}

.lm-video-slot__locked-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.lm-video-slot__locked-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.lm-video-slot__locked-btn,
.lm-video-slot__locked-link {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.lm-video-slot__locked-btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill, 300px);
  color: #fff;
}

.lm-video-slot__locked-btn:hover,
.lm-video-slot__locked-btn:focus-visible {
  background: #fff;
  color: #14110f;
  border-color: #fff;
}

.lm-video-slot__locked-link {
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.2rem;
}

.lm-video-slot__locked-link:hover,
.lm-video-slot__locked-link:focus-visible {
  color: #fff;
  border-color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .lm-video-slot__placeholder,
  .lm-video-slot__locked {
    background: #14110f;
  }
}

/* Pro chip — sits beside a tutorial number or PDP eyebrow. */

.lm-pro-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1;
  color: var(--color-brand-primary, #000);
  border: 1px solid var(--color-brand-primary, #000);
  border-radius: var(--radius-pill, 300px);
  padding: 0.25rem 0.65rem 0.25rem 0.55rem;
}

.lm-pro-chip--open {
  background: var(--color-brand-primary, #000);
  color: var(--color-brand-background, #fff);
}
