.px-image-spacer {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  container-type: inline-size;
}
.px-image-spacer.size-small {
  min-height: 30vh;
}
.px-image-spacer.size-default {
  min-height: 500px;
}
.px-image-spacer.size-medium {
  min-height: 50vh;
}
.px-image-spacer.size-large {
  min-height: 80vh;
}
@container (max-width: 768px) {
  .px-image-spacer {
    height: 200px !important;
    min-height: 200px !important;
  }
}
.px-image-spacer .background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.px-image-spacer .background-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.px-image-spacer.parallax {
  background: url("") no-repeat fixed center;
  background-size: cover;
}
.px-image-spacer.parallax .background-image {
  display: none;
}
.px-image-spacer:has(.image-text) {
  justify-content: center;
}
.px-image-spacer:has(.image-text).size-small, .px-image-spacer:has(.image-text).size-default, .px-image-spacer:has(.image-text).size-medium, .px-image-spacer:has(.image-text).size-large {
  min-height: unset;
}
.px-image-spacer:has(.image-text) .image-text {
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  text-align: center;
  padding: clamp(3.8888888889rem, 2.8378378378rem + 5.9121621622vw, 7.7777777778rem) 40px;
}
@media screen and (min-width: 960px) {
  .px-image-spacer:has(.image-text) .image-text {
    display: grid;
    grid-template-columns: 50% 50%;
  }
  .px-image-spacer:has(.image-text) .image-text .text-content {
    grid-column: 2;
  }
}
@container (max-width: 768px) {
  .px-image-spacer:has(.image-text) .image-text {
    width: 100%;
  }
}
.px-image-spacer:has(.image-text) .image-text .text-content {
  color: var(--main-color);
  font-size: clamp(1.6666666667rem, 1.3363363363rem + 1.8581081081vw, 2.8888888889rem);
  line-height: 1.2;
  font-weight: 600;
}