.cari-hero-video {
  position: relative;
  min-height: 80vh;
  min-height: 80svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.cari-hero-video__poster-source[hidden] {
  display: none;
}

.cari-hero-video .wp-block-video.cari-hero-video__video {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 1;
  pointer-events: none;
}

.cari-hero-video .wp-block-video.cari-hero-video__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cari-hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.5)
  );
  z-index: 2;
  pointer-events: none;
}

.cari-hero-video__overlay {
  position: relative;
  z-index: 3;
  color: #fff;
  text-align: center;
  padding: var(--wp--preset--spacing--50);
  width: 100%;
  max-width: 700px;
}

.cari-hero-video__overlay .wp-block-heading,
.cari-hero-video__overlay p {
  color: #fff;
}

.cari-hero-video__sound {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cari-hero-video__sound:hover,
.cari-hero-video__sound:focus-visible {
  background: rgba(0, 0, 0, 0.7);
}

.cari-hero-video__sound svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 599px) {
  .cari-hero-video {
    min-height: 60vh;
    min-height: 60svh;
  }
  .cari-hero-video__sound {
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
}
