.px-teaser {
  container-type: inline-size;
}
.px-teaser-inner {
  display: grid;
  gap: clamp(1.1764705882rem, 0.6995230525rem + 2.5337837838vw, 2.9411764706rem);
}
.px-teaser-inner .teaser-single {
  display: contents;
}
.px-teaser-inner .teaser-single .item {
  display: flex;
  flex-direction: column;
  gap: clamp(1.1764705882rem, 1.0174880763rem + 0.8445945946vw, 1.7647058824rem);
  height: 100%;
  overflow: hidden;
  background-color: var(--contrastColorInverted, #fff);
}
.px-teaser-inner .teaser-single .item .image {
  overflow: hidden;
  border: 1px solid var(--imageBorderColor);
}
.px-teaser-inner .teaser-single .item .image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.px-teaser.twoColumns .px-teaser-inner {
  grid-template-columns: repeat(2, 1fr);
}
@container (width <=768px) {
  .px-teaser.twoColumns .px-teaser-inner {
    grid-template-columns: 1fr;
  }
}
.px-teaser.threeColumns .px-teaser-inner {
  grid-template-columns: repeat(3, 1fr);
}
@container (width <=960px) {
  .px-teaser.threeColumns .px-teaser-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
@container (width <=768px) {
  .px-teaser.threeColumns .px-teaser-inner {
    grid-template-columns: 1fr;
  }
}
.px-teaser.fourColumns .px-teaser-inner {
  grid-template-columns: repeat(4, 1fr);
}
@container (width <=1024px) {
  .px-teaser.fourColumns .px-teaser-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}
@container (width <=960px) {
  .px-teaser.fourColumns .px-teaser-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
@container (width <=768px) {
  .px-teaser.fourColumns .px-teaser-inner {
    grid-template-columns: 1fr;
  }
}
.px-teaser.backgroundcolor-gray .px-teaser-inner .teaser-single .item {
  gap: 0;
  background-color: var(--backgroundGreyColor, #F9F9F9);
  border: 1px solid var(--imageBorderColor);
}
.px-teaser.backgroundcolor-gray .px-teaser-inner .teaser-single .item .image {
  border: 0;
  border-bottom: 1px solid var(--imageBorderColor);
}
.px-teaser.backgroundcolor-gray .px-teaser-inner .teaser-single .item .content {
  padding: clamp(1.1764705882rem, 1.0174880763rem + 0.8445945946vw, 1.7647058824rem);
}

.block-editor-button-block-appender {
  background-color: var(--contrastColorInverted, #fff);
}

.px-teaser .teaser-single.has-box-link .item {
  position: relative;
}
.px-teaser .teaser-single.has-box-link .item .content {
  flex-grow: 1;
}
.px-teaser .teaser-single.has-box-link .item .content .wp-block-buttons {
  display: none;
}
.px-teaser .teaser-single.has-box-link .item .box-link-button {
  position: relative;
  z-index: 2;
  margin-top: auto;
  pointer-events: none;
}
.px-teaser .teaser-single.has-box-link .item .box-link-button .wp-block-button__link {
  pointer-events: auto;
}
.px-teaser .teaser-single.has-box-link .item .box-link-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.px-teaser .teaser-single.has-box-link .item .box-link-overlay:focus-visible {
  outline: 2px solid var(--main-color);
  outline-offset: 2px;
}

.px-teaser.backgroundcolor-gray .teaser-single.has-box-link .item .box-link-button {
  padding: 0 clamp(1.1764705882rem, 1.0174880763rem + 0.8445945946vw, 1.7647058824rem) clamp(1.1764705882rem, 1.0174880763rem + 0.8445945946vw, 1.7647058824rem);
}

.px-teaser .teaser-single.has-box-link .item:hover .box-link-button .is-style-fill > a.wp-block-button__link:not(.has-text-color) {
  background: var(--second-color);
  color: var(--fontColor);
}
.px-teaser .teaser-single.has-box-link .item:hover .box-link-button .is-style-outline > a.wp-block-button__link:not(.has-text-color) {
  background: var(--main-color);
  color: var(--contrastColorInverted, #fff);
}
.px-teaser .teaser-single.has-box-link .item:hover .box-link-button .is-style-icon-arrow > a.wp-block-button__link:not(.has-text-color) {
  color: var(--second-color);
}
.px-teaser .teaser-single.has-box-link .item:hover .box-link-button .is-style-icon-arrow > a.wp-block-button__link:not(.has-text-color)::after {
  margin-left: 15px;
  border-left-color: var(--second-color);
}
.px-teaser .teaser-single.has-box-link .item:hover .box-link-button .is-style-icon-tel > a.wp-block-button__link:not(.has-text-color),
.px-teaser .teaser-single.has-box-link .item:hover .box-link-button .is-style-icon-mail > a.wp-block-button__link:not(.has-text-color),
.px-teaser .teaser-single.has-box-link .item:hover .box-link-button .is-style-icon-pin > a.wp-block-button__link:not(.has-text-color) {
  color: var(--second-color);
}
.px-teaser .teaser-single.has-box-link .item:hover .box-link-button .is-style-icon-tel > a.wp-block-button__link:not(.has-text-color)::before,
.px-teaser .teaser-single.has-box-link .item:hover .box-link-button .is-style-icon-mail > a.wp-block-button__link:not(.has-text-color)::before,
.px-teaser .teaser-single.has-box-link .item:hover .box-link-button .is-style-icon-pin > a.wp-block-button__link:not(.has-text-color)::before {
  background-color: var(--second-color);
}

.editor-styles-wrapper .px-teaser .teaser-single.has-box-link .item .box-link-overlay {
  display: none;
}
.editor-styles-wrapper .px-teaser .teaser-single.has-box-link .item .content .wp-block-buttons {
  display: flex;
  opacity: 0.35;
}