/* Live Recent Commits cards — public/js/home-commits.js.
 *
 * Only the pieces the static markup did not already have. The cards reuse
 * .postsInfGridItem / .uk-card / .postsInfGridItemTeaser, whose sizing lives in
 * the clone's own wp-custom-css (.postsInfGridItemTeaser { min-height: 337px }),
 * so the live block inherits the existing proportions rather than inventing new
 * ones. What is new is the initials tile that stands in for a headshot, because
 * /api/commit-map deliberately carries no image field.
 */

.rseCommitLink,
.rseCommitLink:hover,
.rseCommitLink:focus { text-decoration: none; color: inherit; display: block; }

.rseCommitTeaser {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f5f5;
  border-radius: 6px;
}

.rseCommitInitials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #064443;
  color: #ffffff;
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
}

.rseCommitLink:hover .rseCommitInitials { background: #0a5f5d; }

/* Headlines are generated, so they vary in length where the four hand-written
   ones were tuned to fit. Cap the type and equalise the card heights rather than
   let one long school name push its card taller than the one beside it. */
.rseSignupsLive .uk-card-title { font-size: 1.15rem; line-height: 1.35; }
.rseCommitItem > .uk-card { height: 100%; }
