/* Hero of the Lithuanian document-check page: text on the left, the demo clip on the right.
   Below 1024px the clip stacks under the text. */
.doc-hero { display: grid; gap: var(--space-7, 3rem); }
.doc-hero-copy { min-width: 0; }

@media (min-width: 1024px) {
  .doc-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--column-gap);
    align-items: center;
  }
}

.doc-clip { margin: 0; width: 100%; max-width: 36rem; justify-self: center; }

.doc-clip-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-2xl);
  background: #0a0a0a;
}

.doc-clip-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* The whole picture is the control; the round play mark shows only while the clip is paused */
.doc-clip-toggle {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.doc-clip-toggle svg { opacity: 0; transition: opacity 150ms ease; }
.doc-clip-toggle[data-paused='true'] svg { opacity: 1; }
.doc-clip-toggle:focus-visible { outline: 3px solid var(--color-accent, #8b6b00); outline-offset: -3px; }

.doc-clip figcaption {
  margin-top: var(--space-3, 0.75rem);
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--color-muted);
}

@media (prefers-reduced-motion: reduce) {
  .doc-clip-toggle svg { transition: none; }
}

