/* The frame around a credential's picture: the issuer written on top of the picture, the illustration under it, a white strip with the level and the type.
   Sizes follow the width of the frame (container units), so the same frame is right at 150 px and at 440 px. */
.cf { position: relative; display: grid; grid-template-rows: auto auto; container-type: inline-size; width: 100%; background: #0058cc; color: #fff; border-radius: 4px; overflow: hidden; font-family: inherit; text-align: left; }
.cf-top { position: absolute; top: 0; left: 0; right: 0; z-index: 1; display: block; color: #fff; padding: 5cqw 6cqw 9cqw; background: linear-gradient(to bottom, rgba(10, 22, 52, 0.85), rgba(10, 22, 52, 0)); }
.cf-issuer { display: block; font-size: 6.4cqw; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-art { display: block; aspect-ratio: 1; min-height: 0; background: #13244f; overflow: hidden; }
.cf-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cf-empty { display: flex; width: 100%; aspect-ratio: 1; align-items: center; justify-content: center; font-size: 22cqw; font-weight: 700; color: #fff; background: #0a3f99; }
.cf-strip { display: flex; align-items: center; justify-content: space-between; gap: 3cqw; background: #fff; color: #1d2939; padding: 3cqw 7cqw; }
.cf-medal { width: 8cqw; height: 8cqw; flex: none; }
.cf-meta { display: block; text-align: right; font-size: 3.8cqw; line-height: 1.3; }
.cf-meta b { display: block; font-weight: 600; }
