.px-textimagewall-inner {
  width: var(--baseWidth);
  max-width: var(--maxWidthBig);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  transition: var(--baseTransition);
}
.px-textimagewall-inner .item {
  padding: 32px clamp(1.7777777778rem, 1.6576576577rem + 0.6756756757vw, 2.2222222222rem);
  position: relative;
  z-index: 1;
  display: flex;
  gap: 32px;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.px-textimagewall-inner .item .global_link {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.px-textimagewall-inner .item:before {
  content: "";
  width: 100%;
  height: 63%;
  background: var(--lightGray);
  border-radius: 6px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.px-textimagewall-inner .item .image {
  width: 100%;
  position: relative;
}
.px-textimagewall-inner .item .image > img {
  width: 100%;
  height: auto;
  max-height: 690px;
  display: block;
  object-fit: contain;
  object-position: top center;
}
.px-textimagewall-inner .item .text {
  text-align: center;
}
.px-textimagewall-inner .item .text .wp-block-button {
  position: relative;
  z-index: 3;
  margin-top: 30px;
}
.px-textimagewall-inner .item .text .wp-block-button a {
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.px-textimagewall-inner .item:hover {
  gap: 16px;
}
.px-textimagewall-inner .item:hover:before {
  height: 100%;
}
.px-textimagewall-inner .item:hover .text .wp-block-button a {
  color: #fff !important;
  background: var(--main-color) !important;
  border-radius: 6px !important;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  padding-top: 16px !important;
  padding-bottom: 16px !important;
  text-decoration: none;
}
.px-textimagewall-inner .item:hover .text .wp-block-button a:before {
  filter: brightness(0) invert(1) !important;
}