.px-contact {
  container-type: inline-size;
}
.px-contact-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px 40px;
}
.px-contact-inner .person {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}
.px-contact-inner .person .content .ansprechpartner {
  margin-bottom: 20px;
}
.px-contact-inner .person .image {
  -webkit-mask-image: url("../img/mask.svg");
  mask-image: url("../img/mask.svg");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: round;
  mask-repeat: round;
  max-height: 450px;
  aspect-ratio: 2/3;
  margin: 0 auto;
}
.px-contact-inner .person .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@container (max-width: 300px) {
  .px-contact-inner .person .image {
    width: 100%;
  }
}
.px-contact-inner .person .name {
  margin-bottom: 10px;
  color: var(--fontColorDark);
  margin: 0;
  color: var(--fontColorDark);
  font-weight: 700;
}
.px-contact-inner .person .title {
  margin: 0 0 15px 0;
  color: #666;
}
.px-contact-inner .person .description {
  text-align: left;
  margin-top: 15px;
  color: var(--fontColorDark);
}
.px-contact-inner .person .description p {
  margin-bottom: 10px;
}
.px-contact-inner .person .description p:last-child {
  margin-bottom: 0;
}
.px-contact-inner .person .contact-info {
  line-height: 1.75;
  text-align: left;
}
.px-contact-inner .person .contact-info .contact-item span {
  display: inline-block;
}
.px-contact-inner .person .address-content {
  margin-bottom: 20px;
  line-height: 1.75;
}
.px-contact-inner .person .sociallinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}
.px-contact-inner .person .sociallinks > a {
  display: block;
  width: 30px;
  height: 30px;
  background-position: center center;
  background-size: 20px auto;
  background-repeat: no-repeat;
}
.px-contact-inner .person .sociallinks > a + a {
  margin-left: 10px;
}
.px-contact-inner .person .sociallinks > a:before {
  content: none;
}
.px-contact-inner .person .sociallinks > a span {
  display: none;
}
.px-contact.is-style-description .name {
  color: var(--main-color);
  font-size: clamp(1rem, 0.9399399399rem + 0.3378378378vw, 1.2222222222rem);
}
.px-contact.is-style-description .title {
  color: var(--fontColor);
}
.px-contact.is-style-contact {
  font-size: var(--miniFontSize);
  color: var(--fontColorDark);
}
.px-contact.is-style-contact .image {
  mask-image: unset;
}
.px-contact.is-style-contact .name {
  font-size: var(--miniFontSize);
}
.px-contact.is-style-contact .content .ansprechpartner .content .ansprechpartner {
  margin-bottom: 20px;
}

.px-contact-inner .px-contact {
  margin-top: unset;
}

.editor-styles-wrapper .px-contact-inner .person .image {
  -webkit-mask-image: unset;
  mask-image: unset;
}