/* Explain: Styles for ranking cards and calendar cards. */
/* Rankings and calendar card styles for the homepage rankings block and the rankings page. */
.ranking-card {
    border-radius: 2rem;
    padding: 1.6rem;
    transition: transform 300ms ease, border-color 300ms ease;
}

.ranking-card:hover {
    border-color: rgba(88, 129, 87, 0.55);
    transform: translateY(-6px);
}

.ranking-card-icon {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sage-soft);
    color: var(--sage-dark);
    font-size: 1.1rem;
}

.calendar-card {
    border-radius: 2rem;
    padding: 1.6rem;
}

.ranking-row {
    border-radius: 1.6rem;
    padding: 1.1rem 1.4rem;
    transition: border-color 300ms ease;
}

.ranking-row:hover {
    border-color: rgba(88, 129, 87, 0.55);
}

.ranking-position {
    display: inline-flex;
    min-width: 3.4rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sage-soft);
    color: var(--sage-dark);
    padding: 0.45rem 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.ranking-previous {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}