.text-colunms-list__container {
  grid-template-columns: repeat(var(--desktop-cols), minmax(0, 1fr));
}
.text-colunms-list-item{
  height: 100%;
}
@media screen and (max-width: 959px) {
  .text-colunms-list__container {
    grid-template-columns: repeat(var(--mobile-cols), minmax(0, 1fr));
  }
}
.text-colunms-list-item__image {
  display: inline-block;
  height: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

@media screen and (max-width: 959px) {
  .text-colunms-list-item__image {
    margin-bottom: 0.85rem;
  }
}

.text-columns-with-images-item__link {
  display: block;
  height: 100%;
  position: relative;
  width: 100%;
}

.text-columns-with-images-item__link img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  left: 0;
}

.text-colunms-item__name {
  padding-top: 10px;
  padding-bottom: 15px;
  font-size: 17px;
}

.text-columns-with-images-item__link:hover
  .text-columns-list-item__text-wrapper {
  visibility: visible;
  pointer-events: initial;
  height: 97%;
  transition: all 0.5s;
}

.text-columns-list-item__text-wrapper {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: var(--color-bg, #fff); */
  height: 0;
  border-top-left-radius: var(--content-border-radius);
  border-top-right-radius: var(--content-border-radius);
  padding: 30px;
  visibility: hidden;
  pointer-events: none;
  height: 0;
}

.text-columns-with-images-item__text p {
  margin: 0;
  padding: 0 15px 15px;
}

.text-columns-list-item__text {
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
}

.text-columns-list-item__text::-webkit-scrollbar {
  width: 0;
}

.text-columns-list-item__text::-webkit-scrollbar {
  height: 0;
}
