/*帝国CMS [!--show.listpage--] 分页 横排响应式 修复首页1无高亮 */
.page-list {
    clear: both;
    padding: 24px 0;
    font-size: 14px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
}
.page-list a,
.page-list strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 39px;
    padding: 7px 12px;
    border: 1px solid #eeeeee;
    border-radius: 7px;
    color: #333333;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.24s ease;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
/* 帝国默认规则：当前页=strong；首页1=a带href(首页地址)，用「链接等于栏目首页」匹配高亮 */
/* 核心修复：当前第1页、第N页统一橙色背景 */
.page-list strong,
/* 匹配首页无分页后缀链接（index.html不带_数字）=当前1页 */
.page-list a[href$=".html"]:not([href*="_"]) {
    background-color: #ff6600;
    color: #fff;
    border-color: #ff6600;
    box-shadow: 0 2px 7px rgba(255,102,0,0.32);
    font-weight: 500;
}
/* 普通页码hover上浮变色，排除当前选中按钮 */
.page-list a:not([href$=".html"]):hover,
.page-list a[href*="_"]:hover {
    background: #ff6600;
    color: #fff;
    border-color: #ff6600;
    transform: translateY(-2px);
    box-shadow: 0 4px 9px rgba(255,102,0,0.3);
}
/* 当前选中页码禁止悬浮上移 */
.page-list strong:hover,
.page-list a[href$=".html"]:not([href*="_"]):hover {
    transform: translateY(0);
}

/* 移动端小屏适配 */
@media screen and (max-width:480px){
    .page-list{
        gap:5px;
        padding:16px 0;
    }
    .page-list a,
    .page-list strong{
        min-width:32px;
        padding:5px 8px;
        font-size:13px;
        border-radius:5px;
    }
}