.video-hero {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 702px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: rgb(20, 20, 20);
  background-color: rgba(var(--color-background));
}

.video-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.video-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgb(0, 0, 0);
}

.video-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  padding: 24px;
  text-align: center;
}

.video-hero__eyebrow {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3.9px;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
}

.video-hero__heading {
  margin: 0 0 28px;
  font-size: 92px;
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0.92px;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
}

.video-hero__rating {
  margin: -6px 0 28px;
}

/* Self-contained, !important-tagged pill: the shared .pudl-buy-meta__rating
   background/padding never actually rendered here (something in the hero's
   cascade was stripping it, same issue the text-colour fix below addressed) -
   so this redeclares the full button look rather than relying on it winning. */
.video-hero a.video-hero__rating {
  display: inline-flex !important;
  align-items: center !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  background: rgb(226, 249, 161) !important;
  color: rgb(0, 0, 0) !important;
  font-weight: 700 !important;
  gap: 8px;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(226, 249, 161, 0.7);
  transition: transform 0.2s ease, background 0.2s ease;
  animation: video-hero-rating-glow 2.4s ease-out infinite;
}

/* Down-arrow cue: the pill jumps to the reviews section. */
.video-hero a.video-hero__rating::after {
  content: "↓";
  font-size: 0.95em;
  line-height: 1;
  transition: transform 0.2s ease;
}

.video-hero a.video-hero__rating:hover {
  background: rgb(211, 240, 128) !important;
  transform: translateY(-2px);
  animation: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 18px 4px rgba(226, 249, 161, 0.55);
}

.video-hero a.video-hero__rating:hover::after {
  transform: translateY(3px);
}

/* Soft pulsing lime ring so the pill reads as interactive. */
@keyframes video-hero-rating-glow {
  0% {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(226, 249, 161, 0.7);
  }
  70% {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 0 0 12px rgba(226, 249, 161, 0);
  }
  100% {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(226, 249, 161, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-hero a.video-hero__rating {
    animation: none;
  }
}

/* Specificity bumped above base `a:not(.button)` (0,1,1) so the dark-on-white
   CTA text is not overridden by the color-scheme link color. */
.video-hero a.video-hero__cta {
  display: inline-block;
  padding: 18px 44px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.24px;
  text-transform: uppercase;
  text-decoration: none;
  color: rgb(20, 20, 20) !important;
  background: rgb(255, 255, 255) !important;
}

.video-hero a.video-hero__cta:hover {
  background: #e2f9a1 !important;
  color: #000 !important;
}

@media (max-width: 959px) {
  .video-hero {
    min-height: 658px;
  }
  .video-hero__heading {
    font-size: 44px;
  }
}
