.ng-grid {
  display: grid;
  gap: 24px;
}

.ng-columnas-1 {
  grid-template-columns: 1fr;
}

.ng-columnas-2 {
  grid-template-columns: repeat(2, 1fr);
}

.ng-columnas-3 {
  grid-template-columns: repeat(3, 1fr);
}

.ng-columnas-4 {
  grid-template-columns: repeat(4, 1fr);
}

.ng-card {
  overflow: hidden;
}

.ng-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eee;
}

.ng-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.ng-card:hover .ng-img img {
  transform: scale(1.05);
}

.ng-info {
  padding-top: 10px;
}

.ng-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #c40000;
  margin-bottom: 6px;
}

.ng-title {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.2;
}

.ng-title a {
  color: #111;
  text-decoration: none;
}

.ng-title a:hover {
  text-decoration: underline;
}

.ng-date {
  font-size: 13px;
  color: #777;
}

@media (max-width: 900px) {
  .ng-columnas-3,
  .ng-columnas-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ng-columnas-2,
  .ng-columnas-3,
  .ng-columnas-4 {
    grid-template-columns: 1fr;
  }
}