.department-leaderboard-section {
    background: #f8fafc;
}

.department-leaderboard-section .department-grid {
    align-items: stretch;
}

.department-leaderboard-section .department-card {
    display: flex;
    flex-direction: column;
}

.department-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    margin-bottom: 20px;
}

.department-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border-radius: 12px;
    background: #eef3ff;
}

.department-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.department-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
}

.department-card h4 {
    margin: 0 0 10px;
    font-size: 1.25rem;
}

.department-card > p {
    flex-grow: 1;
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.6;
}

.department-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0 0 20px;
}

.department-metrics div {
    padding: 12px;
    border-radius: 10px;
    background: #f5f7fb;
}

.department-metrics dt {
    color: var(--muted);
    font-size: 0.75rem;
}

.department-metrics dd {
    margin: 5px 0 0;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 800;
}

.department-pass-rate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
}

.department-pass-rate strong {
    color: var(--primary);
}
