/* Q&A列表页专属样式 - 适配32px根字体 */
.qa-list-page {
    background-color: #fff;
    padding: 0 0.5rem;
    margin-bottom: 0.5rem;
}

/* 顶部标题栏 */
.qa-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0.3125rem;
}

.qa-main-title {
    font-size: 0.625rem; /* 20px */
    color: #333;
    font-weight: 600;
    margin: 0;
}

.qa-top-arrow {
    font-size: 0.5rem; /* 16px */
    color: #999;
}

/* Q&A列表容器 */
.qa-list {
    display: flex;
    flex-direction: column;
}

/* 列表项链接（覆盖整行） */
.qa-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Q&A列表项 */
.qa-item {
    display: flex;
    align-items: flex-start;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.5rem; /* 16px */
    color: #333;
    line-height: 1.4;
}

/* 最后一个项移除下边框 */
.qa-item:last-child {
    border-bottom: none;
}

/* 序号 */
.qa-serial {
    font-weight: 500;
    margin-right: 0.3125rem;
    flex-shrink: 0; /* 防止序号被压缩 */
}

/* 标题 */
.qa-title {
    flex: 1;
    word-break: break-all; /* 处理长标题换行 */
}

/* 右侧箭头 */
.qa-item-arrow {
    font-size: 0.4375rem; /* 14px */
    color: #999;
    margin-left: 0.3125rem;
    align-self: center;
    flex-shrink: 0;
}

/* 分页控件 */
.qa-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.9375rem 0; /* 30px 上下间距 */
    gap: 1.25rem; /* 40px 按钮与文字间距 */
}

.page-btn {
    background: transparent;
    border: none;
    font-size: 0.625rem; /* 20px */
    color: #666;
    cursor: pointer;
    width: 1rem; /* 32px */
    height: 1rem; /* 32px */
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-info {
    font-size: 0.5rem; /* 16px */
    color: #333;
}
