/*
 * HR人才招聘 PC首页全新设计  index_new.css
 * 设计参考：主流大型招聘平台简洁风格
 * 配色：谷歌四色  蓝#1a73e8  红#ea4335  黄#fbbc04  绿#34a853
 */

.qb-hrh { background: #f5f6f7; }
.qb-hrh a { text-decoration: none; }

/* ════════════════════════════════════════
   ① Hero搜索区
════════════════════════════════════════ */
.qb-hrh-hero {
    background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
    padding: 56px 0 40px;
}
.qb-hrh-wrap {
    width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.qb-hrh-title {
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: .5px;
}
.qb-hrh-sub {
    font-size: 15px;
    color: rgba(255,255,255,.85);
    margin: 0 0 28px;
}
.qb-hrh-search {
    display: flex;
    justify-content: center;
    max-width: 680px;
    margin: 0 auto 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.qb-hrh-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    padding: 0 20px;
    color: #202124;
}
.qb-hrh-search-btn {
    border: none;
    background: #ea4335;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 0 32px;
    height: 50px;
    cursor: pointer;
    transition: background .2s;
}
.qb-hrh-search-btn:hover { background: #d33426; }
.qb-hrh-quicklinks {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}
.qb-hrh-quicklinks a {
    font-size: 13px;
    color: rgba(255,255,255,.9);
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}
.qb-hrh-quicklinks a:hover { border-bottom-color: #fff; }

/* ════════════════════════════════════════
   ② 数据统计条
════════════════════════════════════════ */
.qb-hrh-stats {
    width: 1200px;
    margin: -22px auto 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    display: flex;
    padding: 22px 0;
    position: relative;
    z-index: 5;
}
.qb-hrh-stat-item {
    flex: 1;
    text-align: center;
    border-right: 1px solid #f0f0f0;
}
.qb-hrh-stat-item:last-child { border-right: none; }
.qb-hrh-stat-item b {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: #1a73e8;
    line-height: 1.3;
}
.qb-hrh-stat-item span {
    font-size: 14px;
    color: #9aa0a6;
}

/* ════════════════════════════════════════
   ③ 主体布局：左侧栏 + 右侧内容
════════════════════════════════════════ */
.qb-hrh-main {
    width: 1200px;
    margin: 20px auto 40px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.qb-hrh-side { flex: 0 0 260px; }
.qb-hrh-content { flex: 1; min-width: 0; }

/* 左侧分类卡片 */
.qb-hrh-side-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    margin-bottom: 16px;
    overflow: hidden;
    width:260px;
}
.qb-hrh-side-hd {
    font-size: 18px;
    font-weight: 700;
    color: #202124;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
}
.qb-hrh-side-bd { padding: 8px 16px 14px; }

.qb-hrh-cat-group { margin-bottom: 4px; }
.qb-hrh-cat-main {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #202124;
    padding: 8px 0 4px;
}
.qb-hrh-cat-main:hover { color: #1a73e8; }
.qb-hrh-cat-subs { padding-left: 4px; }
.qb-hrh-cat-subs a {
    display: inline-block;
    font-size: 12px;
    color: #5f6368;
    margin: 2px 8px 2px 0;
}
.qb-hrh-cat-subs a:hover { color: #1a73e8; }

.qb-hrh-hot-list { display: flex; flex-direction: column; }
.qb-hrh-hot-list a {
    font-size: 14px;
    color: #5f6368;
    padding: 7px 0;
    border-bottom: 1px dashed #f0f0f0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.qb-hrh-hot-list a:last-child { border-bottom: none; }
.qb-hrh-hot-list a:hover { color: #ea4335; }

.qb-hrh-side-ad {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}
.qb-hrh-side-ad img { width: 100%; display: block; }

/* ════════════════════════════════════════
   右侧通用卡片
════════════════════════════════════════ */
.qb-hrh-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    margin-bottom: 18px;
    overflow: hidden;
}
.qb-hrh-card-hd {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 2px solid #f0f5ff;
    gap: 24px;
}
.qb-hrh-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #202124;
}
.qb-hrh-tab {
    font-size: 16px;
    font-weight: 700;
    color: #9aa0a6;
    cursor: pointer;
    position: relative;
    padding-bottom: 2px;
}
.qb-hrh-tab.on {
    color: #1a73e8;
    box-shadow: inset 0 -2px 0 #1a73e8;
}
.qb-hrh-card-more {
    margin-left: auto;
    font-size: 13px;
    color: #9aa0a6;
}
.qb-hrh-card-more:hover { color: #1a73e8; }
.qb-hrh-card-bd { padding: 6px 18px 14px; }

.qb-hrh-top-ad,
.qb-hrh-mid-ad {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 18px;
}
.qb-hrh-top-ad img,
.qb-hrh-mid-ad img { width: 100%; display: block; }

/* 推荐职位/人才列表 */
.qb-hrh-joblist { display: flex; flex-direction: column; }
.qb-hrh-job-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}
.qb-hrh-job-item:last-child { border-bottom: none; }
.qb-hrh-job-item:hover .qb-hrh-job-title { color: #1a73e8; }
.qb-hrh-job-main { display: flex; flex-direction: column; gap: 3px; }
.qb-hrh-job-title { font-size: 14px; font-weight: 600; color: #202124; }
.qb-hrh-job-co { font-size: 12px; color: #9aa0a6; }
.qb-hrh-job-right { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.qb-hrh-job-wage { font-size: 14px; font-weight: 700; color: #ea4335; }
.qb-hrh-job-loc { font-size: 12px; color: #5f6368; }
.qb-hrh-job-loc .fa { color: #34a853; margin-right: 2px; }

/* 企业服务/个人服务 宫格 */
.qb-hrh-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 8px 0;
}
.qb-hrh-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 14px;
    color: #5f6368;
    transition: background .2s, color .2s;
}
.qb-hrh-service-item .fa { font-size: 22px; color: #1a73e8; }
.qb-hrh-service-item:hover {
    background: #e8f0fe;
    color: #1a73e8;
}

/* 职位/人才 表格列表 */
.qb-hrh-table-hd {
    display: grid;
    grid-template-columns: 5.7fr 1.8fr 1.0fr 1.5fr;
    padding: 10px 0;
    font-size: 13px;
    color: #9aa0a6;
    border-bottom: 1px solid #f0f0f0;
}
.qb-hrh-table-hd5 { grid-template-columns: 2fr 2fr 1.3fr 1fr 1.5fr; }
.qb-hrh-table-row {
    display: grid;
    grid-template-columns: 5.7fr 1.8fr 1.0fr 1.5fr;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}
.qb-hrh-table-row5 { grid-template-columns: 2fr 2fr 1.3fr 1fr 1.5fr; }
.qb-hrh-table-row:last-child { border-bottom: none; }
.qb-hrh-table-row:hover { background: #fafcff; }
.qb-hrh-table-row:hover .qb-hrh-td-title { color: #1a73e8; }
.qb-hrh-td-title { font-size: 16px; font-weight: 500; color: #202124; }
.qb-hrh-td-co,
.qb-hrh-td-loc { font-size: 14px; color: #5f6368; }
.qb-hrh-td-wage { font-size: 14px; font-weight: 700; color: #ea4335; }
