.titlestyle1123569{ font-weight: bold; font-size: 14pt; color: #008fee; font-family: 楷体_GB2312 ;}

/*
 * 分页组件样式 - 与湖南外国语职业学院保卫部首页风格统一
 * 基于原有 .pagebar 结构，重写视觉样式
 */

/* 分页外层容器 - 现代简约风格 */
.pagebar {
    text-align: center;
    margin: 40px 0 20px;
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;}

/* 页码区域整体布局（消除默认间距） */
.pagebar .p_pages {
    margin-left: 0;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;}

/* 所有页码按钮和功能按钮的公共样式（带链接 & 不带链接） */
.pagebar .p_fun a,
.pagebar .p_no a,
.pagebar .p_fun_d,
.pagebar .p_no_d {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e0e7ed;
    border-radius: 8px;          /* 圆角，与卡片风格呼应 */
    background-color: #ffffff;
    color: #2c4e6e;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    cursor: pointer;}

/* 普通页码链接悬停效果 */
.pagebar .p_no a:hover,
.pagebar .p_fun a:hover {
    background-color: #eef4fc;
    border-color: #1e6f9f;
    color: #1e6f9f;
    transform: translateY(-2px);}

/* 当前激活页码（无链接样式） */
.pagebar .p_no_d {
    background-color: #1e6f9f;
    border-color: #1e6f9f;
    color: #ffffff;
    cursor: default;
    box-shadow: 0 2px 6px rgba(30, 111, 159, 0.2);}

/* 不可用状态（首页、上页等无链接时）灰色样式 */
.pagebar .p_fun_d {
    background-color: #f5f7fa;
    border-color: #e4e9ef;
    color: #b0c0ce;
    cursor: not-allowed;}

/* 省略号样式（无边框，更柔和） */
.pagebar .p_dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    color: #8c9aa8;
    font-size: 14px;
    letter-spacing: 2px;
    pointer-events: none;}

/* 跳转区域整体样式 */
.pagebar .p_goto {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 12px;}

/* 跳转输入框 */
.pagebar .p_goto input {
    width: 52px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid #e0e7ed;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    text-align: center;
    color: #2c3e4f;
    background-color: #fff;
    transition: all 0.2s;
    outline: none;
    box-sizing: border-box;}

.pagebar .p_goto input:focus {
    border-color: #1e6f9f;
    box-shadow: 0 0 0 3px rgba(30, 111, 159, 0.1);}

/* 跳转按钮 */
.pagebar .p_goto a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 16px;
    border: 1px solid #e0e7ed;
    border-radius: 8px;
    background-color: #ffffff;
    color: #2c4e6e;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;}

.pagebar .p_goto a:hover {
    background-color: #1e6f9f;
    border-color: #1e6f9f;
    color: #ffffff;
    transform: translateY(-2px);}

/* ---------- 显示控制（显示首页、尾页等按钮，与原有注释保持一致，去掉隐藏） ---------- */
/* 使“首页”“尾页”按钮显示（原有CSS中默认为 display:none，现改为正常显示） */
.pagebar .p_first,
.pagebar .p_first_d,
.pagebar .p_last,
.pagebar .p_last_d {
    display: inline-flex;}

/* 上下页按钮默认显示（原有已是显示，确保样式继承） */
.pagebar .p_prev,
.pagebar .p_prev_d,
.pagebar .p_next,
.pagebar .p_next_d {
    display: inline-flex;}

/* 页码区域（数字页码）正常显示 */
.pagebar .p_no,
.pagebar .p_no_d,
.pagebar .p_dot {
    display: inline-flex;}

/* ---------- 响应式适配：小屏幕时适当缩小间距和内边距 ---------- */
@media (max-width: 768px) {
    .pagebar {
        margin: 30px 0 15px;}
    .pagebar .p_fun a,
    .pagebar .p_no a,
    .pagebar .p_fun_d,
    .pagebar .p_no_d {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 13px;}
    .pagebar .p_goto input {
        width: 46px;
        height: 32px;
        font-size: 13px;}
    .pagebar .p_goto a {
        height: 32px;
        padding: 0 12px;
        font-size: 13px;}
    .pagebar .p_goto {
        margin-left: 8px;}
}

/* 可选：增加分页与上下文的呼吸感 */
.pagebar .p_pages {
    gap: 5px;}
