.news {
  background-color: #0b121e;
  color:            #fff;
  padding:            80px 0;
}

.news__inner {
  display:        flex;
  flex-direction: column;
  gap:            40px;
}

.news__title {
  text-align:     center;
  font-size:      42px;
  font-weight:    700;
  text-transform: uppercase;
  margin-bottom:  50px;
}

.news__list {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   40px;
  list-style:            none;
  padding:               0;
  margin:                0;
}

.news__item {
  background-color: #111a28;
  border-radius:      8px;
  overflow:           hidden;
  transition:         transform 0.3s ease, box-shadow 0.3s ease;
}

.news__item:hover {
  transform:  translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.news__item-img img {
  width:      100%;
  height:     230px;
  object-fit: cover;
  display:    block;
}

.news__item-content {
  padding:        20px;
  display:        flex;
  flex-direction: column;
  gap:            10px;
}

.news__item-title {
  font-size:      18px;
  font-weight:    700;
  color:        #1e90ff;
  margin:         0;
  text-transform: uppercase;
}

.news__item-title a {
  color:           inherit;
  text-decoration: none;
}

.news__item-text {
  color:     #ccd3df;
  font-size:   15px;
  line-height: 1.5;
  margin-top:  8px;
  flex-grow:   1;
}

.news__date,
.news__item-date {
  font-size:  14px;
  color:    #8ca0bf;
  text-align: right;
  margin-top: auto;
}

@media (max-width: 992px) {
  .news__list {
    grid-template-columns: repeat(2, 1fr);
    gap:                   30px;
  }
}

@media (max-width: 640px) {
  .news__list {
    grid-template-columns: 1fr;
    gap:                   24px;
  }
  .news__title {
    font-size: 32px;
  }
}
