/*
 * 招聘职位列表碎片样式  frag_hr_joblist.css
 * 谷歌四色：蓝 #1a73e8 / 红 #ea4335 / 黄 #fbbc04 / 绿 #34a853
 */

/* ── 模块头 ── */
.qb-hrjl-headbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e8eaed;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}
.qb-hrjl-htag {
    font-size: 18px;
    font-weight: 700;
    color: #1a73e8;
}
.qb-hrjl-htag .fa { margin-right: 5px; }
.qb-hrjl-hsub {
    font-size: 13px;
    color: #80868b;
}
.qb-hrjl-hmore {
    margin-left: auto;
}
.qb-hrjl-hmore a {
    font-size: 13px;
    color: #5f6368;
    text-decoration: none;
}
.qb-hrjl-hmore a:hover { color: #1a73e8; }
.qb-hrjl-hmore .fa { margin-left: 3px; }

/* 紧跟在头部下面时去掉外层容器的圆角衔接 */
.qb-hrjl-headbar + .qb-hrjl-wrap { border-radius: 0 0 8px 8px; }

/* ── 外层容器 ── */
.qb-hrjl-wrap {
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    overflow: hidden;
    font-size: 14px;
}


/* ── 面板 ── */
.qb-hrjl-panel { padding: 0; }

/* ── 列表 ── */
.qb-hrjl-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ── 每一行（自适应：宽容器一行显示，窄容器自动换行不错位）── */
.qb-hrjl-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f3f4;
    gap: 8px 14px;
    transition: background .15s;
}
.qb-hrjl-item:last-child  { border-bottom: none; }
.qb-hrjl-item:hover        { background: #f0f7ff; }

/* ── 主信息区（职位名+公司）── */
.qb-hrjl-main {
    flex: 1 1 220px;
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.qb-hrjl-title {
    font-size: 17px;
    color: #202124;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: break-word;
    transition: color .2s;
}
.qb-hrjl-title:hover { color: #1a73e8; }

.qb-hrjl-company a,
.qb-hrjl-company {
    font-size: 12px;
    color: #5f6368;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.qb-hrjl-company a:hover { color: #1a73e8; }

/* ── 标签区（分类/经验/学历/城市）── */
.qb-hrjl-meta {
    flex: 2 1 240px;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    font-size: 14px;
}
.qb-hrjl-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 14px;
    color: #5f6368;
    background: #f1f3f4;
    padding: 2px 5px;
    border-radius: 10px;
    white-space: nowrap;
}
.qb-hrjl-tag .fa { font-size: 11px; color: #80868b; }

/* 分类标签：蓝色 */
.qb-hrjl-cat {
    background: #e8f0fe;
    color: #1a73e8;
}
.qb-hrjl-cat .fa { color: #1a73e8; }

/* 地点标签：绿色 */
.qb-hrjl-loc {
    background: #e6f4ea;
    color: #34a853;
}
.qb-hrjl-loc .fa { color: #34a853; }

/* ── 福利待遇── */
.qb-hr-row3 {
    font-size:14px;
}

/* ── 右侧（薪资+按钮）── */
.qb-hrjl-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    margin-left: auto;
}

/* ── 窄容器（如首页中栏/手机端）下，自动收窄为两行卡片 ── */
@media (max-width: 720px) {
    .qb-hrjl-item { padding: 10px 12px; }
    .qb-hrjl-main { flex: 1 1 100%; }
    .qb-hrjl-meta { flex: 1 1 100%; order: 3; }
    .qb-hrjl-right { order: 2; margin-left: auto; }
}
.qb-hrjl-wage {
    font-size: 15px;
    font-weight: 700;
    color: #ea4335;
    white-space: nowrap;
    min-width: 80px;
    text-align: right;
}

/* ── 底部链接行 ── */
.qb-hrjl-footer {
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
    background: #f8f9fa;
    border-top: 1px solid #e8eaed;
}
.qb-hrjl-footer a {
    font-size: 13px;
    color: #1a73e8;
    text-decoration: none;
    transition: color .2s;
}
.qb-hrjl-footer a .fa   { margin-right: 4px; }
.qb-hrjl-footer a:hover { color: #ea4335; }
