:where(.wp-block-golp-hero) {
  position: relative;
  overflow: clip;
  min-height: 15rem;
  background-color: var(--wp--preset--color--primary, #0c8339);
}

@media (min-width: 1024px) {
  :where(.wp-block-golp-hero) {
    min-height: 20rem;
  }
}

:where(.wp-block-golp-hero > .hero__background > img) {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: fill;
}

:where(.wp-block-golp-hero > .hero__video) {
  position: absolute;
  inset: 0;
  width: 100%;
  object-fit: cover;
}

:where(.wp-block-golp-hero > .hero__video-toggle) {
  position: absolute;
  bottom: 1rem;
  z-index: 20;
  border: 0;
  background: #000;
  color: #fff;
  cursor: pointer;
}

:where(.wp-block-golp-hero > .hero__video-toggle:focus-visible) {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

:where(.wp-block-golp-hero > [hidden]) {
  display: none;
}

:where(.wp-block-golp-hero > .hero__content) {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 10;
  width: 100%;
}

:where(.wp-block-golp-hero > .hero__content.top-0) {
  top: 0;
}

:where(.wp-block-golp-hero > .hero__content.top-1\/2) {
  top: 50%;
  transform: translateY(-50%);
}

:where(.wp-block-golp-hero > .hero__content.bottom-0) {
  bottom: 0;
}
