.px-textonimage {
  position: relative;
  max-height: 730px;
  min-height: 730px;
}
@media only screen and (max-width: 640px) {
  .px-textonimage {
    max-height: unset;
    min-height: 400px;
    padding: 40px;
  }
}
.px-textonimage .image {
  width: 100%;
  height: 100%;
  max-height: inherit;
}
@media only screen and (max-width: 640px) {
  .px-textonimage .image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}
.px-textonimage .image img {
  display: block;
  max-height: inherit;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: lightgray;
}
.px-textonimage .text {
  position: absolute;
  left: 70px;
  bottom: 42px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  z-index: 10;
  padding: 40px;
  max-width: 585px;
  width: 100%;
}
@media only screen and (max-width: 1024px) {
  .px-textonimage .text {
    max-width: 85%;
    left: 50%;
    transform: translateX(-50%);
    padding: 30px;
    bottom: 30px;
  }
}
@media only screen and (max-width: 640px) {
  .px-textonimage .text {
    position: static;
    max-width: unset;
    width: 100%;
    transform: translateX(0);
  }
}
.px-textonimage .text-inner .wp-block-heading,
.px-textonimage .text-inner p {
  color: #fff !important;
}
.px-textonimage .text-inner .wp-block-buttons {
  margin-top: 30px;
}