/* Page styles for /ranglijsten. Extracted from the inline block during R3. */

.styled-results-table td:nth-child(1),
        .styled-results-table th:nth-child(1) {
            text-align: center;
            padding: 0 0;
        }
        .styled-results-table td:nth-child(2),
        .styled-results-table th:nth-child(2) {
          word-wrap: break-word;
          word-break: break-word;
          white-space: normal;
          text-align: left;
        }
        
        .styled-results-table td:nth-child(3),
        .styled-results-table th:nth-child(3) {
          word-wrap: break-word;
          white-space: normal;
          padding: 6px 6px;
        }
        
        .styled-results-table th:last-child,
        .styled-results-table td:last-child {
          padding: 0 0;
        }

        .ranking-links {
            margin: 0 auto 1.5rem;
            max-width: 900px;
            text-align: center;
            font-size: 0.85rem;
            color: var(--text-secondary);
            line-height: 2;
        }
        .ranking-links a {
            color: var(--green-dark);
        }
        .ranking-links-group {
            display: block;
        }

.ranking-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: -.5rem auto 1rem;
    color: var(--text-muted);
    font-size: .82rem;
}

.ranking-legend .badge {
    margin-right: .25rem;
}

.ranking-explainer {
    max-width: 900px;
    margin: 1.5rem auto 1rem;
    padding: .9rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    color: var(--text-secondary);
    font-size: .88rem;
    line-height: 1.6;
    text-align: left;
}

.ranking-explainer summary {
    cursor: pointer;
    color: var(--text-heading);
    font-weight: 700;
}

.ranking-explainer p {
    margin: .75rem 0 0;
}
