<!-- start Simple Custom CSS and JS -->
<style type="text/css">
.character-nav {
  text-align: center;
}

.character-family-link {
  text-align: right;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 1rem 0;
  align-items: start;
}

.character-card {
  margin: 0;
  text-align: center;
  justify-self: center;
  width: fit-content;
  max-width: 190px;
}

.entry-content .character-card > a {
  display: block;
  padding: 4px;
  border: 1px solid #ccc;
  background: #fff;
  box-sizing: border-box;
  text-decoration: none !important;
  box-shadow: none !important;
  background-image: none !important;
}

.entry-content .character-card > a:hover,
.entry-content .character-card > a:focus {
  text-decoration: none !important;
  box-shadow: none !important;
  background-image: none !important;
}

.character-card img {
  height: 240px;
  width: auto;
  max-width: none;
  display: block;
  margin: 0;
}

.character-card figcaption {
  margin-top: 4px;
  font-size: .9rem;
  line-height: 1.35;
}

.character-card figcaption em {
  font-size: .9em;
}

.character-top {
  margin-top: 1rem;
  text-align: right;
}

@media (max-width: 700px) {
  .character-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}</style>
<!-- end Simple Custom CSS and JS -->
