
.cards {
  margin: 0px 19px auto;
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(12rem, 100%), 1fr));
  gap: 20px;
  font-family: san-serif;
  color: #2f3182;
}

.card {
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}

.card__image {
  width: 100%;
  display:block;
}

.card__content {
  line-height: 1.5;
  font-size: 0.9em;
  font-family: sans-serif;
  color: inherit;
  padding: 10px;
  background-color: #fafafa;
}

.card__content >p first-of-type{
  margin-top: 0;
}
.card__content >p last-of-type{
  margin-bottom: 0;
}

.card__info {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  font-family:inherit;
  color: #2f3182;
  align-items: center;
  background-color: #eeeeee;
  font-size: 0.8em;
  border-bottom-color: 2px solid #cccccc;
}

.card__img {
  margin: 0 auto;
  padding: 5px;
  minmax-width: 1vh;
  width: auto;
  height: auto;
  display:block;

}


.card__link a {
  color: #556677;
  text-decoration: none;
}

.card-link hover a {
  text-decoration:underline;
}

@media (max-width: 480px){
	.card__img {

  margin: 0 auto;
  minmax-width: 10px;
  width: auto;
  height: auto;
  display: block;

}


/* Screen larger than 600px? 2 column */
@media (min-width: 600px) {
  .cards { 
 grid-template-columns: repeat(auto-fill, minmax(min(12rem, 100%),(2 1fr));
	}
}

/* Screen larger than 900px? 3 columns */
@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
	}
/* Screen larger than 1200px? 6 columns */
@media (min-width: 1200px) {
	.cards { grid-template-columns: repeat(6, 1fr); 
}
	}