.world-ranking {
    max-width: 1000px;
    margin: 0 auto;
    padding: 32px 16px 64px;
    color: #14251e;
}

.wr-header {
    padding: 28px;
    background: #10251c;
    color: #fff;
    border-radius: 16px;
}

.wr-header h1 {
    font-size: clamp(32px, 6vw, 52px);
    margin: 12px 0;
    color: #fff;
}

.wr-header p {
    margin: 8px 0;
}

.wr-kicker {
    font-size: 12px;
    letter-spacing: 2px;
    color: #63dba0;
    font-weight: 700;
}

.wr-tabs,
.wr-filters,
.wr-pagination {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.wr-tabs a,
.wr-pagination a,
.wr-filters button {
    border: 1px solid #cbd4ce;
    border-radius: 9px;
    padding: 11px 20px;
    text-decoration: none;
    color: #175c40;
    font-weight: 600;
    background: white;
}

.wr-tabs a[aria-current="page"],
.wr-filters button {
    background: #176345;
    color: white;
    border-color: #176345;
}

.wr-filters input,
.wr-filters select {
    min-width: 0;
    padding: 12px;
    border: 1px solid #ccd4ce;
    border-radius: 9px;
    background: white;
    color: #14251e;
    font: inherit;
}

.wr-filters input {
    flex: 1 1 200px;
}

.wr-count {
    font-size: 13px;
    color: #59665f;
}

.wr-table-wrap {
    overflow-x: auto;
    border: 1px solid #dce1dd;
    border-radius: 12px;
    background: white;
}

.wr-table {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

.wr-table th,
.wr-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #e8ebe8;
    text-align: left;
}

.wr-table th {
    background: #eef1ed;
    font-size: 12px;
    text-transform: uppercase;
}

.wr-table td:last-child,
.wr-table th:last-child {
    text-align: right;
}

.wr-position {
    font-weight: 700;
    color: #176345;
}

.wr-italian {
    background: #f0f7f1;
}

.wr-table a {
    color: #176345;
    text-decoration: underline;
}

.wr-pagination {
    justify-content: center;
}

@media (max-width: 600px) {
    .world-ranking {
        padding: 20px 12px 40px;
    }

    .wr-header {
        padding: 22px;
    }

    .wr-table th,
    .wr-table td {
        padding: 12px 8px;
        font-size: 13px;
    }

    .wr-filters input {
        flex-basis: 100%;
    }
}

.wr-tabs {
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .wr-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wr-tabs a {
        text-align: center;
    }
}

.wr-comparison {
    font-size: 13px;
    color: #64748b;
    margin: 8px 0 14px;
}

.wr-change {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-size: 12px;
    font-weight: 700;
}

.wr-up {
    color: #167447;
}

.wr-down {
    color: #b42318;
}

.wr-neutral {
    color: #64748b;
}

@media (max-width: 600px) {
    .wr-table th,
    .wr-table td {
        padding-left: 5px;
        padding-right: 5px;
    }

    .wr-change {
        font-size: 11px;
    }
}

.wr-filters select {
    max-width: 100%;
}

.wr-table td:nth-child(5),
.wr-table th:nth-child(5) {
    text-align: right;
}

@media (max-width: 600px) {
    .wr-table {
        min-width: 340px;
    }

    .wr-filters select {
        flex: 1 1 140px;
    }
}
