/*
  @file Theming the card view mode, and lists that render teasers.
*/

.lgd-card {
  border-radius: 1.25rem;
  box-shadow: var(--shadow-1);
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow: hidden;
}

.lgd-card__image {
  border-bottom: 0.25rem solid var(--color-accent);
  width: 100%;
}

.lgd-card__image img {
  max-height: 12.0625rem;
  object-fit: cover;
  width: 100%;
}

.lgd-card__content {
  padding: 1.625rem 1.875rem;
}

.lgd-card__content h3 {
  margin-bottom: 1rem;
}

.lgd-card__content h3 a {
  color: var(--color-blue);
  display: block;
  font-size: var(--font-size-medium-1);
  text-decoration: none;
}

.lgd-card__content h3 a:hover,
.lgd-card__content h3 a:focus {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.lgd-card__image + .lgd-card__content {
  margin-inline-start: 0;
}

.lgd-card__content p {
  font-size: var(--font-size-smallest);
  margin-top: 0rem;
}

.field--name-localgov-news-date {
  display: none;
}

@media screen and (min-width: 48rem) {
  .newsroom__featured-news .lgd-row {
    column-gap: 2.5rem;
  }
}
