@charset "utf-8";
/* 网站集群分页样式（.pagebar / .p_pages 结构，分页 HTML 代码不动） */

.pagebar {
    margin-top: 0.1rem;
    margin-bottom: 0.6rem;
    text-align: center;
    color: #666;
    font-size: 0.16rem;
    line-height: 1;
    font-family: 'syh', "PingFang", "Microsoft YaHei", "微软雅黑", Tahoma, Geneva, sans-serif;
}

/* 页码区块：横向排列居中，超宽自动换行 */
.pagebar .p_pages {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    vertical-align: middle;
gap:9px;
}

/* 统一的“格子”外观：数字、功能按钮、省略号共用 */
.pagebar .p_pages > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    margin: 0 0.04rem;
padding-left:10px;
padding-right:10px;
    box-sizing: border-box;
    border: 1px solid #d9d9d9;
    border-radius: 0.04rem;
    background: #fff;
    color: #666;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    transition: all 0.3s ease;
background: #f7f9fd;
    border-color: #d6e1f2;
    border-radius: 5px;
}

/* 纯文本块加内边距（首页/上页/当前页） */
.pagebar .p_pages > span.p_fun_d,
.pagebar .p_pages > span.p_no_d {
    padding: 0 0.14rem;
}

/* 链接铺满整个格子，保证整块可点（数字/下页/尾页） */
.pagebar .p_pages > span a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 0.14rem;
    box-sizing: border-box;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

/* 可点项悬停 */
.pagebar .p_pages > span.p_no:hover,
.pagebar .p_pages > span.p_fun:hover {
border-color: var(--blue);
}
.pagebar .p_pages > span.p_no:hover a,
.pagebar .p_pages > span.p_fun:hover a {
    color: var(--mainColor);
}

/* 当前页 */
.pagebar .p_pages > span.p_no_d {
background: var(--blue);
border-color: var(--blue);
    color: #fff;
    font-weight: bold;
    cursor: default;
}

/* 禁用态（首页/上页在第一页时） */
.pagebar .p_pages > span.p_fun_d {
    color: #bbb;
    border-color: #ececec;
    cursor: not-allowed;
}

/* 省略号：去边框，弱化 */
.pagebar .p_pages > span.p_dot {
    min-width: auto;
    padding: 0 0.06rem;
    border-color: transparent;
    background: transparent;
    color: #999;
    cursor: default;
}

/* 跳转区 */
.pagebar .p_goto {
    display: inline-block;
    margin-left: 0.1rem;
    vertical-align: middle;
}
.pagebar .p_goto .p_goto_input {
    width: 0.7rem;
    height: 0.46rem;
    line-height: 0.46rem;
    padding: 0;
    margin: 0;
    border: 1px solid #d9d9d9;
    border-radius: 0.04rem;
    background: #fff;
    color: #666;
    font-size: 0.16rem;
    text-align: center;
    box-sizing: border-box;
    vertical-align: middle;
    outline: none;
    transition: border-color 0.3s ease;
}
.pagebar .p_goto .p_goto_input:focus {
    border-color: var(--mainColor);
}
.pagebar .p_goto a {
    display: inline-block;
    height: 0.46rem;
    line-height: 0.46rem;
    padding: 0 0.18rem;
    margin-left: 0.06rem;
    background: var(--mainColor);
    border: 1px solid var(--mainColor);
    border-radius: 0.04rem;
    color: #fff;
    font-size: 0.16rem;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    box-sizing: border-box;
    text-decoration: none;
    transition: all 0.3s ease;
}
.pagebar .p_goto a:hover {
    background: #254a9c;
    border-color: #254a9c;
    color: #fff;
}

/* 平板 / 移动端 */
@media screen and (max-width: 999px) {
    .pagebar {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 479px) {
    .pagebar {
        font-size: 14px;
    }
    .pagebar .p_pages > span {
        min-width: 32px;
        height: 32px;
        margin: 0 3px;
        font-size: 14px;
    }
    .pagebar .p_pages > span.p_fun_d,
    .pagebar .p_pages > span.p_no_d {
        padding: 0 10px;
    }
    .pagebar .p_pages > span a {
        padding: 0 10px;
    }
    .pagebar .p_goto .p_goto_input {
        width: 44px;
        height: 32px;
        line-height: 32px;
        font-size: 14px;
    }
    .pagebar .p_goto a {
        height: 32px;
        line-height: 32px;
        padding: 0 14px;
        font-size: 14px;
    }
}