.card-linkable{
    text-decoration: none;
    color: black;
}

.card {
  /* ******************** Create the card to fit 3 to a column ******************** */
    flex: 1 1 calc(100% - 32px);
    max-width: calc(100% - 32px);
    min-height: 300px;
    /* Add shadows to create the "card" effect */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    padding: 1rem;
    border-top: 4px solid var(--dark-accent);
    border-radius: 4px;

    /* ******************** Make the card a flex container ******************** */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures the footer stays at the bottom */
  }

.card-container-outer {
  margin: 1rem;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.card-container-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}

/* On mouse-over, lift the card and add a deeper shadow */
.card:hover {
  box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.25);
  transform: translateY(-6px);
  border-top-color: var(--light-accent);
}

/* On mouse-over the card underline the heading */
.card:hover h3{
  text-decoration: underline;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.card-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.card-body{
    flex-grow: 1;
    margin-bottom: 1rem; /* Adds space between body and footer */
}

.card-footer{
    display: flex;
    align-items: center;
    justify-content: center;
}

.small-text-padded {
  display: inline-block;
  font-size: .75rem;
  margin-top: 1rem;
  padding: 0.3rem 0.75rem;
  background-color: var(--light-accent);
  color: var(--dark-accent);
  border-radius: 999px;
  font-weight: 700;
}
