.px-teaser {
  width: var(--baseWidth);
  max-width: var(--maxWidth);
  margin: 0 auto;
}
.px-teaser-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
@media (max-width: 768px) {
  .px-teaser-inner {
    display: block;
  }
}
.px-teaser-inner .item {
  flex: 0 1 420px;
  max-width: 420px;
  min-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 9px 45px 10px rgba(0, 0, 0, 0.06);
  background: #fff;
  color: var(--fontColor);
}
@media (max-width: 768px) {
  .px-teaser-inner .item {
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
  }
}
.px-teaser-inner .item.half-width {
  min-width: 421px;
}
@media (max-width: 768px) {
  .px-teaser-inner .item.half-width {
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
  }
}
.px-teaser-inner .item .image {
  flex: 0 0 250px;
  position: relative;
  width: 100%;
}
.px-teaser-inner .item .image > a {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}
.px-teaser-inner .item .image .image_section {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.px-teaser-inner .item .image .image_section img {
  position: absolute;
  display: block;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--baseTransition);
}
.px-teaser-inner .item .image .image_section.top-left > img, .px-teaser-inner .item .image .image_section.top-left video {
  object-position: top left;
}
.px-teaser-inner .item .image .image_section.top-right > img, .px-teaser-inner .item .image .image_section.top-right video {
  object-position: top right;
}
.px-teaser-inner .item .image .image_section.bottom-left > img, .px-teaser-inner .item .image .image_section.bottom-left video {
  object-position: bottom left;
}
.px-teaser-inner .item .image .image_section.bottom-right > img, .px-teaser-inner .item .image .image_section.bottom-right video {
  object-position: bottom right;
}
.px-teaser-inner .item .image .image_section.top-center > img, .px-teaser-inner .item .image .image_section.top-center video {
  object-position: top center;
}
.px-teaser-inner .item .image .image_section.bottom-center > img, .px-teaser-inner .item .image .image_section.bottom-center video {
  object-position: bottom center;
}
.px-teaser-inner .item .image .image_section.left-center > img, .px-teaser-inner .item .image .image_section.left-center video {
  object-position: left center;
}
.px-teaser-inner .item .image .image_section.right-center > img, .px-teaser-inner .item .image .image_section.right-center video {
  object-position: right center;
}
.px-teaser-inner .item .image:hover .image_section img, .px-teaser-inner .item .image:focus .image_section img {
  transform: scale(1.1);
}
.px-teaser-inner .item .content {
  padding: 0 35px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: flex-start;
}
.px-teaser-inner .item .content.with_content {
  padding: 0 35px 50px;
}
.px-teaser-inner .item .content .title_box {
  background: var(--mainGradient);
  color: #fff;
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding: 13px 30px;
  transform: translateY(-38px);
  z-index: 3;
  text-align: center;
  margin: 0 auto;
}
.px-teaser-inner .item .content .title_box h6 {
  margin: 0;
  padding: 0;
  color: #fff;
  max-height: 100%;
  white-space: normal;
  text-align: center;
  display: inline-block;
  hyphens: auto;
}
.px-teaser-inner .item .content .text {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}
.px-teaser-inner .item .content .text h1, .px-teaser-inner .item .content .text h2, .px-teaser-inner .item .content .text h3, .px-teaser-inner .item .content .text h4, .px-teaser-inner .item .content .text h5, .px-teaser-inner .item .content .text h6, .px-teaser-inner .item .content .text p, .px-teaser-inner .item .content .text ul, .px-teaser-inner .item .content .text li, .px-teaser-inner .item .content .text span {
  color: var(--fontColor);
}
.px-teaser-inner .item .content .text a {
  color: var(--mainColor);
}
.px-teaser-inner .item .content .text > *:not(:last-child) {
  margin-bottom: 30px;
  margin-top: 0;
}
.px-teaser-inner .item .content .text .wp-block-button {
  color: var(--mainColor);
  margin-top: auto;
}
.wp-block-columns .px-teaser, .px-frame-layout .px-teaser, .accordion-content .px-teaser, .tab_wrapper .px-teaser {
  width: 100%;
}
