.px-counter {
  width: 94%;
  max-width: 1248px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
  bottom: -30px;
  margin-bottom: 30px;
}
.px-counter .px-counter-textimages-inner {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  width: 100%;
}
.px-counter .px-counter-textimages-inner .col {
  width: 50%;
}
.px-counter .px-counter-textimages-inner .text {
  max-width: 600px;
  margin-bottom: 100px;
}
.px-counter .px-counter-textimages-inner .image {
  position: relative;
  max-width: 500px;
}
.px-counter .px-counter-textimages-inner .image img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.px-counter .px-counter-textimages-inner h2, .px-counter .px-counter-textimages-inner h3, .px-counter .px-counter-textimages-inner h4, .px-counter .px-counter-textimages-inner h5, .px-counter .px-counter-textimages-inner h6 {
  margin-top: -80px;
  position: relative;
  z-index: 1;
}
.px-counter .px-counter-textimages-inner .signature {
  font-size: clamp(1.2222222222rem, 0.8018018018rem + 2.3648648649vw, 2.7777777778rem);
  line-height: 120%;
  padding-bottom: clamp(1.1111111111rem, 0.960960961rem + 0.8445945946vw, 1.6666666667rem);
  margin-bottom: 10px;
  border-bottom: 1px solid #E7E7E7;
}
.px-counter .px-counter-inner {
  background-color: #ffffff;
  padding: 50px 60px;
  box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.15);
  border-radius: 3px;
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  gap: 30px;
  width: fit-content;
  margin-top: -30px;
  margin-right: 40px;
  z-index: 3;
}
.px-counter .item {
  color: #202020;
  text-align: center;
}
.px-counter .item .number-wrap {
  display: flex;
  justify-content: center;
}
.px-counter .item .number-wrap .number, .px-counter .item .number-wrap .unit {
  font-size: clamp(1.7777777778rem, 1.2072072072rem + 3.2094594595vw, 3.8888888889rem);
  line-height: 60%;
  font-family: "Bayshore", Arial, sans-serif;
}
.px-counter .item .subtitle {
  text-transform: uppercase;
  font-size: 17px;
  padding-top: 20px;
  border-top: 1px solid #E7E7E7;
}
@media screen and (max-width: 1120px) {
  .px-counter {
    max-width: 850px;
  }
  .px-counter .px-counter-textimages-inner {
    flex-direction: column;
    gap: 100px;
  }
  .px-counter .px-counter-textimages-inner .text {
    max-width: unset;
    margin-bottom: 0;
  }
  .px-counter .px-counter-textimages-inner .text .handwritten {
    left: 0;
    bottom: -20px;
  }
  .px-counter .px-counter-textimages-inner .text h2, .px-counter .px-counter-textimages-inner .text h3, .px-counter .px-counter-textimages-inner .text h4, .px-counter .px-counter-textimages-inner .text h5, .px-counter .px-counter-textimages-inner .text h6, .px-counter .px-counter-textimages-inner .text .signature, .px-counter .px-counter-textimages-inner .text a, .px-counter .px-counter-textimages-inner .text .text-inner {
    margin-left: 50px;
  }
  .px-counter .px-counter-textimages-inner .col {
    width: 100%;
  }
  .px-counter .px-counter-textimages-inner .image {
    max-width: unset;
    margin-left: 50px;
    margin-right: 50px;
    width: auto;
  }
  .px-counter .px-counter-textimages-inner .image img {
    max-height: min(500px, 50vh);
  }
  .px-counter .px-counter-inner {
    margin-right: 0;
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-auto-flow: unset;
  }
}
@media screen and (max-width: 900px) {
  .px-counter .px-counter-textimages-inner .text .handwritten {
    bottom: 0px;
  }
}
@media screen and (max-width: 768px) {
  .px-counter .px-counter-textimages-inner {
    gap: 50px;
  }
  .px-counter .px-counter-textimages-inner .text .handwritten {
    bottom: 10px;
  }
  .px-counter .px-counter-textimages-inner .text h2, .px-counter .px-counter-textimages-inner .text h3, .px-counter .px-counter-textimages-inner .text h4, .px-counter .px-counter-textimages-inner .text h5, .px-counter .px-counter-textimages-inner .text h6, .px-counter .px-counter-textimages-inner .text .signature, .px-counter .px-counter-textimages-inner .text a, .px-counter .px-counter-textimages-inner .text .text-inner {
    margin-left: 20px;
  }
  .px-counter .px-counter-textimages-inner .image {
    margin-left: 20px;
    margin-right: 20px;
  }
  .px-counter .px-counter-inner {
    gap: 20px;
    padding: 30px;
  }
}
@media screen and (max-width: 470px) {
  .px-counter .px-counter-inner {
    gap: 40px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
