body * {
  font-family: "montserrat", sans-serif;
}
.neuroblogs {
  margin-top: 3.5rem;
  margin-bottom: 12.5rem;
}
.neuroblogs-container {
  overflow-x: hidden;
}
h1 {
  font-size: 3rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 69.33px;
}
.neuroblogs-container > h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-top: 2.5rem;
}
.colored {
  color: #5ce1e6;
  position: relative;
}
.colored::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 3px;
  background-color: #5ce1e6;
  z-index: -1;
}
.tags__item.active {
  background-color: #5ce1e6;
}
.tags-box {
  margin-top: 3.5rem;
}
.neuroblogs-list {
  columns: 3;
  column-gap: 2.5rem;
  margin-top: 2.5rem;
}
.neuroblogs-list_item {
  border-radius: 22px;
  border: 2px solid #efefef;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  margin-bottom: 2.5rem;
  break-inside: avoid;
}
.neuroblogs-tag {
  background: none;
  border: solid 2px #5ce1e6;
}
.neuroblogs-list_item > .tags {
  margin-top: auto;
}
.neuroblogs-list_item > p{
  margin-bottom: 2rem;
  max-height: 69px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; 
  overflow: hidden; 
  text-overflow: ellipsis; 
}
.neuroblogs-list_item > img {
  margin-bottom: 2rem;
  border-radius: 12px;
  max-width: 438px;
  max-height: 246px;
  object-fit: cover;
}
.item_headline {
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
}
.item_description {
  font-size: 20px;
  font-weight: 500;
  line-height: 32px;
  color: #7f7f7f;
}
.neuroblogs-list_item {
  opacity: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: scale(1);
}
.neuroblogs-list_item.hidden {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none; 
}

@media (max-width: 1200px) {
  .neuroblogs-list {
    columns: 2;
  }
  .neuroblogs-container > h2 {
    width: 90%;
  }
}
@media (max-width: 993px) {
  .neuroblogs-container > h1 {
    line-height: 50px;
  }

  .item_description {
    font-size: 16px;
    line-height: 22px;
  }
  .item_headline {
    font-size: 20px;
    line-height: 24px;
  }
  .neuroblogs-container > h2 {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .neuroblogs-container > h1 {
    line-height: 35px;
  }
  .neuroblogs-container > h2 {
    width: 90%;
  }
  .neuroblogs-list {
    columns: 1;
  }
  .colored::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.5px;
    height: 2px;
    background-color: #5ce1e6;
    z-index: -1;
  }
}
@media (max-width: 577px) {
  .neuroblogs-container > h2 {
    width: 80%;
  }
}
@media (max-width: 460px) {
  .neuroblogs-container > h2 {
    width: 100%;
  }
  .tags {
    width: 100%;
  }
}