/* 分页样式 */
.fyc .fy {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 20px;
}

.fyc .pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    gap: 8px;
}

.fyc .page-item {
    margin: 0;
}

.fyc .page-link {
    display: inline-block;
    min-width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0 5px;
}

.fyc .page-link:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.fyc .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.fyc .page-item.disabled .page-link {
    background: #f9f9f9;
    color: #aaa;
    cursor: not-allowed;
}

.fyc .page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
    background: #f9f9f9;
}

.fyc .pagination-numbers {
    display: flex;
    gap: 8px;
}

.fyc .page-numbers.current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .fyc .pagination {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: center;
    }
    
    .fyc .page-link {
        min-width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 14px;
    }
    
    .fyc .pagination-numbers {
        gap: 4px;
    }
}

/* 当前页高亮 */
.fyc .current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

/* 椭圆点样式 */
.fyc .dots {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    color: #999;
    font-weight: bold;
}

/* 新增：标题行数限制样式 */
.pro_ny_rwz p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 限制显示2行 */
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5; /* 设置合适的行高 */
    max-height: 3em; /* 2行 * 1.5行高 = 3em */
    margin: 0; /* 重置外边距，与第一行保持一致 */
    padding: 0; /* 重置内边距 */
    background: transparent; /* 确保背景透明 */
    color: inherit; /* 继承父级颜色，保持原有颜色 */
}

/* 确保链接中的标题保持原有颜色 */
.pro_ny_rwz a {
    color: inherit; /* 继承父级颜色 */
    text-decoration: none; /* 移除下划线 */
}

.pro_ny_rwz a:hover {
    color: inherit; /* 悬停时也保持原有颜色 */
}

/* 移动端标题调整 */
@media (max-width: 768px) {
    .pro_ny_rwz p {
        font-size: inherit; /* 继承父级字体大小 */
        line-height: 1.4;
        max-height: 2.8em; /* 2行 * 1.4行高 */
    }
}