#allcont .px-textonimage {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.px-textonimage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  min-height: 400px;
  overflow: hidden;
  z-index: 1;
}
@container (width <=640px) {
  .px-textonimage {
    min-height: inherit;
  }
}
.px-textonimage .text {
  grid-row: 1/2;
  grid-column: 1/2;
}
.px-textonimage .image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0);
}
.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: 100%;
  background: rgba(var(--charcoalRGB), 0.65);
}
@media screen and (min-width: calc(1024px + 1px)) and (prefers-reduced-motion: no-preference) {
  .px-textonimage .image img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
  }
}
.px-textonimage .text {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  color: var(--contrastColorInverted, #fff);
  padding: var(--section-py) 0;
  width: var(--baseWidth);
  max-width: var(--reducedWidth);
  margin: 0 auto;
  container-type: inline-size;
}
.px-textonimage .text .text-inner {
  width: 100%;
}
.px-textonimage .text p {
  color: rgba(var(--contrastColorInvertedRGB), 0.85);
}
.px-textonimage .text p + p {
  margin-top: 20px;
}
.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);
}