.news-list-block {
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr;
  gap: 20px;
  width: 100%;
}

/*endregion*/
.material-list-item {
  padding: 0 !important;
}
.material-list-item:hover {
  cursor: pointer;
}
.material-list-item:hover .card-img-top {
  transform: scale(110%);
}
.material-list-item:hover .card-title a {
  color: #5a9c43;
}
.material-list-item:hover .card-text {
  color: #026eb8;
}
.material-list-item:hover .news-list-more .read-more-btn {
  color: black;
}

.news-list-container {
  position: relative;
}
.news-list-container::before {
  position: absolute;
  content: "";
  z-index: 1;
  background: url("../../../../img/bg_pattern.svg") no-repeat;
  background-size: contain;
  background-position: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.news-list-container .col {
  position: relative;
  z-index: 2;
}
.material-list-item .card-body {
  position: relative;
  /* padding: 10px 12px; */
  height: 100%;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.card-body-text {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.news-list .card-title {
  padding: 0 0 15px;
}
.news-list .card-title a {
  transition: all 0.3s ease-out;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list .card-title,
.news-list .card-title a {
  margin: 0;
  transition: all 0.3s ease;
  /* font-size: 16px; */
}

.news-list .card-text {
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  color: black;
  transition: all 0.3s ease;
  /* max-height: 60px; */

  /* white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; */

  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body .text-over,
.over-title {
  display: none;
  opacity: 0;
  font-size: 13px;
}

.over-title {
  font-size: 13px;
  padding-bottom: 10px;
}

.material-list-item:hover .text-over {
  display: block;
  opacity: 1;
  background-color: white;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  /* background-color: rgb(236, 236, 236); */
  padding: 12px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
}

.material-list-item:hover .text-over::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  /* border: 2px solid transparent; */
  border-top: 0;
  background: linear-gradient(
    38deg,
    var(--green) 0%,
    var(--blue-light) 85%,
    var(--blue-light) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
}

.material-list-item:hover .over-title {
  position: relative;
  display: block;
  opacity: 1;
}
