.px-textonimage {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  justify-content: space-between;
  padding: clamp(1.6666666667rem, 0.8479532164rem + 4.6052631579vw, 5.5555555556rem);
  border-radius: 25px;
  gap: 40px;
}
@media all and (max-width: 1024px) {
  .px-textonimage {
    flex-direction: column;
  }
}
.px-textonimage::after {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0.8;
  background: linear-gradient(180deg, #0030B5 0%, #001B66 100%);
}
.px-textonimage .image {
  width: 100%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}
@media all and (max-width: 768px) {
  .px-textonimage .image {
    width: 100%;
    height: 100%;
  }
}
.px-textonimage .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.px-textonimage .text {
  container-type: inline-size;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  color: var(--contrastColorInverted);
  flex: 1;
}
@media all and (max-width: 1024px) {
  .px-textonimage .text {
    width: 100%;
  }
}
.px-textonimage .text .text-inner .wp-block-columns {
  justify-content: space-between;
  flex-wrap: nowrap !important;
}
.px-textonimage .text .text-inner .wp-block-columns .wp-block-heading {
  text-wrap: auto;
  color: var(--contrastColorInverted);
}
@media all and (max-width: 1200px) {
  .px-textonimage .text .text-inner .wp-block-columns .wp-block-column {
    width: 50%;
    flex-basis: auto;
  }
}
@media all and (max-width: 960px) {
  .px-textonimage .text .text-inner .wp-block-columns {
    flex-direction: column;
    justify-content: center;
  }
  .px-textonimage .text .text-inner .wp-block-columns .wp-block-column {
    width: 100%;
  }
  .px-textonimage .text .text-inner .wp-block-columns .wp-block-column .wp-block-heading {
    text-align: center;
  }
}
.px-textonimage .text .text-inner .wp-block-columns .wp-block-column:has(.wp-block-buttons) {
  display: flex;
  justify-content: flex-end;
}
@media all and (max-width: 960px) {
  .px-textonimage .text .text-inner .wp-block-columns .wp-block-column:has(.wp-block-buttons) {
    justify-content: center;
  }
}

.editor-styles-wrapper .buttons.block-editor-block-list__layout {
  position: relative;
  z-index: 1;
}