.nxt-rs {
  margin: 3rem auto;
  padding: 16px;
  max-width: 1440px;
}

.nxt-rs__heading {
  font-size: 1.5rem;
  margin: 0 0 1rem;
  font-weight: 600;
}

.nxt-rs__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.nxt-rs__card {
  margin: 0;
  border-radius:10px;
  background:white;
  border:2px solid #aed0ff;
  overflow: hidden;
}

.nxt-rs__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/*
.nxt-rs__link:hover .nxt-rs__title {
  text-decoration: underline;
}
*/

.nxt-rs__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f4f4f4;
}

.nxt-rs__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.nxt-rs__text {
    padding: .75rem; 
}

.nxt-rs__link:hover .nxt-rs__image img {
  transform: scale(1.03);
}

.nxt-rs__title {
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 600;
}

.nxt-rs__time {
  font-size: 0.75rem;
  color: #595959;
}

@media (max-width: 900px) {
  .nxt-rs {
    margin: 1rem auto;
  }
  .nxt-rs__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .nxt-rs__link {
    display: flex;
  }
  .nxt-rs__image {
    width: 98px;
    margin-bottom:0;
    flex-shrink:0;
  }
  .nxt-rs__title {
    font-size:.85rem;
  }
}

@media (max-width: 500px) {
  .nxt-rs__grid {
    grid-template-columns: 1fr;
  }
}
