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

.color-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) {
  .color-teaser-single .item {
    min-height: 500px;
  }
}
.color-teaser-single .item.primary-orange {
  background-color: var(--main-color);
}
.color-teaser-single .item.primary-orange::selection {
  background-color: var(--fontColor);
}
.color-teaser-single .item.primary-orange-light {
  background-color: var(--second-color);
}
.color-teaser-single .item.black {
  background-color: var(--black);
}
.color-teaser-single .item .content-wrapper {
  position: relative;
  z-index: 2;
  padding: 24px;
  width: 100%;
  box-sizing: border-box;
}
@media only screen and (max-width: 768px) {
  .color-teaser-single .item .content-wrapper {
    padding: 16px;
  }
}
.color-teaser-single .item .content-wrapper .content {
  color: var(--contrastColorInverted, #fff);
}
.color-teaser-single .item .content-wrapper .content h1, .color-teaser-single .item .content-wrapper .content h2, .color-teaser-single .item .content-wrapper .content h3, .color-teaser-single .item .content-wrapper .content h4, .color-teaser-single .item .content-wrapper .content h5, .color-teaser-single .item .content-wrapper .content p {
  color: var(--contrastColorInverted, #fff);
  transition: transform 0.3s ease-out;
}
.color-teaser-single .item .content-wrapper .content h1 a, .color-teaser-single .item .content-wrapper .content h2 a, .color-teaser-single .item .content-wrapper .content h3 a, .color-teaser-single .item .content-wrapper .content h4 a, .color-teaser-single .item .content-wrapper .content h5 a, .color-teaser-single .item .content-wrapper .content p a {
  color: var(--contrastColorInverted, #fff);
  text-decoration: underline;
}
.color-teaser-single .item .content-wrapper .content .wp-block-buttons {
  transition: transform 0.3s ease-out;
}
.color-teaser-single .item .content-wrapper .content .wp-block-buttons .wp-block-button__link {
  white-space: nowrap;
  border-color: transparent;
}
.color-teaser-single .item .content-wrapper .content .wp-block-buttons .wp-block-button__link:hover {
  background-color: rgba(236, 235, 235, 0.85) !important;
  color: var(--fontColor);
}
.color-teaser-single .item .content-wrapper .content .wp-block-buttons .wp-block-button__link:hover::after {
  color: var(--fontColor);
  background-color: var(--fontColor);
}
.color-teaser-single .item:hover .content-wrapper h1, .color-teaser-single .item:hover .content-wrapper h2, .color-teaser-single .item:hover .content-wrapper h3, .color-teaser-single .item:hover .content-wrapper h4, .color-teaser-single .item:hover .content-wrapper h5, .color-teaser-single .item:hover .content-wrapper p {
  transform: translateY(-30px);
}
.color-teaser-single .item:hover .content-wrapper .wp-block-buttons {
  transform: translateY(-20px);
}

.wp-block-columns:has(.px-color-teaser) {
  gap: 80px;
}
@media only screen and (max-width: 1200px) {
  .wp-block-columns:has(.px-color-teaser) {
    gap: 60px;
  }
}
@media only screen and (max-width: 768px) {
  .wp-block-columns:has(.px-color-teaser) {
    gap: 40px;
  }
}
.wp-block-columns:has(.px-color-teaser) .px-color-teaser {
  width: 100%;
}
@media only screen and (max-width: 1200px) {
  .wp-block-columns:has(.px-color-teaser) {
    flex-wrap: wrap !important;
  }
  .wp-block-columns:has(.px-color-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;
}