#page .hans-pagination {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

#page .hans-pagination li {
    margin: 0 10px;
}

#page .hans-pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    padding: 0 10px;
    border: 1px solid #eee;
    border-radius: 0;
    background-color: #fff;
    color: #4d4d4d;
    font-size: 18px;
    font-family: "Montserrat-Regular", sans-serif;
    text-decoration: none;
    position: relative;
    z-index: 3;
    transition: all 0.3s;
}

#page .hans-pagination li.active a {
    border-color: #003686;
    background-color: #fff;
}

#page .hans-pagination li:first-child a,
#page .hans-pagination li:last-child a {
    font-size: 0;
}

#page .hans-pagination li:first-child a::before,
#page .hans-pagination li:last-child a::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background: url("/template/hanslaser/pc/skin/images/pg-next.svg") no-repeat center / contain;
}

#page .hans-pagination li:first-child a::before {
    transform: rotate(180deg);
}

#page .hans-pagination li a:not([href]) {
    opacity: 0.55;
    pointer-events: none;
}

@media screen and (min-width: 992px) {
    #page .hans-pagination li a:hover {
        border-color: #003686;
        background-color: #fff;
    }
}

@media screen and (max-width: 1050px) {
    #page .hans-pagination li a {
        min-width: 50px;
        height: 50px;
        font-size: 16px;
    }
}

@media screen and (max-width: 992px) {
    #page .hans-pagination li a {
        min-width: 5vw;
        height: 5vw;
        font-size: 0.1212rem;
    }
}

@media screen and (max-width: 768px) {
    #page {
        margin-top: 0.4rem;
    }

    #page .hans-pagination li {
        margin: 0 0.5vw;
    }

    #page .hans-pagination li a {
        min-width: 8vw;
        height: 8vw;
        font-size: 0.24rem;
    }

    #page .hans-pagination li:first-child a::before,
    #page .hans-pagination li:last-child a::before {
        width: 16px;
        height: 16px;
        transform: scale(0.8);
    }

    #page .hans-pagination li:first-child a::before {
        transform: scale(0.8) rotate(180deg);
    }
}
