.ranking-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    gap: 1rem;
    padding: 0;
    list-style: none;
}

.ranking-overview a {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    height: 100%;
    box-sizing: border-box;
    margin: 0;
    text-decoration: none;
}

.ranking-overview a strong {
    font-size: 1.12rem;
}

.ranking-overview a span {
    font-weight: normal;
}

.ranking-overview a:hover strong,
.ranking-overview a:focus-visible strong {
    text-decoration: underline;
}

.quarter-ranking table {
    width: 100%;
    border-collapse: collapse;
}

.quarter-ranking th,
.quarter-ranking td {
    padding: .7rem 1.15rem;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.quarter-ranking th:nth-child(2),
.quarter-ranking td:nth-child(2) {
    width: 100%;
    text-align: left;
}

@media (max-width: 650px) {
    .quarter-ranking th,
    .quarter-ranking td {
        padding: .65rem .65rem;
    }
}
