/* Small objects collected along the way, laid out in a static wrapping row. */
.personal-credentials { min-width: 0; }
.personal-credentials__intro { max-width: 62ch; margin-top: 18px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.credential-group { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; list-style: none; padding: 12px 0 38px; margin: 26px 0 0; width: 100%; }
.credential-badge { position: relative; flex: 0 0 144px; width: 144px; height: 144px; display: grid; place-items: center; border-radius: 2px; }
.credential-badge:focus-visible { outline: 1px solid var(--accent); outline-offset: 5px; }
.credential-badge__image { width: 144px; height: 144px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.credential-badge img { max-width: none; width: 98px; height: 98px; object-fit: contain; }
.credential-badge--featured img { width: 112px; height: 112px; }
.credential-badge--wide img { width: 120px; height: 110px; }
.credential-badge--padded img { width: 158px; height: 158px; flex-shrink: 0; }
.credential-badge__label { position: absolute; top: calc(100% - 4px); left: 50%; transform: translateX(-50%); width: max-content; max-width: 144px; padding: 4px 5px; background: var(--paper); color: var(--muted); font-size: 11px; line-height: 1.35; text-align: center; opacity: 0; pointer-events: none; }
.credential-badge:hover .credential-badge__label, .credential-badge:focus-visible .credential-badge__label { opacity: 1; }
@media (max-width: 700px) {
  .personal-credentials__intro { margin-top: 16px; font-size: 16px; }
  .credential-group { margin-top: 18px; gap: 24px 16px; }
  .credential-badge, .credential-badge__image { width: 132px; height: 144px; }
  .credential-badge { flex-basis: 132px; }
}
