.rbbl-teams {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 1.25em 1em;
    margin: 0 0 1em;
}

.rbbl-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: inherit;
    text-decoration: none;
}

.rbbl-team-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 12%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.rbbl-team-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.rbbl-team-name {
    margin-top: 0.5em;
    font-weight: 600;
    line-height: 1.3;
}

a.rbbl-team:hover .rbbl-team-logo,
a.rbbl-team:focus .rbbl-team-logo {
    border-color: rgba(0, 0, 0, 0.45);
}

a.rbbl-team:hover .rbbl-team-name,
a.rbbl-team:focus .rbbl-team-name {
    text-decoration: underline;
}

.rbbl-empty {
    font-style: italic;
    opacity: 0.75;
}
