.px-textonimage {
  container-type: inline-size;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  min-height: 400px;
  overflow: hidden;
  z-index: 100;
}
@container (width <=960px) {
  .px-textonimage {
    display: block;
    min-height: inherit;
  }
}
.px-textonimage .image,
.px-textonimage .text {
  grid-row: 1/2;
  grid-column: 1/2;
}
@container (width <=960px) {
  .px-textonimage .image,
  .px-textonimage .text {
    grid-row: auto;
    grid-column: auto;
  }
}
.px-textonimage .image {
  position: relative;
  container-type: inline-size;
  max-height: 850px;
}
.px-textonimage .image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.px-textonimage .image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 62.5%;
  background: rgba(var(--contrastColorRGB, 0, 0, 0), 0.65);
}
@container (width <=960px) {
  .px-textonimage .image::after {
    content: none;
  }
}
.px-textonimage .text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  font-size: clamp(1.1764705882rem, 0.9379968204rem + 1.2668918919vw, 2.0588235294rem);
  line-height: 137%;
  font-weight: 300;
  z-index: 10;
  color: var(--contrastColorInverted, #fff);
  padding: 20px 0;
  width: var(--maxWidth);
  max-width: var(--baseWidth);
  margin: 0 auto;
  container-type: inline-size;
}
@container (width <=960px) {
  .px-textonimage .text {
    color: var(--fontColor, #000);
    justify-content: flex-start;
  }
}
.px-textonimage .text-inner {
  width: 62%;
}
@container (width <=960px) {
  .px-textonimage .text-inner {
    width: 100%;
  }
}
.px-textonimage .text h1,
.px-textonimage .text h2,
.px-textonimage .text h3,
.px-textonimage .text h4,
.px-textonimage .text h5,
.px-textonimage .text h6 {
  color: var(--contrastColorInverted, #fff);
}
@container (width <=960px) {
  .px-textonimage .text h1,
  .px-textonimage .text h2,
  .px-textonimage .text h3,
  .px-textonimage .text h4,
  .px-textonimage .text h5,
  .px-textonimage .text h6 {
    color: var(--main-color);
  }
}
.px-textonimage .text ul.wp-block-list li {
  padding-left: clamp(1.0588235294rem, 0.9475357711rem + 0.5912162162vw, 1.4705882353rem);
}
.px-textonimage .text ul.wp-block-list li::before {
  background-color: var(--contrastColorInverted, #fff);
  width: 10px;
  height: 10px;
  top: clamp(0.7058823529rem, 0.5786963434rem + 0.6756756757vw, 1.1764705882rem);
}
@container (width <=960px) {
  .px-textonimage .text ul.wp-block-list li::before {
    background-color: var(--fontColor, #000);
    width: 8px;
    height: 8px;
  }
}
.px-textonimage .text ul.is-style-hook-list li {
  padding-left: clamp(1.6470588235rem, 1.5357710652rem + 0.5912162162vw, 2.0588235294rem);
}
.px-textonimage .text ul.is-style-hook-list li::before {
  top: clamp(0.5882352941rem, 0.5087440382rem + 0.4222972973vw, 0.8823529412rem);
  height: 15px;
  width: 20px;
}
.px-textonimage .text ul[changeColor].wp-block-list li::before {
  background-color: var(--main-color);
}
.px-textonimage .text ul[changeColor].is-style-hook-list li::before {
  background-color: var(--main-color);
}
.px-textonimage .text ul[changeColor].is-style-arrow-list li::before {
  background-color: var(--main-color);
}