/**
 * @file
 * Visual styles for nodes.
 */

.node--unpublished {
  background-color: #fff4f4;
}

.news-teaser__link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.news-teaser__media {
  width: 100%;
}

.news-teaser__media img {
  width: 100%;
  height: auto;
  max-height: 215px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .news-teaser__media img {
    max-height: 320px;
  }
}

.news-teaser__title {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 500;
  color: #433D38;
}

@media (min-width: 1024px) {
  .news-teaser__title {
    font-size: 1.6875rem;
  }
}

.news-teaser__summary {
  color: #433D38;
  font-size: 1rem;
  line-height: 1.5rem;
}

@media (min-width: 1024px) {
  .news-teaser__summary {
    font-size: 1.25rem;
  }
}

.news-teaser__date {
  color: #9ca3af;
  margin-bottom: -0.75rem;
  align-self: flex-end;
}
