@import url("https://fonts.googleapis.com/css2?family=Aleo:ital,wght@0,100..900;1,100..900&display=swap");
.newst .container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: center;
  gap: 30px 30px;
  padding: 30px 52px;
}
@media screen and (max-width: 767px) {
  .newst .container {
    grid-template-columns: 1fr;
  }
}
@media screen and (min-width: 767px) and (max-width: 1023px) {
  .newst .container {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (min-width: 1024px) and (max-width: 2559px) {
  .newst .container {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media screen and (min-width: 2560px) {
  .newst .container {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
.newst-item {
  background-size: contain;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  height: 300px;
  max-height: 300px;
}
.newst-item img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.newst-item .body {
  height: 45%;
  width: 100%;
  position: absolute;
  bottom: 0%;
  background-color: rgba(98, 126, 148, 0.71);
  display: flex;
  flex-direction: column;
  justify-content: end;
  flex: 1;
  transition: all 0.3s linear;
}
.newst-item .body .text {
  width: -webkit-fill-available;
  width: -moz-available;
  width: fill;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}
.newst-item .body .text .date {
  color: rgba(255, 255, 255, 0.71);
  font-weight: normal;
}
.newst-item .body .text .discreption {
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: unset;
  /* Qatorlar sonini belgilang */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: whitesmoke;
  line-height: 1.5rem;
}
@media screen and (max-width: 767px) {
  .newst-item .body .text .discreption {
    font-size: 10px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1300px) {
  .newst-item .body .text .discreption {
    font-size: 12px;
  }
}
.newst-item .body .btn {
  display: flex;
  justify-content: end;
  padding: 8px;
}
.newst-item .body .btn .newsBtn {
  padding: 0.5rem 1rem;
  background: none;
  border: 1px solid white;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}
.newst-item .body .btn .newsBtn:hover {
  background-color: rgba(255, 255, 255, 0.71);
  color: #627e94;
}
.newst-item .body .btn .newsBtn:active {
  background: local;
  color: white;
}
.newst-item .body:hover {
  height: 80%;
}
.newst-item .body:hover .text .discreption {
  -webkit-line-clamp: 3;
  line-clamp: 3;
  display: block;
  overflow: visible;
  text-overflow: unset;
}
@media screen and (max-width: 767px) {
  .newst-item {
    height: 250px;
  }
}/*# sourceMappingURL=style.css.map */