@import url("index.css");

article p {
  margin: 1rem 0;
  font-size: 1.2rem
}

.news-single-meta {
  margin: 1rem 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2vw;
  max-width: 1800px;
}

.news-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: none;
  border: none;
  box-shadow: none;
}

.news-image {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #e0e0e0 0%, #bdbdbd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-meta {
  margin-top: 1vw;
  font-family: 'SuisseIntl', 'Inter', Arial, sans-serif;
}

.news-category {
  color: #000;
  font-size: 1em;
  font-weight: 400;
  letter-spacing: 0.01em;
  display: block;
}

.news-title {
  color: #111;
  font-size: 1.1em;
  font-weight: 600;
  margin-top: 0.1em;
  font-family: 'SuisseIntl', 'Inter', Arial, sans-serif;
  letter-spacing: 0.01em;
}

.news-single-image img {
  border-radius: 24px;
  border: 1px solid black;
  width: 100%;
  max-height: 508px;
  object-fit: cover;
}

span.news-single-category,
.news-single-date {
  color: white;
}

@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-meta {
    margin-top: 3vw;
  }
}