.vh-root {
  position: relative;
  display: block;
}

.vh-full {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.vh-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--vh-ar, 16 / 9);
  background-color: #111;
}

.vh-poster,
.vh-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vh-video {
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.vh-playing .vh-video {
  opacity: 1;
}

.vh-scrim {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

.vh-content {
  position: absolute;
  inset: 0;
  display: flex;
  padding: 2rem 1.5rem;
}

.vh-content-inner {
  width: 100%;
  max-width: 46rem;
  margin-inline: auto;
}

.vh-v-start { align-items: flex-start; }
.vh-v-center { align-items: center; }
.vh-v-end { align-items: flex-end; }

.vh-content.text-start .vh-content-inner { margin-inline: 0 auto; }
.vh-content.text-end .vh-content-inner { margin-inline: auto 0; }

.vh-topline {
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.vh-headline {
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  color: inherit;
}

.vh-subline {
  font-size: clamp(1rem, 1.6vw, 1.5rem);
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.vh-description {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 1.25rem;
}

.vh-content .vh-btn {
  margin-bottom: 0;
}

.vh-content :is(p, h1, h2, h3) {
  color: inherit;
}

@media (max-width: 575.98px) {
  .vh-bp-576 .vh-frame { aspect-ratio: var(--vh-ar-m, var(--vh-ar, 16 / 9)); }
}

@media (max-width: 767.98px) {
  .vh-bp-768 .vh-frame { aspect-ratio: var(--vh-ar-m, var(--vh-ar, 16 / 9)); }
}

@media (max-width: 991.98px) {
  .vh-bp-992 .vh-frame { aspect-ratio: var(--vh-ar-m, var(--vh-ar, 16 / 9)); }
}

@media (max-width: 767.98px) {
  .vh-content { padding: 1.5rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .vh-video { transition: none; }
}
