.text-colunms-list__container {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(var(--desktop-cols), minmax(0, 1fr));
}
.card-list {
  position: relative;
}
.text-columns-with-images .splide__list {
  padding: 20px 0 !important;
}
.text-colunms-list-item {
  height: 100%;
  padding-left: var(--list-padding-x);
  padding-right: var(--list-padding-x);
  padding-top: var(--list-padding-x);
  padding-bottom: var(--list-padding-y);
}
@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;
  position: relative;
  width: 100%;
}

.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: 15px;
    padding-bottom: 15px;
  } */

.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;
  opacity: 0.8;
  /* 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;
}

.text-colunms-list-item__button {
  margin-top: 30px;
  display: block;
  margin-top: auto;
}
.rightTop-item-main {
  border-radius: 16px;
  color: #000;
  transition: all 0.4s;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.rightTop-item-main:hover {
  color: #fff;
  background-color: #242424;
}
.rightTop-item-main:hover a {
  color: #fff;
}
.rightTop-item-main .text-columns-with-images-item__text {
  opacity: 0.8;
}

.text-columns-with-images-position {
  position: absolute;
  right: 20px;
  top: 20px;
}
.text-colunms-list-item:hover .text-colunms-list-item-flot_image {
  height: 100%;
}

.text-colunms-list-item-flot_image {
  transition: all 0.3s;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  width: 100%;
  z-index: 2;
}

.text-colunms-list-item-flot_image img {
  height: 100%;
  object-fit: cover;
}
.card-list h6 {
  max-width: 50%;
}
.with-image-item {
  gap: 12px;
  display: flex;
  flex-direction: column;
  background-color: var(--card-bg-color, #fff);
  border-radius: 12px;
  transition: all 0.2s ease-in-out;
}
.with-image-item:hover {
  border-color: var(--card-hover-border-color) !important;
}
.text-colunms-list__container > div > div {
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.02);
}
.text-colunms-list__container > div {
  position: relative;
}
.image_list_button {
  font-weight: 600;
  color: rgb(var(--color-theme-background));
}
.text-colunms-list-item-bottom_img {
  transition: all 0.3s;
  position: relative;
  margin-top: auto;
  padding-top: 60%;
}
.text-colunms-list-item-bottom_img > img {
  position: absolute;
  top: 0;
  width: 88%;
  height: 100%;
  object-fit: cover;
}
.bottom_img_bottom_right {
  transform: translate(30px, 30px);
  border-radius: 20px 0px 0;
  overflow: hidden;
}
.bottom_img_bottom_right img {
  right: 0;
}
.bottom_img_bottom_left {
  transform: translate(-30px, 30px);
  border-radius: 0px 20px 0 0;
  overflow: hidden;
}
.card-list_header {
  display: flex;
  gap: 10px;
  align-items: var(--align-items, center);
  flex-direction: var(--header-align);
  margin-bottom: 30px;
}
.background-overlay {
  height: 100%;
  width: 100%;
  position: absolute;
  background-color: transparent;
  top: 0;
  z-index: -1;
  left: 0;
  opacity: 0.5;
  border-radius: 12px;
  background-image: radial-gradient(at top right, #3c52ff 0%, #010630 77%);
}
.with-image-item:hover .text-colunms-list-item-bottom_img {
  width: 100%;
}
.splide_arrows_select .splide__arrows {
  bottom: -80px;
}

@media screen and (max-width: 959px) {
  .card-list h6 {
    max-width: 100%;
  }
  .bottom_img_bottom_right {
    transform: translate(0px);
  }
  .text-colunms-list-item-bottom_img > img {
    width: 100%;
  }
  .text-colunms-list-item-bottom_img {
    width: 100%;
  }
  .text-colunms-item__name {
    padding-top: 0px !important;
  }
}
@media screen and (max-width: 959px) {
  .text-colunms-list-item__image {
    margin-bottom: 0.85rem;
  }
  .text-columns-with-images .with-image-item {
    align-items: center;
  }
  .bottom_img_bottom_right {
    border-radius: 0px;
  }
}
