.pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}

.pagination__list {
    background: #F6F6F6;
    border-radius: 20px;
    height: 72px;
    padding: 0 36px;
    margin: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    color: #787878;
}

.pagination__list a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

@media screen and (min-width: 768px) and (hover: hover) {
    .pagination__list a:not(:disabled):not(.pagination__list a--disabled):hover, .pagination__list a:not(:disabled):not(.pagination__list a--disabled):focus-visible {
        color: #F9630E;
    }
}

.pagination__list span {
    color: #6136CA;
    cursor: default;
}

.pagination__arrow {
    position: relative;
    display: block;
    width: 66px;
    height: 54px;
    background: #F6F6F6;
    border-radius: 20px;
    text-decoration: none;
    color: currentColor;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination__arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.pagination__arrow--prev::before {
    transform: translate(-50%, -50%) rotate(-135deg);
}

.pagination__arrow--next::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

@media screen and (min-width: 768px) and (hover: hover) {
    .pagination__arrow:not(:disabled):not(.pagination__arrow--disabled):hover, .pagination__arrow:not(:disabled):not(.pagination__arrow--disabled):focus-visible {
        background: #F9630E;
        color: #ffffff;
    }
}
