@charset "utf-8";
.dht{border-bottom:1px solid #E6E6E6;}
.about-text{float:left;color:#777;line-height:28px;width:60%;font-size:16px;}
.about-text p{padding-top:20px;font-size:16px;}
.about-video{float:right;width:36%;}
.about-video-img img{max-width:100%;}
.new{position:relative;}
.new-title{font-family:"Times New Roman", Times, serif;}
.new-date{color:#F30;position:absolute;left:-30px; font-weight:bolder;}
.page{margin-left:auto;margin-right:auto;font-size:18px; font-family:Verdana, Geneva, sans-serif;color:#333;text-align:center;margin-bottom:60px;}

.pagination {
    margin: 30px 0;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 16px; /* 文字基准尺寸 */
}

/* 核心：固定按钮高度 + 统一对齐基准 */
.pagination a, .pagination span {
    display: inline-block;
    margin: 0 4px;
    padding: 0 12px; /* 取消上下内边距（避免和固定高度冲突），只保留左右内边距控制宽度 */
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
    
    /* 1. 固定按钮高度（核心，所有按钮统一高度） */
    height: 36px; 
    /* 2. 基础垂直居中（让内容默认在垂直中间） */
    line-height: 36px; 
    /* 3. 统一所有按钮的对齐基准（避免高度一致但视觉错位） */
    vertical-align: top; 
    /* 4. 防止内容换行撑高按钮 */
    white-space: nowrap;
}

/* 微调 1：文字垂直居中（解决字体基线偏差） */
.pagination a, .pagination span {
    /* 让文字在按钮内再向上微调1px（根据字体可能需0.5px~1px） */
    position: relative;
    top: -1px;
}

/* 微调 2：图标垂直居中（解决图标视觉中心偏差） */
.pagination a i.fa, 
.pagination span.disabled i.fa {
    font-size: 1.2em; /* 图标尺寸（和文字协调） */
    vertical-align: middle; /* 图标与文字对齐基准统一 */
    /* 图标单独再向下微调1px，和文字完全对齐（抵消文字的top:-1px） */
    position: relative;
    top: 1px;
}

/* 以下样式保留原有功能，无需修改 */
.pagination a:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.pagination a.active {
    background-color: #ce2c2c;
    color: #FFF;
    border-color: #ce2c2c;
}

.pagination span.disabled {
    color: #999;
    background-color: #f9f9f9;
    cursor: not-allowed;
}

/* 省略号特殊处理（不需要固定高度和微调） */
.pagination span.ellipsis {
    border: none;
    padding: 0 8px;
    height: auto;
    line-height: normal;
    position: static; /* 取消省略号的top微调 */
}