.news-card {
  width: 100%;
  max-width: 460px;
  min-width: 0;
}

.news-card__link {
  display: grid;
  aspect-ratio: 460 / 403;
  color: #ffffff;
  text-decoration: none;
}

.news-card__image,
.news-card__content {
  grid-area: 1 / 1;
  min-width: 0;
}

.news-card__image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.news-card__content {
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
}

.news-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.01;
  letter-spacing: -0.04em;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  overflow-wrap: anywhere;
}

.news-card__meta {
  margin: 20px 0 0;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.01;
  letter-spacing: -0.04em;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.news-card__link:hover .news-card__title {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.news-card__link:link:active {
  opacity: 0.9;
}

.news-card__link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: -5px;
}

@media (max-width: 767px) {
  .news-card__link {
    aspect-ratio: 350 / 310;
  }

  .news-card__content {
    padding: 20px;
  }
}
