/*
 * HR招聘首页新样式  index_new.css
 * 谷歌四色：蓝#1a73e8  红#ea4335  黄#fbbc04  绿#34a853
 */

.qb-hr-home { background: #f5f5f5; min-height: 100vh; padding-bottom: 10px; }

/* ════ 分类宫格 ════ */
.qb-hr-cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: #fff;
    padding: 14px 4px 6px;
    margin-bottom: 10px;
}
.qb-hr-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 2px 12px;
    text-decoration: none;
}
.qb-hr-cat-ico {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    margin-bottom: 6px;
    background-size: 24px 24px;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qb-hr-cat-ico::before {
    font-family: FontAwesome;
    font-size: 22px;
    color: #fff;
}
.qb-hr-cat-name {
    font-size: 12px;
    color: #5f6368;
    white-space: nowrap;
}
/* 9宫格图标循环配色：谷歌四色轮换 */
.qb-hr-cat-ico-0 { background: #1a73e8; } .qb-hr-cat-ico-0::before { content: '\f0b1'; }
.qb-hr-cat-ico-1 { background: #ea4335; } .qb-hr-cat-ico-1::before { content: '\f0c0'; }
.qb-hr-cat-ico-2 { background: #fbbc04; } .qb-hr-cat-ico-2::before { content: '\f0f5'; }
.qb-hr-cat-ico-3 { background: #34a853; } .qb-hr-cat-ico-3::before { content: '\f0d1'; }
.qb-hr-cat-ico-4 { background: #1a73e8; } .qb-hr-cat-ico-4::before { content: '\f155'; }
.qb-hr-cat-ico-5 { background: #ea4335; } .qb-hr-cat-ico-5::before { content: '\f07a'; }
.qb-hr-cat-ico-6 { background: #fbbc04; } .qb-hr-cat-ico-6::before { content: '\f132'; }
.qb-hr-cat-ico-7 { background: #34a853; } .qb-hr-cat-ico-7::before { content: '\f2bb'; }
.qb-hr-cat-ico-all { background: #9aa0a6; } .qb-hr-cat-ico-all::before { content: '\f0ae'; }

/* ════ 通用 section ════ */
.qb-hr-section { background: #fff; }
.qb-hr-section-hd {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 14px 10px;
    border-bottom: 2px solid #ff7a45;
}
.qb-hr-new-badge {
    background: #ff7a45;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
}
.qb-hr-section-hd h3 {
    font-size: 17px;
    font-weight: 700;
    color: #202124;
    margin: 0;
}

/* ════ 职位列表（与原招聘碎片风格一致） ════ */
.qb-hr-list { list-style: none; margin: 0; padding: 0; }
.qb-hr-item { padding: 14px; border-bottom: 1px solid #f5f5f5; }
.qb-hr-item:last-child { border-bottom: none; }
.qb-hr-row1 {
    display: flex; align-items: flex-start;
    justify-content: space-between; gap: 8px; margin-bottom: 10px;
}
.qb-hr-title {
    font-size: 16px; 
    font-weight: 600; 
    color: #666666;
    line-height: 1.4; 
    text-decoration: none; flex: 1;
    /*display: -webkit-box;*/
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical; 
    overflow: hidden;
}
.qb-hr-apply {
    flex-shrink: 0; background: #1a73e8; color: #fff;
    font-size: 12px; font-weight: 600; padding: 6px 12px;
    border-radius: 6px; text-decoration: none; white-space: nowrap;
}
.qb-hr-row2 {
    display: flex; flex-wrap: wrap;
    align-items: center; gap: 5px; margin-bottom: 10px;
}
.qb-hr-wage { font-size: 14px; font-weight: 700; color: #ea4335; margin-right: 4px; }
.qb-hr-tag {
    font-size: 12px; color: #5f6368; background: #f1f3f4;
    padding: 2px 8px; border-radius: 16px; white-space: nowrap;
}
.qb-hr-loc { background: #e6f4ea; color: #34a853; }
.qb-hr-loc .fa { margin-right: 2px; }

/* 福利标签行 */
.qb-hr-row3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.qb-hr-row3 .benefits_val {
    display: inline-block; font-size: 12px; color: #5f6368;
    border: 1px solid #e0e0e0; border-radius: 4px;
    padding: 2px 5px; background: #fff; white-space: nowrap;
}
.qb-hr-row3 .benefits_exp { display: none; }

/* 查看更多按钮 */
.qb-hr-more-btn {
    display: block;
    margin: 16px 14px;
    text-align: center;
    background: #fff1ec;
    color: #ff7a45;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 0;
    border-radius: 6px;
    text-decoration: none;
}
.qb-hr-more-btn:active { opacity: .8; }
