.px-image-teaser {
  container-type: inline-size;
  max-width: var(--maxWidth);
  width: var(--baseWidth);
  margin-inline: auto;
}
.px-image-teaser-inner {
  display: grid;
  gap: 24px;
}
.px-image-teaser-inner .image-teaser-single {
  display: block;
}
.px-image-teaser.twoColumns .px-image-teaser-inner {
  grid-template-columns: repeat(2, 450px);
  justify-content: center;
}
@media only screen and (max-width: 1024px) {
  .px-image-teaser.twoColumns .px-image-teaser-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 768px) {
  .px-image-teaser.twoColumns .px-image-teaser-inner {
    grid-template-columns: 1fr;
  }
}
.px-image-teaser.threeColumns .px-image-teaser-inner {
  grid-template-columns: repeat(3, 1fr);
}
@media only screen and (max-width: 1024px) {
  .px-image-teaser.threeColumns .px-image-teaser-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 768px) {
  .px-image-teaser.threeColumns .px-image-teaser-inner {
    grid-template-columns: 1fr;
  }
}

.image-teaser-single:first-child {
  transition-delay: 0.2s;
}
.image-teaser-single:nth-child(2) {
  transition-delay: 0.4s;
}
.image-teaser-single:nth-child(3) {
  transition-delay: 0.6s;
}
.image-teaser-single .item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 550px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px 0 rgba(var(--contrastColorRGB, 0, 0, 0), 0.1);
  isolation: isolate;
}
@media only screen and (max-width: 640px) {
  .image-teaser-single .item {
    min-height: 500px;
  }
}
.image-teaser-single .item .image-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.image-teaser-single .item .image-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.image-teaser-single .item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 70%);
}
.image-teaser-single .item .content-wrapper {
  position: relative;
  z-index: 2;
  padding: 24px;
  width: 100%;
  box-sizing: border-box;
}
@media only screen and (max-width: 640px) {
  .image-teaser-single .item .content-wrapper {
    padding: 16px;
  }
}
.image-teaser-single .item .content-wrapper .content {
  color: var(--contrastColorInverted, #fff);
}
.image-teaser-single .item .content-wrapper .content p {
  color: var(--contrastColorInverted, #fff);
  transition: all 0.3s ease-out;
  transform: translateY(0);
}
.image-teaser-single .item .content-wrapper .content .wp-block-heading {
  color: var(--contrastColorInverted, #fff);
  transition: all 0.3s ease-out;
  font-weight: 700;
}
.image-teaser-single .item .content-wrapper .content .wp-block-buttons {
  transition: transform 0.3s ease-out;
}
.image-teaser-single .item:hover .image-background img {
  transform: scale(1.15);
}
.image-teaser-single .item:hover .content-wrapper p {
  transform: translateY(-30px);
}
.image-teaser-single .item:hover .content-wrapper .wp-block-heading {
  transform: translateY(-30px);
}
.image-teaser-single .item:hover .content-wrapper .wp-block-buttons {
  transform: translateY(-30px);
}

.wp-block-columns:has(.px-image-teaser) {
  gap: 80px;
}
@media only screen and (max-width: 1200px) {
  .wp-block-columns:has(.px-image-teaser) {
    gap: 32px;
  }
}
.wp-block-columns:has(.px-image-teaser) .px-image-teaser {
  width: 100%;
}
.wp-block-columns:has(.px-image-teaser) .px-image-teaser.twoColumns .px-image-teaser-inner {
  grid-template-columns: repeat(2, 1fr);
}
@media only screen and (max-width: 768px) {
  .wp-block-columns:has(.px-image-teaser) .px-image-teaser.twoColumns .px-image-teaser-inner {
    grid-template-columns: 1fr;
  }
}
@media only screen and (max-width: 1200px) {
  .wp-block-columns:has(.px-image-teaser) {
    flex-wrap: wrap !important;
  }
  .wp-block-columns:has(.px-image-teaser) .wp-block-column {
    flex-basis: 100% !important;
  }
}

.block-editor-button-block-appender {
  background-color: #f0f0f0;
  color: #333;
  padding: 10px;
  margin: 10px;
  border-radius: 4px;
}