.wp-block-cover:has(.respekt-splash-trigger) {
  overflow: visible;
}

.respekt-splash-trigger {
  --splash-size: 300px;
  --splash-bleed-top: 180px;
  --splash-bleed-bottom: 180px;

  position: relative;
  z-index: 2;
  width: var(--splash-size);
  height: var(--splash-size);
  margin-top: calc(var(--splash-bleed-top) * -1);
  margin-bottom: calc(var(--splash-bleed-bottom) * -1);
  margin-inline: auto;
  overflow: visible;
  pointer-events: none;
}

.respekt-splash-img {
  position: absolute;
  display: block;
  max-width: none;
  max-height: none;
  object-fit: contain;
  opacity: 0;
  scale: 0.05;
}

.respekt-splash-img--pink {
  width: var(--splash-size);
  height: var(--splash-size);
  left: 1%;
  bottom: calc(50% - var(--splash-size) * 0.23);
  object-position: center bottom;
  transform-origin: center bottom;
  z-index: 2;
}

.respekt-splash-img--blue {
  width: calc(var(--splash-size) * 1.25);
  height: calc(var(--splash-size) * 1.25);
  left: -29%;
  top: calc(50% - var(--splash-size) * 0.23);
  object-position: center top;
  transform-origin: center top;
  z-index: 1;
}

.respekt-splash-trigger.respekt-splash-is-active .respekt-splash-img--blue {
  animation: respekt-splash-in 750ms cubic-bezier(.18, .9, .25, 1) 1500ms forwards;
}

.respekt-splash-trigger.respekt-splash-is-active .respekt-splash-img--pink {
  animation: respekt-splash-in 750ms cubic-bezier(.18, .9, .25, 1) 2000ms forwards;
}

@keyframes respekt-splash-in {
  0% {
    opacity: 0;
    scale: 0.05;
    filter: blur(3px);
  }

  55% {
    opacity: 1;
    scale: 1.04;
    filter: blur(0);
  }

  100% {
    opacity: 1;
    scale: 1;
  }
}

@media (min-width: 782px) {
  .respekt-splash-trigger {
    margin-inline: auto 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .respekt-splash-trigger.respekt-splash-is-active .respekt-splash-img {
    animation: none;
    opacity: 1;
    scale: 1;
    filter: none;
  }
}