* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.club-rating {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 78px;
}

@media (max-width: 1440px) {
    .club-rating {
        margin-bottom: 64px;
    }
}
@media (max-width: 1200px) {
    .club-rating {
        margin-bottom: 48px;
    }
}
@media (max-width: 1024px) {
    .club-rating {
        margin-bottom: 40px;
    }
}
@media (max-width: 768px) {
    .club-rating {
        margin-bottom: 32px;
    }
}
@media (max-width: 480px) {
    .club-rating {
        margin-bottom: 24px;
    }
}
@media (max-width: 375px) {
    .club-rating {
        margin-bottom: 20px;
    }
}
.rating-title {
    width: 1720px;
    position: relative;
    margin-top: 40px;
}
.rating-title h2 {
    font-weight: 700;
    font-size: 80px;
    line-height: 96px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #F5F5F7;
    z-index: 0;
    top: 0;
    position: absolute;
    left: 0;
    font-family: "Oswald";
}
.rating-title h1 {
    font-weight: 700;
    position: absolute;
    font-size: 56px;
    line-height: 64px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #262626;
    z-index: 1;
    top: 48px;
    left: 0;
    font-family: "Oswald";
}

@media (max-width: 1720px) {
    .rating-title {
        width: 100%;
        max-width: 1720px;
        flex-direction: column;
        align-items: flex-start;
        gap: 124px;
    }
    .rating-title h2,
    .rating-title h1 {
        left: 60px;
    }
}
@media (max-width: 1440px) {
    /*.rating-title {*/
    /*    width: calc(100% - 40px);*/
    /*}*/
    .rating-title h2,
    .rating-title h1 {
        left: 60px;
    }
    .rating-title h2 {
        font-size: 80px;
        line-height: 96px;
    }
    .rating-title h1 {
        font-size: 56px;
        line-height: 64px;
        top: 40px;
    }
}
@media (max-width: 1200px) {
    .rating-title h2,
    .rating-title h1 {
        left: 40px;
    }
}
@media (max-width: 1024px) {
    .rating-title h2,
    .rating-title h1 {
        left: 16px;
    }
    .rating-title h2 {
        font-size: 60px;
        line-height: 68px;
    }
    .rating-title h1 {
        font-size: 40px;
        line-height: 48px;
        top: 32px;
    }
}
@media (max-width: 768px) {
    .rating-title {
        gap: 50px;
    }
    .rating-title h2 {
        position: relative;
        font-size: 48px;
        line-height: 56px;
        color: rgba(245, 245, 247, 0.7);
    }
    .rating-title h1 {
        position: relative;
        font-size: 32px;
        line-height: 40px;
        top: -40px;
    }
}
@media (max-width: 480px) {
    .rating-title {
        margin-top: 16px;
        gap: 40px;
    }
    .rating-title h2 {
        font-size: 36px;
        line-height: 44px;
    }
    .rating-title h1 {
        font-size: 24px;
        line-height: 32px;
        top: -30px;
    }
}
.section-one {
    width: 100%;
    max-width: 1720px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 176px;
}
.section-one h2 {
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #ED1C24;
    font-family: "Oswald";
}

.club-rating-filter {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: -8px;
}

.club-rating-filter__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.club-rating-filter__tag {
    border: 1px solid #E1E8F0;
    background: #FFFFFF;
    color: #262626;
    border-radius: 999px;
    padding: 8px 16px;
    font-family: "Inter";
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.club-rating-filter__tag:hover {
    background: #F5F5F7;
}

.club-rating-filter__tag.is-active {
    background: #262626;
    color: #FFFFFF;
    border-color: #262626;
}

.section-one .rating-table {
    width: 100%;
    min-width: 1200px;
    border-collapse: collapse;
    font-family: "Inter";
    color: #262626;
    margin-top: -10px;
}
.section-one .rating-table thead th {
    padding: 16px 20px;
    text-align: center;
    font-family: "Inter";
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0;
    white-space: nowrap;
    color: #8C8C8C;
}
.section-one .rating-table tbody tr {
    position: relative;
    transition: all 0.2s ease;
    cursor: pointer;
}
.section-one .rating-table tbody tr:nth-child(odd) {
    background-color: #F5F5F7;
    border: solid 1px #E1E8F0;
}
.section-one .rating-table tbody tr:nth-child(even) {
    background-color: transparent;
}
.section-one .rating-table tbody tr:hover {
    background: #dcdcdd;
}
.section-one .rating-table tbody tr td {
    padding: 7px 20px;
    font-family: "Inter";
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    text-align: center;
    color: #262626;
    white-space: nowrap;
    vertical-align: middle;
    position: relative;
}
.section-one .rating-table__row-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.section-one .athlete {
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-one .athlete__avatar {
    width: 118px;
    height: 118px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}
.section-one .athlete__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    z-index: 2;
}
.section-one .athlete__name {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 24px;
    text-align: center;
}
.section-one .athlete__id {
    font-size: 16px;
    line-height: 24px;
    color: rgba(38, 38, 38, 0.6);
    user-select: text;
}
.section-one .country {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.section-one .country__flag {
    width: 50px;
    height: 34px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}
.section-one .country span {
    font-size: 14px;
}

.load-more-btn {
    padding: 8px 16px;
    background-color: #262626;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    font-size: 16px;
    font-weight: 600;
    font-family: "DM Sans", sans-serif;
    line-height: 20px;
    letter-spacing: 0.38px;
    transition: all 0.3s ease;
    width: fit-content;
    align-self: center;
    border-radius: 8px;
    border: none;
}
.load-more-btn img {
    width: 24px;
    height: auto;
    display: block;
    object-fit: contain;
}
.load-more-btn:hover {
    background-color: #313131;
    transform: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.load-more-btn:active {
    background-color: #1c1c1c;
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    transition-duration: 0.1s;
}
.load-more-btn:focus-visible {
    border: none;
}

@media (max-width: 1720px) {
    .section-one {
        padding: 0 60px;
    }
}
@media (max-width: 1440px) {
    .section-one {
        margin-top: 142px;
        gap: 24px;
    }
    .section-one h2 {
        font-size: 36px;
        line-height: 44px;
        text-align: left;
    }
    .section-one .rating-table {
        min-width: 1100px;
    }
    .section-one .rating-table thead th {
        padding: 14px 18px;
        font-size: 20px;
        line-height: 28px;
    }
    .section-one .rating-table tbody td {
        padding: 14px 18px;
        font-size: 16px;
        line-height: 24px;
    }
}
@media (max-width: 1200px) {
    .section-one {
        padding: 0 40px;
    }
    .section-one .rating-table {
        min-width: 1000px;
    }
    .section-one .rating-table thead th {
        padding: 14px 16px;
        font-size: 18px;
        line-height: 24px;
    }
    .section-one .rating-table tbody td {
        padding: 14px 16px;
        font-size: 15px;
        line-height: 22px;
    }
    .section-one .rating-table .athlete__avatar {
        width: 100px;
        height: 100px;
    }
}
@media (max-width: 1024px) {
    .section-one {
        margin-top: 120px;
        padding: 0 16px;
        width: 100%;
        gap: 20px;
        overflow-x: auto;
    }
    .section-one h2 {
        font-size: 28px;
        line-height: 36px;
        text-align: left;
        margin-left: 0;
        padding-left: 0;
    }
    .section-one .rating-table {
        width: fit-content;
        min-width: 900px;
        margin: 0;
    }
    .section-one .rating-table thead th {
        padding: 12px 14px;
        font-size: 17px;
        line-height: 22px;
    }
    .section-one .rating-table tbody td {
        padding: 12px 14px;
        font-size: 15px;
        line-height: 20px;
    }
    .section-one .rating-table .athlete__avatar {
        width: 90px;
        height: 90px;
    }
    .section-one .rating-table .country__flag {
        width: 45px;
        height: 30px;
    }
    .section-one .load-more-btn {
        font-size: 15px;
        line-height: 18px;
        padding: 10px 20px;
    }
}
@media (max-width: 768px) {
    .section-one {
        margin-top: 0;
        padding: 0 16px;
        width: 100%;
        gap: 16px;
    }
    .section-one h2 {
        font-size: 24px;
        line-height: 32px;
        text-align: left;
    }
    .club-rating-filter,
    .club-rating-filter__tags {
        gap: 8px;
    }

    .club-rating-filter__tag {
        padding: 7px 12px;
        font-size: 13px;
        line-height: 18px;
    }
    .section-one .rating-table {
        width: fit-content;
        min-width: 800px;
        max-width: 100%;
        font-size: 14px;
        border-collapse: collapse;
        margin: 0;
    }
    .section-one .rating-table thead th {
        padding: 10px 12px;
        font-size: 15px;
        line-height: 20px;
        white-space: nowrap;
    }
    .section-one .rating-table thead th:nth-child(1),
    .section-one .rating-table thead th:nth-child(2) {
        padding: 10px 8px;
    }
    .section-one .rating-table tbody td {
        padding: 10px 12px;
        font-size: 14px;
        line-height: 18px;
        white-space: nowrap;
        border: none;
    }
    .section-one .rating-table tbody td:nth-child(1),
    .section-one .rating-table tbody td:nth-child(2) {
        padding: 10px 8px;
    }
    .section-one .rating-table .athlete__avatar {
        width: 70px;
        height: 70px;
    }
    .section-one .rating-table .country__flag {
        width: 40px;
        height: 27px;
    }
    .section-one .load-more-btn {
        font-size: 14px;
        line-height: 16px;
        padding: 10px 20px;
        margin-top: 20px;
    }
}
@media (max-width: 640px) {
    .section-one .rating-table {
        min-width: 700px;
    }
    .section-one .rating-table thead th {
        padding: 9px 10px;
        font-size: 14px;
        line-height: 18px;
    }
    .section-one .rating-table tbody td {
        padding: 9px 10px;
        font-size: 13px;
        line-height: 16px;
    }
    .section-one .rating-table .athlete__avatar {
        width: 60px;
        height: 60px;
    }
}
@media (max-width: 480px) {
    .section-one {
        gap: 12px;
    }
    .section-one h2 {
        font-size: 18px;
        line-height: 24px;
        text-align: left;
    }

    .club-rating-filter__tag {
        padding: 6px 10px;
        font-size: 12px;
        line-height: 16px;
    }

    .section-one .rating-table {
        width: fit-content;
        min-width: 500px;
        font-size: 12px;
    }
    .section-one .rating-table thead th {
        padding: 8px 10px;
        font-size: 13px;
        line-height: 16px;
    }
    .section-one .rating-table thead th:nth-child(1),
    .section-one .rating-table thead th:nth-child(2) {
        padding: 8px 6px;
    }
    .section-one .rating-table thead th:nth-child(3) {
        min-width: 120px;
    }
    .section-one .rating-table thead th:nth-child(4),
    .section-one .rating-table thead th:nth-child(5),
    .section-one .rating-table thead th:nth-child(6),
    .section-one .rating-table thead th:nth-child(7),
    .section-one .rating-table thead th:nth-child(8) {
        min-width: 70px;
    }
    .section-one .rating-table tbody td {
        padding: 8px 10px;
        font-size: 12px;
        line-height: 14px;
    }
    .section-one .rating-table tbody td:nth-child(1),
    .section-one .rating-table tbody td:nth-child(2) {
        padding: 8px 6px;
    }
    .section-one .rating-table tbody td:nth-child(4),
    .section-one .rating-table tbody td:nth-child(5),
    .section-one .rating-table tbody td:nth-child(6),
    .section-one .rating-table tbody td:nth-child(7),
    .section-one .rating-table tbody td:nth-child(8) {
        min-width: 70px;
    }
    .section-one .rating-table tbody .rating-table__logo img {
        width: 30px;
        height: 30px;
    }
    .section-one .rating-table tbody .athlete__avatar {
        width: 50px;
        height: 50px;
    }
    .section-one .rating-table tbody .country__flag {
        width: 35px;
        height: 23px;
    }
    .section-one .load-more-btn {
        font-size: 13px;
        line-height: 15px;
        padding: 8px 16px;
        margin-top: 16px;
    }
}
@media (max-width: 375px) {
    .section-one {
        margin-top: 0;
    }
    .section-one .rating-table {
        min-width: 550px;
    }
    .section-one .rating-table thead th {
        padding: 7px 8px;
        font-size: 12px;
        line-height: 14px;
    }
    .section-one .rating-table thead th:nth-child(1),
    .section-one .rating-table thead th:nth-child(2) {
        padding: 7px 5px;
    }
    .section-one .rating-table thead th:nth-child(3) {
        min-width: 100px;
    }
    .section-one .rating-table thead th:nth-child(4),
    .section-one .rating-table thead th:nth-child(5),
    .section-one .rating-table thead th:nth-child(6),
    .section-one .rating-table thead th:nth-child(7),
    .section-one .rating-table thead th:nth-child(8) {
        min-width: 60px;
    }
    .section-one .rating-table tbody td {
        padding: 7px 8px;
        font-size: 11px;
        line-height: 13px;
    }
    .section-one .rating-table tbody td:nth-child(1),
    .section-one .rating-table tbody td:nth-child(2) {
        padding: 7px 5px;
    }
    .section-one .rating-table tbody td:nth-child(4),
    .section-one .rating-table tbody td:nth-child(5),
    .section-one .rating-table tbody td:nth-child(6),
    .section-one .rating-table tbody td:nth-child(7),
    .section-one .rating-table tbody td:nth-child(8) {
        min-width: 60px;
    }
    .section-one .rating-table tbody .rating-table__logo img {
        width: 25px;
        height: 25px;
    }
    .section-one .rating-table tbody .athlete__avatar {
        width: 45px;
        height: 45px;
    }
    .section-one .rating-table tbody .country__flag {
        width: 30px;
        height: 20px;
    }
    .section-one .load-more-btn {
        font-size: 12px;
        padding: 6px 14px;
    }
}

/* ===== Перенос названия клуба ===== */

.section-one .rating-table--clubs th:nth-child(3),
.section-one .rating-table--clubs td.rating-table__club {
    width: 320px;
    min-width: 320px;
}

.section-one .rating-table--clubs td.rating-table__club {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 22px;
    text-align: left;
}

@media (max-width: 1200px) {
    .section-one .rating-table--clubs th:nth-child(3),
    .section-one .rating-table--clubs td.rating-table__club {
        width: 280px;
        min-width: 280px;
    }

    .section-one .rating-table--clubs td.rating-table__club {
        line-height: 20px;
    }
}

@media (max-width: 768px) {
    .section-one .rating-table--clubs th:nth-child(3),
    .section-one .rating-table--clubs td.rating-table__club {
        width: 220px;
        min-width: 220px;
    }

    .section-one .rating-table--clubs td.rating-table__club {
        line-height: 18px;
    }
}

@media (max-width: 480px) {
    .section-one .rating-table--clubs th:nth-child(3),
    .section-one .rating-table--clubs td.rating-table__club {
        width: 180px;
        min-width: 180px;
    }

    .section-one .rating-table--clubs td.rating-table__club {
        line-height: 16px;
    }
}


.club-rating-filter {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-top: -8px;
}

.club-rating-filter__form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    width: 100%;
    max-width: 360px;
}

.club-rating-filter__field {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.club-rating-filter__label {
    font-size: 16px;
    color: #262626;
    font-weight: 400;
    line-height: 24px;
    font-family: "Inter";
    letter-spacing: 0;
}

.club-rating-filter__select {
    width: 100%;
    height: 40px;
    border: 1px solid #E1E8F0;
    border-radius: 4px;
    color: #262626;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    font-family: "Inter";
    padding: 0 40px 0 16px;
    background-color: #FFFFFF;
    outline: none;
    cursor: pointer;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8L10 13L15 8' stroke='%23626262' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
}

.club-rating-filter__select:focus {
    border-color: #0080C7;
}

@media (max-width: 768px) {
    .club-rating-filter {
        margin-top: 0;
    }

    .club-rating-filter__form {
        max-width: 100%;
    }

    .club-rating-filter__label {
        font-size: 14px;
        line-height: 20px;
    }

    .club-rating-filter__select {
        height: 38px;
        font-size: 14px;
        line-height: 20px;
    }
}

@media (max-width: 480px) {
    .club-rating-filter__label {
        font-size: 12px;
        line-height: 16px;
    }

    .club-rating-filter__select {
        height: 36px;
        font-size: 12px;
        line-height: 16px;
        padding: 0 36px 0 12px;
        background-position: right 10px center;
        background-size: 16px;
    }
}

@font-face {
    font-family: "DM Sans";
    src: url(../fonts/Dm-Sans/DMSans_18pt-Regular.ttf);
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "DM Sans";
    src: url(../fonts/Dm-Sans/DMSans_18pt-Medium.ttf);
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "DM Sans";
    src: url(../fonts/Dm-Sans/DMSans_18pt-SemiBold.ttf);
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "DM Sans";
    src: url(../fonts/Dm-Sans/DMSans_18pt-Bold.ttf);
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Inter";
    src: url(../fonts/Inter/Inter_18pt-Bold.ttf);
    font-weight: 700;
}
@font-face {
    font-family: "Inter";
    src: url(../fonts/Inter/Inter_18pt-SemiBold.ttf);
    font-weight: 600;
}
@font-face {
    font-family: "Inter";
    src: url(../fonts/Inter/Inter_18pt-Medium.ttf);
    font-weight: 500;
}
@font-face {
    font-family: "Inter";
    src: url(../fonts/Inter/Inter_18pt-Regular.ttf);
    font-weight: 400;
}
@font-face {
    font-family: "Oswald";
    src: url(../fonts/Oswald/Oswald-Medium.ttf);
    font-weight: 500;
}
@font-face {
    font-family: "Oswald";
    src: url(../fonts/Oswald/Oswald-SemiBold.ttf);
    font-weight: 600;
}
@font-face {
    font-family: "Oswald";
    src: url(../fonts/Oswald/Oswald-Bold.ttf);
    font-weight: 700;
}